Skip to main content
Topic: conkey on LXQt / sddm does not refresh after "Show Desktop" (Read 1222 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

conkey on LXQt / sddm does not refresh after "Show Desktop"

Hello guys,
I'm using a installation from the artix-lxqt-openrc-XXXXXXX-x86_64.iso
It comes with the Simple Desktop Display Manager (SDDM).
Compiz, the compositing window manager is uninstalled.
All works until I click the "Show Desktop" button.
To bring the conkey window back I have to: killall -SIGUSR1 conky

It is inconvenient to have every time to click:
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Refresh conkey
Comment=Refresh conkey
Type=Application
Exec=/usr/bin/killall -SIGUSR1 conky
StartupNotify=false
Terminal=true
Icon=conky-logomark-violet

Any idea ?

My conkey.conf:
Code: [Select]
conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 5,
    gap_y = 60,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_type = 'normal',
    own_window_transparent = false,
    stippled_borders = 0,
    short_units = true,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
${color grey}RAM:$color $memeasyfree free / of $memmax
$memperc% ${color grey}in use$color ${membar 4,200}
${color grey}CPU:$color ${cpu cpu1} ${cpu cpu2} ${cpugraph 40,200}
${color grey}Temp.:$color ${ibm_temps 1}°C ${color grey}Fan:$color ${ibm_fan} T/min.
${color grey}File system:$color ${fs_bar 4 /}
             ${fs_free /} ${color grey}free
${if_up wlan0} ${color grey}WLAN0: $color ${upspeed wlan0} ${color grey}↓ $color ${downspeed wlan0} ${color grey}↑$color
${downspeedgraph wlan0 40,320}
$endif
${if_up wlan1} ${color grey}WLAN1: $color ${upspeed wlan1} ${color grey}↓ $color ${downspeed wlan1} ${color grey}↑$color
${downspeedgraph wlan1 40,320}
$endif
]]

Re: conkey on LXQt / sddm does not refresh after "Show Desktop"

Reply #1
so conky.

try to set
Code: [Select]
own_window_type = 'desktop'

In posted code you have it set to "normal", which act as normal window and when you press show desktop it is naturally hidden.
You can check the manual for more valid values for this variable.

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

Re: conkey on LXQt / sddm does not refresh after "Show Desktop"

Reply #2
Hi SGOrava,

own_window_type = 'desktop'

does not work.
If set to type 'desktop' and you click somewhere on the desktop, the conky window disappears.

Re: conkey on LXQt / sddm does not refresh after "Show Desktop"

Reply #3
Hi SGOrava,

own_window_type = 'desktop'

does not work.
If set to type 'desktop' and you click somewhere on the desktop, the conky window disappears.

I am unable to help you more, the desktop value works for me.
you can also try "override", see docs.

own_window_type
Quote
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.

You can also set the window class to some known value and configure your compositor or window manager to set it as you wish.
own_window_class
Quote
Manually set the WM_CLASS name. Defaults to "Conky".


OK, After a bit of reading you can experiment with variable "own_window_hints", see manual.
http://conky.sourceforge.net/docs.html


PS: Is Artix using Compiz ? that is new for me.

Re: conkey on LXQt / sddm does not refresh after "Show Desktop"

Reply #4
Hi SGOrava,

the "own_window_type" "override" has the same strange behaviour as "desktop".
If you click somewhere on the desktop, the conky window disappears.
The "dock" and "panel" work in principle as intended, but influence the desktop icons and are not what I want.
I already played several hours with the conkey.conf settings with all kind of variations.
The conkey.conf included is the only combination that works, except until I click the "Show Desktop" button.

(I uninstalled the "compositing window manager", who ever had the job...)