Thunar without XFCE, can't eject iPod and other travails.. [solved]

I'm trying to get my Thunar set up to where it automatically shows my ipod when plugged in, but I can right click the icon to unmount it as well.
I used the udev wiki to add a set of rules for automounting usb devices, so my ipod now automatically loads, but there are two problems.
1. There are two icons for the ipod in the Thunar shortcuts pane. One says Apple iPod and shows an error on left click of 'Failed to mount "Apple iPod Music Player" - Given device "/org/freedesktop/Hal/devices/ volume_part1_size_41094144" is not a volume or drive.'
2. The second icon shows the name of my ipod and I can click it to view the drive, great, but on right clicking and choosing Unmount Volume, it shows an error of 'Failed to unmount "iPod" - The volume "iPod" was probably mounted manually on the command line.'
And a seperate, but perhaps related problem is when I press the eject button on my CDROM drive, an error shows as 'Failed to eject "/org/freedesktop/Hal/devices/storage_mode_DVD_RW_ND_3540A". Right clicking the icon in Thunar and choosing eject does work for this, though I'd prefer to be able to use the eject button.
Does anyone have any ideas on a way to fix these problems?
Thanks!
Last edited by oksana (2007-08-21 22:39:03)

Nonono...there's a bug with thunar-volman and ipods that causes them to load twice and whinge about it.  Note that loading two devices is, as far as I know, the intended outcome, since ipods have a mysterious second partition for storing the hopes and dreams of steve jobs himself.  I don't really know what it's for, but you can use an hal policy file (fdi file) to prevent hal from loading it.
The bug has to do with thunar-volman trying to load it and failing.  You can view the bug here:
http://bugzilla.xfce.org/show_bug.cgi?id=2789
Actually, that's a command.  You'll need the first two diffs for the fix: thunar-volman-mount-only-mountable.diff and thunar-vfs-add-is-mountable.diff
First, we'll fix thunar with the following PKGBUILD:
# $Id: PKGBUILD,v 1.8 2007/06/01 22:28:43 tobias Exp $
# Contributor: Andrew Simmons <[email protected]>
pkgname=thunar
pkgver=0.8.0
pkgrel=5
pkgdesc="new modern file manager for Xfce"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://thunar.xfce.org"
groups=('xfce4')
depends=('exo>=0.3.2' 'shared-mime-info' 'pcre' \
'desktop-file-utils' 'libexif' 'hal' 'fam' \
'startup-notification')
makedepends=('intltool' 'pkgconfig' 'gtk-doc')
patchname=thunar-vfs-add-is-mountable
options=('!LIBTOOL')
install=${pkgname}.install
source=(http://www.xfce.org/archive/xfce-4.4.1/src/Thunar-${pkgver}.tar.bz2
thunar-vfs-add-is-mountable.diff )
md5sums=('9f7b0945d6a235391049f6818fb4d188' 'e16532876e24ec10549b274baf262f73' )
build() {
cd ${startdir}/src/Thunar-${pkgver}
cp $startdir/$patchname.diff $startdir/src/Thunar-${pkgver}
patch -Np0 -i ${startdir}/src/Thunar-${pkgver}/${patchname}.diff || return 1
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
--localstatedir=/var --disable-static \
--disable-gnome-thumbnailers --enable-exif --enable-pcre
make || return 1
make DESTDIR=${startdir}/pkg install
sed -i 's:x-directory/gnome-default-handler;::' ${startdir}/pkg/usr/share/applications/Thunar-folder-handler.desktop
Stick thunar-vfs-add-is-mountable.diff in the same directory, and add the install file (call it thunar.install):
post_install() {
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
post_upgrade() {
post_install $1
post_remove() {
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
op=$1
shift
$op $*
and makepkg -i to install it.  Now let's tackle thunar-volman.
First the PKGBUILD:
# $Id: PKGBUILD,v 1.6 2007/04/16 18:41:24 tobias Exp $
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
pkgname=thunar-volman
pkgver=0.1.2
pkgrel=4
pkgdesc="automatic management for removeable devices in thunar"
arch=(i686 x86_64)
url="http://xfce-goodies.berlios.de/"
license="GPL"
groups=('xfce4-goodies')
depends=('thunar>=0.8')
makedepends=('intltool' 'pkgconfig')
options=('NOLIBTOOL')
patchname=thunar-volman-mount-only-mountable
install=${pkgname}.install
source=(http://download.berlios.de/xfce-goodies/${pkgname}-${pkgver}.tar.bz2 thunar-volman-mount-only-mountable.diff)
md5sums=('910de35c398f70b66b38803bdfdd26f1' 'b7ee9150294f772ed08129fd08328b9d')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
cp $startdir/$patchname.diff $startdir/src/${pkgname}-${pkgver}
patch -Np0 -i $startdir/src/${pkgname}-${pkgver}/$patchname.diff
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
--localstatedir=/var --disable-static
make || return 1
make DESTDIR=${startdir}/pkg install
Then add the thunar-volman-mount-only-mountable.diff file, and the install file (call it thunar-volman.install):
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
post_upgrade() {
post_install $1
post_remove() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
op=$1
shift
$op $*
and makepkg -i again.
They also provide an fdi in the bug report to prevent the extra piece from mounting, but I haven't gotten it to work.  At least the bugs are gone.
BTW I found these trolling through the ubuntu gutsy launchpad.

Similar Messages

  • "Can't lock iPod" and other problems!!

    I'm trying to restore my iPod and on iPod Updater i click restore and it says "Can't lock iPod. Please check if any other applications are using iPod and try again". There are no other applications using the iPod. Please help me!

    and this is after having a bad time with the first one now this. I am not really confident with Apple. I noticed no one has responded to this issue. And I really have logged in over 3 hours on hold to get a replacement. Not happy with Apple.

  • I erased my i pod touch 5g since it was lost for like a month. So thinking I would never get it back I erased my ipod its still on my apple icloud screen. Is there a way I can unerase my ipod and try to find it

    I erased my i pod touch 5g since it was lost for like a month. So thinking I would never get it back I erased my ipod its still on my apple icloud screen. Is there a way I can unerase my ipod and try to find it

    No. You will have to find it the old fashioned way, like if yo lost a wallet or purse.

  • I'm deaf in one ear and need a stereo-to-mono earbud so I can use my iPod and iPhone. It is not good being able to hear only one channel. Can Apple consider making such a thing for those of use who need such a thing?

    I'm deaf in one ear and need a stereo-to-mono earbud so I can use my iPod and iPhone. It is not good being able to hear only one channel. Can Apple consider making such a thing for those of use who need such a thing?

    bassvid wrote:
    Thanks...now I need to do something about the iPod.
    I'm not sure which version iPod you have, but I just checked my iPod nano (current generation) and it also has a Mono Audio setting in Settings>General>Accessibility.

  • My friends put cydia on my ipod and other stuff from it like something who slide your apps differently how can i remove the both, plz help ..???

    My friend put cydia on my ipod and other stuff from it like something who slide your apps differently. How can I remove the both, I really want, plz help ...?

    They hacked it and may have caused damage to your device. Jailbreaking also voids your warranty and support from Apple. To restore to a clean state, restore in Recovery Mode: http://support.apple.com/kb/HT1808

  • My ipod safari redirect to local Mexico site, how do i stop it soI can go to MSN and other US based sites w/o the redirect

    my ipod safari redirect to local Mexico site, how do i stop it soI can go to MSN and other US based sites w/o the redirect

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
      least ten seconds, until the Apple logo appears
    - Go to Settings>Safari and Clear History, Data and Cookies
    - Go to Settings>wifi>the connected network and change the DNS to Google's 8.8.8.8

  • HT2589 i was given an ipod by a friend due to them buying a newer ipod. I want to transfer the music that is currently on the ipod to my itunes without having to sync my ipod and delete the music. Any suggestions?

    i was given an ipod by a friend due to them buying a newer ipod. I want to transfer the music that is currently on the ipod to my itunes without having to sync my ipod and delete the music. Any suggestions?

    Without even knowing if Apple's DRM would permit this, if you are in the U.S. then that's copyright infringement.

  • Why won't iTunes recognize my internet connection so that i can restore my ipod and iphone?

    iTunes will not recognize my internet connection so that I can restore my ipod and my iphone. Please help!!!!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Spotlight and finder cannot find files as of a certain date. What can be the problem and how to solve?

    Spotlight and search field in Outlook on MacBoon cannot find files as of a certain date. What can be the problem and how to solve?

    Reinstall on both.
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.
    Restore your iPhone to reinstall iOS. Be sure to do this while connected to your computer and iTunes.
         Tap Settings > General > Reset > Erase all content and settings.

  • How to connect my iphone to iTunes with my imac so i can mannage my songs and other documents on my phone

    how to connect my iphone to iTunes with my imac so i can mannage my songs and other documents on my phone

    Launch iTunes on your Mac, plug your phone in, select it in the sidebar, select what you want to sync under the various tabs, hit the sync button. If the sidebar is not visible, go up to the "View" menu & select "Show Sidebar".

  • Safari and mail will not load but i am connected to internet and can download form itunes and other sourses is that HD failure?

    Safari and mail will not load but i am connected to internet and can download form itunes and other sourses is that HD failure?  any suggestions ?  verify disk says its OK

    iOS 4: Updating your device to iOS 5 or later - Support - Apple
    iOS: Unable to update or restore - Support - Apple
    iTunes for Windows: iTunes Store connection troubleshooting
    See if any of these three may help.

  • Where can i find configuration and other aspects of SAP learining solution

    where can i find configuration and other aspects of SAP learining solution
    Ross

    Plz go through below URLs:
    [http://saphrexpert.blogspot.com/2009/01/lso-configuration.html]
    [http://help.sap.com/erp2005_ehp_04_sp/helpdata/en/69/415a2b9208485380091d5e3c659c26/content.htm]
    Mohan

  • How can I delete videos and other things uploads to icloud ?

    How can I delete videos and other things uploads to icloud ?

    If these are purhased movies they are not stored in your iCloud account and cannot be deleted.  They are stored in the iTunes store.  What you are seeing are links to your previously purchased movies, allowing you to redownload them.
    If you don't want to see these in the Videos app, go to Settings>iTunes & App Store and turn Videos off under Show All.

  • I can't transfer music and other files from library to my iphone 4 by dragging it.can anyone help me?is there any other way to transfer files into iphone?

    i can't transfer music and other files from library to my iphone 4 by dragging it.can anyone help me?is there any other way to transfer files into iphone?

    If you want to drag and drop ( don;t know why you would do this), you will have to check manually manage music.
    Why not just sync?
    iPhone User Guide (For iOS 5.0 Software)

  • I bought over a Mac Book Pro from a friend. I can't update iPhoto and other apps as it seems like these are tagged to the previous owner's account. Pls advise.

    I bought over a Mac Book Pro from a friend. I can't update iPhoto and other apps as it seems like these are tagged to the previous owner's account. It basically requires me to sign in to my fren's account which is absurb! Because iphoto comes with mac isn't it?

    Contact your "friend." Have him set up the MBP for your with your own account, settings and passwords. You are not running IOS 5.1. That is for iPhone and iPad users. What OS are you running? Did he give you the OS installer disks?

Maybe you are looking for