LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2019, 10:52 AM   #1
jrich
LQ Newbie
 
Registered: Jul 2016
Posts: 5

Rep: Reputation: Disabled
removing xscreensaver slack64 multilib 14.2


Hello:

I really really want to permanently remove 'xscreensaver'. Running Slackware64 14.2 with multilib, which seems to be working ok. I've done the 'slackpkg upgrade' sequence on everything, so my xscreensaver version is 5.42 (latest according to the author).

The author says NOT to use 'kill 9' as it will mess up X. I cannot get xscreensaver to behave - blanks screen with lock even tho not instructed to do so. I'm tired of trying 'fixes' which don't work. I don't really need a screensaver anyway.

I'm reluctant to just try 'removepkg xscreensaver', since this program seems embedded in the system to a degree that messing with it might destroy the setup somehow (my worry). Is this worry justified?

Thanks for help removing xscreensaver.
 
Old 03-05-2019, 11:07 AM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,576
Blog Entries: 1

Rep: Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891
What desktop are you using?

Last edited by cwizardone; 03-05-2019 at 11:08 AM.
 
Old 03-05-2019, 11:08 AM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,352
Blog Entries: 3

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
It is best not to remove it, just disable it, kill the daemon and remove it from startup:

https://www.linuxquestions.org/quest...0/#post4876903

Last edited by Lysander666; 03-05-2019 at 11:09 AM.
 
Old 03-05-2019, 11:45 AM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,576
Blog Entries: 1

Rep: Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891
Once upon a time the system was blanking the screen after 15 minutes, regardless of anything I did. Eventually, someone pointed me in the direction of the /etc/rc.d/rc.setterm file. Once the "offending"
line was commented out, that solved the problem. You could also comment out the call to the rc.setterm file in the /etc/rc.d/rc.M file, which would achieve the same goal.

From the default /etc/rc.d/rc.M file,
Quote:
# Call the setterm init script to set screen blanking and power management
# defaults:
if [ -x /etc/rc.d/rc.setterm ]; then
/etc/rc.d/rc.setterm
fi
The default /etc/rc.d/rc.setterm file,
Quote:
#!/bin/sh
#
# This file provides the command line for the setterm utility to set the
# terminal attributes (primarily used for screen blanking and power
# management).

# Screen blanks after 15 minutes idle time, and powers down in one hour
# if the kernel supports APM or ACPI power management (default setting):
/bin/setterm -blank 15 -powersave powerdown -powerdown 60

# Screen does not blank or use power management features:
#/bin/setterm -blank 0 -powersave off -powerdown 0
By default, the rc.setterm file is executable.

Last edited by cwizardone; 03-05-2019 at 12:01 PM.
 
3 members found this post helpful.
Old 03-05-2019, 03:13 PM   #5
jrch
Member
 
Registered: Mar 2006
Posts: 44

Rep: Reputation: 2
Well, I DID try to 'quick reply' but it seemed to disappear into bit bucket. Will try once more.

I found a workable solution for me: "xscreensaver-command -exit". I have to find a way to automate that (as user) on login.

Note author (jwz) says not to use 'kill -9'.

This is 'solved' for my purposes. Thanks for the tips. To answer one question, I am using XFCE desktop.

jrc

Last edited by jrch; 03-05-2019 at 03:14 PM. Reason: answer question
 
1 members found this post helpful.
Old 03-05-2019, 03:41 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,881

Rep: Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588Reputation: 3588
Quote:
Originally Posted by jrch View Post
I found a workable solution for me: "xscreensaver-command -exit". I have to find a way to automate that (as user) on login.
Most desktop environments will have an autostart folder, that will run things automatically when the DE is started up. I believe most will support ~/.config/autostart/, but you'll want to check with your specific desktop.
 
2 members found this post helpful.
  


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
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
Multilib slack64 wingevil Slackware 6 02-21-2010 07:53 PM
Slack64 multilib: Xfe "configure error: libFOX-1.6 not found" Compile this Slackware 6 09-16-2009 06:06 PM
[Slack64-cur] xscreensaver "Lament" weird effect: viewer (me) being sucked into cube! GrapefruiTgirl General 33 08-28-2009 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:32 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