You are not logged in.
Looks like a very cool tool jnguyen, thanks .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Very nice little utility. Thank you.
Offline
is there any possibility to find out why I can't mount my (internal, activated mounting of internal drives in the config) sdb1 drive with the menu?
my user (nils) is member of "disk wheel video audio optical storage users" and when i use dolphin (which is still left on my system), i get the error message:
org.freedesktop.UDisks.Error.
Authentication is required
so, i'm still not part of the group the disk belongs to (which is "disks") and therefore can't mount it? i need to set somewhere else something to get r/w access to the drive?
it's a bit offtopic but i thought it could be program related, too. so far: great little script
Offline
Thanks for all the feedback everyone
is there any possibility to find out why I can't mount my (internal, activated mounting of internal drives in the config) sdb1 drive with the menu?
my user (nils) is member of "disk wheel video audio optical storage users" and when i use dolphin (which is still left on my system), i get the error message:
org.freedesktop.UDisks.Error.
Authentication is requiredso, i'm still not part of the group the disk belongs to (which is "disks") and therefore can't mount it? i need to set somewhere else something to get r/w access to the drive?
it's a bit offtopic but i thought it could be program related, too. so far: great little script
This looks like a policykit/consolekit problem. If it doesn't already exist, create the file "/etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla" with these contents:
[Local Users]
Identity=unix-group:storage
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
If your user is in "storage" group, then you should be able to use udisks as regular user now.
Sorry, I forgot to add this to the instructions. If you have a file manager installed (such as Thunar), it usually adds this file automatically. I've updated the first post in this thread with these instructions.
Last edited by jnguyen (2011-03-27 20:18:35)
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
I thought it might have to do something with policykit/consolekit as I'm checking the files just before I read this update here.
it seems like there are no files in /etc/polkit-1/localauthority/50-local.d/
will try the solution you mentioned. thanks so far!
aunt edith says:
works.
thanks!
Last edited by gpunkt (2011-03-27 21:25:57)
Offline
@gpunkt: glad you got it fixed.
1.0.5 released with information on device size now displaying correctly.
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
Devices does not appear as a menu entry, even after restart.
If I run obdevicemenu from cmdline, i seem to get proper output - xml that references my flash drive,
OpenBox 3.4.11.2
Freshly installed udisks
libnotify-send 0.7.1
dbus daemon 1.4.1
fortune -o
Offline
Hi LungFungus. Have you put this in "~/.config/openbox/menu.xml"?:
<menu id="devices" label="Devices" execute="/usr/bin/obdevicemenu" />
Last edited by jnguyen (2011-04-06 06:57:09)
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
Thanks jnguyen,
Yes I do have that line in the menu.xml file. I've checked the spelling too, usually my first mistake.
...
</menu>
<menu id="devices" label="Devices" execute="/usr/bin/obdevicemenu" />
<menu id="apps-editors-menu" label="Editors">
...
Last edited by LungFungus (2011-04-06 15:50:26)
fortune -o
Offline
Try putting into the "root-menu" part of your menu.xml. This is roughly what mine looks like:
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="applications" label="Applications">
......
</menu>
<menu id="system" label="System">
......
</menu>
<menu id="root-menu" label="Menu">
<separator label="Menu" />
<menu id="applications"/>
<menu id="system"/>
<menu id="devices" label="Devices" execute="/usr/bin/obdevicemenu" />
<separator />
<item label="Shutdown">
<action name="Execute">
<command>sudo shutdown -h now</command>
<prompt>Are you sure you want to shutdown?</prompt>
</action>
</item>
</menu>
If this doesn't fix it, maybe post up your whole menu.xml (pastebin if it's really long). I wouldn't really know how else to fix this though!
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
thank you jnguyen!
I knew I was making a silly mistake somewhere, I didn't have it in the root menu. I misunderstood the layout of the xml file, and the importance of the root section.
works perfectly now, this is a really cool add-on for OBmenu
fortune -o
Offline
thank you jnguyen!
I knew I was making a silly mistake somewhere, I didn't have it in the root menu. I misunderstood the layout of the xml file, and the importance of the root section.
works perfectly now, this is a really cool add-on for OBmenu
No problem, glad you got it working!
Sorry, I forgot to specify in the instructions that it must go in the root menu section. I've now changed the first post in this thread to mention that
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
@jnguyen,
Thanks!! - it just works..
"I exist" is the best myth I know..
Offline
Best solution I've run across for managing devices in Openbox and it works without any issues - thanks!
Offline
Thanks very much for the feedback student975 and ctarwater
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
1.1.0 released. Watch out for the change in configuration file!!
1.1.1 released. Just a bit of code cleanup.
Last edited by jnguyen (2011-04-25 16:58:35)
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
nvm, just delete
Last edited by KLIM (2011-04-27 19:57:33)
Offline
Nifty utility...Many thanks.!
“Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.” - Mark Twain
Offline
obdevicemenu 1.2.0 released. It now has support for /dev/mmcblk* devices such as SD cards.
There are numerous configuration file changes so remember to update them!
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
obdevicemenu 1.3.0 released, based on the bashmount 1.2.0 code just released.
Bear in mind that I haven't used openbox for some time now (since around obdevicemenu 1.0.0 I think) so the script has only received a small amount of testing for each release. Please let me know if you notice any bugs.
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
This is a great little app/script/menu. Took me a while to figure out why my internal drives weren't showing up, but now that I've got it working, I'm very happy with it. Certainly beats installing >50MBs worth of packages (gvfs+deps) to have thunar do the exact same thing.
It'd be nice to have partitions numbering more than 10 displayed in the right order, but that seems to be a limitation of sort. (e.g. /dev/sdd[10-12] in my menu come before /dev/sdd2)
Thanks for your hard work.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
This is a great little app/script/menu. Took me a while to figure out why my internal drives weren't showing up, but now that I've got it working, I'm very happy with it. Certainly beats installing >50MBs worth of packages (gvfs+deps) to have thunar do the exact same thing.
Glad you are finding use for it
It'd be nice to have partitions numbering more than 10 displayed in the right order, but that seems to be a limitation of sort. (e.g. /dev/sdd[10-12] in my menu come before /dev/sdd2)
Hmm I never noticed this before as I don't have that many partitions
OK, based on your feedback I have released obdevicemenu 1.4.0 with a new configuration option called fancy_sort. This option is basically a big hack to get around a shortcoming of the sort command, which causes /dev/sdc11 to be shown in the menu before /dev/sdc2. This option deals with /dev/sd* and /dev/dm-* devices, but not /dev/mmcblk* devices as the sorting is not that simple. I have disabled this option by default.
Kudos to anyone who can implement it in a less hacky way than I did
Last edited by jnguyen (2011-05-26 21:24:51)
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
Works fine and looks great.
No noticeable additional delay on my PC.
Thanks a lot.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Works fine and looks great.
No noticeable additional delay on my PC.
Thanks a lot.
Thanks very much for testing and for the screenshot I had no idea people used that many devices
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline
This is a great script, thanks.
I've partly ported it to FVWM (Just the info menu left to do.) I'll post it here once I'm satisfied with it.
Offline