Full Screen Shared Mem Viewer
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Full Screen Shared Mem Viewer
being quite a fan is there a way to make this run full screen, and if so is there a way to disable power mgt and screen saver from the command line?
ie script to turn of pwr mgt
screen saver etc
run viewer
and even better if it isnt running then run it?
ie script to turn of pwr mgt
screen saver etc
run viewer
and even better if it isnt running then run it?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Re: Full Screen Shared Mem Viewer
I simply launch xlib_shm from .xinitrc in the user home with sudo to get right permission on the device, without any window manager or desktop.jameswilson wrote:being quite a fan is there a way to make this run full screen, and if so is there a way to disable power mgt and screen saver from the command line?
ie script to turn of pwr mgt
screen saver etc
run viewer
and even better if it isnt running then run it?
This way it get to fullscreen and you don't get any screensaver.
To turn off pwr management on the screen, simply set DPMS off in your xorg.conf file.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ok ta.
are you saying it will run without x? i thought it needed that
are you saying it will run without x? i thought it needed that
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
got ya
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
just tried and failed dismally lol
how should i do this?
what ideally id like to achieve is after bootup i run the shared mem viewer to show all cams (say 9) in the split as it does, but every boot and full screen.
Thanks
James
how should i do this?
what ideally id like to achieve is after bootup i run the shared mem viewer to show all cams (say 9) in the split as it does, but every boot and full screen.
Thanks
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Re: Full Screen Shared Mem Viewer
Partial answer:jameswilson wrote:being quite a fan is there a way to make this run full screen, and if so is there a way to disable power mgt and screen saver from the command line?
ie script to turn of pwr mgt
screen saver etc
run viewer
and even better if it isnt running then run it?
Code: Select all
#!/bin/bash
xhost 127.0.0.1
# Turn off screen blanking
xset s off
# Disable DPMS energy saving
xset -dpms
xlibshm.....
put file with:
Code: Select all
[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=FILE_WHAT_YOU_WANT_TO_EXEC.sh
GenericName=Local client
GenericName[en_US]=Local client
Icon=
MimeType=
Name=XLIBSHM
Name[en_US]=XLIBSHM
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Regards
Andrew
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
I have done that and made a script, but could it be added to cron, ie what if im not using kde ?
Also can it be made to open fullscreen not windowed?
Also can it be made to open fullscreen not windowed?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Yes. Lots of us. You would help if you say what you are using. But since you have not, I will fill in with my random guess.
Under Ubuntu, go to System --> Preferences --> Sessions. Add new session. Call the first one "Disable Screen Blank" and the command is "xset s off -dpms" Call the next one "Live Viewer" and the command is "xlib_shm -m1 -m2 -m3 -m4" And set it to autologin that user after 10 seconds. Now it will come up with the viewer running.
Under Ubuntu, go to System --> Preferences --> Sessions. Add new session. Call the first one "Disable Screen Blank" and the command is "xset s off -dpms" Call the next one "Live Viewer" and the command is "xlib_shm -m1 -m2 -m3 -m4" And set it to autologin that user after 10 seconds. Now it will come up with the viewer running.
I will fill in with my random guess
What you suggested does not work with XFCE, Thanks though!
I got a cool solution from here:
http://www.zoneminder.com/forums/viewto ... 7406#47406