screensaver activates when i am typing in DOSBox 0.74
Hi, I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved them. Is there a way to get rid of this problem without deactivating the screensaver completely? regards Hendrik Woltersdorf -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
i will investigate, but please open a bug against xscreensaver (X11 applications) and CC me into the bug. Regards Andrea Florio Il 26/07/2010 21:50, Hendrik Woltersdorf ha scritto:
Hi,
I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved them. Is there a way to get rid of this problem without deactivating the screensaver completely?
regards Hendrik Woltersdorf
-- ------------------------------------------ Andrea Florio QSI International School of Brindisi Sys Admin CISCO CCNA Certified openSUSE-Education Administrator openSUSE-LXDE Administrator openSUSE Official Member (anubisg1) Email: andrea@opensuse.org Packman Packaging Team Email: andrea@links2linux.de Cell: +39-328-7365667 ------------------------------------------ -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
I opened a bug: 626054 regards Hendrik Woltersdorf Am 27.07.2010 15:21, schrieb Andrea Florio:
i will investigate, but please open a bug against xscreensaver (X11 applications) and CC me into the bug.
Regards Andrea Florio
Il 26/07/2010 21:50, Hendrik Woltersdorf ha scritto:
Hi,
I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved them. Is there a way to get rid of this problem without deactivating the screensaver completely?
regards Hendrik Woltersdorf
-- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
* Hendrik Woltersdorf
I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved
Other distributions might not use xscreensaver, does this happen with gnome-screensaver on openSUSE as well? You can try to install it without dragging in too many dependencies.
them. Is there a way to get rid of this problem without deactivating the screensaver completely?
As a workaround you could also inhibit xscreensaver by starting your application like this: dosbox & while kill -0 $!; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1 -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
Am 27.07.2010 16:41, schrieb Guido Berhoerster:
* Hendrik Woltersdorf
[2010-07-26 21:50]: I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved
Other distributions might not use xscreensaver, does this happen with gnome-screensaver on openSUSE as well? You can try to install it without dragging in too many dependencies.
I tried it. It did not work: ** (gnome-screensaver:6079): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
them. Is there a way to get rid of this problem without deactivating the screensaver completely?
As a workaround you could also inhibit xscreensaver by starting your application like this: dosbox & while kill -0 $!; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1
I tried this one too, but could not get it working (bash rejects "$!"). I am not good enough in bash scripting to correct it. regards, Hendrik Woltersdorf -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
* Hendrik Woltersdorf
Am 27.07.2010 16:41, schrieb Guido Berhoerster:
* Hendrik Woltersdorf
[2010-07-26 21:50]: I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved
Other distributions might not use xscreensaver, does this happen with gnome-screensaver on openSUSE as well? You can try to install it without dragging in too many dependencies.
I tried it. It did not work: ** (gnome-screensaver:6079): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
Hmm, I recently tested with 11.3 RC2 and it worked fine, are you sure it's not running in the background? You can try to run it in the foreground with gnome-screensaver --no-daemon Don't forget to stop xscreensaver first.
them. Is there a way to get rid of this problem without deactivating the screensaver completely?
As a workaround you could also inhibit xscreensaver by starting your application like this: dosbox & while kill -0 $!; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1
I tried this one too, but could not get it working (bash rejects "$!"). I am not good enough in bash scripting to correct it.
Sorry, I use ksh93 and didn't test it with bash, that seems a limitation of bash's parser, try dosbox & while kill -0 ${!}; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1 You could also make a small wrapper script from it. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
Am 27.07.2010 19:57, schrieb Guido Berhoerster:
* Hendrik Woltersdorf
[2010-07-27 18:44]: Am 27.07.2010 16:41, schrieb Guido Berhoerster:
* Hendrik Woltersdorf
[2010-07-26 21:50]: I am using DOSBox for very old DOS-programs. In KDE everything works fine (OpenSuse 11.2 or 11.3). On 11.3 I tested the LXDE desktop and the screensaver activates every 5 minutes when I am working inside of the DOSBox window. Other Linux distributions and/or desktops had the same type of problems (related to the SDL-library?) years ago - and solved
Other distributions might not use xscreensaver, does this happen with gnome-screensaver on openSUSE as well? You can try to install it without dragging in too many dependencies.
I tried it. It did not work: ** (gnome-screensaver:6079): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
Hmm, I recently tested with 11.3 RC2 and it worked fine, are you sure it's not running in the background? You can try to run it in the foreground with gnome-screensaver --no-daemon Don't forget to stop xscreensaver first.
them. Is there a way to get rid of this problem without deactivating the screensaver completely?
As a workaround you could also inhibit xscreensaver by starting your application like this: dosbox & while kill -0 $!; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1
I tried this one too, but could not get it working (bash rejects "$!"). I am not good enough in bash scripting to correct it.
Sorry, I use ksh93 and didn't test it with bash, that seems a limitation of bash's parser, try dosbox & while kill -0 ${!}; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1 You could also make a small wrapper script from it.
After I found out, what "kill -0" and "$!" mean, I managed to create a working version (as long as there is only one dosbox): dosbox & while kill -0 `pidof dosbox`; do xscreensaver-command -deactivate; sleep 1; done >/dev/null 2>&1 regards Hendrik Woltersdorf -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org
participants (3)
-
Andrea Florio
-
Guido Berhoerster
-
Hendrik Woltersdorf