Arch This Forum is for the discussion of Arch Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-02-2012, 01:24 PM
|
#1
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Rep:
|
Trouble getting conky to work at startup with arch linux and gnome 3 installed
Hi
I installed conky today and i can get it to work by simply running this command:
Code:
sudo conky -c ~/.conky/conkyrc
It all works fine, but my problem is in making it run at startup.
I have read many forum posts saying to make an executable file and add it to my session under system>preferences>sessions. I do not have those menus! Do I have an incomplete install of gnome? What to do?
|
|
|
04-03-2012, 05:58 AM
|
#2
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
Add an entry to gnome-session-properties. You can do this by hitting ALT-F2 and entering "gnome-session-properties". Create a new entry that points to whatever starts conky for you. When you reboot conky should start. If it doesn't have a look in .xsession errors for clues.
|
|
1 members found this post helpful.
|
04-03-2012, 02:04 PM
|
#3
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
Thanks Glennzo, I did that, but the problem persists... It worked with some other things I wanted to run at startup, but not conky...
Besides that, I don't even have an ~/.xsession file. I looked into the ~/.xinitrc and added it in there. The remaining problem, I think, is that I have to delay the starting of the command.
|
|
|
04-07-2012, 10:30 AM
|
#4
|
Member
Registered: Jan 2011
Location: Berlin
Distribution: Manjaro
Posts: 43
Rep:
|
Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
conky &
xscreensaver &
# exec gnome-session
# exec startkde
# exec startxfce4
exec fluxbox
this is how it works for me..but i wondering why you trying to start conky as sudoers like
Quote:
sudo conky -c ~/.conky/conkyrc
|
|
|
1 members found this post helpful.
|
04-07-2012, 11:05 AM
|
#5
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
I don't know... It doesn't really make a difference, it doesn't work anyway. So that code you posted Raleeha, what do I do with it? I'm sorry, it seems that whanever I feel I'm comfortable with Linux, something new pops up
|
|
|
04-08-2012, 06:50 AM
|
#6
|
Member
Registered: Jan 2011
Location: Berlin
Distribution: Manjaro
Posts: 43
Rep:
|
hi
it's my .xinitrc .. inside i meant the command "conky &" to start at boot.. i don't know if your .xinitrc has same command
Last edited by raleeha; 04-08-2012 at 06:54 AM.
|
|
|
04-08-2012, 12:55 PM
|
#7
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
Yeah... my .xinitrc is just
Code:
exec ck-launch-session gnome-session
|
|
|
04-09-2012, 02:05 AM
|
#8
|
Member
Registered: Jan 2011
Location: Berlin
Distribution: Manjaro
Posts: 43
Rep:
|
mh why not add to your .xinitrc ?
|
|
|
04-09-2012, 01:15 PM
|
#9
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
That didn't work either... I tried adding
and I also tried
Code:
conky -c ~/.conky/conkyrc &
But neither of them worked...
|
|
|
04-10-2012, 12:47 AM
|
#10
|
Member
Registered: Jan 2011
Location: Berlin
Distribution: Manjaro
Posts: 43
Rep:
|
hi,
mh how do you start the gnome environment? (with login manager or startx command)
p.s. http://http://www.youtube.com/watch?v=Mg_rRJcK9x0 maybe this helps
|
|
|
04-10-2012, 03:24 AM
|
#11
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
Here's what works for me. Fedora, from about release 14 up to release 17. My conky configuration is in /etc/conky (/etc/conky/conky.conf). In my home folder is a file I've named .ck.sh. In .ck.sh is the following:
Code:
#!/bin/bash
# Startup script for conky
# Glenn A. Johnson - October 16, 2011
sleep 5
conky -c /etc/conky/conky.conf &
This .ck.sh file is called by adding it to the startup configuration using the method I'd mentioned previously, an entry in gnome-session-properties. As you can see .ck.sh calls /etc/conky/conky.conf. This works reliably for me.
What does your conky.conf look like? Can you post it here?
|
|
1 members found this post helpful.
|
04-10-2012, 12:18 PM
|
#12
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
To raleeha:
I start it with the gdm login manager.
To Glennzo:
It's a big conky.conf file. I could post it, but I don't think that would be any use... I'll make my own .ck.sh file, with my own configuration and I'll give you the results.
:EDIT:
Here's my .ck.sh file:
Code:
#!/bin/bash
# Startup script for conky
# Iraj Eshghi - April 10, 2011
sleep 10
conky -c ~/.conky/conkyrc &
Last edited by ijiboom; 04-10-2012 at 12:23 PM.
|
|
|
04-10-2012, 12:28 PM
|
#13
|
LQ Newbie
Registered: Mar 2012
Distribution: Fedora Linux
Posts: 21
Original Poster
Rep:
|
OK thanks guys, that worked!
|
|
|
All times are GMT -5. The time now is 07:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|