public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* preventing window manager from grabbing Alt+Fn in dosemu
@ 2008-06-06  9:56 x.zupftom
  2008-06-06 10:35 ` Reinhard Karcher
  0 siblings, 1 reply; 4+ messages in thread
From: x.zupftom @ 2008-06-06  9:56 UTC (permalink / raw)
  To: linux-msdos

Hi all,

I've been searching the archives, but it has not become entirely clear to me whether it's at all possible to prevent the window manager from grabbing Alt+Fn key combinations.  I've included $_rawkeyboard = (1) in my dosemu.conf file, tried the -k and -s switches, but neither Gnome or KDE (metacity or kwin respectively) nor Fluxbox will leave e.g Alt+F4 to Dosemu.  Using Ctrl+Alt+Home for mouse grab mode did not prevent the window to be closed on pressing Alt+F4 either.

Did I miss something or is it simply impossible to bypass the window manager for these key combos?  Dosbox *can* do it (when the mouse is trapped), so Dosemu should hopefully be able to do so, too.  (Dosbox does not work with the program I want to run for other reasons, so switching to Dosbox is not an option.)

By the way, I'm running Dosemu 1.4.0.0 on Ubuntu Hardy/AMD64.

TIA
Thomas W.
______________________________________________________________
Jeden Monat 1 hochkarätiger maxdome-Blockbuster GRATIS!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: preventing window manager from grabbing Alt+Fn in dosemu
@ 2008-06-06 20:18 x.zupftom
  0 siblings, 0 replies; 4+ messages in thread
From: x.zupftom @ 2008-06-06 20:18 UTC (permalink / raw)
  To: linux-msdos, Reinhard Karcher

> -----Ursprüngliche Nachricht-----
> Von: "Reinhard Karcher" <rkarcher@frey.de>

> x.zupftom@web.de wrote:
> > Did I miss something or is it simply impossible to bypass the window manager for these key combos? [...]
> 
> In fullscreen-mode (CTRL-ALT-F) that should work.
> 

Thank you for that suggestion.  That works of course (no window manager any more in fulscreen mode).  However fullscreen mode sometimes causes that a part of the screen (a kind of menu at the bottom, a bit like in Norton Commander, only drawn as "real" graphics) is not drawn.  If I go back to window mode, this part is still not drawn, but if I enter fullscreen mode again, the menu reappears.  This is probably due to how the DOS program is written.  Comparable (but slightly different) problems occur with Dosbox, only they can not be circumvented.  Dosemu only has them if I switch to fullscreen mode (up to now) and the DOS program is also more stable in Dosemu.

Fullscreen mode has some more disadvantages:  I frequently switch between different applications, and this takes a lot of time from fulscreen mode because the screen resolution has to be changed every time.  The same happens *within* the program in fullscreen mode because it sometimes changes from graphics mode to plain text mode, which also causes the screen to turn black for a few seconds.

So I'm really hoping I can get the Alt+Fn issue fixed.  Are the -k switch and/or the $_rawkeyboard entry in the dosbox.conf meant to fix it and it's simply a bug that it does not work?  If so, then I should probably give compiling from a subversion checkout a try.  (Sigh, I hate doing that myself - I frequently fail...)

Thanks for the help

Thomas W.
______________________________________________________________
Jeden Monat 1 hochkarätiger maxdome-Blockbuster GRATIS!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: preventing window manager from grabbing Alt+Fn in dosemu
@ 2008-06-10  9:09 x.zupftom
  0 siblings, 0 replies; 4+ messages in thread
From: x.zupftom @ 2008-06-10  9:09 UTC (permalink / raw)
  To: linux-msdos, Manfred Scherer

> -----Ursprüngliche Nachricht-----
> Von: "Manfred Scherer" <manfred.scherer.mhm@t-online.de>
> 
> in KDE control center short key  ALT + F4 switch off maybe helps.
> Screenshot in the appendix.

Thanks for the hint.  But in the meanwhile I found exactly what I was looking for:  Ctrl+Alt+k switches on keyboard grab mode.  I obviously didn't rtfm carefully enough.  It's in the first section of the readme, and I didn't see it!  Apologies for that.

Thoma W.
_______________________________________________________________
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: 
http://www.produkte.web.de/messenger/?did=3016

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-10  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06  9:56 preventing window manager from grabbing Alt+Fn in dosemu x.zupftom
2008-06-06 10:35 ` Reinhard Karcher
  -- strict thread matches above, loose matches on Subject: below --
2008-06-06 20:18 x.zupftom
2008-06-10  9:09 x.zupftom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox