I'm using Conky on Ubuntu 17.10 to display system informations on my desktop.
My computer has 2 monitors and I would like to move Conky to the 2nd one that is on the right, but I haven't found any informations on how I can perform that.
Here is a screen of my desktop:
Any help would be most welcome!
33 Answers
use xinerama_head config as suggested in this issue discussion
xinerama_head = 2,try with different number 1, 2
You might also want to use alignment so that conky widget appears not cropped by screen border
alignment = {top|middle|bottom}_right 1 I finally managed to move the Conky widget to the second monitor using negative values for the horizontal gap (-1920) after choosing Bottom Right in Conky Manager.
And now my desktop looks like this:
If anyone has a better solution I would consider choosing it as the accepted answer.
2You can completely disable conky's alignment by setting alignment = none and put absolute gap_x and gap_y values. This will allow widget positioning at any place without weird negative shifting.
As an example: to put a 200px wide widget in the right top corner of the right monitor, calculation will be simple:
gap_x = <left_monitor_width> + <right_monitor_width> - <widget_width>In my case:
gap_x = 1680 + 1680 - 200 = 3160and the config will look next:
conky.config = { ... alignment = none, gap_x = 3160, gap_y = 0, ...
}