Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an external display that show the right part of my screen (--right-of option in xrandr),

And my conky panel was just gone. (occupies space, but not visible on both display)

What I want is the same view of conky, for both my laptop display and the external one, any thoughts?

Thanks

Part of my conkyrc, might be helpful

own_window yes 
if_up_strictness address
own_window_colour 262729
own_window_transparent no 
own_window_type panel
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right 
use_xft yes
font snap.se-7
xftalpha 1
text_buffer_size 2048 
#alignment tl
alignment bl
gap_x 0
gap_y 3
share|improve this question
add comment

2 Answers

There are a lot of solutions to do it, The gap_x and gap_y is the worst one. The set the display ability is much more complicated. I also have an external monitor on a laptop.

My conky config files are in the startup list and they look like this. I use Ubuntu 12.04:

bash -c "sleep 30; conky -c conky1 -a top_right -x 7 -y 70 -d"

bash -c "sleep 30; conky -c conky2 -a top_left -x 150 -y 550 -d" 

gap_x and gap_y in both files are set to 1. Using relative coordinates will always output in the same place.

From terminal : conky -c conky1 -a top_right -x 7 -y 70 -d

I do not have to reset the value of gap-x or y everytime I boot with a secondary display.

enter image description here dual monitor conky

share|improve this answer
add comment

I believe, this will also place the element on the right on various monitors. Even if you find the value for the gap_x variable to work on your 17" monitor, it will not work on another one with a different rezolution, say of 21".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.