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
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,516

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.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

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
Registered: 2017-02-18
Posts: 18

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

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

br

Offline

Board footer

Powered by FluxBB