I am not usinc #!, but I was told this community would be willing to help out regardless!
I am using Mint 14 xfce and am having a bit of trouble with Conky. I'm trying to get Conky to open at startup, but can't figure out how. I used a Conky Lua script and originally ran the command: "conky -c ./.conky/conkyrc" to run it. I put that command in the startup app list, but it didn't start.
Also, if I just put in "Conky" in the terminal, the default Conky starts instead of the one I downloaded. Any help?
conky -c ./.conky/conkyrc or conky -c ~/.conky/conkyrc
dig +short txt crunchbang.wp.dg.cx
conky -c ~/.conky/conkyrc would be correct IF the file conkyrc is in the directory /home/username/.conky directory
Perhaps the best thing to do is have conkyrc (or .conkyrc) or whatever the file name is in ~/ (this is a shortcut of /home/username) have it in startup as
conky -c ~/conkyrc
(or whatever the file name is)
This is mine .. my conky file name is .conkyrc and it is in my home ~/
(sleep 3s && conky -c ~/.conkyrc) &
I tried everything, and it will still not start up on login.
I put the conkyrc into ~/, I tried all the commands here, and I still can't get it to open on start up. What's going on!?
For $ pwd: /home/nhkim
For $ grep: .conkyrc
To expand on VastOne's answer: you have two possible conky-related config: '.conkyrc' and '.start-conky'.
VastOne recommends one possibility.
Based on your first post, perhaps you might want to run:
$ conky -c .conkyrc
(beware of dots in file names)!
Anyway, this will show which one of the configs are one you want.
Where to put it in Mint, I have no idea ... sorry.
Last edited by iMBeCil (2013-03-08 19:35:37)
Do I understand it correctly? Your initial command still works from terminal, but it doesn`t work when you put this command in your startup-app list? If that is the case, then I have some ideas. You are not using the same autostart mechanism as we do. We use openbox, and start Conky with the openbox autostart-file. This file probably doesn`t exist with you. But I don`t take it any further now, in case I have got it all wrong, and your initial command doesn`t work anymore...
If you could post your startup-app list and tell us the exact location of your .conkyrc, it would be helpful.... For example, in a lxde-distro I use, I start conky with "@conky-start", because I`ve made a shell-script with that name, and putted it in my "bin". But the list that I put "@conky-start" in, wouldn`t have worked with the usual "conky -c /home/user(/.conky)/.conkyrc" command.... Therfore, show us the list:)
- apt-mark hold account
So... yes. I am able to start conky with the lua script from terminal. Just typing "conky" brings up the default look.
In xfce, you can just go to settings > Session and Startup > Application Autostart (tab). There I have the typical things like pidgin (which just uses the command "pidgin"), Synapse, xfce stuff.
On that list, I added a command for conky. In the "Name" slot, I put "Conky." In the "Command" slot, I tried a bunch of different commands. I tried putting the conkyrc in ~/.conky/conkyrc and in ~/.conkyrc. I made sure the file name was correct, tried putting in and taking out the "." Still nothing. Finally, I downloaded a start up file. In it, it has this:
conky -d -c ~/.conkyrc
... still nothing.
I actually downloaded mint14 xfce and run it in virtualbox to see whether I can replicate the problem. Funny thing is I managed to make it autorun in first try. What I did was
1. install conky using "apt-get install conky-all" Typing "conky" in terminal at this stage will run the default conky
2. there was no ~/.conkyrc in mint14 by default, so I copied my #! conky rc to mint14 ~/.conkyrc.
3. tried running conky in terminal by typing "conky", and I managed to run my #! conkyrc in mint14
4. add new item to Session and Startup, with "conky" as command, and I managed to make the conky autorun after rebooting.
Having said that, my conkyrc is just a simple script, showing cpu, ram, network status.
Can you share what your conky script? See whether I can autorun it in virtualbox?
conky -c ~/.conkyrc &
Last edited by ew (2013-03-09 16:48:40)
- apt-mark hold account
$ chmod u+x filename
I was having this same problem with XFCE4 on Gentoo. For some odd reason when you start conky when you log in, it will run but is hidden. I never thought of making it wait for 20 seconds before it actually started.