Forum › Forums › General › Tips and Tricks › Conky in the right place with a dual screen
- This topic has 2 replies, 3 voices, and was last updated May 5-11:32 am by marcelocripe.
-
AuthorPosts
-
May 4, 2023 at 8:30 pm #105993Member
Wallon
Dear Users,
You have defined your left screen as the main screen. This is screen 1.
The menu, desktop icons, notifications work fine and everything is on screen 1 except … Conky!
This applies to Fluxbox, IceWM and JWM.
Conky is like a crazy little horse and he doesn’t want to go to screen 1. He always goes to screen 2.
We are going to tame this little horse.A bit of technique to understand what Conky is doing.
My two screens have the same resolution of 1 920 columns x 1 080 lines.
The default setting for antiX to place Conky is the twentieth column from the left.
Conky thinks I have a single screen of 3 840 columns (= 1 920 columns of screen 1 + 1 920 columns of screen 2).
So I have to tell him to go to column 1 940 (= 1 920 columns of screen 2 + 20 columns of screen 1).
Look at my drawing, you will understand immediately.Now we’ll give Conky a carrot to follow us to the right place!
“Menu” (or “Favorite Applications”) > “Control Centre” > “Desktop” tab > “Edit System Monitor (Conky)” icon
Look for the line “gap_x 20” and replace with “gap_x 1940”.
Save your file (Ctrl + S) and Conky goes straight to the right place!Now if you have another resolution for your two monitors, for example 1 200 x 800, you add 1 200 + 20 = 1 220.
Have fun.
WallonAttachments:
May 5, 2023 at 12:21 am #106013MemberRobin
::Many thanks, Wallon, for all the details!
I have seen the very issue, when using the tv-out of my notebook, in dual screen mode; and I remember I had to do similar calculations to make the crazy little horse appear in the position I wanted it, on the notebook display rather than on tube tv screen… I got it tamed also, but it was even more complicated, since the screens had different resolution and aspects: 1440×900 the main display, and 1024×768 the tv-out. But I have forgotten meanwhile the precise calculation path, so I really appreciate your instructions given here, in case I need it to repeat some day.
Best regards
RobinWindows is like a submarine. Open a window and serious problems will start.
May 5, 2023 at 11:32 am #106021Member
marcelocripe
-
AuthorPosts
- You must be logged in to reply to this topic.
