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 09-19-2003, 12:34 PM   #1
overzexedz24
LQ Newbie
 
Registered: Sep 2003
Location: Raleigh,NC
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Slackware 9.0 on thinkapd t23


Finally go around to installing slackware on my laptop. been a red hat user for a couple of years now.
The problem? I'm having is this, When I add the battery meter to my panel it always reads as if the battery is dead. In RH it just "works", it there something special that needs to be configured in order to get the correct reading? I am using gnome 2.2 if helps in troubleshooting.

Also, when I startup a terminal session for within X my prompt says bash-2b or something and there are no colors for seperating directories from files. again rh jsut seems to "work" the way i want it to.
Any pointers on how to customize these options would be appreciated.

Thanks

 
Old 09-19-2003, 01:12 PM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
I guess it depends on what your definition of 'works' is...

Slackware is just working the way it is configured.

WRT to the color ls you may add 'alias ls=ls --color' or something similar to your .bashrc (when bash starts) or .bash_profile (when you log in).

For the most information type 'man ls' from shell. It has some good information in there.
 
Old 09-19-2003, 02:14 PM   #3
overzexedz24
LQ Newbie
 
Registered: Sep 2003
Location: Raleigh,NC
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
for starters I can't find a .bash_profile or .bashrc file on the system anywhere. as far as the color thing goes, in redhat when I type ls files, directories, links and so on appear in different colors, slackware does that from the main console, but after I start X everything from a terminal window is white.
 
Old 09-19-2003, 07:21 PM   #4
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
If neither of these files exist you can create them with the following shell command:

$~ touch .bash_profile; .bashrc

Then use a text editor to enter any aliases you wish.

If the shell does not *look* the way you like please check out 'man xterm'. It will give you many options to have it look the way you wish. For example:

$~ xterm -ls -sb -rv

Will spawn an xterm with options:

-ls ( a login shell )
-sb ( draw scrollbar )
-rv ( reverse video ) i.e. Black backround and white text.

I believe you can use 'CTRL' and each of the three mouse buttons to bring up options in a current xterm.

If you are not following me on the aliases type this in shell:

$~ ls --color

and you should see color listings.

By putting:

alias ls='ls --color'

in your .bashrc and/or .bash_profile it tells bash that 'ls' means 'ls --color'
 
Old 09-19-2003, 10:41 PM   #5
theSuperJason
LQ Newbie
 
Registered: Sep 2003
Location: Brisbane, AUS
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Regarding the battery, you need to enable the 'apm' module to use laptop battery power management features.

You'll find this in your '/etc/rc.d/rc.modules' file:

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
/sbin/modprobe apm

Make sure that last line is uncommented as in the example above.

TSJ

Last edited by theSuperJason; 09-19-2003 at 10:48 PM.
 
Old 09-20-2003, 10:07 AM   #6
overzexedz24
LQ Newbie
 
Registered: Sep 2003
Location: Raleigh,NC
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
many thanks to theSuperJason and g00$e.

my battery indicator is working superbly

I had .bash_profile, i created it previously, but not .bashrc, created it, added some of the initial amenities I was looking, and whoohoo! i cooking now.

thanks again
 
  


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
Suspend on T23 Armon Linux - Laptop and Netbook 2 11-20-2005 12:07 PM
Slackware 10.2, 2.6.13 kernel recompile, and a Thinkpad T23 SocialEngineer Slackware 8 10-23-2005 06:46 PM
Need to Install Slackware 10.1 on an ibm thinkpad T23 ttumelty Slackware - Installation 5 08-22-2005 08:52 AM
Suse on t23 thinkpad sachinnshah Linux - Networking 0 09-27-2004 12:47 AM
Porblems installing Slackware 8.0 on a Thinkpad T23 Sfin Slackware 2 08-04-2002 11:48 PM

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

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