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 02-05-2004, 02:07 AM   #1
user1234
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
New user with misc. small problems


I've been wanting to install Linux for a long time now. I have some experience on a Digital Unix machine from my days in school, but hardly any actual "admin" experience. After reading all about the various distributions I decided to go with Slackware because it was said to be the closest to the old Unix systems. Also it was said that Slackware didn't do much hand holding, and I really like that. I don't like the idea that some other more "user friendly" distro might be doing a bunch of mysterious things that I don't understand.

I had a few install "problems" but coming to these forums really helped because, as expected, they were stupid problems with simple solutions. Example, getting EIP errors while booting from the CD because my USB controller was plugged in. Anyway even though I've never posted here, I've received a lot of help here already, and I thank you all humbly for that.

I have a few questions though, things I haven't been able to figure out myself. I thought I'd fire them off to the members here.

1) How do I make my sound drivers load each time automatically? I know about alsaconf & alsactl and I know I have to un-mute the mixer channels with alsamixer. I read the documentation at slackware(dot)com about the autoloader but my rc.modules file does not have that line it in anywhere. Also the file /sbin/kerneld does not even exist on my system. So uhh what now?

2) This is a more general question. When I want to install a new package I usually try for the source tarball. I wanted to try and keep all the packages that did not come with my distro in /usr/local/ but it seems that a lot of these packages want to install themselves in /usr/ or sometimes in /opt/. Also sometimes they will have /install/ in addition to /usr/ so I end up getting stuff like /usr/local/usr/local/<package>. How can I get a mental grip on this? What is the conventional way of handling this? What am I doing wrong?

3) When I used apache in the past I was able to hide files in a public directory by setting their world permissions to zero. So if I had two files, I could chmod 755 file1 and chmod 700 file2 and when I went to the URL I would see file1 only. However, the default apache seems to list everything in the directory regardless of their permissions (even if you can't actually view them). Anyone know what's going on here and how I can make it work as expected?

4) I use KDE, and some non-KDE applications, like Mozilla Firebird, they have the old X windows style scrollbars and buttons (any any components) instead of the sleek looking KDE ones. Is it even possible to force the KDE design on non KDE applications or will all non-KDE graphical applications look like that?

5) Can anyone recommend a stylish pocket protector to help me pick up chicks?
 
Old 02-05-2004, 02:26 AM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
1) Did you install alsa as part of the initial installation? When I've done it like that, it has always worked straight off for me after running alsaconf.

2) When you do ./configure, append --prefix=/usr/local to put all the files in there.

3) I'm not quite sure what you mean, do you mean displaying the list of files in a directory when there is no index.html? If that's what you mean, you need to set -Indexes under the root directory Options in httpd.conf.

4) Apps like Mozilla use the GTK toolkit, which is what the Gnome desktop environment is built around. You either have to use the GTK equivalent of your KDE theme, or a similar one, if you want continuity. There is also an app to convert KDE themes to GTK on the fly, but it is still developmental AFAIK.

5) Pocket protectors are so passe, white socks and sandles are where it's at.

Last edited by Kovacs; 02-05-2004 at 02:27 AM.
 
Old 02-05-2004, 02:58 AM   #3
user1234
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Kovacs
[B]1) Did you install alsa as part of the initial installation? When I've done it like that, it has always worked straight off for me after running alsaconf.
Yup, I installed alsa as part of the initial installation. Using slackware 9.1 and a sound blaster live card. But like I said I have to load it every time. (I wasn't allowed to paste the link about the autoloader from the slackware book becuase I am still a new user).

From the slackware book...

A lot of users never have to load or unload modules by hand. They use the kernel autoloader for module management. All you have to do is uncomment the /sbin/kerneld(8) line in /etc/rc.d/rc.modules and the autoloader will start up. It will take care of loading and unloading modules as you request them. A request just involves trying to access that device.

But I dont seem to have /sbin/kerneld or a line referring to it in my /etc/rc.d/rc.modules file

Quote:
2) When you do ./configure, append --prefix=/usr/local to put all the files in there.
I tried that, but it didn't seem to work for in cases where a definitive /opt/ or /install was part of the "root" of the gzip. And afterwards, some of the stuff wouldnt work right becuase assumptions were being made about where files where, but they were not in the right location. I'm just generally confused about this in general. When I ran a user account on a digital unix system i never had a problem installing stuff as a user, now as root or user, i seem to have a hellish time. I dont get it.

Quote:
3) I'm not quite sure what you mean, do you mean displaying the list of files in a directory when there is no index.html? If that's what you mean, you need to set -Indexes under the root directory Options in httpd.conf.
indexing is enabled. When I want to see an apache generated index of a bunch of files in a public folder, for some reason, apache also displayes files with 700 permissions. This is just not what I am used to, as on my old system a file with 700 permissions would not show up in an apache generated index. I don't know why it works like that, or how to make it behave in the way I'm more familiar with.

Quote:
4) Apps like Mozilla use the GTK toolkit, which is what the Gnome desktop environment is built around. You either have to use the GTK equivalent of your KDE theme, or a similar one, if you want continuity. There is also an app to convert KDE themes to GTK on the fly, but it is still developmental AFAIK.
Ahh that clears up alot of other questions about KDE for me as well I think :P Thanks for the answer!
 
Old 02-05-2004, 03:08 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,880

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
kerneld isn't used anymore. The Slackware book isn' anyhwere near current- written quite awhile ago so much of it isn't relevant anymore.
If the line doesn't exist in rc.modules, create it.
Usually source packages are unpacked in your home directory and compiled there. You don't have much control over where it installs to if you expect it to run. You can use DESTDIR or PREFIX sometimes. Read the Makefile in the source to see which one is being used.
 
Old 02-05-2004, 04:01 PM   #5
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Quote:
3) When I used apache in the past I was able to hide files in a public directory by setting their world permissions to zero. So if I had two files, I could chmod 755 file1 and chmod 700 file2 and when I went to the URL I would see file1 only. However, the default apache seems to list everything in the directory regardless of their permissions (even if you can't actually view them). Anyone know what's going on here and how I can make it work as expected?
Only way that I've found to do this is with the "IndexIgnore" directive, which is part of mod_autoindex. Unfortunately it doesn't work specifically as you're wanting. You can hide all files with a certain extension using some like "*.ext" or individual files with something like "file1", but it doesn't work off of the file permission system per say. If you figure out how to do it based solely on the permission settings, please do tell...

Oh, here is a link to the documentation on IndexIgnore:
http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html

Last edited by DaHammer; 02-05-2004 at 04:03 PM.
 
Old 02-05-2004, 05:58 PM   #6
amos
Member
 
Registered: Dec 2002
Location: Manchester, UK
Distribution: LMDE
Posts: 224

Rep: Reputation: 30
When I install from source I put the tarball in /home/amos/downloads.

Untar it there to create a directory containing the source.

Move the tarball to a subdirectory called tarballs.

cd into the newly created source directory.

Do ./configure, make, make install (as su).

This works for me, whether there's a better way I'm not sure, but when I upgrade Slack or whatever, then all of the programs I've installed are in one directory, and all of the source tarballs are in a sub-directory.

Cheers
Amos
 
  


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
xine playing very slowly, and other misc problems. JackSmith Linux - Software 2 02-22-2005 09:23 AM
slack 10... dhcp problems and a few other misc questions dissolved soul Slackware 3 08-05-2004 04:43 PM
internet connection, othter misc problems kekerot Arch 4 09-14-2003 11:18 AM
Mandrake 9.1 networking/misc problems Ctawp Linux - Networking 6 08-19-2003 01:15 AM
Misc problems in SuSE 7.3 Fuel Linux - Distributions 4 03-02-2002 12:53 AM

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

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