LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2013, 02:12 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,658

Rep: Reputation: 255Reputation: 255Reputation: 255
lock xscreensaver with specific Helix scheme?


Hi

If you select:

xscreensaver-command -select X
with X from 1 to ...

you get a given demo. ex: Helix

However, if you would like to -lock adn select at the
same time it does not work.

Code:
xscreensaver-command -select Helix -lock
Any idea would greatly welcome

Kind regards
 
Old 09-03-2013, 01:59 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
-select <N>   Like -activate, but runs the Nth element in the list of
                hacks.  By knowing what is in the `programs' list, and in
                what order, you can use this to activate the screensaver
                with a particular graphics demo.  (The first element in the
                list is numbered 1, not 0.)
-select n NOT by name.
 
Old 09-04-2013, 01:08 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,658

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Habitual View Post
Code:
-select <N>   Like -activate, but runs the Nth element in the list of
                hacks.  By knowing what is in the `programs' list, and in
                what order, you can use this to activate the screensaver
                with a particular graphics demo.  (The first element in the
                list is numbered 1, not 0.)
-select n NOT by name.
but this method does not LOCK.

-select 1 -lock not working
 
Old 09-04-2013, 09:09 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
OK, after banging on it for more than a few minutes, here's what I've noticed.
I ran xscreensaver-demo and made sure, that "Only One Screensaver" is the choice under Mode and that you should highlight Helix, then run
Code:
xscreensaver-command -lock
this works every time.

What I also noticed is that
Code:
xscreensaver-command -select 8 && xscreensaver-command -lock
works once but doesn't work again after running it.

2nd attempt at terminal says
"xscreensaver-command: no screensaver is running on display :0.0"
even if I re-export DISPLAY=:0.0, it still bombs.

so, it appears to be one or the other as you have noticed. Can't select and lock.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Disable Xscreensaver Screen Lock Altogether? Digger1 Linux - Desktop 1 01-17-2012 11:29 PM
xscreensaver lock window theme the_mulletator Linux - General 3 12-21-2011 05:01 PM
Looking For Specific Dual-Boot Scheme JediDrunk Linux - General 6 09-25-2006 03:56 AM
xscreensaver lock screen with Ctrl-Alt-Del kaon Linux - Software 2 07-13-2005 10:50 AM
Can The Xscreensaver Lock logo be changed greendusk Linux - Software 2 02-05-2004 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration