From: <spa...@fr...> - 2010-08-09 02:13:44
|
The solution is here : $ startx `which fluxbox` & $ startx `which eduke32` -- :1 & (in this example, the video game is eduke32) I need to precise the command to launch in order it works correctly (the commands are fluxbox, then eduke32). I can now switch between the 2 X sessions using ctrl-alt-F7 and ctrl-alt-F8 shortcuts. Maybe there is a better solution with only one X session... Thanks a lot ;-) Quoting spa...@fr...: > When the video game is in window mode, Alt+Tab doesn't work again... > I plug a new USB keyboard but Alt+Tab doesn't work again... > The video game hasn't a little text console (pressing "~"), so Alt+Tab > doesn't > work again... > So the only thing I can do is to open two X sessions (see below). > But why I lose the keyboard and mouse events on the first X session ? > > Quoting Simon Bowden <si...@bo...>: > > > It's probably a "feature" that the game locks the keyboard (and x-server) > > during play. > > > > I know some games (enemy territory for instance) releases the full X lock > > when you bring up the little text console (pressing "~"), at which point > you > > can alt-tab, and ctrl-alt-F7 to your heart's content. You might want to see > > if your video game can do likewise. A related option might be the > > "fullscreen" option, but really depends on the game engine. > > > > You could possibly make something work with an entirely separate keyboard > > device :-) > > > > On Sat, Jul 24, 2010 at 8:01 AM, <spa...@fr...> wrote: > > > > > Hello, > > > > > > I am writing a guide for a video game. > > > I would like to switch between my video game's window and my text > editor's > > > window a lot of times. > > > The problem is : Alt+Tab shortcut doesn't work when the video game is > > > running. > > > > > > I found a solution : open two X sessions. The first session run the game. > > > The > > > second session run the text editor. Then I can switch using Ctrl+Alt+F7 > and > > > Ctrl+Alt+F8. > > > > > > This is how I do : > > > $ startx & > > > $ startx -- :1 & > > > > > > The problem is when I go the the first session using Ctrl+Alt+F7, my > > > keyboard > > > doesn't work on fluxbox, my mouse cursor move but when I click on the > > > desktop > > > nothing happened. > > > > > > Can you help me to switch between windows on fluxbox? > > > > > > Thank you. > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by Sprint > > > What will you do first with EVO, the first 4G phone? > > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > _______________________________________________ > > > Fluxbox-users mailing list > > > Flu...@li... > > > https://lists.sourceforge.net/lists/listinfo/fluxbox-users > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Fluxbox-users mailing list > Flu...@li... > https://lists.sourceforge.net/lists/listinfo/fluxbox-users > |