Lubuntu - control startup session programs.

Please post all general support questions for LXDE here.
globetrotterdk
Posts: 16
Joined: Mon May 17, 2010 5:24 pm

Lubuntu - control startup session programs.

Post by globetrotterdk »

In reference to the following topic:

http://forum.lxde.org/viewtopic.php?f=8&t=1450&start=0

The solution works for me on my laptop (IBM Thinkpad T60), but not on my desktop box (IBM ThinkCenter A50p), Lubuntu 10.04. The app I am trying to start is Tilda. I have also tried creating an autostart file in ~/.config/lxsession/LXDE/autostart but that doesn't work either. What is the other solution, with a .desktop file?
globetrotterdk
Posts: 16
Joined: Mon May 17, 2010 5:24 pm

Lubuntu and Tilda.

Post by globetrotterdk »

I am using Lubuntu 10.04. Quiting Tilda from lxterminal returns the following error:

Code: Select all

(tilda:1319): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed
Does anyone know what this means? I am trying to find out if this is the cause of my being unable to get Tilda to automatically start at system/session start.
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: Lubuntu and Tilda.

Post by maces »

Hi,

you maybe more lucky, if you ask questions related to tilda at the projects forum, or more likely in you distributions forum. Have a look at this Bug report.

maces
Last edited by maces on Tue May 18, 2010 6:22 pm, edited 1 time in total.
Reason: adjusted answer to fit both topic questions
Hoppipolla
Posts: 7
Joined: Mon May 17, 2010 12:04 am

Re: Lubuntu - control startup session programs.

Post by Hoppipolla »

You can't use "Desktop Session Settings" in your Preferences menu to do it? Usually if you tell the app to autostart on boot it will add itself automatically, or adding a .desktop file to ~/.config/autostart should add it to the list also.

and yeah maybe it's just a bug in the execution of Tilda ._.
globetrotterdk
Posts: 16
Joined: Mon May 17, 2010 5:24 pm

Re: Lubuntu - control startup session programs.

Post by globetrotterdk »

Hoppipolla wrote:You can't use "Desktop Session Settings" in your Preferences menu to do it? Usually if you tell the app to autostart on boot it will add itself automatically, or adding a .desktop file to ~/.config/autostart should add it to the list also.

and yeah maybe it's just a bug in the execution of Tilda ._.
Tilda doesn't show in "Desktop Session Settings" for some reason and there doesn't seem to be an autostart item that can be set in preferences.
Hoppipolla
Posts: 7
Joined: Mon May 17, 2010 12:04 am

Re: Lubuntu - control startup session programs.

Post by Hoppipolla »

Did you try making a .desktop file for it? I did that for some things :)
globetrotterdk
Posts: 16
Joined: Mon May 17, 2010 5:24 pm

Re: Lubuntu - control startup session programs.

Post by globetrotterdk »

Hoppipolla wrote:Did you try making a .desktop file for it? I did that for some things :)
No, I haven't tried it, as I don't understand what is needed. I have the Parcelite .desktop file as a reference:

Code: Select all

[Desktop Entry]
Name=Parcellite
Name[cs]=Parcellite
Name[da]=Parcellite
Name[de]=Parcellite
Name[es]=Parcellite
Name[fr]=Parcellite
Name[hu]=Parcellite
Name[it]=Parcellite
Name[ja]=Parcellite
Name[nb]=Parcellite
Name[pl]=Parcellite
Name[pl_PL]=Parcellite
Name[pt_BR]=Parcellite
Name[ro]=Parcellite
Name[ru]=Parcellite
Name[sv]=Parcellite
Name[zh_CN]=Parcellite
Comment=Clipboard Manager
Comment[cs]=Správce schránky
Comment[da]=Udklipsholder
Comment[de]=Zwischenablage-Manager
Comment[es]=Gestor de Portapapeles
Comment[fr]=Gestionnaire de presse-papier
Comment[hu]=Vágólapkezelő
Comment[it]=Gestore degli appunti
Comment[ja]=クリップボード・マネージャ
Comment[nb]=Utklippstavleverkty
Comment[pl]=Schowek
Comment[pl_PL]=Menadżer schowka
Comment[pt_BR]=Gerenciador de Área de Transferência
Comment[ro]=Administrator clipboard
Comment[ru]=Менеджер буфера обмена
Comment[sv]=Urklippshanterare
Comment[tr]=Pano Yöneticisi
Comment[zh_CN]=剪切板管理器
Icon=gtk-paste
Exec=parcellite
Terminal=false
Type=Application
OnlyShowIn=GNOME;XFCE;LXDE;
X-GNOME-Autostart-enabled=true
I assume I can cut out all of the languages that I don't have on my system, but other than that, I don't know how much of the rest of the code is relevant for Tilda, or if Tilda requires totally different stuff.
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: Lubuntu - control startup session programs.

Post by maces »

You can google the required line, it's quite simple. I think this will help you more than simply post a "ready to use" desktop file.
=> Give a man a fish, you feed him for a day. Teach a man to fish, you feed him for a lifetime.

maces
Hoppipolla
Posts: 7
Joined: Mon May 17, 2010 12:04 am

Re: Lubuntu - control startup session programs.

Post by Hoppipolla »

[Desktop Entry]
Name=Tilda
Comment=Super awesome console thing
Icon=tilda
Exec=tilda
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true



That will probably do :) The only bit that really makes the difference is the Exec bit, I'm also not sure what it's icon is called but tilda seems a safe bet hehe. Oh, also you can tell it to only start in certain desktops like this:

OnlyShowIn=GNOME;XFCE;LXDE;
globetrotterdk
Posts: 16
Joined: Mon May 17, 2010 5:24 pm

Re: Lubuntu - control startup session programs.

Post by globetrotterdk »

Cheers Hoppipolla.

There seems to be something else going on here. The xfce task manager lists tilda as active and it's state is "s", but there is no response to the keybinding.
Locked