Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conky positioning broken #5566

Closed
SethDusek opened this issue Aug 17, 2016 · 19 comments
Closed

Conky positioning broken #5566

SethDusek opened this issue Aug 17, 2016 · 19 comments

Comments

@SethDusek
Copy link

SethDusek commented Aug 17, 2016

So, my conky (and every other conky) isn't being positioned properly. I originally filed this issue on the conky page, but I realized that conky was being positioned just fine with openbox. So it seems to be a cinnamon specific problem. The conky widgets are all ending up on the top left

Original issue: brndnmtthws/conky#228

@leigh123linux
Copy link
Contributor

Works fine here

screenshot from 2016-08-18 16-05-32

@SethDusek
Copy link
Author

@leigh123linux Could you post your conkyrc? I could show you where it ends up on my system

@leigh123linux
Copy link
Contributor

Here's my conkyrc

# **********************************************************************
# "CPU Panel (8-core)" theme for Conky by Tony George (teejee2008@gmail.com)
#
# Webpage: http://teejeetech.blogspot.in/
# **********************************************************************


background yes
double_buffer yes

alignment top_right

border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

gap_x 90
gap_y 60
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_colour 000000
own_window_argb_visual no
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 170 0
stippled_borders 0
update_interval 2.0
uppercase no
use_spacer none

show_graph_scale no
show_graph_range no

use_xft yes
xftalpha 0.1
xftfont Droid Sans:size=10
color0 white
color1 EAEAEA
color2 FFA300
color3 grey

TEXT
${color2}CPU ${color0}${alignr}${cpu cpu0}%
${cpubar cpu0 5,}
${top name 1} $alignr ${top cpu 1}%
${top name 2} $alignr ${top cpu 2}%
${top name 3} $alignr ${top cpu 3}%
${top name 4} $alignr ${top cpu 4}%
${top name 5} $alignr ${top cpu 5}%

${color2}RAM ${color0}${alignr}${mem}
${membar 5,}
${top_mem name 1} $alignr ${top_mem mem_res 1}
${top_mem name 2} $alignr ${top_mem mem_res 2}
${top_mem name 3} $alignr ${top_mem mem_res 3}
${top_mem name 4} $alignr ${top_mem mem_res 4}
${top_mem name 5} $alignr ${top_mem mem_res 5}

@SethDusek
Copy link
Author

@dominichayesferen
Copy link

dominichayesferen commented Aug 21, 2016

stuck

Can't you move it with Alt + Drag, or is it completely stuck there?

@SethDusek
Copy link
Author

@feren

Are you supposed to be able to alt+drag conky windows? If so, it's not dragging

@mainmachine
Copy link

ALT+click+drag... just tried and my mind was blown. Anyway, works on 3.0.7...

@dominichayesferen
Copy link

@SethDusek @mainmachine Alt + Drag is...

  1. In Linux Mint 18's release notes page under tips for moving windows on small screens
  2. I think it's somewhere in the conky manual too

@dominichayesferen
Copy link

@SethDusek
What version of Linux Mint do you have and Cinnamon too? cinnamon-settings info

@SethDusek
Copy link
Author

@feren mint 18 and cinnamon 3.0.7. This was happening on 17 too. I have no extensions enabled that could cause this, but there might be a setting i accidentally enabled or something, since nobody else seems to be having this issue

@dominichayesferen
Copy link

Have you tried making another user (it's easier than trying a dconf Cinnamon reset instead) and putting the ConkyRC file on there and testing it on another user?

@SethDusek
Copy link
Author

@feren Created a new user and it worked, conky is positioned just fine. So what should I do? Should I wipe my cinnamon settings? What exactly would I lose if I wiped the dconf settings?

@dominichayesferen
Copy link

@SethDusek Try there whilst only running metacity (use metacity --replace)

gsettings reset-recursively org.cinnamon
cinnamon --reset

@dominichayesferen
Copy link

@SethDusek
You'd only lose the Panel and theme settings (including Applets currently in use), you'll have the background reset to default, etc

@mainmachine
Copy link

@SethDusek - Here's how you can back up your dconf db into a human readable format:

cd
cp ~/.config/dconf/user ~/.config/dconf/test
printf %s\\n "user-db:test" > db_profile
DCONF_PROFILE=~/db_profile dconf dump / > old_settings

You can edit this file manually, scan through it, grep it, whatever to look at/modify/extract your old settings, or you can even import it into a new one (thus breaking the new one 😉 ).

Source: http://unix.stackexchange.com/questions/199836/how-can-i-view-the-content-of-a-backup-of-the-dconf-database-file

@SethDusek
Copy link
Author

Okay I fixed it. Turns out in org.cinnamon.desktop.wm.preferences, there is an option "disable-workarounds" that for some reason was enabled. I read the description and it's basically meant for workarounds for "Some applications disregard specifications in ways that result in window manager misfeatures. This option puts the WM in a rigorously correct mode, which gives a more consistent user interface, provided one does not need to run any misbehaving applications.". So I disabled it, and it works!

Before

After

@mainmachine
Copy link

Congrats @SethDusek ! 👍

@SethDusek
Copy link
Author

@mainmachine Damn that was hard to solve though. Your mention of backing up dconf made me first check if there were any settings that could've caused it and that caught my eye. Lucky I figured out what happened otherwise i'd probably have to reconfigure cinnamon again

@mainmachine
Copy link

That's the only drawback to installing multiple desktops - sometimes they step on each other, luckily not very often. 😄

I tried installing KDE Plasma 5 when last year, and it required me to change DM's to SDDM from LightDM, and my Cinnamon and Kodi DE's were totally broken, even after I purged Plasma... of course I may have broken them by trying to "get things to work". This is why we make backups, or practice on the bedroom HTPC. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants