11

As the question goes, is there a way to get conky work even when is the system is locked?

αғsнιη
  • 35,660
Shash
  • 1,001
  • You may try this http://vogelchr.blogspot.com.br/2012/11/ligthdm-custom-app-on-login-screen.html – opu 웃 Nov 02 '14 at 16:53
  • 1
    See also http://askubuntu.com/questions/368829/conky-or-other-apps-on-gnome-screensaver-unlock-screen – fret Nov 03 '14 at 22:15

1 Answers1

7

This is possible with xscreensaver:

1) Install xscreensaver

sudo apt-get install xscreensaver xscreensaver-data

2) run "xscreenserver-demo" once in order to create an initial configuration file

xscreensaver-demo

3) Edit the configuration file .xscreensaver in your home directory

gedit ~/.xscreensaver

4) Append the following line to the list of programs (in my case, directly after the line containing "unicode -root \n\")

"Conky"  conky -q --window-id=$XSCREENSAVER_WINDOW -c ~/.conkyrc-screensaver \n\

5) Put your conky config file under the name .conkyrc-screensaver in your home directory.

Here an example for a sample conky config file for displaying the cpu load:

wget http://pastebin.com/raw.php?i=iBD8bHqj -O ~/.conkyrc-screensaver

6) Start the xscreensaver daemon and open settings in the opening window

xscreensaver &

7) Select "Conky" as screensaver

Screenshot

You can find more information on how to set xscreensaver as default screensaver in Configure screensaver in Ubuntu.

Source: How To: Conky as a Screensaver for xscreensaver

fret
  • 1,027
  • 2
  • 9
  • 13
  • can you please elaborate the 5th step please – Shash Nov 04 '14 at 15:54
  • Is it more comprehensible now? If not, can you tell me what exactly is unclear? – fret Nov 04 '14 at 16:39
  • 1
    this works.. but I have one problem. When I lock the system with super+l then this does not work. Is there a fix even for that. – Shash Nov 06 '14 at 13:53
  • access to the source is denied. :https://yalam.co.uk/blog/how-to-conky-as-a-screensaver-for-xscreensaver/ – MycrofD Mar 26 '18 at 14:49