LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03:12 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
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, 02:59 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
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, 02:08 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
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, 10:09 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-18-2012 12:29 AM
xscreensaver lock window theme the_mulletator Linux - General 3 12-21-2011 06:01 PM
Looking For Specific Dual-Boot Scheme JediDrunk Linux - General 6 09-25-2006 04:56 AM
xscreensaver lock screen with Ctrl-Alt-Del kaon Linux - Software 2 07-13-2005 11:50 AM
Can The Xscreensaver Lock logo be changed greendusk Linux - Software 2 02-05-2004 04:07 AM

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

All times are GMT -5. The time now is 11:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration