MX 23.6 xfce - How to make Gaomon settings window start on right monitor, please?

Message
Author
madmax25
Posts: 334
Joined: Fri Apr 10, 2020 12:40 pm

Re: MX 23.6 xfce - How to make Gaomon settings window start on right monitor, please?

#21 Post by madmax25 »

I've got news regarding this topic here...

I just tried the Gaomon driver, again, this time together with Compiz.

There, I went into the "Window placement" modul of Compiz and in its "Fixed window position" section, I created a new positioned window called "title=gaomontablet" with the coordinates of x=2220 and Y=100.
Now, the Gaomon settings windows does appear where I want it to (almost exactly in the middle of the right monitor), but with Compiz enabled, my Conky desktop clock disappears as soon as I click somewhere on the desktop.
So, I need a way to do the positioning of the Gaomon settings window just like Compiz does, but without actually using Compiz, or to find a solution for the Conky desktop clock to always stay on the desktop.

Do you have an idea on how to achive one of these solutions, please?

EDIT:
Together with Chat-GPT, I think, I finally found a solution (at least, until Gaomon is going to release an updated driver). In fact, it isn't far away from your suggestions, see here...:

Code: Select all

#!/bin/bash
# Open the Gaomon-settings window
/usr/lib/gaomontablet/gaomontablet.sh &

# Wait for the window to open
sleep 8

# Set the window's position
wmctrl -r "gaomontablet" -e 0,2220,100,-1,-1
Well, now, it is still starting on the left screen, but after the sleep time, it is moving to the right screen.

EDIT 2:
Btw., a shorter sleep time results in a crash of the status tray extension.

Post Reply

Return to “Software / Configuration”