SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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]
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
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
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?
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]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.