LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-02-2014, 05:08 PM   #31
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 164

Rep: Reputation: 19

Quote:
Originally Posted by K-Wizzz View Post
Please correct me if I am wrong, but AFAIK pm-utils cannot manage things like 'after 10 minutes of idle time, sleep' or 'if battery is low, hibernate' (if you have a solution for this, let me know!) -- and I have to run them as root. That's the reason why I was using xfce4-power-manager; but whenever you plug in / plug off your AC, xfce4-power-manager creates a little pop-up-window that is annoying independently of my rudeness setting (it just works right with xfce or kde -- balloon messages from systray).
I don't have mine set up to go to sleep when idle, and rarely run on battery. I suppose you could set up a simple shell script to use acpi to poll battery level every minute or so, then hibernate when it goes below a certain level. pm-utils is meant to be run as root, but you can set up sudo to allow certain commands without passwords. You can set it up with visudo to allow members of group "users", say, to use any of a list of commands by using the sudo command but without entering a password.

Using visudo I put in this:
Code:
Cmnd_Alias      POWER = /sbin/shutdown, /sbin/reboot, /usr/sbin/pm-suspend, /usr/sbin/pm-hibernate
and:
Code:
%users ALL= NOPASSWD: POWER
My ratpoison rudeness setting is 5, which only allows focus stealing by pop-up windows from the current application. I don't currently use anything that creates notifications, but when I have they pop up in the background.
 
Old 10-02-2014, 07:39 PM   #32
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Rep: Reputation: 147Reputation: 147
For the slow desktop env, if you don't mind a different way of doing things (tiling manager) and a little bit of customization through config file, i3 (www.i3wm.org) is a good alternative.
 
Old 10-06-2014, 04:43 PM   #33
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Also AWM would be just as great :d
 
Old 10-06-2014, 07:04 PM   #34
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Ok, so my system is up and running. A bit laggy with xfce4 on youtube but bareable. The only thing that bugs me still is the fact that after each reboot, alsa decides to mute and lower the Main Master volume and i have to manually unmute and raise the volume each time i open my computer.
Any thoughts?
 
Old 10-06-2014, 07:54 PM   #35
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
When you are satisfied with the sound settings type as root:
Code:
alsactl store
See the man page to know more.

Last edited by Didier Spaier; 10-06-2014 at 07:57 PM.
 
Old 10-07-2014, 03:31 PM   #36
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Rep: Reputation: 147Reputation: 147
I always put this line in /etc/rc.d/rc.local_shutdown, so it will remember what I set in previous boot.

Quote:
# store alsa settings
/usr/sbin/alsactl store
 
  


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
Netbook suggestions with Slackware Woodsman Slackware 44 11-11-2012 07:14 AM
Slackware on a netbook? Unr3a164 Slackware 60 01-31-2011 03:33 AM
Slackware install on netbook Norse Linux - Laptop and Netbook 4 11-01-2009 12:56 AM
Slackware 13 on a aspire one netbook faiscaheisler Slackware - Installation 18 09-21-2009 11:48 PM

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

All times are GMT -5. The time now is 10:04 AM.

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