You are not logged in.

#1 2014-05-18 14:28:16

DarkLite1
Member
Registered: 2014-05-15
Posts: 28

[SOLVED]Gnome display resolution incorrect

Hi guys, I'm in the process of fine tuning my Arch install with some nice conky scripts. the only problem I run into is that the parameter 'alignment bottom_right' is not correctly applied. The text does appear in the bottom right corner but very much outside the visible space, like it's cut in half.

My conkyrssrc file:

 cat conkyrssrc 
# Conky settings #
background no
update_interval 1
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048

# Window specifications #
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

own_window_argb_visual yes
own_window_argb_value 0

border_inner_margin 0
border_outer_margin 0

#minimum_size 520 1000
#maximum_width 520

alignment bottom_right
#gap_x 10
#gap_y 10 

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

default_color gray
default_shade_color red
default_outline_color green

# Text settings #
use_xft yes
override_utf8_locale yes
xftfont Play:normal:size=7
xftalpha 0.9
uppercase no

default_color 333333
color0 414569
color1 333333
color2 1994D1

TEXT
# Arch news
${font Michroma:size=10}${color0}Arch news
${font Play:normal:size=9}${rss https://www.archlinux.org/feeds/news/ 1 item_titles 4}
# Tweakers
${font Michroma:size=10}${color0}${voffset 1}Tweakers
${font Play:normal:size=9}${rss http://feeds.feedburner.com/tweakers/mixed 1 item_titles 10}

As you can see I already played a lot with gap_x, gap_y and I tried 'own_window_type desktop' but they are now commented out or back to defaults. In normal circumstances, with this setup, it should be displayed in the bottom right corner but it's only half readable as it goes further outside the visible screen space.

This made me think that there could be something else wrong so I checked Gnome-Settings > Displays, which is incorrectly indicating my display as being 24" 16/10 1920x1200. However, it is a 24" display but the resolution should be saying 1920x1080_60. So I've added this to my xorg.conf and rebooted. But conky is still not displayed correctly. Except for conky I have not other problems with my display or aligning stuff. So it might be the conky config or the incorrect gnome display information.

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
	Modes      "1920x1080_60.00" #Choose the resolution
    EndSubSection
EndSection

Thank you for your help or ideas.

Last edited by DarkLite1 (2014-05-19 17:37:49)

Offline

#2 2014-05-18 21:25:47

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED]Gnome display resolution incorrect

after the reboot, is your screen at its best (native) resolution?
how do you know it should be 1920x1080?

Offline

#3 2014-05-19 05:23:58

DarkLite1
Member
Registered: 2014-05-15
Posts: 28

Re: [SOLVED]Gnome display resolution incorrect

Yes, it has always been at its native resolution of 1920x1080. It's an HP 2408h.. I still think there's an error my conky file..

Offline

#4 2014-05-19 07:20:07

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Gnome display resolution incorrect

I haven't used conky for quite some time, but iirc it didn't always calculate its window size correctly, so defining it in conkyrc might help, but I assume you already tried minimum_size
at least you should be able to tweak its position with gap_x and gap_y, for example if the window goes 120px below the bottom edge of the screen, 'gap_y 120' should place it precisely at the bottom

Offline

#5 2014-05-19 17:37:07

DarkLite1
Member
Registered: 2014-05-15
Posts: 28

Re: [SOLVED]Gnome display resolution incorrect

Hi OOO, I managed to fix the problem by playing with 'gap_y' as you suggested. Sometimes as a newbie it's a bit difficult to have it all set-up the way we like it. But when it's done, it's really rewarding and it's making the Arch system a lot more 'personal'. Especially when you got some help from the community. So thank you again for your time and tips, I really appreciate it. I will mark this tread as 'solved'.

Offline

Board footer

Powered by FluxBB