Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

It would be great If shift-delete just permanently deleted

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 467
Joined: Sun Dec 23, 2018 7:07 pm

It would be great If shift-delete just permanently deleted

#1

Post by Sparky » Thu Jan 31, 2019 8:15 am

Instead of asking you If you are sure. Why would I have clicked on the shift button If I wasn't sure, it's just an extra unnecessary step IMO.
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25344
Joined: Wed Jul 19, 2006 6:13 am

Re: It would be great If shift-delete just permanently deleted

#2

Post by Jerry3904 » Thu Jan 31, 2019 8:41 am

That's been complained about for a very long time on the Xfce Forum, and it would apparently require recompiling Thunar from source. If you want to try that yourself, this might be a good place to start:

https://askubuntu.com/questions/337225/ ... -in-thunar
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

skidoo
Forum Guide
Forum Guide
Posts: 1446
Joined: Tue Sep 22, 2015 6:56 pm

Re: It would be great If shift-delete just permanently deleted

#3

Post by skidoo » Thu Jan 31, 2019 5:12 pm

FWIW, the section of code you would need to edit lies within thunar-application.c::thunar_application_unlink_files()
/thunar-application.c#L2147
Why would I have clicked on the shift button If I wasn't sure
because I'm a fat-fingered, sometimes overcaffeinated, sometimes zeepy, keyboard-pounding monkey

Rawr !

:lion:

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 467
Joined: Sun Dec 23, 2018 7:07 pm

Re: It would be great If shift-delete just permanently deleted

#4

Post by Sparky » Thu Jan 31, 2019 5:19 pm

skidoo wrote:
Thu Jan 31, 2019 5:12 pm
FWIW, the section of code you would need to edit lies within thunar-application.c::thunar_application_unlink_files()
/thunar-application.c#L2147
I'm too worried about changing code myself. And what happened if it updates? Does it update to my non coded version?
I'm assuming these things are extremely time laborious for admins/maintainers, I just wish I could do something to help out.
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 467
Joined: Sun Dec 23, 2018 7:07 pm

Re: It would be great If shift-delete just permanently deleted

#5

Post by Sparky » Thu Jan 31, 2019 5:47 pm

skidoo wrote:
Thu Jan 31, 2019 5:12 pm
FWIW, the section of code you would need to edit lies within thunar-application.c::thunar_application_unlink_files()
/thunar-application.c#L2147
Why would I have clicked on the shift button If I wasn't sure
because I'm a fat-fingered, sometimes overcaffeinated, sometimes zeepy, keyboard-pounding monkey

Rawr !

:lion:
Wait. Maybe I'm making this more difficult than it has to be. You are saying If I follow those guidelines I can do it?
I mean, I could just use copy and paste. I've got nothing to lose right? It's not gonna mess up my thunar?
I think I'll do it then.
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1748
Joined: Sat Jun 30, 2018 6:33 pm

Re: It would be great If shift-delete just permanently deleted

#6

Post by manyroads » Thu Jan 31, 2019 8:01 pm

You can do all sorts of things to make Delete be 'forever'. :alien: I add a Thunar Custom Action for that... but you can map a keyboard short-cut or even melt your PC. :lipsrsealed:
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 467
Joined: Sun Dec 23, 2018 7:07 pm

Re: It would be great If shift-delete just permanently deleted

#7

Post by Sparky » Thu Jan 31, 2019 8:05 pm

manyroads wrote:
Thu Jan 31, 2019 8:01 pm
You can do all sorts of things to make Delete be 'forever'. :alien: I add a Thunar Custom Action for that... but you can map a keyboard short-cut or even melt your PC. :lipsrsealed:
Still learning. I am consuming the info relatively fast.
For example, you are 87% more probable than the average person to be using Arch/Manjaro.
All I did was scrape your user data ;)
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
handy
Forum Regular
Forum Regular
Posts: 326
Joined: Mon Apr 23, 2018 2:00 pm

Re: It would be great If shift-delete just permanently deleted

#8

Post by handy » Thu Jan 31, 2019 8:09 pm

@Sparky, if you change the code, just keep notes on exactly what you had to do, with line numbers & such. It should really be quite easy to make the changes any time you need to in the future after that.

Probably just as simple as cut, paste, save & compile. :)
Clevo N'book (2014): P150SM-A
CPU: i7-4810MQ (Haswell) Speed: 2800/3800 MHz
RAM: 16 GiB 1600 MHz DDR3
GPU-1: i915
GPU-2: NVIDIA GK104M [GeForce GTX 880M] vRAM: 8GB 2500 Mhz DDR5
Storage: TOSHIBA 931.51 GiB. HGST 931.51 GiB. Crucial 223.57 GiB (M.2 SSD)

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1748
Joined: Sat Jun 30, 2018 6:33 pm

Re: It would be great If shift-delete just permanently deleted

#9

Post by manyroads » Thu Jan 31, 2019 8:15 pm

Sparky wrote:
Thu Jan 31, 2019 8:05 pm

Still learning. I am consuming the info relatively fast.
For example, you are 87% more probable than the average person to be using Arch/Manjaro.
All I did was scrape your user data ;)
Yes, I did use manjaro for years... as have others here. :bagoverhead:
Last edited by manyroads on Thu Jan 31, 2019 8:37 pm, edited 1 time in total.
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 467
Joined: Sun Dec 23, 2018 7:07 pm

Re: It would be great If shift-delete just permanently deleted

#10

Post by Sparky » Thu Jan 31, 2019 8:19 pm

manyroads wrote:
Thu Jan 31, 2019 8:15 pm
Sparky wrote:
Thu Jan 31, 2019 8:05 pm
manyroads wrote:
Thu Jan 31, 2019 8:01 pm
Still learning. I am consuming the info relatively fast.
For example, you are 87% more probable than the average person to be using Arch/Manjaro.
All I did was scrape your user data ;)
Yes, I did use manjaro for years... as have others here. :bagoverhead:
Sorry, that isn't intended as a negative. You just bring more to the table!
Respect you man!
MX Linux Asus F552, 12GB RAM, 1TB HDD

Post Reply

Return to “General”