How to make HAL *work* on Slackware 12-rc ??
Hi,
Having recently converted yet another family member to Slackware, the old method of su; mount /dev/cdrom;exit to mount a CD is no longer an option. Allowing the user him/herself to mount from command line isn't a whole lot better. Enter HAL.. But wait - has anyone actually gotten HAL to work ? I'll be the first to admit that English is not my first language, so having read the HAL documentation up and down I have probably missed something. For the life of me I simply cannot get the beast to work. I have removed the /dev/cdrom and /dev/ipod entries from fstab. I have created a fresh new KDE user to experiment with, and regardless what I do, I cannot for the life of me get HAL, KDE or anyone else for that sake to mount the CD, get Amarok to find the iPod, or get Konqueror to read the memory stick. If anyone who has made this work, could spare a minute to share some insight, I can assure you it will be greatly appreciated!! Thanks in advance! -y1 |
*cough* plugdev *cough*
EDIT: Quote:
|
I followed the instructions in post 30 in this thread and added myself to the plugdev, cdrom, video and power groups and HAL works for me. Remember to restart messagebus afterwards.
|
im probably missing something here, but couldnt you just write a small script incorporating the 'su' command, the mount command, and whichever program you need to access the information on the device? (e.g , xmms, which could enque all the songs on the cd into its playlist) then drop a shortcut to it on the desktop?
|
Quote:
Anyway - that fixed it - much appreciated - thanks! -Y1 |
could someone direct me to a guide on setting up HAL, I never had a need for it, but I kind of want to try it out.
|
Quote:
If everithing went the right way then try to plug your some kind of flash drive into usb or so and in your favorite file manager a device will popup(i talk about Xfce of KDE, and they should be compiled against HAL). |
Quote:
Thanks |
Here's (roughly) what I did to get it working:
The .new files referred to in the previous post are configuration files changed during the upgrade process. This is well documented in the upgrade documentation. -Y1 Edit: Broken list formatting... |
is HAL able to call 3rd party programs (music players, file managers etc) when it detects a new device?
|
do your own research! anyway
Quote:
|
Quote:
|
Quote:
On the other hand, your WM/DE can listen for HAL events and react accordingly to do a number of different things. In XFCE for example, you can configure it to do exactly what you were referring to, opening up the file manager when a USB flash drive is connected, automatically playing audio CDs, etc, etc. |
it does sound interesting, although i have the worring picture in my mind of the way xp automatically mounts cd's, and then opens the program of choice, just when your trying to do something else, i really hate that. maybe HAL is designed with the ubuntu user in mind? i could be way off on that so dont flame me :p also the xp method doesnt give you enough options to configure exactly what you want to do with a particular cd either, its like a one size fits all thing. hopefully HAL is more configurable, ive yet to research it properly, ill check it out in the next slackware release. just a noob thinking out loud ;)
|
hal just signals the messagebus. what applications do with that is up to them.
if you want to disable that feature altogether, run this once: Quote:
|
All times are GMT -5. The time now is 07:48 PM. |