You are not logged in.

#1 2012-10-27 03:25:50

Xaero252
Member
Registered: 2011-11-28
Posts: 107

Conky above all applications

Okay, so what I'm looking for is a way to force conky to float above all applications; and act as a panel. Currently, my conky is setup to act as a panel, and does such perfectly, it is semi-transparent (via argb) and windows approach it appropriately (compiz is my WM)

On accident, earlier today I found a feature I never knew I wanted - my conky had somehow managed to overlay on top of a full screen game. I decided I would investigate and ended up using compiz's Window Rules to define "above" as name=Conky
This worked, or at least seemed to; but for some reason not all the time.

Here is a screenshot of what I accidentally managed:
2012_10_26_202101_1920x1200_scrot.jpg

Notice that Conky is semi transparent, and on top of the fullscreen game window? This is exactly the behavior I desire. Is this possible to force?

Offline

#2 2012-10-27 05:04:39

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Conky above all applications

own_window_hints above

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-10-27 05:27:36

Xaero252
Member
Registered: 2011-11-28
Posts: 107

Re: Conky above all applications

illusionist wrote:
own_window_hints above

I suppose I should have posted my .conkyrc before; thats already there.

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent no
own_window_type panel
own_window_hints undecorate,above,sticky,skip_taskbar,skip_pager 

#borders
draw_borders yes
draw_graph_borders yes
border_width 1
border_margin 3

#shades
draw_shades no

#position
gap_x 0
gap_y 4
alignment top_left

#behaviour
update_interval 1

#colour
default_color 000000
#default_shade_color 000000
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 150
#font
use_xft yes
xftfont lime:size=7

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

#to prevent window from moving
use_spacer none
minimum_size 1920 0

#mpd
#mpd_host localhost
#mpd_port 6600

TEXT
${color #9BBAF1} Playing: ${color ffffff}${execi 2 ~/scripts/cmus.sh} ${color #9BBAF1} ${color #9BBAF1} $alignc ${alignr} ${color #9BBAF1}Kernel >> ${color ffffff}$kernel  ${color #9BBAF1}Up >> ${color #9BBAF1}${color #ffffff}${uptime_short} ${color #9BBAF1}| Cpu >> ${color #ffffff}${cpu}% ${color #ffffff} ${color #9BBAF1}Ram >> ${color #ffffff}${memperc}% ${color #9BBAF1}| Root >> ${color ffffff}${fs_used_perc /}% ${color #9BBAF1}${color #9BBAF1}Home >> ${color ffffff}${fs_used_perc /home}% ${color #9BBAF1}| Up Speed >> ${color ffffff}${upspeedf eth0} kb/s ${color #9BBAF1}Down Speed >> ${color ffffff}${downspeedf eth0} kb/s${color #9BBAF1} | ${color #9BBAF1}${time %d/%m/%y}${color #9BBAF1} ${time %H:%M} ${if_match ${execi 5 wmctrl -d | grep 'VP:' | awk '{print $6}' | sed 's/,0//' | awk '{print $1/1920}'} == 0}[1]${else}${if_match ${execi 5 wmctrl -d | grep 'VP:' | awk '{print $6}' | sed 's/,0//' | awk '{print $1/1920}'} == 1}[2]${else}${if_match ${execi 5 wmctrl -d | grep 'VP:' | awk '{print $6}' | sed 's/,0//' | awk '{print $1/1920}'} == 2}[3]${else}${if_match ${execi 5 wmctrl -d | grep 'VP:' | awk '{print $6}' | sed 's/,0//' | awk '{print $1/1920}'} == 3}[4]

I think it may have to do with window type being set to panel; but if I remove that, windows will start to not play nicely with it again.

Edit: Nope; fullscreen applications still cover it up, even with it set to "above"
That would be an awesome feature since I use a compositing window manager and all; it should be able to place windows on top of 3d rendered windows (and it clearly can from the screenshot/accidental feature) but for whatever reason it doesn't like to do it when I tell it to...

Last edited by Xaero252 (2012-10-27 05:30:23)

Offline

#4 2012-10-27 09:48:28

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Conky above all applications

try

own_window_type override

EDIT: I think "own_window_hints" is not comma separated .

EDIT 2 : I was wrong it can be comma separated.

Last edited by illusionist (2012-10-27 09:54:17)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#5 2012-10-27 19:28:25

Xaero252
Member
Registered: 2011-11-28
Posts: 107

Re: Conky above all applications

illusionist wrote:

try

own_window_type override

EDIT: I think "own_window_hints" is not comma separated .

EDIT 2 : I was wrong it can be comma separated.

Even more of a strange outcome than expected. I expected to lose the panel behavior (and I did) but with override set, conky stays UNDERNEATH fullscreen windows (even though above is set)

I'm able to get it above fullscreen windows by Alt-Tabbing out of and then back into the game or media player, but that doesn't help since its only temporary.

Offline

#6 2012-10-27 20:00:20

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Conky above all applications

Believe it should be 'own_window no'.

Offline

#7 2012-10-28 09:13:35

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Conky above all applications

This is my conky setting on xfce for your reference :

own_window yes
own_window_type override
own_window_colour 000000
own_window_transparent no
own_window_hints undecorated abov
double_buffer yes
cpu_avg_samples 2
net_avg_samples 2
use_xft no
xftfont Terminus2:size=8
update_interval 1.0
minimum_size 1366
#maximum_width 1366
border_width 1
draw_outline no
default_color white
alignment top_middle
gap_x 1
gap_y 1
use_spacer none
no_buffers yes
uppercase no
short_units yes

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#8 2014-04-15 18:21:46

mtello17
Member
Registered: 2014-03-22
Posts: 34

Re: Conky above all applications

Neither of these suggestions has worked

Last edited by mtello17 (2014-04-15 18:21:58)

Offline

#9 2014-04-16 12:36:38

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Conky above all applications

mtello17, might depend on your WM. Please start a new thread. Forum Etiquette: Old Threads / Necro-Bumping. Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB