Author Topic: Conky in LXDE disappears when minimize all windows  (Read 2434 times)

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Conky in LXDE disappears when minimize all windows
« on: February 18, 2012, 02:44:37 AM »
Hi friends,

I have a flu and I have the time for play with my netbook...

I installed Conky and everything works fine, but when I click on the "minimize all windows" button conky disappears.

Can I modify the "minimize all windows" command and ban windowclass Conky when the minimize all windows button is selected?

Thanks


Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #1 on: February 19, 2012, 03:05:53 AM »
Hi friends,

Quote
Can I modify the "minimize all windows" command and ban windowclass Conky when the minimize all windows button is selected?


No answers maybe no solution....

Somebody is running here LXDE+conky without troubles?

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10647
  • MLUs Forever!
Re: Conky in LXDE disappears when minimize all windows
« Reply #2 on: February 19, 2012, 03:23:45 AM »
Does conky re-appear when all windows are returned to their former state (unminimised)?

I am using KDE and cannot recall the conky behaviour when I last used LXDE ......
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #3 on: February 19, 2012, 03:36:34 AM »
Quote
Does conky re-appear when all windows are returned to their former state (unminimised)?

I can't try, I am using a touchpad without middle button, I only can minimize.

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #4 on: February 19, 2012, 11:00:11 AM »
Yes,

I have found the shortcut Super+d (minimize all the windows) and this minimize and maximize conky too!

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Conky in LXDE disappears when minimize all windows
« Reply #5 on: February 19, 2012, 11:31:57 AM »
Look at the .conkyrc file in your home directory. It will likely have a line towards the top of the file, own_window yes. This means that conky is treated as any other window on the desktop. Find a workaround to that, and it will solve your problem. HINT: Change it to own_window no, and it will no longer show on your desktop.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #6 on: February 19, 2012, 11:51:36 AM »
Hi djohnston,

thanks, but a did and Conky disappears completely when I change to own_window no :(

This is my code:

Code: [Select]
# set to yes if you want Conky to be forked in the background
    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 4.0
    total_run_times 0
    own_window yes
    own_window_class Conky
    own_window_type monitor
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    double_buffer yes
    minimum_size 200 5
    maximum_width 250
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
   
    default_color grey
    default_shade_color red
    default_outline_color grey
    alignment top_right
    gap_x 12
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale yes

    TEXT
    Fecha y hora ${hr 2}
    ${alignc}${font Arial Black:size:24}${time %H:%M}${font}
    ${alignc}${Time %A %d %m %Y}
   
    Sistema ${hr 2}
    $sysname $kernel on $machine
    Hostname $alignr $nodename
    Uptime $alignr $uptime
    Celeron (R) M 430 @     ${freq}MHz
    ${font sans-serif:bold:size=8}PROCESADORES ${hr 2}
    ${font sans-serif:normal:size=8}${cpugraph cpu1}
    CPU1: ${cpu cpu1}% ${cpubar cpu1}

    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
   
    Swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}

    Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
   
    Procesos ${hr 2}
    $processes processes ($running_processes running)
   
    NAME $alignr PID    CPU  MEM
    ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
    ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
    ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
    ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8}

   
    ${font sans-serif:bold:size=8}INTERNET ${hr 2}
    ${font sans-serif:normal:size=8}Direccion IP: $alignr ${addr eth0}
    ESSID: $alignr ${wireless_essid eth0}
    Calidad wifi: $alignr ${wireless_link_qual_perc eth0}%
    ${downspeedgraph eth0}
    DLS:${downspeed eth0} kb/s $alignr total: ${totaldown eth0}
    ${upspeedgraph eth0}
    ULS:${upspeed eth0} kb/s $alignr total: ${totalup eth0}

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Conky in LXDE disappears when minimize all windows
« Reply #7 on: February 19, 2012, 11:58:58 AM »
will this work?

Code: [Select]
own windows type desktop

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #8 on: February 19, 2012, 12:09:14 PM »
Hi Leiche,

Code: [Select]
own windows type desktop
very very near :)

This works, solve the problem when I press the "minimize button" BUT Conky disappears when a I do click on the desktop.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Conky in LXDE disappears when minimize all windows
« Reply #9 on: February 19, 2012, 12:13:58 PM »
and this?

Code: [Select]
own_window_type override

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #10 on: February 19, 2012, 12:17:03 PM »
Code: [Select]
own_window_type override
Conky disappears completely :(

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Conky in LXDE disappears when minimize all windows
« Reply #11 on: February 19, 2012, 12:34:32 PM »
Okay some settings from my old conky, maybe will this work for you

Code: [Select]
background yes
font sans:size=8
xftfont sans:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override # Try also 'normal' or 'override'
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders no
minimum_size 250
maximum_width 250
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_right
gap_x 10
gap_y 70
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #12 on: February 19, 2012, 01:29:12 PM »
Thanks Leiche,

but I got the same problem with minimize windows. :(

Code: [Select]
own_window_type override # Try also 'normal' or 'override'
"override" doesn't works.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Conky in LXDE disappears when minimize all windows
« Reply #13 on: February 19, 2012, 01:44:32 PM »
Is this of any help ?


Quote
own_window_type
if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.


http://conky.sourceforge.net/config_settings.html

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Conky in LXDE disappears when minimize all windows
« Reply #14 on: February 19, 2012, 01:57:41 PM »
Hi As,

change to panel solve "minimize windows", but now conky is not transparent and it is top_left, (and the configuration is top right...)

Very weird.