How can I make Thunderbird start automatically with MX Linux?
- Housesitter1962
- Posts: 1
- Joined: Thu Apr 17, 2025 9:05 am
How can I make Thunderbird start automatically with MX Linux?
Versuche seit Tagen beim Start von MX Linux auch Thunderbird mit automatisch starten zu lassen. Bekomme es aber einfach nicht hin. Unter Ubuntu ist das alles kein Problem aber bei MX schaffe ich es einfach nicht. Wäre für jeden Tipp dankbar
I've been trying for days to get Thunderbird to launch automatically when I start MX Linux, but I just can't seem to get it to work. It's no problem under Ubuntu, but I just can't seem to get it working under MX. I'd appreciate any advice.
Danke and Thanks
I've been trying for days to get Thunderbird to launch automatically when I start MX Linux, but I just can't seem to get it to work. It's no problem under Ubuntu, but I just can't seem to get it working under MX. I'd appreciate any advice.
Danke and Thanks
Re: How can I make Thunderbird start automatically with MX Linux?
Welcome in!
Your in an english forum, so lets keep in english please :-)
With all help requests, Please post your QSI. ( MX Menu, Quick System Info, Copy for Forum, Paste here )
If your running xfce, then you can run the Session and Startup application ( MX Menu ) and then change to the Application Autostart tab. Click the + Add button and then under command put in
If you have installed thunderbird at some other location, then use that other location path.
Also, I usually just leave thunderbird open when I shut down, and I have my machine remember what is open, and then it launches automatically the next restart.
Your in an english forum, so lets keep in english please :-)
With all help requests, Please post your QSI. ( MX Menu, Quick System Info, Copy for Forum, Paste here )
If your running xfce, then you can run the Session and Startup application ( MX Menu ) and then change to the Application Autostart tab. Click the + Add button and then under command put in
Code: Select all
/usr/bin/thunderbird %u
Also, I usually just leave thunderbird open when I shut down, and I have my machine remember what is open, and then it launches automatically the next restart.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
- Eadwine Rose
- Administrator
- Posts: 15268
- Joined: Wed Jul 12, 2006 2:10 am
Re: How can I make Thunderbird start automatically with MX Linux?
Moved to help forum. No tip or trick shared.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: How can I make Thunderbird start automatically with MX Linux?
I added a delay to allow for the VPN to connect.
And I think the %u is not necessary - not sure, don't know, but I think fehlix said it's for a url, and I believe that there is a difference between the upper and lower case %u - %U.
Cheers!
Code: Select all
sh -c 'sleep 20 ; /usr/bin/thunderbird %u'
Cheers!
Re: How can I make Thunderbird start automatically with MX Linux?
Is there any point launching TB with a %u/%U? There's nothing to substitute for it if the program is being invoked at session start, so I would expect it to result in an error/warning message in the session log.
Review the output of
to see if there are any parameters that should be specified: maybe '-mail' to show the mail folder view if wanted.
Review the output of
Code: Select all
man thunderbird
Re: How can I make Thunderbird start automatically with MX Linux?
That's probaly b/c thunderbird is also a RSS news reader. Hence the default starter does include the URL place holder for the RSS-feed,/df wrote: Thu Apr 17, 2025 5:04 pm Is there any point launching TB with a %u/%U? There's nothing to substitute for it if the program is being invoked at session start, so I would expect it to result in an error/warning message in the session log.
Review the output ofto see if there are any parameters that should be specified: maybe '-mail' to show the mail folder view if wanted.Code: Select all
man thunderbird
which might get populated in case user want's to "open with" thunderbird, which get passed to the entry of desktop-file.
But in the case of OP's desire to just start Thunderbird after login, %u place holder might not be needed.
Also instead of the fixed delay period with help of the "sleep Nseconds" in front of the start,
we can use nice feature within X11, to start an application after xfcedesktop for Xfce
is available like this:
Instead of waiting a fixed period of say 20 seconds with this
Code: Select all
sh -c 'sleep 20 ; /usr/bin/thunderbird'
Code: Select all
sh -c "timeout 20s xdotool search --sync --onlyvisible --class xfdesktop >/dev/null; thunderbird"
The trick is the "search --sync" with the xdotool, as it waits until the desktop shows up.
So only an Autostart entry (Session & Startup) needs to be created with the correspondin cmd.
I do it this way for starting conky, so I don't wait a fixed number of seconds
but start conky as soon as the desktop is shown in Xfce this way.
My conky-startup.sh file (~/.conky/conky-startup.sh) looks like this:
Code: Select all
#!/bin/sh
#sleep 6s
timeout 6s xdotool search --sync --onlyvisible --class xfdesktop >/dev/null;
killall -u $(id -nu) conky 2>/dev/null
sleep 1
cd "$HOME/.Conky/MX-CowonTangram"
conky -c "$HOME/.Conky/MX-CowonTangram/MX-Cowon_Tangram_kernel_live_hostname" &
exit 0
Re: How can I make Thunderbird start automatically with MX Linux?
The '%'-parameters are defined by the Freedesktop.org desktop-entry specification. They only make sense in a desktop action (invoking from desktop menu, or via a file association); otherwise '%'-parameters will be passed literally. I'm not sure whether session 'Application Autostart' is such a context.
Re: How can I make Thunderbird start automatically with MX Linux?
Thats correct./df wrote: Fri Apr 18, 2025 4:25 am The '%'-parameters are defined by the Freedesktop.org desktop-entry specification. They only make sense in a desktop action (invoking from desktop menu, or via a file association)
Thats not correct. The startup is still going the the desktop-entry/file spec, And the system will replace %-like parameter accordingly,/df wrote: Fri Apr 18, 2025 4:25 am ... ; otherwise '%'-parameters will be passed literally. I'm not sure whether session 'Application Autostart' is such a context.
which means %u will be replaced with an empty string.
+++EDIT+++
Adjusted with some clarifications.
Re: How can I make Thunderbird start automatically with MX Linux?
In case you are using KDE you can just add it to the autostart list in system settings.