I want to have thunerbird minimized when I turn on the laptops.
when I do this: vi /etc/xdg/lxsession/Lubuntu/autostart
and added @thunderbird
every time I turned it on a popup apear say that thunderbird is already running... but it works just fine.
- How do I clear that popup?
- how do I run it minimezed?
If you add your startup application into
/etc/xdg/lxsession/Lubuntu/autostart
it will be run automatically twice - its just the way LXDE does stuff.You can create an equivalent file and folder in your local home folder - this will autostart programs once.
add the text
thunderbird
into this file and save the file.As to how to minimize the application on startup - this was recently discussed on ubuntuforums
In summary - install
wmctrl
Create a script file called
~/start_thunderbird_hidden.sh
Copy and paste the following contents:
Give this file execute rights:
Then, instead of
thunderbird
in the autostart file above, use/home/[youraccount]/start_thunderbird_hidder.sh
Here is the procedure to autostart Thunderbird on Ubuntu 12.04 startup, put it in the tray as well as hide its icon from the launcher.
sudo apt-get install wmctrl
if not already installedchmod +x ~/start_thunderbird.sh
Open the file and copy/past the following in it :
it says to start Thunderbird, and to close it as soon as it's started...and the TB addon will take care to hide TB in the tray instead of closing it !
Right-top of your screen, Clic on start button > startup applications > add
You're done ! Now you when you start Ubuntu, Thunderbird autostart and hide in the tray...