PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 06:45:26 AM


Login with username, password and session length


Pages: 1 [2]   Go Down
  Print  
Author Topic: Turn off a Laptop screen with a very simple icon.  (Read 969 times)
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6858


I will never forget you, uhhh...


« Reply #15 on: December 29, 2011, 06:43:32 AM »


Typical Andy ... smart. Nope, there's no more suffix ... just smart. Wink  Grin

BTW Dr. Qui? It would be better if you can use a combo, e.g. Meta+Scr Lck. This way you can still use Scr Lck if you need to.
Logged

AndrzejL
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11992


Registered Linux User #490933


WWW
« Reply #16 on: December 29, 2011, 06:53:58 AM »

Hmmmm I think I have found the side effect.

If You have / use / like the noblank.sh script in Your autostart then this command will render it useless.

Example - system starts and noblank script is fired up - it's purpose is to not to allow screen to go blank. I ran the command and screen went off for the night. In the morning I moved the mouse screen came back on but when I left the room to get some coffee and "breakfast" and came back the screen was off again.

Re-running:

Code:
xset s off && xset -dpms

should do it... I am thinking about the "ON/OFF Switch" widget... Must have a look if it's still in the repo...

Regards.

Andy
Logged

djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5677


I don't do Windows


« Reply #17 on: December 29, 2011, 07:02:07 PM »


Re-running:

Code:
xset s off && xset -dpms

should do it...


That's how I do it on Openbox without fiddling with the xscreensaver daemon and settings.
Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6858


I will never forget you, uhhh...


« Reply #18 on: December 29, 2011, 07:34:03 PM »

Shortcuts, icon clicks and bash scripts doesn't cut it for me. The monitor just turns back on after half a second. I need to be on the terminal and execute the command for the screen to stay blank.

I do not have noblank.sh on my Autostart (on either of them) unless it is already part of the profile which I haven't check.
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #19 on: December 29, 2011, 08:06:37 PM »

Shortcuts, icon clicks and bash scripts doesn't cut it for me. The monitor just turns back on after half a second. I need to be on the terminal and execute the command for the screen to stay blank.

I do not have noblank.sh on my Autostart (on either of them) unless it is already part of the profile which I haven't check.

Finger trouble .......  which is why a single key rather than a combination is preferable methinks .....  I had fun testing it and getting my fingers 'just so' to get reliable turn off.

Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6858


I will never forget you, uhhh...


« Reply #20 on: December 29, 2011, 08:37:52 PM »

Shortcuts, icon clicks and bash scripts doesn't cut it for me. The monitor just turns back on after half a second. I need to be on the terminal and execute the command for the screen to stay blank.

I do not have noblank.sh on my Autostart (on either of them) unless it is already part of the profile which I haven't check.

Finger trouble .......  which is why a single key rather than a combination is preferable methinks .....  I had fun testing it and getting my fingers 'just so' to get reliable turn off.

Wooo ... you're right. The trouble is finding a key that isn't assigned to anything. I found one ... a VAIO key Launch (3) that I am pretty sure isn't doing anything.

I'm almost out of combination that makes sense ... Meta+Shift+P=PCC, Meta+Alt+G=GIMP ... who needs a menu?? Grin
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #21 on: December 29, 2011, 08:39:30 PM »

Shortcuts, icon clicks and bash scripts doesn't cut it for me. The monitor just turns back on after half a second. I need to be on the terminal and execute the command for the screen to stay blank.

I do not have noblank.sh on my Autostart (on either of them) unless it is already part of the profile which I haven't check.

Finger trouble .......  which is why a single key rather than a combination is preferable methinks .....  I had fun testing it and getting my fingers 'just so' to get reliable turn off.

Wooo ... you're right. The trouble is finding a key that isn't assigned to anything. I found one ... a VAIO key Launch (3) that I am pretty sure isn't doing anything.

I'm almost out of combination that makes sense ... Meta+Shift+P=PCC, Meta+Alt+G=GIMP ... who needs a menu?? Grin

.....  be adventurous ......  make it the space key  Grin Cheesy Grin
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6858


I will never forget you, uhhh...


« Reply #22 on: December 29, 2011, 08:46:55 PM »

Shortcuts, icon clicks and bash scripts doesn't cut it for me. The monitor just turns back on after half a second. I need to be on the terminal and execute the command for the screen to stay blank.

I do not have noblank.sh on my Autostart (on either of them) unless it is already part of the profile which I haven't check.

Finger trouble .......  which is why a single key rather than a combination is preferable methinks .....  I had fun testing it and getting my fingers 'just so' to get reliable turn off.

Wooo ... you're right. The trouble is finding a key that isn't assigned to anything. I found one ... a VAIO key Launch (3) that I am pretty sure isn't doing anything.

I'm almost out of combination that makes sense ... Meta+Shift+P=PCC, Meta+Alt+G=GIMP ... who needs a menu?? Grin

.....  be adventurous ......  make it the space key  Grin Cheesy Grin

LOL...I'mnotgonnagetanythingdone...andIthinkitslongerthanakey,whichiswhyitsprobablycalledabar.Grin
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #23 on: December 29, 2011, 08:58:34 PM »

 Grin Grin
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM