LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2007, 03:02 PM   #1
r3b0rn
LQ Newbie
 
Registered: Sep 2007
Posts: 12

Rep: Reputation: 0
really enjoying slackware as a noobie..... have some q's


how do i get something to go off right when i start up KDE
like xmodmap -e "pointer = 1 2 3 6 7 4 5"
i tried xinitrd or whatever and it doesnt work...
also how do i get my wireless to turn on automatically everytime i boot up i have to do modprobe ndiswrapper ... dhclient wlan0

also one last question how do i get kde to mount my dvd drive properly if i do mount /dev/sr0 /mnt it will mount my drive painlessly but if i try to edit my fstab it recognizes a new cd but wont mount it no matter what i do with HAL
 
Old 09-24-2007, 03:27 PM   #2
Pau Gasol
Member
 
Registered: Jan 2006
Distribution: Debian Lenny, Slackware 12
Posts: 33

Rep: Reputation: 15
Quote:
Originally Posted by r3b0rn View Post
how do i get something to go off right when i start up KDE
like xmodmap -e "pointer = 1 2 3 6 7 4 5"
i tried xinitrd or whatever and it doesnt work...
1.) Create a file with your favourite text editor:

Quote:
nano /home/username/.kde/Autostart/xmodmap
Autostart dir is not right there at the start, don't worry about it

2.) write the instructions in it:

Code:
#!/bin/sh
xmodmap -e "pointer = 1 2 3 6 7 4 5"
or whatever

3.) make it executable

Code:
chmod +x /home/username/.kde/Autostart/xmodmap
4.) Restart KDE

Good luck
 
Old 09-24-2007, 03:29 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
how do i get something to go off right when i start up KDE
like xmodmap -e "pointer = 1 2 3 6 7 4 5"
Add it as a bash script in ~/.kde/Autostart. Hopefully that should do the trick.
Quote:
also how do i get my wireless to turn on automatically everytime i boot up i have to do modprobe ndiswrapper ... dhclient wlan0
There are several ways to do it, my personal preference is by calling a custom script or by adding the commands to /etc/rc.d/rc.local, however I roam quite a bit so I need to mess with my wireless settings more than average.
Quote:
also one last question how do i get kde to mount my dvd drive properly if i do mount /dev/sr0 /mnt it will mount my drive painlessly but if i try to edit my fstab it recognizes a new cd but wont mount it no matter what i do with HAL
There is a long sticky thread at the top of the forum, but basically, if you have your dvd drive in your fstab, HAL won't mount it. If you take it out, HAL should handle it just fine and it will show up in KDE.
 
Old 09-24-2007, 03:45 PM   #4
r3b0rn
LQ Newbie
 
Registered: Sep 2007
Posts: 12

Original Poster
Rep: Reputation: 0
thanks guys im really loving slackware i was skeptical at first but it seems to be my favorite distro so far its actually making me think haha

and i took my dvd drive out of my fstab now theres no icon for it in storage media..... before there was but unmountable.

my autostart looks like its in /usr/share/autostart/
i did everything there made my own document added that stuff in it did that command rebooted mouse still acts funky until i do that command in the konsole

Last edited by r3b0rn; 09-24-2007 at 03:54 PM.
 
Old 09-24-2007, 04:42 PM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by r3b0rn View Post
and i took my dvd drive out of my fstab now theres no icon for it in storage media..... before there was but unmountable.
Did you add yourself to cdrom and plugdev in /etc/group ?
 
Old 09-24-2007, 07:18 PM   #6
r3b0rn
LQ Newbie
 
Registered: Sep 2007
Posts: 12

Original Poster
Rep: Reputation: 0
well im logged in as root so it shouldnt be an issue 0.0
 
Old 09-25-2007, 07:38 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by r3b0rn View Post
well im logged in as root so it shouldnt be an issue 0.0
Yeah, it might be an issue if root isn't in plugdev and cdrom. And by the way, that is probably not a good idea to add root to those groups. You really should be working as a normal user and then either su to root to do root things or add yourself to sudo.

Quote:
my autostart looks like its in /usr/share/autostart/
That is probably for system-wide stuff and isn't guaranteed to stay unchanged. In other words, an upgrade to KDE might alter this directory. If you've run KDE as a normal user, a .kde (note the . ) has been created in that users home, and that is a much better place to make your changes. Upgrades to the OS never affect a ~ directory.
 
Old 09-25-2007, 09:06 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
A small correction ... you can change the autostart directory in KDE Settings (which I prefer as ~/.autostart)
 
Old 09-25-2007, 10:31 PM   #9
r3b0rn
LQ Newbie
 
Registered: Sep 2007
Posts: 12

Original Poster
Rep: Reputation: 0
welll i still cant get my cdrom drive to work correctly ={
 
Old 09-26-2007, 07:35 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by r3b0rn View Post
welll i still cant get my cdrom drive to work correctly ={
Care to enlighten us on what you've done? Nobody here can see your computer, so you are going to have to tell us what is going on. In detail.
 
Old 09-27-2007, 08:01 PM   #11
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally Posted by r3b0rn View Post
welll i still cant get my cdrom drive to work correctly ={
feel free to check out my thread on an offiste forum for any ideas

- perry

Last edited by XavierP; 09-28-2007 at 02:04 AM.
 
Old 09-28-2007, 02:06 AM   #12
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Perry - I don't see any help on the offsite forum at all. Feel free to link offsite, but if the link does not answer the question and is just there to drive people to your personal forum, don't bother.
 
  


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
suSe 10.0 Noobie Q's Beepy Linux - Wireless Networking 0 11-15-2005 06:56 PM
SLACKWARE RULES!, but i have some q's joker20 Linux - Newbie 10 09-15-2004 11:01 PM
Slackware, terminal won't open + other q's zazery Linux - Newbie 16 04-11-2004 05:37 PM
Slackware Q's StamfordRob Linux - Newbie 13 07-11-2003 04:12 AM
Two Slackware networking Q's NSKL Slackware 4 07-03-2002 06:41 AM

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

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