Jump to content

How to add item to gnome startup?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
mop

mop

    Learning Programmer

  • Members
  • PipPipPip
  • 30 posts
How can I execute an item when gnome starts up? I thought about adding it to the .bashrc file but that would execute even when SSH or any other login.

#2
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
Use the gnome-control-center. From there goto sessions and add whatever item as a startup item.

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You can also just execute gnome-session command and go straight to the session manager (although tor's method still works fine):

# gnome-session


#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
will the program startup after login or at the login screen?

#5
Guest_Jordan_*

Guest_Jordan_*
  • Guests
After. If you want it to startup before you can put it in /etc/init.d/

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Ok thanks... I hope I'll find this thread again when I come in need of it, when I reinstall some linux distro.

#7
LinuxBomber

LinuxBomber

    Learning Programmer

  • Members
  • PipPipPip
  • 78 posts
Can't that be a security hole? What if you make a brute forcer launching at the login screen?

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well... maybe? But how are you going to do that, if you can't even login in the first place?