You are not logged in.

#1 2013-01-10 16:29:13

ozzem
Member
Registered: 2010-11-29
Posts: 14

Thunar custom actions for devices?

Hi!

As you might know it's possible in Thunar to add custom actions to the context menu of files/folders/...
but is it also possible to add custom actions to devices like flash drives or partitions?

My problem is: I got a few encrypted partitions which got to be decrypted before mounting.
At the moment I use a few folders (with custom actions) in the sidebar to encrypt and mount the partitions but I'd like to get rid of the redundancy (partitions in device list/folders in places list).

So, how can I add a custom action to a device?

Offline

#2 2013-01-10 18:49:00

Fixxer
Member
From: Sosnowiec/Poland
Registered: 2011-08-29
Posts: 116
Website

Re: Thunar custom actions for devices?

As you might know it's possible in Thunar to add custom actions to the context menu of files/folders/...

If only action you'd like to perform don't need root permissions, all of actions is possible from context menu after adding them to Thunar's context menu.


marcin'82

Offline

#3 2013-01-10 19:26:00

ozzem
Member
Registered: 2010-11-29
Posts: 14

Re: Thunar custom actions for devices?

I wasn't talking about root permissions. I want to create custom actions for the devices (flash drives/partitions) in the side bar.

Offline

#4 2013-01-11 05:28:57

ConnorBehan
Trusted User (TU)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,356
Website

Re: Thunar custom actions for devices?

Edit the source, it's the only way.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2013-01-11 12:18:41

ozzem
Member
Registered: 2010-11-29
Posts: 14

Re: Thunar custom actions for devices?

Well, that's too bad... I guess I'll remove the devices then and keep on using my folders instead. The other way around would be much better:-)

Thank you, Connor.

Offline

#6 2013-01-11 14:21:55

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Thunar custom actions for devices?

If you know their names/paths it should be possible, I just made an UCA for /  - Filesystem under devices.

Offline

#7 2013-01-11 18:30:35

ozzem
Member
Registered: 2010-11-29
Posts: 14

Re: Thunar custom actions for devices?

Yes, I can do that too. But can you also add one to e.g. your CD-drive? If you can, what names/paths did you use?

Offline

Board footer

Powered by FluxBB