Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-08-14 20:49:34

Gerryman
Member
From: Califusion
Registered: 2012-03-23
Posts: 15

[Solved] Thunar - right click view hidden files

I've been searching and searching but can't find a solution for this. I know I can view hidden files (and folders) by Ctrl+H. But I want a right-click context menu item for this action. I've tried creating a custom action using the command "ls -a", but I can't get it to work. I even created a shell script in ~/bin, and called that from the custom action, but that doesn't work either. How do I create a custom action to show the hidden files?

Thanks


Lenovo X140e 11.6" Netbook; AMD A4 64bit CPU, 4GB DDR3 RAM, 500 GB HDD;
AMD 64bit CPU, ASUS MB, 12MB RAM - Homemade Desktop
Xubuntu - Homemade desktop; UbuntuStudio - Lenovo X140e

Offline

#2 2014-08-14 21:42:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: [Solved] Thunar - right click view hidden files

xdotool is a command line X automation tool that you can use to generate, in this case, key presses. You can use this utility to accomplish what you are trying to do.

Create a custom action called "Toggle Hidden Files" with the following command:

xdotool key "ctrl+h"

...and check all of the checkboxes on the Appearance Conditions tab.

Note: you'll have to have xdotool installed.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2014-08-14 21:51:43

Gerryman
Member
From: Califusion
Registered: 2012-03-23
Posts: 15

Re: [Solved] Thunar - right click view hidden files

Thanks, ToZ, works like a champ. Life can go on now. smile

Much appreciated!


GM


Lenovo X140e 11.6" Netbook; AMD A4 64bit CPU, 4GB DDR3 RAM, 500 GB HDD;
AMD 64bit CPU, ASUS MB, 12MB RAM - Homemade Desktop
Xubuntu - Homemade desktop; UbuntuStudio - Lenovo X140e

Offline

#4 2017-03-13 07:50:01

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 156

Re: [Solved] Thunar - right click view hidden files

Thank you! Was missing that feature coming over from dolphin ...

br

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 524.33 KiB (Peak: 529.41 KiB) ]