Conky startup issues
I'm having some issues with Conky not working correctly on login. I'm using a pretty standard install of Xubuntu 14.04. I see the window for a few seconds right after login, but when the desktop picture appears, conky disappears behind it. It's still running, but it is behind the desktop image. I have tried adding a sleep command to the startup script to force Conky to run later, but it just seems to make login in take longer.
I think it may be something to do with my graphics drivers. I have an Nvidia GTX 750 TI, so I can't use the drivers in the repositories. The most current driver in the repositories is 331, which doesn't support the 750 TI. I had to download the more recent 334 branch from Nvidia's website and install it using their supplied installer script. Any thoughts? Here is my .conkyrc config file. Quote:
|
Code:
own_window_type override # the window cannot be moved or resized Quote:
Code:
own_window yes |
Mine in xfce is a horizontal transparent . Like R.A.D. Debian instead of Ubuntu
Before text mine says Code:
xftfont Bitstream Vera Sans:size=7 http://postmyimage.com/img2/572_Scre...11_31_44_P.png Edit to suit your needs I guess. |
I've done a bit of testing with different config options, and nothing seems to fix my issue. Setting own_window to anything other than override results in either conky or my desktop icons disappearing randomly, and also when clicking on the desktop. The original issue of conky disappearing when the desktop image appears is still there. Trying to make conky load after the desktop by adding a sleep command to the startup script actually results in conky not starting at all. When there is no sleep command, conky starts, and then gets hidden by the desktop image, but is still running behind it.
Here is the relevant part of my new .conkyrc file. Quote:
|
I've always used
Code:
own_window_type desktop Just saying. What happens if you run conky -c /path/to/your/conkyrc in a terminal? Is it any different? |
Using the "own_window desktop" or "own_window_type desktop" directives cause the desktop icons to disappear. The icons are still there, as clicking on where they should be makes them show up again, but when conky refreshes, they disappear again. There's also the minor annoyance of the drag-to-select box causing any part of the conky window it covers to disappear until the next update. I'm pretty sure I have the settings correct, as conky works perfectly once started from the terminal. It's just the autostart part that doesn't work. It shows up correctly for a few seconds and then disappears when the desktop image loads.
Something I just thought of. I have a 3-monitor setup. On the login screen, all the monitors display the left monitor's image. Once I log in, it takes a few seconds for it to load in the correct images for the middle and right screens. It's when this happens that conky, running on the right screen, disappears. Might there something weird about multi-monitor setups and the desktop background stuff? |
Quote:
It certainly appears that this may be the issue. I have never tried on a 3 monitor setup, I have a dual display on a DVI-0 and DVI-1 outputs. Tell us more about this 3 monitor setup if you can. |
Starting from the leftmost monitor, here is my setup:
plug on graphics card, resolution/refresh rate, identifier in nvidia-settings 1: DVI-D 0, 1920x1080 @ 60Hz, DFP-3 2: HDMI 1, 1920x1080 @ 60Hz, DFP-2 3: DVI-I 1, 1680x1050 @ 60Hz, DFP-0 3 is the default display as selected by the graphics card. It is the one that the BIOS and GRUB appear on. I believe that 1 is the default display according to X, although I'm not sure how to tell. I just seem to remember setting it as that when I first set up my system. Displays 2 and 3 are positioned as absolute shifts to the right of display 1, +1920+0, and +3840+0 respectively. An interesting note, the nvidia-settings control panel correctly detects which display is which, but if I click "Identify Displays" in the Xfce display control panel, the names show up on the wrong displays, but the resolution is correct on every display. Here is my xorg.conf, as generated by nvidia-settings. Although it seems to only have information about the whole X screen, not the individual physical displays. Quote:
|
I'm watching with interest as I never got my conky to appear on startup on my dual monitor NVIDIA setup. When I start it I start it on the monitor I want it to run on (monitor 0) using run. Mine also hides desktop icons but is in front of the picture -- I don't use desktop icons anyhow so that doesn't bother me too much. Anyhow, I seem to be using default values for a few things, the relevant bits of my .conkyrc being
Code:
alignment top_left |
Quote:
I'm using the TwinView feature on Nvidia Driver 319.22 as far as placement goes, middle-middle or mm on conkry puts is right smack in the middle of both displays. where the right side of Monitor0 meets the left side of Monitor1 as shown in the attachment. Here's my .nvidia-settings-rc for shits and giggles Code:
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility |
After a bit more testing, I can pretty much conclusively say that something in the combination of conky, Xfce 4, and Nvidia 334.21 doesn't quite work for multi-monitor setups. If I disable all but 1 monitor, everything works perfectly. My best guess is that something about the way that Xfce loads desktop images is causing a conflict. I guess this should have been obvious since the login screen backgrounds are completely wrong. It shows the main screen's wallpaper on the second and 3rd screens, and stretched to fill each. It only loads the correct wallpapers for screens 2 and 3 after login has completed. I guess I'll just have to stick to loading conky manually until multi-monitor support is fixed. Thanks for all the help anyway.
|
Quote:
Code:
conky -p <seconds> -c /path/to/conkyrc Maybe the desktop just needs more time to do it's thing (before conky starts)? |
It works!!!
I thought that would have done the same thing as sleep, but I guess it does something slightly different. Shows me for not at least trying it. Thanks! |
Well, that's Great News!
What's left then, anything? |
Many thanks, Habitual, I had given up on conky myself after messing with sleep scripts nad the like but never realised it had its own sleep parameter -- now I have a conky autostarting too! :)
|
All times are GMT -5. The time now is 06:00 PM. |