You are not logged in.
I use the Xfe file manager in openbox with udevil and without udisks, udisks2, pmount, consolekit or ck-launch-session .
It works fine and everything seems to mount fine but to unmount a device from Xfe produces an error because the umount command is hard-wired into Xfe and requires root privileges.
So to get around this problem I have created a new PKGBUILD that changes the Xfe umount to a 'udevil umount' with a couple of sed replacements before Xfe is built.
I know Xfe is not widely used and this is probably a bit unique to the way I use my system but I thought it may be of interest to others and if so then it is probably worth placing in AUR.
I am not in a position to maintain this in AUR so if anyone wants to take this on here is the PKGBUILD I grabbed from ABS and modified to test this.
pkgname=xfe
pkgver=1.33
pkgrel=1
pkgdesc="X File Explorer (Xfe) is an MS-Explorer like file manager for X."
arch=('i686' 'x86_64')
url="http://roland65.free.fr/xfe"
license=("GPL")
depends=('fox')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('fb089ba73add411b08a6560eeb51742d')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i s/'cmd=\"umount \"'/'cmd=\"udevil umount \"'/ src/DirPanel.cpp
sed -i s/'cmd=\"umount \"'/'cmd=\"udevil umount \"'/ src/FilePanel.cpp
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
Clive,
"Today's great idea is tomorrow's mess to clean up."
Offline
clpc, you should put this in the AUR package comments or mail the maintainer.
To know or not to know ...
... the questions remain forever.
Offline
OR... submit a feature request upstream, ideally including a patch, for user-configurable mount/umount commands.
Offline
Xfe is in community and I doubt that most users of Xfe would need or want this modification, it is specific to using udevil with Xfe.
The last feature request I put forward was well over a year ago and is unlikely to happen for another year or two, Xfe is a very low priority app and as such things happen very slowly, the continents move faster and that is not a dig at the current developer, it is just how things are with Xfe.
Hence the reason I posted this here so those that are interested in the mod can use the PKGBUILD if they want and add it to AUR if they want to maintain it.
Clive,
"Today's great idea is tomorrow's mess to clean up."
Offline
OK. However, my point remains that it would be better if these changes were made upstream.
Also, my suggestion was the implementation of user-configurable commands, so although your requirement is specific to udevil, my solution is not.
Offline
If you or anyone else requires this change to be made upstream then fine, I do not.
I just thought this may be of interest to someone that maybe does want or need to take it further or just make use of it.
I am not in a position to take this any further than I have.
We used to just share stuff and that is all I was doing but I am getting the impression it is best to just keep stuff to myself nowadays.
Clive,
"Today's great idea is tomorrow's mess to clean up."
Offline
ROFL... what are you talking about?
Offline
I am happy to humour you.
Clive,
"Today's great idea is tomorrow's mess to clean up."
Offline
If anyone cares, I submitted a feature request upstream:
https://sourceforge.net/tracker/?func=d … tid=508825
It may not get implemented for years (if ever) but at least its there.
Last edited by anonymous_user (2012-09-16 04:58:17)
Offline