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 01-25-2005, 02:30 PM   #1
zippo85
Member
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 66

Rep: Reputation: 15
ratpoison questions


I have two questions concerning ratpoison. I love the way it manages the windows, and I just need to figure out a couple of ways to do things. Does anyone know a way I can check how much battery (on my laptop) is left by using the terminal? Also, I need to figure out how to get RP to be my default windows manager. Whenever I use switchdesk to switch between desktop environments, it always saves the new one as my default. But since ratpoison isn't a desktop environment, I'm not sure what to do. I'm using Fedora Core 3.

Anyone have answers?
 
Old 01-25-2005, 03:26 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no idea about the desktop stuff, but yuor battery *should* have an acpi entry in /proc/. i can't remember where it normally goes, but it'll normaly be called "battery" so try "find /proc | grep battery" and that should give you a totally cat-able file containing charge levels etc...
 
Old 01-25-2005, 03:44 PM   #3
zippo85
Member
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks! I tried to do what you said, and there was a directory in the acpi directory called battery. Unfortunately it had nothing in it, even when I pulled out the AC adapter.

Any ideas?
 
Old 01-25-2005, 03:51 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not really, i'm not a big laptop user... are you used to seeing this data in other desktop environments?
 
Old 01-25-2005, 05:13 PM   #5
zippo85
Member
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 66

Original Poster
Rep: Reputation: 15
Well, in Gnome of course there's the battery icon that you can add to the panel. I haven't used KDE enough to worry about it. XFCE has a plugin. I'm just wondering where they're getting the data from really, so I can check it myself or set up some script to view it or something.
 
  


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
SImple ratpoison question thiqued Linux - Software 0 03-17-2005 01:07 PM
ratpoison background zippo85 Linux - Software 1 01-21-2005 05:41 AM
Ratpoison question Squall Linux - Software 4 03-20-2004 04:53 PM
ratpoison color problems _mu_ Linux - Software 0 03-15-2004 08:51 PM
how can I run ratpoison ? taoweijia Linux - Software 0 10-11-2003 03:45 AM

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

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