Sponsored Content
Top Forums UNIX for Advanced & Expert Users Move mouse to disable screensaver? Post 302170706 by dotancohen on Tuesday 26th of February 2008 01:35:59 PM
Old 02-26-2008
Move mouse to disable screensaver?

All XKCD jokes aside, can a feature be added to a bash script to move the mouse every X seconds to prevent the screensaver from activating? As is it, I launch mplayer through a script that sets some preferences (such as -zoom). Can I add something to that script which wiggles the mouse?

Relevant joke:
xkcd - A webcomic of romance, sarcasm, math, and language - By Randall Munroe

Thanks in advance.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cant' move Mouse

I'm installing solaris 9 on an Utra 5 machine. I am at the point where I need to insert Disk 2 of 2. After mounting Disk 2 of 2 in the drive, I can't move my mouse to click on the "NEXT" button to continue with the installation. The mouse in question is the sun mouse with the 3 buttons. Is... (5 Replies)
Discussion started by: ted
5 Replies

2. UNIX for Dummies Questions & Answers

Screensaver and 'fortune'

(SuSE Linux 8.2 Personal) I'm sure the answer to this will be simple, but it's been driving me insane for the last couple days. SuSE 8.2 comes with a bunch of screensavers, but a handful of them just repeatedly display 'sh: line 1: fortune: command not found'. I've been scouring endlessly... (4 Replies)
Discussion started by: Darkstripes
4 Replies

3. Shell Programming and Scripting

Building a better mouse trap, or How many lines of code does it take to trap a mouse?

Hello all, I'm hoping to get a little insight from some of the wily veterans amongst you. I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. Solaris

ScreenSaver issue with Solaris 10

I have a Dell Vostro running Solaris 10 x86 and I am trying to get it to activate the screensaver when no one is logged it. However, the screensaver only seems to activate when someone logs in and then the computer locks. How would I go about fixing this problem? Any help yall can offer would be... (3 Replies)
Discussion started by: MajorJRO
3 Replies

6. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

7. UNIX for Dummies Questions & Answers

ScreenSaver into Background Question

(Keeping in mind I know very little about Unix...) When I am typing this out (without copy-pasting the whole thing) to get my screensaver onto my background: /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background I... (3 Replies)
Discussion started by: wat_up_m
3 Replies

8. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
XDG-SCREENSAVER(1)														XDG-SCREENSAVER(1)

NAME
xdg-screensaver - command line tool for controlling the screensaver SYNOPSIS
xdg-screensaver suspend WindowID xdg-screensaver resume WindowID xdg-screensaver {activate lock reset status} xdg-screensaver {--help --manual --version} DESCRIPTION
xdg-screensaver provides commands to control the screensaver. xdg-screensaver is for use inside a desktop session only. It is not recommended to use xdg-screensaver as root. COMMANDS
suspend WindowID Suspends the screensaver and monitor power management. WindowID must be the X Window ID of an existing window of the calling application. The window must remain in existance for the duration of the suspension. WindowID can be represented as either a decimal number or as a hexadecimal number consisting of the prefix 0x followed by one or more hexadecimal digits. The screensaver can be suspended in relation to multiple windows at the same time. In that case screensaver operation is only restored once the screensaver has been resumed in relation to each of the windows resume WindowID Resume the screensaver and monitor power management after being suspended. WindowID must be the same X Window ID that was passed to a previous call of xdg-screensaver suspend activate Turns the screensaver on immediately. This may result in the screen getting locked, depending on existing system policies. lock Lock the screen immediately. reset Turns the screensaver off immediately. If the screen was locked the user may be asked to authenticate first. status Prints enabled to stdout if the screensaver is enabled to turn on after a period of inactivity and prints disabled if the screensaver is not enabled. OPTIONS
--help Show command synopsis. --manual Show this manualpage. --version Show the xdg-utils version information. EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned: 1 Error in command line syntax. 3 A required tool could not be found. 4 The action failed. EXAMPLES
xdg-screensaver suspend 0x1c00007 Causes the screensaver to be disabled till xdg-screensaver resume 0x1c00007 is called. 0x1c00007 must be the X Window ID of an existing window. AUTHOR
Bryce Harrington. <bryce@osdl.org> xdg-utils 1.0 06/24/2007 XDG-SCREENSAVER(1)
All times are GMT -4. The time now is 10:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy