Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-11-06 08:57:32

Friedrich
Member
Registered: 2016-09-18
Posts: 164
LinuxFirefox 144.0

Delete loop device with Context menu

Hi,

i created a custom action to mount (multi partition) images. The script runs

sudo udisksctl loop-setup -r -f image.img

There is a line in /etc/sudoers so that i don't need the password. This works very good. I see the partition in thunar under devices and can mount them with thunar. I can unmount it but i can't delete the loop device. Is it possible to create a context menu that can be executed when i right click on the unmounted device and then run

udisksctl loop-delete -b /dev/loopX

?

Friedrich

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 529.55 KiB (Peak: 559.4 KiB) ]