LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xscreensaver startup (https://www.linuxquestions.org/questions/linux-general-1/xscreensaver-startup-4175630162/)

Rev. Larry 05-21-2018 11:08 AM

xscreensaver startup
 
Is there a way to automate xscreensaver so that it will load the needed Daemon by itself? I have it loading in the "startup" app but it needs me to manually load the Daemon each time I boot up. :( Bummer. I am running Mint 18.3 Mate and it seems that it is all fairly new and up to date.

Thanks!

ShadowCat8 05-22-2018 09:15 PM

Greetings,

Well, one thing you can try is to use an xscreensaver-command command with the "-restart" flag, and try adding that to your .[bash_]profile, perhaps?

HTH. Let us know.

Rev. Larry 05-23-2018 11:09 AM

Thank you. Please tell this newbie how to find the "bash" file and please offer all the details. This sounds like a good fix. I promise to try my best at this.

Rev. Larry

Rev. Larry 05-23-2018 11:50 AM

I searched for .[bash_]profile and found nothing, also searched for .bash_profile and found only dot.bash_profile. Added as you suggested to it and nothing improved. Sorry. I must be doing something wrong. Any further suggestions? Please.

Rev. Larry 05-23-2018 03:09 PM

ShadowCat 8,

Does "HTH" mean Here To Help? If not please tell me what it means.

Thank you.

P.S. I am still working on the xscreensaver thing.

ShadowCat8 05-23-2018 03:23 PM

Greetings again,

I'm sorry that didn't work... but, yes, I was referring to the ".bash_profile" file in your home directory, which should be sourced every time you log in. And, "HTH" means "Hope That Helps".

I might have missed something in the way that xscreensaver installs on MATE.

I assume you have already read the thread on the Linux Mint forums called [MATE]How to properly set up XScreensaver and are still having this issue?

HTH. Let us know.

Rev. Larry 05-23-2018 04:26 PM

Yes, I've read all that I could find. I just now wrote the creator of the app itself. Lets give it a few days and see if I get any formal advice. I thank you for your effort and patience.

May God bless you,

Rev. Larry

Rev. Larry 07-06-2018 02:52 PM

Quote:

Originally Posted by ShadowCat8 (Post 5858163)
Greetings,

Well, one thing you can try is to use an xscreensaver-command command with the "-restart" flag, and try adding that to your .[bash_]profile, perhaps?

HTH. Let us know.

Sorry that it took so long for me to reply to this advice. I tried this in both of my dot.bash and my bashrc.
Sadly no effect at all. Is there anything else I could try?

Thank you.

keefaz 07-11-2018 08:30 AM

Could you describe how you set it up in the startup app?

Also be aware that its creator can have weird behaviour sometimes

Rev. Larry 07-11-2018 09:44 AM

Startup shows command as follows:

xscreensaver --no-splash

Please offer any suggestion.

I also tried xscreensaver --nosplash with the same results - nothing. :(

keefaz 07-11-2018 02:17 PM

The command is:
Code:

xscreensaver -no-splash
To change settings:
Code:

xscreensaver-demo

Rev. Larry 07-11-2018 04:33 PM

Tried as suggested but still have to click the daemon thing. Is there any way to automate this startup?

keefaz 07-11-2018 07:25 PM

Create a text file, name it xscreensaver.desktop, write (type or copy /paste) content:
Code:

[Desktop Entry]
Type=Application
Name=Screensaver
Comment=Launch screensaver and locker program
Icon=preferences-desktop-screensaver
Exec=xscreensaver -no-splash
TryExec=xscreensaver

Then copy it in /etc/xdg/autostart

see if it works

Rev. Larry 07-11-2018 08:32 PM

OK. I made the text file (copy and paste) and saved it as screensaver.desktop, then I went searching for "etc/xdg/autostart", found nothing. Then searched for *autostart and then etc/xdg - still nothing. Is it a hidden file/directory? Please keep in mind that I am running Linux Mint 18.3 Sylvia. I am not done trying and I appreciate your advice.

Thank you kind Guru!

ondoho 07-12-2018 02:46 AM

it's sometimes also called "startup applications" or some such.
every decent desktop environment has a gui for that, must be hidden in the menu somewhere.
maybe under "session" or "desktop preferences".


All times are GMT -5. The time now is 05:23 AM.