Closed sonvirgo closed 6 years ago
Your Xsession logs out? or conky quits? I have a 2-in-1 Laptop with touchscreen support, and conky would unexpectedly quit when clicking the desktop too. I did some research into it when it was a problem for me. Why don't you try what I did:
own_window_type = 'dock',
in the conky.config = {...} section.
The Xsession logout. I use Gnome and own_window_type = 'normal' I have try own_window_type = 'conky', same result. Only own_window_type = 'desktop', party solve the issue but I have to touch elsewhere in the desktop before I touch the conky, other while Xsession logout again
repeat the steps to reproduce this problem without conky running and report back.
In fact, I don't get what you mean by reproduce without conky running.
The problem is, the Xsession logout when I touch the conky windows.
This is my desktop:
https://i.imgur.com/2Cp8A3G.jpg
This is my process:
$ ps -aux | grep conky
1519 0.2 0.8 471840 14956 tty1 Sl+ 10:53 0:02 conky -c /home/.conky/Green Apple Desktop/Gotham
1551 0.9 0.5 1060692 9748 tty1 Sl+ 10:53 0:09 conky -c /home/.conky/Default/conky
1552 0.1 0.4 323704 8960 tty1 Sl+ 10:53 0:01 conky -c /home/.conky/TeejeeTech/Network Panel
1554 0.4 0.6 1030628 12836 tty1 Sl+ 10:53 0:04 conky -c /home/Documents/conky/conkyrc
I wanted you to tap your desktop while conky wasn't running to see if you logged out.
You should also try adding or changing these lines in your config:
own_window = true,
own_window_class = 'Conky',
own_window_type = 'window', -- #I also encourage you to try 'dock'
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,sticky,skip_pager',
I also encourage you to try the default conky configuration to see if it is just your personal configuration file, or if it's conky in general it's important that you try this.
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
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_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
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}
]]
Test your config on my 2-in-1 device. Seems ok
Alright, that's great! So if you used this default config for conky and tapped it and the bug did not occur, This means the bug is not with conky itself, but your personal config may not be optimal for your machine which is causing some wonky effects.
Did you try and edit your personal configuration and see if anything was solved?
If everything was solved, you can go ahead and close this issue.
I use conky manager, which work with old config format only
If I may quote you, You are using the newest version of conky.
$ conky -V conky 1.10.6 compiled Fri Dec 9 23:23:27 UTC 2016 for Linux 4.4.0-53-generic x86_64
Conky version 1.10.6 does not support the old format of configs. You must update them. So the problem you are experiencing is on your end with your configurations.
Here's is a script that you can try to convert your old 1.9 configurations, as well as some notes containing some information about the change.
You can also run a script to run your new configurations without the use of conky manager. I wrote one in my repository here. you can use it to start multiple modules at once.
#!/bin/bash
#Gets the directory you put the modules to conky in, so that thi script's working directory
#is in the relevant place.
current="$(readlink -f $(dirname "$0"))"
previous="$(pwd)"
cd "$current"
#conky -c ./nameOfModule
#conky -c ./temp-rc <<integrated into right-rc. But you can use this module seperqtely if you'd like. just uncomment it.'
#conky -c ./right-rc #& if adding more modules AT ONCE, unhash the & symbol, and add the names of your modules below in same format.
conky -c ./rightNew
It all boils down to this: there is no bug with conky, and you shouldn't use conky manager anymore until its updated to use the new format.
OK thank you, I close this
your very welcome, good luck in the future.
@mswanson-me , I noticed you were a collaborator, could you please add the pending closure tag to this issue? it's all set.
You got it! Thanks for letting me know.
Ubuntu Gnome 17.04 on TouchScreen tablet Work fine with mouse over, left click, right click, stylus click But immediately logout when touched by hand