You are not logged in.
Hi guys, i just made a fresh install with LXDE and i have a dual monitor
setup. Conky starts trough xinitrc and appears in the right monitor as
intended, but when i click anywhere on that monitor it disappears.
Doesn't happen when i click on the left monitor. If i run it from the
terminal it behaves the same. Any ideas how can i change it ?
uname -a
Linux ufoo 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
(sleep 5; conky -q) &
#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
#conky -d; sleep 1 && transset-df .5 -n Conky
exec startlxde
conky from terminal
conky: desktop window (8001a8) is subwindow of root window (4e1)
conky: window type - desktop
conky: drawing to created window (0x600001)
conky: drawing to double buffer
~/.config/conky/conky.conf
conky.config = {
-- position
alignment = 'top_right',
gap_x = -1595,
gap_y = 5,
-- size
minimum_height = 5,
minimum_width = 5,
short_units = true,
pad_percents = 1,
-- background
background = false,
-- borders
border_width = 1,
-- color
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
-- frame
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
stippled_borders = 0,
-- shadows
draw_shades = false,
-- better fonts
use_xft = true,
font = 'Anonymous Pro:size=12',
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
-- no_buffers = true,
-- window settings
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
-- update intervals
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
cpu_avg_samples = 2,
net_avg_samples = 2,
-- anti-flickering
double_buffer = true,
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
Last edited by dreadz (2016-06-25 15:48:35)
Offline
Try adding this and see what happens.
own_window_type override
Offline
Try adding this and see what happens.
own_window_type override
If i set it to override the whole thing disappears and throws nothing in the terminal.
Offline
I haven't used a regular Conky setup in years, but I copied this from my old config:
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
Perhaps it's one of those, or all of them.
Offline
I haven't used a regular Conky setup in years, but I copied this from my old config:
own_window yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
Perhaps it's one of those, or all of them.
None of it works, i've tried several combos.
If i set it up to normal then i get borders and
buttons on the top... Maybe some other ideas ?
Offline
Hm, how about this then?
own_window_type desktop
The solution seems to vary depending on what the DE, composite manager etc people are using.
Offline
Hm, how about this then?
own_window_type desktop
The solution seems to vary depending on what the DE, composite manager etc people are using.
Hund, thanks for the suggestions man! I finally got it running.
I did
-- window settings
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_transparent = false,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
The first time i tried 'normal' it didn't work, but after a restart it came to life oO.
Thanks solved!
Offline
Offline