wmctrl won't do it automatically, but it certainly helps in "fishing" it from limbo.~]$ coredumpctl Tue 09:53:14 +01 874 0 0 SIGABRT inaccessible /usr/lib/Xorg - Tue 10:34:28 +01 3073 0 0 SIGABRT inaccessible /usr/lib/Xorg - Tue 10:39:38 +01 12353 0 0 SIGABRT inaccessible /usr/lib/Xorg - ~]$ sudo coredumpctl gdb 12353 password for med: PID: 12353 (Xorg) UID: 0 (root) GID: 0 (root) Signal: 6 (ABRT) Timestamp: Tue 10:39:36 +01 (3min 46s ago) Command Line: /usr/lib/Xorg -dpi 0 -background none -seat seat0 vt1 -auth /var/run/sddm/ -noreset -displayfd 18 Executable: /usr/lib/Xorg Control Group: /system.slice/rvice Unit: rvice Slice: system.slice Boot ID: 46a69aba8d194a119fa552b30bc08b0a Machine ID: ab249695417b43bcb9b1d1ebc93cae7f Hostname: manjaro-med Storage: /var/lib/systemd/coredump/core.Xorg.0. (present) Size on Disk: 4.6M Message: Process 12353 (Xorg) of user 0 dumped core. ![]() Remember that each alias only works for the screen that Inkscape is associated with, you still need to drag-and-drop the window in order to switch screens. In order to make it more convenient I created 2 alias, to fix the coordinates for my Mac screen and for the external screen, respectively: alias fixInkscape='wmctrl -r Inkscape -e 0,2560,1440,1200,700'Īlias fixInkscapeExt='wmctrl -r Inkscape -e 0,0,0,2560,1300' Of course you need to replace 2560,1440 with your own external screen's resolution and 1200,700 to suit your main screen resolution. The solution is to move the Inkscape window to a new coordinate that takes into account the size of the external screen, and this is where wmctrl comes in useful: brew install wmctrl ![]() It is basically in "limbo" between the 2 screens. This means that if Inkscape is somewhere near origin (0,0) but still associated with my Mac's main screen then it doesn't appear on the external screen nor in my main screen. In other words, from the point of view of XQuartz the origin of my Mac's screen changes from 0,0 to 2560,1440 (which is the resolution of my external screen). It seems like the issue is that when I plug the external screen, it messes with the coordinate system of my Mac's screen, effectively shifting the origin of my screen by the resolution of the external screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |