You are not logged in.

#1 2014-05-06 23:51:30

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

[SOLVED] Automount external drives in OpenBox with KDE apps

Hi!

I use OpenBox for a long time now, previously with GNOME and MATE apps, but recently I changed to KDE based ones like Dolphin, Kate, etc.
Now my problem is that after these changes I cannot set that the external USB drives to connect automatically if plugged in. It wouldn't that big of a problem but I use an external HDD very often so I don't disconnect it and I have symlinks on my file system showing to folders on it.
Of course I set in the KDE System Settings that all removable devices connect automatically but it doesn't work.

So since I use only parts of the KDE and don't use any DE with OpenBox, what should I do to figure this out? I'm sure I'm missing something but can't find an answer. I've found some advices to modify config files but I'd like to avoid those until there's other possibility like installing a missing package (it worked before without changing any config file and of course I don't want to install the whole KDE itself and loading the DE under OpenBox).

I have these packages installed to KDE

extra/kde-base-artwork 4.13.0-1
extra/kde-l10n-hu 4.13.0-1
extra/kde-wallpapers 4.13.0-1 (kde kde-meta kdebase)
extra/kdebase-dolphin 4.13.0-1 (kde kdebase)
extra/kdebase-katepart 4.13.0-1
extra/kdebase-kdepasswd 4.13.0-1 (kde kdebase)
extra/kdebase-kdialog 4.13.0-1 (kde kdebase)
extra/kdebase-keditbookmarks 4.13.0-1 (kde kdebase)
extra/kdebase-kfind 4.13.0-1 (kde kdebase)
extra/kdebase-konq-plugins 4.13.0-1 (kde kdebase)
extra/kdebase-konqueror 4.13.0-1 (kde kdebase)
extra/kdebase-kwrite 4.13.0-1 (kde kdebase)
extra/kdebase-lib 4.13.0-1
extra/kdebase-plasma 4.13.0-1 (kde kdebase)
extra/kdebase-runtime 4.13.0-3
extra/kdebase-workspace 4.11.9-2 (kde kdebase)
extra/kdebindings-python 4.13.0-2 (kdebindings)
extra/kdebindings-python-common 4.13.0-2 (kdebindings)
extra/kdegraphics-gwenview 4.13.0-1 (kde kdegraphics)
extra/kdegraphics-mobipocket 4.13.0-1 (kde kdegraphics)
extra/kdegraphics-okular 4.13.0-1 (kde kdegraphics)
extra/kdelibs 4.13.0-1
extra/kdepim-runtime 4.13.0-1
extra/kdepimlibs 4.13.0-1
extra/kdesdk-kate 4.13.0-1 (kde kdesdk)
extra/kdeutils-ark 4.13.0-1 (kde kdeutils)
extra/kdeutils-ktimer 4.13.0-1 (kde kdeutils)
extra/libreoffice-kde4 4.2.3-3 (libreoffice)
extra/polkit-kde 0.99.0-3

these to GNOME:

extra/file-roller 3.12.1-1 (gnome-extra)
extra/gnome-common 3.12.0-1
extra/gnome-icon-theme 3.12.0-1 (gnome)
extra/gnome-icon-theme-symbolic 3.12.0-1 (gnome)
extra/gnome-mime-data 2.18.0-6
extra/gnome-screenshot 3.12.0-1 (gnome)
community/gnome-subtitles 1.3-1
extra/gnome-terminal 3.12.1-1 (gnome)
extra/gnome-themes-standard 3.12.0-1 (gnome)
extra/gnome-vfs 2.24.4-8
extra/libgnome 2.32.1-5
extra/libgnome-data 2.32.1-5
extra/libgnome-keyring 3.12.0-1
extra/libreoffice-gnome 4.2.3-3 (libreoffice)
community/polkit-gnome 0.105-2

and nothing to MATE.

Any advice?

Last edited by freyr (2014-05-07 03:01:30)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#2 2014-05-07 00:04:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Automount external drives in OpenBox with KDE apps


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-05-07 02:59:11

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [SOLVED] Automount external drives in OpenBox with KDE apps

The package udevil and the command devmon -a in the .xinitrc seems to do the trick for now. I ignored them because the Wiki page says it replaces udisks (not sure if it talks about 2 or not) plus I had bad luck with udiskie before. But at least it's a workaround for now, thankfully it can be configured to mount only in /run/media/$USER. Udisks2 should do it by itself as it was able to mount the drives before I started using KDE apps. Don't know what happened but I hope they won't conflict in the future.

Thanks for the reminder!

Last edited by freyr (2014-05-07 03:04:13)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

Board footer

Powered by FluxBB