LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-22-2008, 10:58 PM   #16
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843

Quote:
Originally Posted by chd_lad
i tried to mount it and it gives an error mount point /media/sda1 does not exist and similar errors for all 4 partitions
I think that should be an easy one (hopefully). In order to mount something to a directory, that directory has to exist. Type the following (as root):
Code:
# mkdir /media/sda1 /media/sda5 /media/sda6 /media/sda7
That'll create the folders and (hopefully) they'll mount. I would suggest, however, that you use ntfs-3g if you're not already (I think Slackware -current ships with ntfsprogs...or not, apparently they're including ntfs-3g now. I should get with the times.)

[edit]Note that you may have to change the gid's you're using if you haven't already -- Slackware's gid's may not correspond to Ubuntu's[/edit]

Last edited by T3slider; 04-22-2008 at 11:01 PM.
 
Old 04-23-2008, 10:21 AM   #17
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by T3slider View Post
I think that should be an easy one (hopefully). In order to mount something to a directory, that directory has to exist. Type the following (as root):
Code:
# mkdir /media/sda1 /media/sda5 /media/sda6 /media/sda7
That'll create the folders and (hopefully) they'll mount. I would suggest, however, that you use ntfs-3g if you're not already (I think Slackware -current ships with ntfsprogs...or not, apparently they're including ntfs-3g now. I should get with the times.)

[edit]Note that you may have to change the gid's you're using if you haven't already -- Slackware's gid's may not correspond to Ubuntu's[/edit]
thanks for ur reply it works

however another issue has popped up (i know this might be getting annoying for u but m a )

when i try to unmount my drives it gives an error :

Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL

what should i do reg the same???

also could you suggest something so that i could get my multimedia keys to work without having to
xmodmap -e "keycode 160=XFAudioMute" etc etc
everytime i start my pc

thanks
 
Old 04-23-2008, 09:01 PM   #18
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
HAL respects fstab entries and lets the system mount the drives, so you won't be able to unmount them using HAL (I don't think anyway). Anything you put in fstab is intended to be permanent media that you won't need to unmount, as far as I'm concerned (and that includes CD drives, which don't need an entry in fstab to work through HAL). You'll have to unmount the drives using `umount` as root (or using sudo if you set that up). I leave all removable drives out of fstab and let KDE mount/unmount them when necessary through HAL. If you want a consistent setup for removable media, you can try using ivman or pmount to mount your removable media the same way each time (and allow you to unmount them in KDE or another DE/WM by using their HAL tools).

As for your xmodmap problems, I think you can just create a .Xmodmap file in your home directory with the desired xmodmap commands and it'll load them every time. See this page for some .Xmodmap tips: http://cweiske.de/howto/xmodmap/allinone.html
 
Old 04-24-2008, 08:21 AM   #19
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by T3slider View Post
HAL respects fstab entries and lets the system mount the drives, so you won't be able to unmount them using HAL (I don't think anyway). Anything you put in fstab is intended to be permanent media that you won't need to unmount, as far as I'm concerned (and that includes CD drives, which don't need an entry in fstab to work through HAL). You'll have to unmount the drives using `umount` as root (or using sudo if you set that up). I leave all removable drives out of fstab and let KDE mount/unmount them when necessary through HAL. If you want a consistent setup for removable media, you can try using ivman or pmount to mount your removable media the same way each time (and allow you to unmount them in KDE or another DE/WM by using their HAL tools).

As for your xmodmap problems, I think you can just create a .Xmodmap file in your home directory with the desired xmodmap commands and it'll load them every time. See this page for some .Xmodmap tips: http://cweiske.de/howto/xmodmap/allinone.html
thanks a lot the umount thing works...
and regarding the multimedia keys i changed my keyboard in xorg.conf and selected one that matched my keyboard profile from inet and also modified it accordingly.

the mute key however doesn't seem to be working when i press it, a message is displayed 'Mute on/off' but it really does nothing and the sound is still present even it the message displayed is mute on
can this be fixed?
 
Old 04-24-2008, 02:56 PM   #20
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
The mute thing is an interesting one. I have non-functional mute and volume keys on my keyboard that popup a KDE message either raising, lowering, muting or unmuting the volume (depending on which button is pressed) without actually doing anything. They're bound to XF86AudioMute, XF86AudioRaiseVolume and XF86AudioLowerVolume as expected, but they have no effect. I'm not sure why the problem exists, but it could be because I use KMix for volume control. I have a speaker with a volume dial anyway so I haven't really looked into a solution, but I'm pretty sure using either KDE-specific tools (such as "Keyboard Shortcuts" or "Input Actions", available through "Control Center">"Regional & Accessibility") or using xbindkeys (which is WM-independent but must be installed separately). This page explains a bit: http://dev-loki.blogspot.com/2006/04...h-xmodmap.html

Of course, KMix has its own "Global Shortcuts" settings which should work anyway -- but I haven't tried it out since I have no need. If you don't use KMix, you could always use amixer or some such thing to control volume (and assign a shortcut to it).

[edit]I just tried out the KMix global shortcuts and they didn't work (well, at least the mute didn't -- didn't try the others). However, I used the Input Actions from Control Center and it works. I had to pass a different argument (2 instead of 0) to get it to work because my sound card setup is a little goofy (or at least the way it's detected). I use PCM for volume control (ie Master channel), which is unmutable, so it didn't work through the global shortcuts. However, muting Front worked (even though my speaker is plugged in at the back of my computer and the front port is unoccupied), which needed argument 2. Basically the whole KDE setup stuff is a little weird, so you may have to play around a bit to get it to work -- but it'll work if you play with it. If you don't want to use KDE you can always use xbindkeys to launch actions from other mixers.[/edit]

Last edited by T3slider; 04-24-2008 at 03:09 PM.
 
  


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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 03:54 AM
How to make XP boot as default OS in WinXP-Ubuntu dual boot system svin Ubuntu 14 11-04-2009 04:49 PM
[SOLVED] Advice for Lilo setup: Dual Boot Slackware / Ubuntu andrew.46 Slackware 26 10-01-2008 03:26 PM
How Do I Dual Boot XP and Ubuntu? (Ubuntu Is Installed First) taurusx5 Linux - Software 5 04-04-2008 09:40 AM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM

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

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