Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Three issues with XFCE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 4:23 pm    Post subject: [SOLVED] Three issues with XFCE Reply with quote

Hi guys, I am almost done with my gentoo installation and there are two problems with my XFCE:

1 - the USB drives and CD/DVDs don't show up so I can't mount them by just clicking on it.

I have thunar-volman and gvfs installed

pedro@gentoo ~ $ groups
wheel audio cdrom video cdrw usb users portage pedro

2 - Numlock doesn't work properly, when it is turned off the numpad keys work and when it is off it doesn't (what????????/)

3 - I can't turn off/reboot with the menu button, it asks me for my password (something pretty annoying, if you ask me) and it says it is either wrong or I am not authorized to do so.

EDIT: numlock problem is solved, now it works again (???)

EDIT2: 1 and 3 are solved now
You need "udev" USE flag set
thunar-volman and gvfs installed
D-Bus running at default runlevel


Last edited by moisespedro on Sun Feb 09, 2014 7:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Feb 09, 2014 5:07 pm    Post subject: Reply with quote

For (3), did you build xfce4-session with the udev USE flag set?

For (1), you must have built thunar with the udev USE flag set since that's required by thunar-volman. I do not know why the removable media doesn't show up. See if you can see the disks on the commandline as a user with udisksctl status.

For (2), no clue. This behavior only occurs in XFCE?
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 5:55 pm    Post subject: Reply with quote

Yes, I've build them with udev flag. The numlock problem is gone, who knows how.

I am rebuilding thunar and xfce4-session now to see if it works. And yes, I can see the removable media (on gparted for example).

EDIT: crap, it still doesn't work
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Feb 09, 2014 6:01 pm    Post subject: Reply with quote

What matters is whether you can see the removable media using udisksctl as a non-root user, as udisks is the back-end used by Thunar.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 6:02 pm    Post subject: Reply with quote

I think it is broken
Code:
pedro@gentoo ~ $ udisksctl info

(process:17134): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(process:17134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:17134): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(process:17134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:17134): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(process:17134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:17134): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(process:17134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:17134): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(process:17134): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:17134): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(process:17134): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Error connecting to the udisks daemon: Não foi possível conectar: Arquivo ou diretório não encontrado
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Feb 09, 2014 6:32 pm    Post subject: Reply with quote

Is udisks-daemon running? This should be launched automatically by your X session.

Is D-Bus running? The system daemon should be enabled via rc-update; your user daemon should be launched automatically by your session.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sun Feb 09, 2014 6:33 pm    Post subject: Reply with quote

I am having the same issue with Thunar. All proper use flags are set. My output of "udiskctl info" is identical to yours.
Back to top
View user's profile Send private message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sun Feb 09, 2014 6:38 pm    Post subject: Reply with quote

hmmm dbus wasn't running, however volman still isn't working. How can I verify that udisks-daemon is running?
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Feb 09, 2014 6:51 pm    Post subject: Reply with quote

Use ps ?
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 7:20 pm    Post subject: Reply with quote

I am a complete noob, is dbus a rc service?
edit: nvm
edit2: enabled dbus, set it to default runlevel and is this udisks-daemon?
pedro@gentoo ~ $ ps -A | grep udisks
16467 ? 00:00:00 gvfs-udisks2-vo


Last edited by moisespedro on Sun Feb 09, 2014 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sun Feb 09, 2014 7:21 pm    Post subject: Reply with quote

I assume this means it's running
Code:
 ps aux | grep udisks
dzmijew+  8096  0.0  0.0 184212  1484 ?        Sl   Feb08   0:00 /usr/libexec/gvfs-udisks2-volume-monitor
root     24344  0.0  0.3 433956  5752 ?        Sl   12:31   0:00 /usr/lib/udisks2/udisksd --no-debug
root     30161  0.0  0.0  10792   948 pts/0    S+   13:15   0:00 grep --colour=auto udisks
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 7:30 pm    Post subject: Reply with quote

Enabled d-bus, restarted my system and now everything works :)
Thanks
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Feb 09, 2014 7:31 pm    Post subject: Reply with quote

Great!

Please append "[SOLVED]" to the thread title so that others with the same problem can find the solution. You can do this by editing the first post of the thread.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sun Feb 09, 2014 7:36 pm    Post subject: Reply with quote

Hypnos wrote:
Great!

Please append "[SOLVED]" to the thread title so that others with the same problem can find the solution. You can do this by editing the first post of the thread.


Will do that and try to say everything I have installed/running
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum