You are not logged in.

#1 2010-02-19 09:34:12

archiebald
Member
Registered: 2007-06-03
Posts: 90

[SOLVED] Openbox - how to mount/umount partition with Nautilus?

I am trying Openbox a little but I have problem with Nautilus. I have two other partitions which I mount occasionally from left side of pane in Nautilus. Now when I am trying to do that in Openbox, I get "Unable to mount foobar, Authentication is required" message.
I tried PCmanFM and I can mount partitions without problem, but I need Nautilus to get it to work.

Last edited by archiebald (2010-02-25 18:24:47)

Offline

#2 2010-02-19 11:08:03

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

Why are you using nautilus with openbox? Anyway,you can put your partitions in fstab.

Offline

#3 2010-02-19 11:48:02

archiebald
Member
Registered: 2007-06-03
Posts: 90

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

I try to use Nautilus with Openbox because I need to mount/umount partitions from other internal hard drives with simple click on left sidepane.

Also because of Dropbox integration with Nautilus, I know for other dropbox version independent of Nautilus by the way.

Offline

#4 2010-02-19 11:54:57

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

archiebald wrote:

I try to use Nautilus with Openbox because I need to mount/umount partitions from other internal hard drives with simple click on left sidepane.

Also because of Dropbox integration with Nautilus, I know for other dropbox version independent of Nautilus by the way.

Thunar/Thunar-Volman will do that for you as well - why not just use Openbox within Gnome instead of metacity?  Using Nautilus in Openbox is a bit weird.

Anyway, use consolekit to start your openbox session:

exec ck-launch-session openbox-session

That should work, AFAIK GDM calls to consolekit as well so nautilus shouldn't behave strangely with it.

Last edited by Meyithi (2010-02-19 11:55:29)


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#5 2010-02-19 12:35:18

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

Also PCManFM works pretty nice with mount/unmount from sidepane for me.

Last edited by na12 (2010-02-19 12:36:54)

Offline

#6 2010-02-19 15:22:10

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

@Meyithi - Afaik Thunar doesn't show you partitions from other internal drives.

Offline

#7 2010-02-24 15:03:35

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

I think you need to install gksu.

Offline

#8 2010-02-25 18:24:29

archiebald
Member
Registered: 2007-06-03
Posts: 90

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

I have found solution. It works!

edit: /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy

find:

<action id="org.freedesktop.devicekit.disks.filesystem-check-system-internal">
    <description>Check file system of a system-internal device</description>
    <description xml:lang="da">Check fil system for en intern enhed</descriptio$
    <message>Authentication is required to check the file system on the device<$
    <message xml:lang="da">Autorisering er påkrævet for at checke fil systemet $
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

and replace: <allow_active>auth_admin_keep</allow_active>

with this: <allow_active>yes</allow_active>

Because Nautilus likes to take control of desktop, this is useful for someone who doesn't know how to change this behaviour:

# Disable Nautilus desktop.

gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false &

# Do not let Nautilus set the background image.

gconftool-2 -s -t bool /desktop/gnome/background/draw_background false &

This solution is useful for all environments where you want or need to use Nautilus.


I forgot to add, that there must be GDM, else, I can't see unmounted partitions in Nautilus. I need to figure out, how to see unmounted partitions without GDM.


na12 wrote:

I think you need to install gksu.

I don't think that I will run file manager as root.:D

Last edited by archiebald (2010-02-25 20:36:02)

Offline

#9 2010-12-12 21:28:17

qumran
Member
Registered: 2010-12-12
Posts: 3

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

Thanks! Had the same problem and this solution worked perfectly for me! ;D

Offline

#10 2010-12-12 21:36:47

archiebald
Member
Registered: 2007-06-03
Posts: 90

Re: [SOLVED] Openbox - how to mount/umount partition with Nautilus?

qumran wrote:

Thanks! Had the same problem and this solution worked perfectly for me! ;D

You welcome. I'm glad that solution I have found somewhere and posted here, helps.

Offline

Board footer

Powered by FluxBB