Re: pendrive

and you intall Thunar with hal support, you'll see a new device when you plugin your drive, when you click it i'll be mounted. Right-click > unmount to remove the device.

I've just today switched to Xfce (running DesktopBSD) - and apparently I didn't install Thunar with hal support as I'm not seeing any new device when I plug in my pendrive. Does that mean I'll have to reinstall Thunar and this time select "with hal support"?

Re: pendrive

umount your device (umount /media/sdb1) and compile Thunar with hal. Make sure you have hal and the devel files installed. After the ./configure stage you can see if Thunar will be compiled with hall support.

Tip: Run the latest Thunar and Exo and compile thunar-volman. Enable Thunar volman in the Thunar properties and start Thunar in daemon mode when you log in (Thunar --daemon). Even better is compiling Exo with libnotify support and install a notification daemon.

Re: pendrive

Nick wrote:

umount your device (umount /media/sdb1) and compile Thunar with hal. Make sure you have hal and the devel files installed. After the ./configure stage you can see if Thunar will be compiled with hall support.

Tip: Run the latest Thunar and Exo and compile thunar-volman. Enable Thunar volman in the Thunar properties and start Thunar in daemon mode when you log in (Thunar --daemon). Even better is compiling Exo with libnotify support and install a notification daemon.

Which development files do you mean? The only entries I have (DBSD package manager) are hal and hal-device manager. I don't see any hal related devel files anywhere.

Is there any way I can check first to see if Thunar WAS actually compiled with hal support?

If it wasn't is the best way for me to do this to do a complete Thunar uninstall, then reinstall from ports with Hal support? Sorry for the stupid questions but I'm new to DBSD and still finding my way around.

One other question while I'm here ... I'm not sure I have my head around the "let Xfce manage your desktop" feature. If I check that, I can select a desktop wallpaper, but if I unselect it (as in let me manage my own) there then doesn't seem to be any way to set a background image. Am I missing something here?

Re: pendrive

I'm starting to think this is way out of my league ....

I uninstalled Thunar, and reinstalled it but it didn't prompt me for input anywhere during the process, so I still don't know if it compiled it with HAL support or not. If I go to the advanced tab in Thunar I see a message at the bottom saying:

Build thunar-vfs with HAL support to use the volume management support in Thunar.

Now, I'm not sure if thunar-vfs refers to the thunar-volman plugin I see in /usr/ports/distfiles/xfce - or to something else. I read the install notes for thunar-volman, and made a feeble attempt to follow them, but I have no idea what I'm doing.

Could someone please give me specific step by step instructions for how to install it?

I'm used to doing portinstalls from CLI (DBSD) or make install clean, but this make, configure stuff I haven't done before and I'm not sure what I'm doing.

Maybe if I can get this plugin installed the whole thing might work ... at least that's what I'm hoping.

Re: pendrive

With some help from a friend I have reinstalled thunar - this time with HAL support. The thunar-volman plugin is also apparently installed. However, I'm still seeing

Build thunar-vfs with HAL support to use the volume management support in Thunar.

In the advanced tab in thunar. What IS thunar-vfs? Is that not the same thing as the thunar-volman plugin?What do I have to do to get this volume management feature functioning, so that I can get the device icons onto the desktop where I can then mount my devices?

EDIT: OK, I must have done something right (for once) because volume management support is now enabled in thunar. I've configured it the way I want it, but when I insert my pen drive, or an audio CD, nothing happens. The CD doesn't autoplay in XMMS as I configured it to, and the pen drive isn't mounted or browsed.

How do I load/start the Hal daemon? I assume that has to be running, but as far as I can tell it's not.

So how do I rebuild thunar-vfs with HAL support? I already reinstalled thunar itself and this time added HAL support so wouldn't that have also built thunar-vfs with that support? Sorry, I'm new to all this and I'm still trying to get my head around compiling stuff.

The hal daemon has to run, this is a service, so maybe somewhere in /etc/rc.d or whatever you're distro uses to start services...

Re: pendrive

Errr. you should replace <prefix> with the prefix you used to install Xfce: /opt/xfce4 or /usr or /usr/local ;D. You can probably find it with find /* -name "libthunar-vfs-1.so" or locate libthunar-vfs-1.so, if the slocate db is up2date.

Re: pendrive

Nick wrote:

Errr. you should replace <prefix> with the prefix you used to install Xfce: /opt/xfce4 or /usr or /usr/local ;D. You can probably find it with find /* -name "libthunar-vfs-1.so" or locate libthunar-vfs-1.so, if the slocate db is up2date.

Duh! I was in a major hurry when I ran that command and I totally forgot to substitute for "prefix" - not the first time I've done that either - you'd think I'd have learned my lesson

I've managed to now get the KDE traymounter working - I can now mount all devices from there.

I still don't have either D-BUS or HAL daemons running - what are the commands to run those, or how do I configure them to run at startup? I'm thinking that if I got those running, this all just might work.

P.S. BTW, I ran that again and apparently thunar-vfs WAS installed with HAL support as it gave me the output you said was OK.

Re: pendrive

OK, I now have both the dbus and hal daemons running. My device icons are showing up on the desktop and in thunar side panel as they should. I can auto play audio CDs. But when I plug in my USB pen drive (or try to eject my CD from the right click menu) I get the following error:

Re: pendrive

You need to remove all the cdrom/dvd/usb lines from /etc/fstab for hal to work properly. You also need to be member of the storage/optical group (take a look at etc/udev/rules.d/90-hal.rules (or a similar name) for the group permissions).

Re: pendrive

Nick wrote:

You need to remove all the cdrom/dvd/usb lines from /etc/fstab for hal to work properly. You also need to be member of the storage/optical group (take a look at etc/udev/rules.d/90-hal.rules (or a similar name) for the group permissions).

Any idea where else I might find those rules - I don't have an /etc/udev directory. Is there a command I can run to show me permissions for the storage/optical group?