You are not logged in.
You meant DM? No, I don't have any DM and yes, I have trash in thunar's right hand panel...
Can someone explain to me finally, what is the point of putting dbus-launch into .xinitrc?
I meant a Desktop Environment. As seen by processes you run a complete xfce-session. I got that working, but my question was directed at use of Thunar outside of a xfce-session.
I can't find any reason to put dbus-launch into .xinitrc for a xfce-session. I've tested with or without, or with or without ck-launch-session, I can't see any difference in either behaviour or performance. I've tested it both started from SLiM and tty console. It's like Xfce launches everything with dbus-launch by itself.
I have also stripped out dbus-launch and ck-launch-session for my standard VM, Awesome, and the only thing I need to get Thunar show Trash, Network paths and not mounted partitions (even though the latter is something I don't prefer) is to run dbus-launch thunar or nautilus --no-desktop. At the moment dbus is only started as daemon in rc.conf and from .xinitrc I start udiskie & followed by a plain exec Awesome.
Offline
KimTjik wrote:
I can't find any reason to put dbus-launch into .xinitrc for a xfce-session. I've tested with or without, or with or without ck-launch-session, I can't see any difference in either behaviour or performance. I've tested it both started from SLiM and tty console. It's like Xfce launches everything with dbus-launch by itself.
If you get in an out of your WM, you don't get duplicate gvfs processes ?
Offline
KimTjik wrote:
I can't find any reason to put dbus-launch into .xinitrc for a xfce-session. I've tested with or without, or with or without ck-launch-session, I can't see any difference in either behaviour or performance. I've tested it both started from SLiM and tty console. It's like Xfce launches everything with dbus-launch by itself.If you get in an out of your WM, you don't get duplicate gvfs processes ?
I'll check when I get time for it. I usually only run one session per boot.
Update:
When Thunar is started gvfs processes are started. With or without dbus-launch --sh-syntax --exit-with-session certain gvfs processes stay between sessions. I'm not certain though that they become duplicated.
Last edited by KimTjik (2011-01-22 11:43:09)
Offline
.:B:. wrote:No dice here. Prefixing Thunar with dbus-launch doesn't help a bit, with every USB stick I try Thunar complains 'unsupported USB device type' or 'unknown block device type'. I'm running Openbox and using ck-launch-session to call openbox-session, and I have dbus launched through .xinitrc. Trash works btw (using gvfs-lite). Already trashed Thunar's configuration files.
gvfs-lite from aur? Clearly, the PKGBUILD there is broken... I guess you need gnome-disk-utils, which will pull all the deps, so you'd better do pacman -S gvfs. This might also explain why you can see the trash, but not external media.
Thanks a lot, it does seem indeed that gnome-disk-utility is needed. Now the USB stick just shows and mounts.
I guess that makes me happy till the next Xfce upgrade .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I meant a Desktop Environment. As seen by processes you run a complete xfce-session. I got that working, but my question was directed at use of Thunar outside of a xfce-session.
I can't find any reason to put dbus-launch into .xinitrc for a xfce-session. I've tested with or without, or with or without ck-launch-session, I can't see any difference in either behaviour or performance. I've tested it both started from SLiM and tty console. It's like Xfce launches everything with dbus-launch by itself.
I have also stripped out dbus-launch and ck-launch-session for my standard VM, Awesome, and the only thing I need to get Thunar show Trash, Network paths and not mounted partitions (even though the latter is something I don't prefer) is to run dbus-launch thunar or nautilus --no-desktop. At the moment dbus is only started as daemon in rc.conf and from .xinitrc I start udiskie & followed by a plain exec Awesome.
Ah, sorry then. I never actually used thunar outside of xfce, so you know more than me here. Also thanks for the dbus-related explanation
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
I choosed to build a custom openbox environment to get a light GUI. To get the new thunar running, I ended up enabling too many gnome dependencies. My environment got almost as heavy as using Gnome as a DM.
The latest thunar incarnation helped me getting rid of hal at a too heavy cost, in my mind...
Now, I'm testing a new environment without hal, and without dbus. I'm using autofs for automounting my removable medias and rox as a file manager. I'm far of being fully satisfied with these new settings, but I got back to a really light WM. Lighter can even mean more powerful, as I just found.
I don't want to pollute this thread too much. I opened a topic on this :
https://bbs.archlinux.org/viewtopic.php … 77#p882177
Offline
I have added the dbus-launch line to my .xinitrc:
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
I use ck-launch-session:
exec ck-launch-session awesome
...and I have installed gvfs. I can see my removable media in Thunar, but when I try to mount it, Thunar says "Not Authorized". Oddly, everything works when I launch Thunar with "dbus-launch thunar". I have dbus session processes already running in awesome, so why do I need to use dbus-launch with Thunar for it to work?
Offline
Do you have gnome-disk-utility installed? I have the same dbus stance in my .xinitrc, works fine here.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I have added the dbus-launch line to my .xinitrc:
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then eval "$(dbus-launch --sh-syntax --exit-with-session)" fi
I use ck-launch-session:
exec ck-launch-session awesome
...and I have installed gvfs. I can see my removable media in Thunar, but when I try to mount it, Thunar says "Not Authorized". Oddly, everything works when I launch Thunar with "dbus-launch thunar". I have dbus session processes already running in awesome, so why do I need to use dbus-launch with Thunar for it to work?
Probably because thunar somehow connect to dbus through xfce4-session... Does putting dbus-launch Thunar--daemon in .xinitrc help?
I have the same dbus stance in my .xinitrc, works fine here.
Off-topic, but still...
Hmm, I tried that (this is also done by startxfce4 script), and found a wierd issue. If I return to tty1 (from where startx was called), and press enter, which should give me just a blank line, the X session on tty7 freezes (the only escape is ctrl-c on tty1 and startx again). Calling dbus-launch with --autolaunch --close-stderr helps... Am I the only one who has this problem?
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
tried all of the above solutions and none of them works
Offline
tried all of the above solutions and none of them works
try that:
what about udev rules? https://wiki.archlinux.org/index.php/Udev
or maybe try udiskie: https://wiki.archlinux.org/index.php/Udiskie
Offline
anansi wrote:tried all of the above solutions and none of them works
try that:
_abraxas wrote:what about udev rules? https://wiki.archlinux.org/index.php/Udev
or maybe try udiskie: https://wiki.archlinux.org/index.php/Udiskie
isn't it too much as for a "user friendly" DE aka Xfce?
if the thunar doesn't get a proper fix soon will have to do that... manual mounting is boring
Offline
Well, with the amount of gnome deps on my system right now, I am thinking of just installing the full gnome The only thing that stops me is the nearing 3.0. On the bright side, I can now afford chromium without worrying about gconf
Last edited by Leonid.I (2011-01-24 21:25:39)
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
_abraxas wrote:anansi wrote:tried all of the above solutions and none of them works
try that:
_abraxas wrote:what about udev rules? https://wiki.archlinux.org/index.php/Udev
or maybe try udiskie: https://wiki.archlinux.org/index.php/Udiskieisn't it too much as for a "user friendly" DE aka Xfce?
if the thunar doesn't get a proper fix soon will have to do that... manual mounting is boring
that's not a manual mount, but a little little bit of manual configuration. this is what you want if you don't want to have gnome-dependencies.
Offline
anansi wrote:_abraxas wrote:try that:
isn't it too much as for a "user friendly" DE aka Xfce?
if the thunar doesn't get a proper fix soon will have to do that... manual mounting is boring
that's not a manual mount, but a little little bit of manual configuration. this is what you want if you don't want to have gnome-dependencies.
I know that... I wasn't talking about udiskie and udev rules but about manual mounting with mount command
will have to configure udiskie or udev rules if the thunar doesn't get the fix... atm I'm manually mounting my thumbs (I use samba with my androphone though)
and I don't care about gnome deps that much
[edit]
I've just checked if Thunar mounts usb drives on my eee and it works. Strange that everything is setup exactly as on my desktop which has those mounting problems...
[/edit]
Last edited by anansi (2011-01-25 10:27:31)
Offline
Well, I've read this whole thread, but I couldn't figure out what is the consensus for getting this crap to work...
1.) I have gvfs installed.
2.) I have dbus line in DEAMONS, but no hal.
3.) My ~/.xinitrc:
---
#!/bin/bash
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
exec dbus-launch ck-launch-session startxfce4
---
4.) I am using slim.
5.) I still get "thunar-volman: Could not detect the volume corresponding to the device." (and other) error messages when inserting CD on pen drive. I can never see any CD or pendrive icon on the "desktop" when the device is inserted.
So what _exactly_ should I do? Thanks.
Offline
Does putting dbus-launch Thunar--daemon in .xinitrc help?
Nope. Maybe I'll just try udiskie or finally make the switch to pcmanfm. It looks like it has a much brighter future than Thunar anyways.
Offline
I read the whole thread too.
Since the upgrade, Thunar detected USB memory sticks, but I had to mount them explicitely. There was no automount anymore. Also the device wasn't enymore in /media/disc. Now its an akward /media/xxxx-xxxx (with x being a hex digit).
There was no unmount option offered in Thunar, only eject. After eject I had do remove the stick and put it back in order to be able to mount it again which is related to an exercise described earlier in this thread. Workaround using the shell: umount /media/xxxx-xxx
Last edited by goetzkluge (2011-01-27 00:14:50)
Offline
Well, I've read this whole thread, but I couldn't figure out what is the consensus for getting this crap to work...
1.) I have gvfs installed.
2.) I have dbus line in DEAMONS, but no hal.
3.) My ~/.xinitrc:
---
#!/bin/bash
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
exec dbus-launch ck-launch-session startxfce4
---
4.) I am using slim.
5.) I still get "thunar-volman: Could not detect the volume corresponding to the device." (and other) error messages when inserting CD on pen drive. I can never see any CD or pendrive icon on the "desktop" when the device is inserted.So what _exactly_ should I do? Thanks.
i had the same issue. it only worked for me when starting thunar with "dbus-launch thunar". try that. but after a while, i was pissed, because sometimes it took ages to start.
Offline
_abraxas: "dbus-launch thunar" doesn't help here :-(
Last edited by ngaba (2011-01-27 00:56:12)
Offline
"dbus-launch thunar" is working fine here (Fluxbox wm)
Adding "dbus-launch" to the .xinitrc and "hal" to the "rc.conf" doesn't help.... also Thunar needs ages to start... but at least it starts.
Offline
Well, I've read this whole thread, but I couldn't figure out what is the consensus for getting this crap to work...
1.) I have gvfs installed.
2.) I have dbus line in DEAMONS, but no hal.
3.) My ~/.xinitrc:
---
#!/bin/bash
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
exec dbus-launch ck-launch-session startxfce4
---
4.) I am using slim.
5.) I still get "thunar-volman: Could not detect the volume corresponding to the device." (and other) error messages when inserting CD on pen drive. I can never see any CD or pendrive icon on the "desktop" when the device is inserted.So what _exactly_ should I do? Thanks.
should work. I would say, remove $HOME/{.config,.local,.cache}. Also,
#!/bin/bash
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
exec dbus-launch ck-launch-session startxfce4
should be replaced with
exec ck-launch-session startxfce4
as long as you have dbus in DAEMONS, and because /usr/bin/startxfce4 already calls dbus-launch with exact same arguments as you have. I also have slim (call it from DAEMONS), so it's not a problem.
Are you saying that gvfs does not get started at login?
EDIT: thunar-volman has nothing to do with automounting. This task is handled by thunar.
Last edited by Leonid.I (2011-01-27 21:34:49)
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
I need (with fluxbox) the dbus-stuff in the xinitrc, otherwise Trash+remov.dev doesnt work.
Despite I put dbus into the daemons-list...
Offline
The only way that I can get this to work is with hal installed. I removed hal from my system yesterday and I noticed today that my removable devices were not showing up anymore in thunar. I tried using a udev rule but that didn't help either. With the udev rule the devices would be mounted to /media but they still didn't show up in Thunar's side pane. So, I removed the udev rule and reinstalled hal. Now they mount to media when plugged in and show up in the side pane.
Why must I have hal installed in order to get this to work?
Nautilus works fine without a udev rule and without hal. So why can't Thunar!
Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.
Offline
Yeah now I can usa the trash and see thj removable devices, but cannot mount them because I'm not "authorized" any more....
If I start thunar as root, the trash & removable devices don't show up at all -.- ....
Last edited by Spot (2011-01-30 11:26:21)
Offline