How to Auto Start Applications in Raspberry Pi OS After Logging in to the GUI.
Unlike Auto Starting Applications in Ubuntu. Raspberry Pi OS does not have a GUI tool to set it up
Configure
Create a Auto Start File
mkdir /home/pi/.config/autostart
nano /home/pi/.config/autostart/mumble.desktop
Configure Auto Start File
Fill out
Name: Mumble
Exec: /usr/bin/mumble mumble://TestUser@server.com:23840/Open%20Talk/Subchannel%20A/?version=1.2.0
[Desktop Entry]
Type=Application
Name=99-Mumble
Exec=/usr/bin/mumble mumble://TestUser@server.com:23840/Open%20Talk/Subchannel%20A/?version=1.2.0
Now every time you login the application above will auto start
Startup Order
The Name section is in alphabetical order. Name the application 00-Firefox 99-Mumble etc.
Adding Delay
Sometimes configuring the application to start in a certain order is just not good enough.
For example Mumble kept appearing on top of firefox.
Edit the *.desktop file
nano /home/user/.config/autostart/mumble.desktop
Add the following line to the end of the file.
X-GNOME-Autostart-Delay=33
The numerals represent how many seconds the delay will be
Related
- How to Auto Start Applications in Ubuntu
- Make Virtual Box VM Autostart
- How to Enable SSH on Ubuntu
- VNC Access to Raspberry Pi from Ubuntu
- Make Ubuntu Trust You CA Certificate Authority
- Install Open VPN GUI on Ubuntu
- How to Build an Open VPN Server from Scratch on Ubuntu
- /etc/ssh/sshd_config Essentials
- Create Basic Self Hosted Remote Git Repo
- Ansible Essentials
- HMA VPN Setup Using Network Manager
- Working With SSH Keys
- Moving Application Windows to Another Monitor
- LUKS: Linux Unified Key Setup Essentials
- How to Blank the Screen on a Linux Desktop
- Create OpenSSL CA (Certificate Authority) for Dev/Test Purposes
Links
- https://ubuntu.com/