Conky on demand

Non release banter
sean
Contributor
Contributor
Posts: 166
Joined: 08 Jul 2012, 02:30
Distribution: Porteus v3.0 LXDE i486
Location: South Central PA, USA

Conky on demand

Post#1 by sean » 26 Nov 2014, 20:26

Does anybody here use Conky?

I do myself with a full top to bottom right edge 2" wide on my 23" monitor. I've used it for years and don't mind it being there at all, but lately I've been wondering if there was a way to place Conky into a wide vertical panel, and make the panel auto-hide. Since all my Conky is static, (I can't click on anything for some action result), then in theory, set as described above, Conky would be hidden until or unless I took the pointer to that particular edge of the screen, whereupon Conky would come into view.

I know this is Porteus, and that's why I put this here, in General Chat. Just wondering if anyone here might have an idea first?

Sean

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Conky on demand

Post#2 by brokenman » 27 Nov 2014, 01:18

How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Conky on demand

Post#3 by ncmprhnsbl » 12 Dec 2014, 21:50

if there was a way to place Conky into a wide vertical panel, and make the panel auto-hide.
conky can be any shape/position you want, and has an "own_window_type panel" option, but no inbuilt 'hiding' ability. tiko
a small script to turn conky on and off, might do the trick:

Code: Select all

#!/bin/bash
# 

if [ "$(ps -C conky -o pid=)" ]; then
    killall conky &
    exit 0
else
    conky &
    exit 0
fi
name it conkytoggle and 'chmod +x' it.
to bind this to a screen edge requires a DE/wm that has that feature like KDE or compiz, otherwise a keyboard shortcut....
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply