How to set the screensaver timeout on Red Hat?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to set the screensaver timeout on Red Hat?
# 1  
Old 06-18-2015
How to set the screensaver timeout on Red Hat?

How is it possible to set the screensaver timeout on red hat.

For solaris I understand it is :

Code:
for file in /usr/dt/config/*/sys.resources; do
dir=`dirname $file | sed s/usr/etc/`
mkdir -p $dir
echo 'dtsession*saverTimeout: 10' >>$dir/sys.resources
echo 'dtsession*lockTimeout: 10' >>$dir/sys.resources
chown root:sys $dir/sys.resources
chmod 444 $dir/sys.resources
done

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

3. UNIX for Dummies Questions & Answers

Is it possible to set a timeout for rpcinfo?

I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

4. Shell Programming and Scripting

how to set timeout?

When I run a script where the 1st parameter is ip address ftp -n -i -v $1 I hang here if the ip is wrong how to set a timeout something like if (20s not complete "ftp -n -i -v $1") then echo "error" fi Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies

5. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

6. Programming

How to set the timeout for the client

The scenerio is: 1. A server listens on a port number 2. If the server is down and the Client tries to connect 3. How to set the timeout for the client Detailed explaination: In a client server architecture over a TCP/IP, normally the server is started first which waits and listens for the... (1 Reply)
Discussion started by: shilpi_gup
1 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

8. Linux

Red Hat?

I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies

9. UNIX for Dummies Questions & Answers

how to set timeout for aix?

if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes? thanks (3 Replies)
Discussion started by: ichiro
3 Replies
Login or Register to Ask a Question
ME 
TV(1) Me TV Manual ME TV(1) NAME
me-tv - a digital television (DVB) viewer for GNOME SYNOPSIS
me-tv [-?|--help] [-v|--verbose] [-s|--safe-mode] [-m|--minimised] [--disable-epg] [--disable-epg-thread] [--no-screensaver-inhibit] [--devices] [--read-timeout] [--display=DISPLAY] DESCRIPTION
Me TV is a GTK desktop application for watching digital television services that use the DVB standard. Me TV works with DVB-T/C/S and ATSC cards that have kernel driver support. Me TV uses the xine video player to render its output onto its video window. Me TV reads the Electronic Program Guide (EPG) data that is transmitted over the air to populate a built-in program guide which can be used for scheduling recordings. Me TV has a built-in scanner which can autoscan certain countries or use an initial scan file. OPTIONS
-?|--help Show help options. -v|--verbose Show verbose output. -s|--safe-mode Show the preferences dialog an don't show video upon start. -m|--minimised-mode Show minimised in notification area at startup. --disable-epg Stops the rendering of the EPG event buttons on the UI. --disable-epg-thread Disable the EPG thread. Me TV will stop collecting EPG events. --no-screensaver-inhibit Tells Me TV not to call the screensaver Inhibit/UnInhibit methods for GNOME Screensaver. --devices Only use the specified frontend devices. You can specify more than one device by using a comma or colon separator. (e.g. --devices=/dev/dvb/adapter0/frontend1) --read-timeout How long to wait (in seconds) before timing out while waiting for data from demuxer (default 5) --display=DISPLAY X display to use AUTHOR
Michael Lamothe (2007-2011) <michael.lamothe@gmail.com>. COPYRIGHT
Copyright (C) 2011 Michael Lamothe <michael.lamothe@gmail.com>. 1.3.6 2011-01-20 ME TV(1)