Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-07-23 02:05:02

fixit
Member
Registered: 2015-01-19
Posts: 129

Separate rename and delete picks in Thunar

As seen in this pic, Delete and Rename are right next to each other.

So I frequently accidentally delete a file instead of renaming it.

Can I change the position of them to where they are more separated?

https://imgur.com/a/Hr0Sptq

Thanks.


Ubuntu-Mate 24.04

Offline

#2 2020-07-23 03:56:12

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

Re: Separate rename and delete picks in Thunar

You could hide the "delete" option (Preferences> Behavior > (uncheck) Show action to permanently delete files and folders) and create a Thunar Custom action to them perform the same function. The custom action will appear in the section below the Rename option, positioned as far away as possible as you like.

The Custom Action could look like:
- Name = Delete
- Description = Permanently delete files
- Command =

zenity --question --title="Remove..." --window-icon="/usr/share/icons/Tango/16x16/actions/edit-delete.png" --text="Do you wish to permanently\nremove the selected file(s)?" ; if [ $? = 0 ] ; then rm -r %F ; fi

- Icon = <your choice>
- Appearance Conditions:
   - File Pattern = *
   - all checkboxes checked

Untitled.png


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 2020-07-24 13:42:38

fixit
Member
Registered: 2015-01-19
Posts: 129

Re: Separate rename and delete picks in Thunar

I do not have that pick in Behavior.

https://imgur.com/a/qRMHEra


Ubuntu-Mate 24.04

Offline

#4 2020-07-24 14:53:44

fixit
Member
Registered: 2015-01-19
Posts: 129

Re: Separate rename and delete picks in Thunar

I am trying to compile Thunar 1.8.2.

I can not figure how to install exo-2.

checking pkg-config is at least version 0.9.0... yes
checking for exo-2 >= 0.12.0... not found
*** The required package exo-2 was not found on your system.
*** Please install exo-2 (atleast version 0.12.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

I get one problem fixed, then some other library etc is missing.

Is there no simple way of installing Thunar 1.8.2?

Last edited by fixit (2020-07-24 15:19:45)


Ubuntu-Mate 24.04

Offline

#5 2020-07-24 16:06:59

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: Separate rename and delete picks in Thunar

You need development library, in Debian based your are using, they are starting with lib and end with -dev.
libexo-2-dev    (lib exo-2 -dev)


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#6 2020-07-24 18:47:33

fixit
Member
Registered: 2015-01-19
Posts: 129

Re: Separate rename and delete picks in Thunar

Thanks, I have got the newest version installed.


Ubuntu-Mate 24.04

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.023 seconds, 8 queries executed - Memory usage: 535.35 KiB (Peak: 536.2 KiB) ]