Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-05-18 13:48:46

steph(an)
Member
Registered: 2011-05-18
Posts: 3

[Solved] How to remove old custom commands from Thunar?

Hello all.

Does anyone know how I can remove old custom commands that clutter up the 'Open with' dialog in Thunar?

Thanks.

Offline

#2 2011-05-18 14:20:12

ComputerBob
Member
From: The Sunshine State
Registered: 2010-02-23
Posts: 76
Website

Re: [Solved] How to remove old custom commands from Thunar?

Thunar custom actions are stored in ~/.config/Thunar/uca.xml so you could just delete that file if you wanted to remove all of them.

I haven't tried it, but I'm guessing that you could also edit that file if you wanted to remove specific custom actions.


ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 22 Million Views
My Ministry
Help! (off-topic)

Offline

#3 2011-05-18 14:36:13

steph(an)
Member
Registered: 2011-05-18
Posts: 3

Re: [Solved] How to remove old custom commands from Thunar?

Thanks for getting back to me so quickly.

I don't have a uca.xml file. I've grepped all files in .config/Thunar/ and none of them mention my old commands. After testing, it seems that the uca.xml file is added when you add a command via 'Edit' -> 'Configure custom actions'.

Instead, I added the commands by right clicking on a file, then going 'Open with' -> 'Open With Other Application' and then 'Use a custom command'. It took a few attempts to get the command right and now all the old variations are showing up in the 'Open With' dialog (all with the same name).

Offline

#4 2011-05-18 15:31:19

steph(an)
Member
Registered: 2011-05-18
Posts: 3

Re: [Solved] How to remove old custom commands from Thunar?

Found them.

They were in .local/share/applications with file names like userapp-gvim-MYKXVV.desktop, each of which was referenced in mimeapps.list and some in mimeinfo.cache.

(gvim being the command I was adding)

Last edited by steph(an) (2011-05-18 15:31:40)

Offline

#5 2011-05-18 16:02:47

ComputerBob
Member
From: The Sunshine State
Registered: 2010-02-23
Posts: 76
Website

Re: [Solved] How to remove old custom commands from Thunar?

Just to clarify, did you delete the appropriate .desktop files and then also remove the references to those files from mimeapps.list?


ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 22 Million Views
My Ministry
Help! (off-topic)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 533.77 KiB (Peak: 534.61 KiB) ]