You can write some kind of wrapper script #!/bin/sh PATH=/bin:/usr/bin:/usr/local/bin sudo firestarter
or maybe add `&` #!/bin/sh PATH=/bin:/usr/bin:/usr/local/bin sudo firestarter & then put this script somewhere in /usr/bin and in desktop file Exec=your_script_wrapper_name But i think, that there is some docs about desktop files syntax I don't know exactly where, but look here http://freedesktop.org/ 28.07.06, Chuckk Hubbard<[EMAIL PROTECTED]> написал(а):
More news- I replaced the line "Exec=firestarter" with "Exec=sudo firestarter." Now when I start up, firestarter is open, but somehow the Gnome splash screen stays on until I click it. I don't know if it is the .desktop file that is opening firestarter, or Gnome's attempt to preserve the previous session. Now, the firestarter icon doesn't come up on the splash screen; I'm guessing because it's actually executing sudo and not firestarter? Interesting. On 7/27/06, Chuckk Hubbard <[EMAIL PROTECTED]> wrote: > Thanks, Vitaliy. > gnome-session-properties says 'authentication rejected' etc. > > I did this other method, and now when I start up, it brings up my > program's icon (firestarter), but I can't find the program open. I > select run, and it asks for root password and then runs. > Is there something special I have to do for a program that requires root? > > -Chuckk > > On 7/27/06, Vitaliy Ischenko <[EMAIL PROTECTED]> wrote: > > Pure gnome way: > > run gnome-session-properties > > The other way: > > cd ~/.config/autostart/ > > and create there file with extension `desktop` i.e. `gaim.desktop` > > than open this file in text editor and write: > > -------start gaim.desktop listing--------- > > [Desktop Entry] > > Name=Some name which you like > > Encoding=UTF-8 > > Version=1.0 > > Exec=gaim > > --------end gaim.desktop listing---------- > > > > and, finally `chmod u+x gaim.desktop` > > > > second method will work with some other DE > > > > В Чтв, 27/07/2006 в 17:59 -0400, Chuckk Hubbard пишет: > > > I was a little shy about asking before, because I felt I hadn't done > > > enough digging on my own, but this info is incredibly hard to find. > > > > > > How do I set up what programs start at startup? I'm using Gnome on > > > AGNULA 1.3.0. > > > In other news, my keyboard keys no longer repeat when held down. I > > > can't imagine what I did to change that. > > > > > > Thanks! > > > -Chuckk > > > > > > > > > -- > > > "Far and away the best prize that life has to offer is the chance to > > > work hard at work worth doing." > > > -Theodore Roosevelt > > > > > > > > -- > > Vitaliy Ischenko <[EMAIL PROTECTED]> > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.3 (GNU/Linux) > > > > iD8DBQBEyUB4Zt1ZKrL7rrARAnFOAJ9beW3rEn6PKl4ok7gMADX+BgisPwCfWu87 > > tR9NmbUvXu61BhdKGXI6L14= > > =88rK > > -----END PGP SIGNATURE----- > > > > > > > > > -- > "Far and away the best prize that life has to offer is the chance to > work hard at work worth doing." > -Theodore Roosevelt > -- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt