Dear folks,
I took the plunge to Gnome 3 and although I am playing around, I wish to add some of the old functionality like there was before, i.e, add a starting up script, in the old way one would open gnome session and add the program/script to run at bootup, now the same cannot be applied.
I want to add GKrellM system monitor. ATM I use a terminal and type $ gkrellm & or run it from the applications(System -> GKrellM), but I want to see if it can run without me typing it in?
TIA,
Antonio
[students@E213-299 Downloads]$ uname -a Linux E213-299 2.6.38.1-6.fc15.x86_64 #1 SMP Wed Mar 23 22:43:31 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Antonio Olivares <olivares14031 <at> yahoo.com> writes:
Dear folks,
I took the plunge to Gnome 3 and although I am playing around, I wish to add
some of the old functionality like
there was before, i.e, add a starting up script, in the old way one would open
gnome session and add the
program/script to run at bootup, now the same cannot be applied.
I want to add GKrellM system monitor. ATM I use a terminal and type $ gkrellm & or run it from the applications(System -> GKrellM), but I want to see if it
can run without me typing it in?
I'd like to know, too. I haven't been able to find a definitive answer on this, but my impression from reading is that the developers decided that people should be able to use suspend/hibernate to avoid ever having to log out. Of course this fails to consider a few "corner cases" such as dual boot, kernel updates, non-working suspend/hibernate, power outages without a UPS or that last longer than the UPS's capacity, etc. If this impression is wrong, someone please correct me - in the rare cases I've seen anyone else ask this question, they never got an answer which suggests there currently isn't one.
I think there actually isn't a option in Gnome 3.
You can use the .xinitrc file in your home folder.
This file will be executed by login in with you user.
cat "(sleep 1 && gkrellm) &" >> ~/.xinitrc
This isn't a solution for a missing function, but it works.
Regards, Michael
2011/3/26 Andre Robatino robatino@fedoraproject.org:
Antonio Olivares <olivares14031 <at> yahoo.com> writes:
Dear folks,
I took the plunge to Gnome 3 and although I am playing around, I wish to add
some of the old functionality like
there was before, i.e, add a starting up script, in the old way one would open
gnome session and add the
program/script to run at bootup, now the same cannot be applied.
I want to add GKrellM system monitor. ATM I use a terminal and type $ gkrellm & or run it from the applications(System -> GKrellM), but I want to see if it
can run without me typing it in?
I'd like to know, too. I haven't been able to find a definitive answer on this, but my impression from reading is that the developers decided that people should be able to use suspend/hibernate to avoid ever having to log out. Of course this fails to consider a few "corner cases" such as dual boot, kernel updates, non-working suspend/hibernate, power outages without a UPS or that last longer than the UPS's capacity, etc. If this impression is wrong, someone please correct me - in the rare cases I've seen anyone else ask this question, they never got an answer which suggests there currently isn't one.
-- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
On Sat, 2011-03-26 at 20:11 +0100, Michael Spahn wrote:
I think there actually isn't a option in Gnome 3.
You can use the .xinitrc file in your home folder.
This file will be executed by login in with you user.
cat "(sleep 1 && gkrellm) &" >> ~/.xinitrc
This isn't a solution for a missing function, but it works.
A much more correct way is to drop a .desktop file in ~/.config/autostart (which is actually what the GNOME 2 GUI did anyway).
--- On Mon, 3/28/11, Adam Williamson awilliam@redhat.com wrote:
From: Adam Williamson awilliam@redhat.com Subject: Re: How do I add startup programs in Gnome 3? To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Monday, March 28, 2011, 4:56 PM On Sat, 2011-03-26 at 20:11 +0100, Michael Spahn wrote:
I think there actually isn't a option in Gnome 3.
You can use the .xinitrc file in your home folder.
This file will be executed by login in with you user.
cat "(sleep 1 && gkrellm) &" >>
~/.xinitrc
This isn't a solution for a missing function, but it
works.
A much more correct way is to drop a .desktop file in ~/.config/autostart (which is actually what the GNOME 2 GUI did anyway). --
Folks,
None of these methods work for starting gkrellm when gnome3 starts :(
[students@maddog ~]$ cat ~/.config/autostart (sleep 2 && gkrellm) &
or
in ~/.xinitrc
None do the job. Might have to check the gnome-settings? package. I wanted this work to not install the package which soon might be depracated?
Thanks,
Antonio
On Tue, Mar 29, 2011 at 05:18:05AM -0700, Antonio Olivares wrote:
--- On Mon, 3/28/11, Adam Williamson awilliam@redhat.com wrote:
From: Adam Williamson awilliam@redhat.com Subject: Re: How do I add startup programs in Gnome 3? To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Monday, March 28, 2011, 4:56 PM On Sat, 2011-03-26 at 20:11 +0100, Michael Spahn wrote:
I think there actually isn't a option in Gnome 3.
You can use the .xinitrc file in your home folder.
This file will be executed by login in with you user.
cat "(sleep 1 && gkrellm) &" >>
~/.xinitrc
This isn't a solution for a missing function, but it
works.
A much more correct way is to drop a .desktop file in ~/.config/autostart (which is actually what the GNOME 2 GUI did anyway). --
Folks,
None of these methods work for starting gkrellm when gnome3 starts :(
[students@maddog ~]$ cat ~/.config/autostart (sleep 2 && gkrellm) &
or
in ~/.xinitrc
None do the job. Might have to check the gnome-settings? package. I wanted this work to not install the package which soon might be depracated?
I'm using gnome-settings for starting gkrellm here. But looking at my ~/.config/autostart *directory* I see: $ ls ~/.config/autostart/ dropbox.desktop gkrellm.desktop
And the contents of gkrellm.desktop are: [Desktop Entry] Type=Application Exec=/usr/bin/gkrellm Hidden=false X-GNOME-Autostart-enabled=true Name[en_US]=gkrellm Name=gkrellm Comment[en_US]=system preformance monitoring Comment=system preformance monitoring
Thanks,
Antonio
-- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
On Tue, 2011-03-29 at 14:34 +0200, Alon Levy wrote:
I'm using gnome-settings for starting gkrellm here. But looking at my ~/.config/autostart *directory* I see: $ ls ~/.config/autostart/ dropbox.desktop gkrellm.desktop
And the contents of gkrellm.desktop are: [Desktop Entry] Type=Application Exec=/usr/bin/gkrellm Hidden=false X-GNOME-Autostart-enabled=true Name[en_US]=gkrellm Name=gkrellm Comment[en_US]=system preformance monitoring Comment=system preformance monitoring
Right. Like I said. You put .desktop files in ~/.config/autostart .
--- On Tue, 3/29/11, Adam Williamson awilliam@redhat.com wrote:
From: Adam Williamson awilliam@redhat.com Subject: Re: How do I add startup programs in Gnome 3? To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Tuesday, March 29, 2011, 10:08 AM On Tue, 2011-03-29 at 14:34 +0200, Alon Levy wrote:
I'm using gnome-settings for starting gkrellm here.
But looking at my ~/.config/autostart *directory*
I see: $ ls ~/.config/autostart/ dropbox.desktop gkrellm.desktop
And the contents of gkrellm.desktop are: [Desktop Entry] Type=Application Exec=/usr/bin/gkrellm Hidden=false X-GNOME-Autostart-enabled=true Name[en_US]=gkrellm Name=gkrellm Comment[en_US]=system preformance monitoring Comment=system preformance monitoring
Right. Like I said. You put .desktop files in ~/.config/autostart . --
Thank you very much Adam & Alon, your help is greatly appreciated. Now it works. I created a directory autostart in ~/.config/ directory, then added the file gkrellm.desktop with the contents above and it is working finally :)
Now, I have one remaining issue. How do we get gdm to autologin? The previous tricks to put in [daemon] section of /etc/gdm/custom.conf do not work anymore. Any insights on that would be appreciated as well.
Regards,
Antonio
On 03/30/2011 05:24 AM, Antonio Olivares wrote:
Now, I have one remaining issue. How do we get gdm to autologin? The previous tricks to put in [daemon] section of /etc/gdm/custom.conf do not work anymore. Any insights on that would be appreciated as well.
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
---
Rahul
--- On Tue, 3/29/11, Rahul Sundaram metherid@gmail.com wrote:
From: Rahul Sundaram metherid@gmail.com Subject: Re: How do I add startup programs in Gnome 3? (Solved), ... To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Tuesday, March 29, 2011, 5:14 PM On 03/30/2011 05:24 AM, Antonio Olivares wrote:
Now, I have one remaining issue. How do we get
gdm to autologin? The previous tricks to put in [daemon] section of /etc/gdm/custom.conf do not work anymore. Any insights on that would be appreciated as well.
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
Yes, I tried that, **unless I have a typo**(will double/triple/quadruple check), and it did not work :(, will check it again and report back.
Regards,
Antonio
--- On Tue, 3/29/11, Rahul Sundaram metherid@gmail.com wrote:
From: Rahul Sundaram metherid@gmail.com Subject: Re: How do I add startup programs in Gnome 3? (Solved), ... To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Tuesday, March 29, 2011, 5:14 PM On 03/30/2011 05:24 AM, Antonio Olivares wrote:
Now, I have one remaining issue. How do we get
gdm to autologin? The previous tricks to put in [daemon] section of /etc/gdm/custom.conf do not work anymore. Any insights on that would be appreciated as well.
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
Must have been a typo, or the other line TimedLoginDelay=0, Now it is working like a champ! :)
[students@localhost ~]$ cat /etc/gdm/custom.conf # GDM configuration storage
[daemon] TimedLoginEnable=true TimedLogin=students
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
[students@localhost ~]$
Regards,
Antonio
[students@localhost ~]$ uname -a Linux localhost.localdomain 2.6.38.2-8.fc15.x86_64 #1 SMP Mon Mar 28 02:14:51 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
On Tue, 2011-03-29 at 18:17 -0700, Antonio Olivares wrote:
--- On Tue, 3/29/11, Rahul Sundaram metherid@gmail.com wrote:
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
Must have been a typo, or the other line TimedLoginDelay=0, Now it is working like a champ! :)
[students@localhost ~]$ cat /etc/gdm/custom.conf # GDM configuration storage
[daemon] TimedLoginEnable=true TimedLogin=students
Was neither, your using *timed* login and what Rahul posted above is *Automatic*.
Might try what he has posted above again, using Automatic and not timed and see what happens.
AutomaticLoginEnable=True AutomaticLogin= <username>
--- On Tue, 3/29/11, Mike Chambers mike@miketc.net wrote:
From: Mike Chambers mike@miketc.net Subject: Re: How do I add startup programs in Gnome 3? (Solved), ... (autologin SOLVED) To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Tuesday, March 29, 2011, 6:34 PM On Tue, 2011-03-29 at 18:17 -0700, Antonio Olivares wrote:
--- On Tue, 3/29/11, Rahul Sundaram metherid@gmail.com
wrote:
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
Must have been a typo, or the other line TimedLoginDelay=0, Now it is working like a
champ! :)
[students@localhost ~]$ cat /etc/gdm/custom.conf # GDM configuration storage
[daemon] TimedLoginEnable=true TimedLogin=students
Was neither, your using *timed* login and what Rahul posted above is *Automatic*.
Might try what he has posted above again, using Automatic and not timed and see what happens.
AutomaticLoginEnable=True AutomaticLogin= <username>
--
Thank you very much Mike, I did not actually ***see*** the difference, I can change one to AutomaticLoginEnable=True, and AutomaticLogin=students and see what happens.
I have used the TimedLoginEnable=True since Fedora 9, and got acustomed to it :(
http://www.linuxquestions.org/questions/linux-general-1/fedora-9-auto-login-...
is what I used, and I did not even notice the difference from
# sed -i 's/Timed/Automatic/g'
in /etc/gdm/custom.conf
I will see what difference this makes and report back tomorrow when I get to the machines which have this.
Regards,
Antonio
--- On Tue, 3/29/11, Mike Chambers mike@miketc.net wrote:
From: Mike Chambers mike@miketc.net Subject: Re: How do I add startup programs in Gnome 3? (Solved), ... (autologin SOLVED) To: "For testing and quality assurance of Fedora releases" test@lists.fedoraproject.org Date: Tuesday, March 29, 2011, 6:34 PM On Tue, 2011-03-29 at 18:17 -0700, Antonio Olivares wrote:
--- On Tue, 3/29/11, Rahul Sundaram metherid@gmail.com
wrote:
Have you tried:
/etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=True AutomaticLogin= <username>
Must have been a typo, or the other line TimedLoginDelay=0, Now it is working like a
champ! :)
[students@localhost ~]$ cat /etc/gdm/custom.conf # GDM configuration storage
[daemon] TimedLoginEnable=true TimedLogin=students
Was neither, your using *timed* login and what Rahul posted above is *Automatic*.
Might try what he has posted above again, using Automatic and not timed and see what happens.
AutomaticLoginEnable=True AutomaticLogin= <username>
--
I did have it correct on the machine that I first tried it. Here's the output of the file:
[students@maddog ~]$ cat /etc/gdm/custom.conf # GDM configuration storage
[daemon] AutomaticLoginEnable=true AutomaticLogin=students #TimedLoginDelay=0
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
[students@maddog ~]$
It had TimedLoginDelay=0, and it was causing the problems. On the other two machines, I did have the other version:
TimedLoginEnable=true TimedLogin=students
Does it make sense now?
I had the delay=0 and it was causing the trouble :( Thanks to all who have helped me get this working. My students are appreciative as they do not have to type a password to get to use the computers.
Regards,
Antonio
[students@maddog ~]$ cat /etc/fedora-release Fedora release 15 (Lovelock) [students@maddog ~]$ uname -r 2.6.38.2-8.fc15.x86_64
On Wed, Mar 30, 2011 at 1:54 AM, Antonio Olivares olivares14031@yahoo.comwrote:
Now, I have one remaining issue. How do we get gdm to autologin? The previous tricks to put in [daemon] section of /etc/gdm/custom.conf do not work anymore. Any insights on that would be appreciated as well.
Regards,
Antonio
Have you tried 'My Account' in the right corner menu in gnome3 top panel ?
There is a AutoLogin switch on the user acccount (You have to press the unlock button first)
Tim
On 03/25/2011 08:13 PM, Antonio Olivares wrote:
Dear folks,
I took the plunge to Gnome 3 and although I am playing around, I wish to add some of the old functionality like there was before, i.e, add a starting up script, in the old way one would open gnome session and add the program/script to run at bootup, now the same cannot be applied.
I want to add GKrellM system monitor. ATM I use a terminal and type $ gkrellm& or run it from the applications(System -> GKrellM), but I want to see if it can run without me typing it in?
TIA,
Antonio
[students@E213-299 Downloads]$ uname -a Linux E213-299 2.6.38.1-6.fc15.x86_64 #1 SMP Wed Mar 23 22:43:31 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
gnome-session-properties will do what you want......
$ sudo yum whatprovides */gnome-session-properties Loaded plugins: langpacks, presto, refresh-packagekit gnome-session-2.91.91.3-1.fc15.x86_64 : GNOME session manager Repo : fedora Matched from: Filename : /usr/bin/gnome-session-properties
gnome-session-2.91.93-1.fc15.x86_64 : GNOME session manager Repo : updates-testing Matched from: Filename : /usr/bin/gnome-session-properties
gnome-session-2.91.93-1.fc15.x86_64 : GNOME session manager Repo : installed Matched from: Filename : /usr/bin/gnome-session-properties
Clyde E. Kunkel <clydekunkel7734 <at> cox.net> writes:
gnome-session-properties will do what you want......
Thanks! I didn't realize that this was still available in F15 and Rawhide (and even still has the "Automatically remember running applications when logging out" option), since it doesn't appear to be accessible from a menu anymore.
On Sat, 2011-03-26 at 20:09 +0000, Andre Robatino wrote:
Clyde E. Kunkel <clydekunkel7734 <at> cox.net> writes:
gnome-session-properties will do what you want......
Thanks! I didn't realize that this was still available in F15 and Rawhide (and even still has the "Automatically remember running applications when logging out" option), since it doesn't appear to be accessible from a menu anymore.
Its .desktop file has:
NoDisplay=true
if you take that out it'd probably show up. I think this may be something that was appropriate in GNOME 2 but isn't in GNOME 3 and should be changed, I'll check with desktop team. thanks.
I have been following your informative threads with grat interest. However, I have not foune .xinitrc nor .desktop file in my /home directory. I used nautilus with "show hidded files" selected. A dump of the home directory with "tree -a" are attached.
Regards
----- "Adam Williamson" awilliam@redhat.com wrote:
On Sat, 2011-03-26 at 20:09 +0000, Andre Robatino wrote:
Clyde E. Kunkel <clydekunkel7734 <at> cox.net> writes:
gnome-session-properties will do what you want......
Thanks! I didn't realize that this was still available in F15 and
Rawhide (and
even still has the "Automatically remember running applications when
logging
out" option), since it doesn't appear to be accessible from a menu
anymore.
Its .desktop file has:
NoDisplay=true
if you take that out it'd probably show up. I think this may be something that was appropriate in GNOME 2 but isn't in GNOME 3 and should be changed, I'll check with desktop team. thanks. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org http://www.happyassassin.net
-- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
On Mon, 2011-03-28 at 21:22 -0400, ergodic wrote:
I have been following your informative threads with grat interest. However, I have not foune .xinitrc nor .desktop file in my /home directory. I used nautilus with "show hidded files" selected. A dump of the home directory with "tree -a" are attached.
Neither would exist, you would create a .xinitrc file, or copy .desktop files into ~/.config/autostart . But the easiest thing to do, as pointed out later in the thread, is just run 'gnome-session-properties' .
Mclasen tells me it's hidden on purpose, btw, because it's considered kinda deprecated / not something they want to make obvious any more.
Thanks
----- "Adam Williamson" awilliam@redhat.com wrote:
On Mon, 2011-03-28 at 21:22 -0400, ergodic wrote:
I have been following your informative threads with grat interest. However, I have not foune .xinitrc nor .desktop file in my /home directory. I used nautilus with "show hidded files" selected. A
dump
of the home directory with "tree -a" are attached.
Neither would exist, you would create a .xinitrc file, or copy .desktop files into ~/.config/autostart . But the easiest thing to do, as pointed out later in the thread, is just run 'gnome-session-properties' .
Mclasen tells me it's hidden on purpose, btw, because it's considered kinda deprecated / not something they want to make obvious any more. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org http://www.happyassassin.net
-- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
On Mon, Mar 28, 2011 at 09:22:10PM -0400, ergodic wrote:
I have been following your informative threads with grat interest. However, I have not foune .xinitrc nor .desktop file in my /home directory. I used nautilus with "show hidded files" selected. A dump of the home directory with "tree -a" are attached.
Usually, .xinitrc is created by the user. For example, mine just reads exec openbox-session
and does nothing but start openbox.