Using Gnome 3 on Fedora 15, where should I put a script that needs to execute once when the user logs in graphically?
|
When a user logs into the graphical mode, the predefined desktop environment starts (Gnome 3 in your case). This is the software package that should be used for setting up and configuring anything that is to be started when the user logs in graphically. First create the script, place it in some private place like I was translating all the menu entries back to English from Polish, so please correct me if I made a mistake there. (My girlfriend's computer is the only one around that has Gnome installed :) ) |
||||
|
|
|
If you're using F15, your profile file is
instead of
So, see if that file exist and edit it adding your script |
|||||||||
|
ps -ef | grep gdmI get: root 1117 1 0 15:16 ? 00:00:00 /usr/sbin/gdm-binary -nodaemon root 1142 1117 0 15:16 ? 00:00:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 root 1156 1142 0 15:16 tty1 00:00:53 /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-8pX5qs/database -nolisten tcp vt1 root 1402 1142 0 15:16 ? 00:00:00 pam: gdm-password (Alsoecho $DESKTOP_SESSIONreturnsgnome.) Given the output, I think that means default fedora 15 runs gnome display manager. – Trevor Boyd Smith Sep 17 '11 at 22:42