Mouse capture not working in Linux with Xorg 1.20.x

General information and assistance with DOSBox.

Re: Mouse capture not working in Linux with Xorg 1.20.x

Postby Dominus » 2018-11-11 @ 17:09

I think you should aim at the latest from the 1.2 branch
Edit: sorry, my mistake. The SDL-1.2.15 is for the target folder not the tag ;(
User avatar
Dominus
DOSBox Moderator
 
Posts: 7691
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Mouse capture not working in Linux with Xorg 1.20.x

Postby swashdev » 2018-11-24 @ 08:07

I took a look at this thread because I was having this problem with my new Xubuntu system (Ubuntu version 18.04.1) and someone mentioned that the Ctrl+F10 keypress was getting intercepted by the window manager. Looking at the options for my window manager, I could see that the Ctrl+F1-F12 key combinations were all used to switch between workspaces (also known as virtual desktops) and so by disabling these keyboard shortcuts in the window manager DOSBox was able to use the Ctrl+F10 key combination to capture my mouse.

In Xubuntu this is done by simply opening the Settings Manager from the Applications menu, clicking on Window Manager, going to the Keyboard tab, and selecting the Workspace 1 - Workspace 12 shortcuts, and pressing the clear button to remove the keyboard shortcuts. How you would do this in other versions of Ubuntu is beyond me, but this workaround fixed the problem to my satisfaction.
swashdev
Newbie
 
Posts: 1
Joined: 2018-11-24 @ 08:01

Re: Mouse capture not working in Linux with Xorg 1.20.x

Postby gandhig » 2018-11-24 @ 14:36

swashdev wrote:I took a look at this thread because I was having this problem with my new Xubuntu system (Ubuntu version 18.04.1) and someone mentioned that the Ctrl+F10 keypress was getting intercepted by the window manager. Looking at the options for my window manager, I could see that the Ctrl+F1-F12 key combinations were all used to switch between workspaces (also known as virtual desktops) and so by disabling these keyboard shortcuts in the window manager DOSBox was able to use the Ctrl+F10 key combination to capture my mouse.

Thanks for sharing your experience. Please note that this was one of the issues, but not the main problem mentioned in this thread. It pertains to Ubuntu version 18.10 with X.org version 1.20. You may be aware that Ubuntu version 18.04 comes with X.org 1.19.

We are trying to get to the bottom of the issue w.r.t either SDL-1.2.15 or X.org 1.20. Please bear with us for the delay. Hopeful of getting a temporary fix...at the least.
User avatar
gandhig
Member
 
Posts: 376
Joined: 2014-2-12 @ 08:35
Location: Unknown...yet. Triangulating inside...Level 1

Previous

Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 2 guests