From LedHed's Wiki
Jump to: navigation, search
(Created page with "== Autostart == If you want to launch a program at login to the following: mkdir -P /home/pi/.config/autostart touch mythtv.desktop == mythtv.desktop == [Desktop Entry]...")
 
 
Line 2: Line 2:
  
 
If you want to launch a program at login to the following:
 
If you want to launch a program at login to the following:
  mkdir -P /home/pi/.config/autostart
+
  mkdir -p /home/pi/.config/autostart
 
  touch mythtv.desktop
 
  touch mythtv.desktop
  

Latest revision as of 00:10, 21 October 2018

Autostart

If you want to launch a program at login to the following:

mkdir -p /home/pi/.config/autostart
touch mythtv.desktop

mythtv.desktop

[Desktop Entry]
Encoding=UTF-8
Name=MythTV
Comment=Autostart MythTV Frontend
Exec=/usr/bin/mythfrontend --logpath /tmp


Obviously you can name the .desktop file something else and change the Exec= line to run the program you want.