Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Software => Hry a zábava => Téma založeno: Rinu 26 Února 2009, 19:53:37

Název: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Rinu 26 Února 2009, 19:53:37
Ahoj,

zkoušela jsem hledat podle klíčových slov, ale požadované téma jsem nenašla, takže se dovolím zeptat tady. Je nějaká možnost, jak se během hraní přepnout na plochu, popř. do jiného programu? Koukala jsem do víceméně defaultní klávesových zkratek, které jsem pak následně zkusila za běhu hry a nic.

Předem děkuji za odpověď.
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Roman Vacho 26 Února 2009, 20:07:31
To by mě taky zajímalo. Zatím jsme to řešil spouštěním hry v okně.
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Roman "Schmaker" Šmakal 26 Února 2009, 22:17:26
Alt + Enter přepne hru do okna a pak se přes Alt + Tab přepnete mezi okny... Potom se vrátíte do hry a dáte zase Alt + Enter pro fullscreen
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Rinu 26 Února 2009, 22:53:45
Děkuji za reakci. Vyzkoušela jsem a zdá se, že tyto klávesové zkratky zřejmě blokuje hra samotná, jelikož u některých z dalších her Alt+Enter funguje, stejně jako Alt+Tab, resp. Alt+Ctrl+Esc.
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Milhouse 27 Února 2009, 07:52:42
Záleží, jaká to je hra. Třeba TCE a TC to neumí, musí se to obcházet spuštěním dalšího sezení(X serveru) (http://www.korecky.org/?p=16). Nebo existujou aplikace jako Et Switch (http://returntocastlewolfenstein.filefront.com/file/ET_Tool_ET_Switch;58200).
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Rinu 27 Února 2009, 14:57:42
ET Switch mi při ./configure hlásí error: "*** i need XPM stuff ***", ačkoliv mám XPM knihovnu nainstalovanou (asi jiná verze?). Každopádně ten X Server je dobrý nápad a návod vypadá jednoduše, určitě zkusím. Díky za tipy :).
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Yontalcar 27 Února 2009, 15:33:04
ET Switch mi při ./configure hlásí error: "*** i need XPM stuff ***", ačkoliv mám XPM knihovnu nainstalovanou (asi jiná verze?). Každopádně ten X Server je dobrý nápad a návod vypadá jednoduše, určitě zkusím. Díky za tipy :).
máš k té XPM knihovně nainstalovaný -dev balík?
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Rinu 27 Února 2009, 15:43:50
Pravda, neměla. Konfigurace poté skončila dobře, ale při make to vypsalo hafo chybných hlášek:
Kód: [Vybrat]
make  all-recursive
make[1]: Entering directory `/home/rinu/etswitch-0.1.8'
Making all in src
make[2]: Entering directory `/home/rinu/etswitch-0.1.8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -Wall -pedantic -ansi -fno-strict-aliasing -g -O2 -MT etswitch-etswitch.o -MD -MP -MF ".deps/etswitch-etswitch.Tpo" -c -o etswitch-etswitch.o `test -f 'etswitch.c' || echo './'`etswitch.c; \
then mv -f ".deps/etswitch-etswitch.Tpo" ".deps/etswitch-etswitch.Po"; else rm -f ".deps/etswitch-etswitch.Tpo"; exit 1; fi
etswitch.c:205: error: static declaration of ‘signal_handler’ follows non-static declaration
etswitch.h:22: error: previous declaration of ‘signal_handler’ was here
etswitch.c: In function ‘main’:
etswitch.c:422: warning: implicit declaration of function ‘snprintf’
etswitch.c:666: warning: implicit declaration of function ‘usleep’
etswitch.c: In function ‘win_init’:
etswitch.c:732: warning: passing argument 1 of ‘XSetIOErrorHandler’ from incompatible pointer type
etswitch.c:694: warning: unused variable ‘nextentions’
etswitch.c:693: warning: unused variable ‘extentions’
etswitch.c: In function ‘keyboard_hook’:
etswitch.c:824: warning: unused variable ‘text_prop’
etswitch.c:823: warning: unused variable ‘child_w’
etswitch.c: In function ‘mapunmap2’:
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c: In function ‘sw’:
etswitch.c:1118: warning: implicit declaration of function ‘wait’
etswitch.c: In function ‘setmix’:
etswitch.c:1315: warning: unused variable ‘device_list’
etswitch.c: In function ‘sc’:
etswitch.c:1448: warning: implicit declaration of function ‘scandir’
etswitch.c: In function ‘select_bosskey’:
etswitch.c:1581: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
etswitch.c:1581: warning: passing argument 6 of ‘XDrawString’ from incompatible pointer type
etswitch.c:1597: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
etswitch.c:1597: warning: passing argument 6 of ‘XDrawString’ from incompatible pointer type
etswitch.c:1671:1: warning: "/*" within comment
etswitch.c: In function ‘critical_info’:
etswitch.c:1801: warning: implicit declaration of function ‘strdup’
etswitch.c:1801: warning: assignment makes pointer from integer without a cast
make[2]: *** [etswitch-etswitch.o] Error 1
make[2]: Leaving directory `/home/rinu/etswitch-0.1.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rinu/etswitch-0.1.8'
make: *** [all] Error 2
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Yontalcar 01 Března 2009, 19:51:20
máš všechny potřebné balíky?
Kód: [Vybrat]
build-essential
xserver-xorg-dev
libxxf86vm-dev
libxpm-dev
libxmu-dev
Název: Re: Přepnutí mezi oknem a desktopem během hraní
Přispěvatel: Rinu 01 Března 2009, 20:38:59
Ahoj,

děkuji za odpověď. Pomocí locate jsem zjistila, že mi chybí 2. a 3., ale po nainstalování a standardním configure & make to vypisuje další chybové hlášky:
Kód: [Vybrat]
rinu@rinu-laptop:~/etswitch-0.1.8$ make
make  all-recursive
make[1]: Entering directory `/home/rinu/etswitch-0.1.8'
Making all in src
make[2]: Entering directory `/home/rinu/etswitch-0.1.8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -Wall -pedantic -ansi -fno-strict-aliasing -g -O2 -MT etswitch-etswitch.o -MD -MP -MF ".deps/etswitch-etswitch.Tpo" -c -o etswitch-etswitch.o `test -f 'etswitch.c' || echo './'`etswitch.c; \
then mv -f ".deps/etswitch-etswitch.Tpo" ".deps/etswitch-etswitch.Po"; else rm -f ".deps/etswitch-etswitch.Tpo"; exit 1; fi
etswitch.c:205: error: static declaration of ‘signal_handler’ follows non-static declaration
etswitch.h:22: error: previous declaration of ‘signal_handler’ was here
etswitch.c: In function ‘main’:
etswitch.c:422: warning: implicit declaration of function ‘snprintf’
etswitch.c:666: warning: implicit declaration of function ‘usleep’
etswitch.c: In function ‘win_init’:
etswitch.c:732: warning: passing argument 1 of ‘XSetIOErrorHandler’ from incompatible pointer type
etswitch.c:694: warning: unused variable ‘nextentions’
etswitch.c:693: warning: unused variable ‘extentions’
etswitch.c: In function ‘keyboard_hook’:
etswitch.c:824: warning: unused variable ‘text_prop’
etswitch.c:823: warning: unused variable ‘child_w’
etswitch.c: In function ‘mapunmap2’:
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:946: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c:949: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
etswitch.c: In function ‘sw’:
etswitch.c:1118: warning: implicit declaration of function ‘wait’
etswitch.c: In function ‘setmix’:
etswitch.c:1315: warning: unused variable ‘device_list’
etswitch.c: In function ‘sc’:
etswitch.c:1448: warning: implicit declaration of function ‘scandir’
etswitch.c: In function ‘select_bosskey’:
etswitch.c:1581: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
etswitch.c:1581: warning: passing argument 6 of ‘XDrawString’ from incompatible pointer type
etswitch.c:1597: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
etswitch.c:1597: warning: passing argument 6 of ‘XDrawString’ from incompatible pointer type
etswitch.c:1671:1: warning: "/*" within comment
etswitch.c: In function ‘critical_info’:
etswitch.c:1801: warning: implicit declaration of function ‘strdup’
etswitch.c:1801: warning: assignment makes pointer from integer without a cast
make[2]: *** [etswitch-etswitch.o] Error 1
make[2]: Leaving directory `/home/rinu/etswitch-0.1.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rinu/etswitch-0.1.8'
make: *** [all] Error 2