You are not logged in.

#1 2011-04-10 13:39:25

igallart
Member
Registered: 2009-12-20
Posts: 61

I can not delete with the delete key in Gnome 3

After update gnome 2 to gnome 3, the key delete no erase files, I have that click button right and move to trash.

Offline

#2 2011-04-10 13:54:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: I can not delete with the delete key in Gnome 3

Moving to [testing]


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-04-10 14:19:58

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: I can not delete with the delete key in Gnome 3

ctrl+del

i'm not sure if is supposed to be like that.


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-04-10 14:22:11

igallart
Member
Registered: 2009-12-20
Posts: 61

Re: I can not delete with the delete key in Gnome 3

wonder wrote:

ctrl+del

i'm not sure if is supposed to be like that.

Thanks, it work, but only with the key delete how in gnome 2.32 not is posible?

Offline

#5 2011-04-10 16:54:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,622

Re: I can not delete with the delete key in Gnome 3

It seems like there is too much hardware with only one button for backspace and delete. I once had a discussion with a mac user, he insisted that the delete key is totally useless. For me it's the other way round.

However, until a clean solution appears, you might want to swap the behavior with xmodmap.

Offline

#6 2011-04-11 02:00:48

kryo
Member
Registered: 2004-04-13
Posts: 40

Re: I can not delete with the delete key in Gnome 3

Hi.

Quick fix:
Run dconf-editor, and open:
org -> gnome -> desktop -> interface
Enable "can-change-accels".

Open nautilus, select any file/directory, then click "Edit" from menubar, and hover on "Move to Trash" menuitem.
While hovering, click on your delete key. The accel should change from "cntrl+del" to "del".

Make sure you have selected a file, else the "Move to Trash" menuitem will be greyed out.

I suggest you disable "can-change-accels" afterwards, to prevent accidental accel changes.

Offline

#7 2011-04-14 21:38:35

igallart
Member
Registered: 2009-12-20
Posts: 61

Re: I can not delete with the delete key in Gnome 3

kryo wrote:

Hi.

Quick fix:
Run dconf-editor, and open:
org -> gnome -> desktop -> interface
Enable "can-change-accels".

Open nautilus, select any file/directory, then click "Edit" from menubar, and hover on "Move to Trash" menuitem.
While hovering, click on your delete key. The accel should change from "cntrl+del" to "del".

Make sure you have selected a file, else the "Move to Trash" menuitem will be greyed out.

I suggest you disable "can-change-accels" afterwards, to prevent accidental accel changes.

Thanks, it worked!

Offline

#8 2011-04-15 19:21:42

cahr_g
Member
Registered: 2009-09-24
Posts: 35

Re: I can not delete with the delete key in Gnome 3

thaks, kryo

Offline

#9 2011-06-19 18:14:34

crocowhile
Member
Registered: 2009-10-18
Posts: 60

Re: I can not delete with the delete key in Gnome 3

Ops. I am responsible for the new behaviour actually.
Here is the whole story: http://gilest.ro/2011/patches-for-nauti … trash-bug/
Good to know there's a quick workaround for those who prefer the error-prone delete-alone.

Offline

#10 2011-08-14 21:18:41

AMA
Member
Registered: 2009-05-03
Posts: 46

Re: I can not delete with the delete key in Gnome 3

Hello,

I did this trick works fine but ctrl+key keeps reshowing up when i quit nautilus and re-open it. Another guy has the same issue here:
http://forums.fedoraforum.org/showpost. … ostcount=9
but still no solution found.

Any suggestions? There must be one natuilus config file to edit. THanks.

Offline

#11 2011-08-30 14:49:17

user109396
Member
Registered: 2011-08-30
Posts: 4

Re: I can not delete with the delete key in Gnome 3

AMA wrote:

Hello,

I did this trick works fine but ctrl+key keeps reshowing up when i quit nautilus and re-open it. Another guy has the same issue here:
http://forums.fedoraforum.org/showpost. … ostcount=9
but still no solution found.

Any suggestions? There must be one natuilus config file to edit. THanks.

Try to create an empty folder ~/.gnome2/accels
It worked for me.

Offline

#12 2011-08-30 21:37:44

AMA
Member
Registered: 2009-05-03
Posts: 46

Re: I can not delete with the delete key in Gnome 3

Worked for me too ! thanks.

Offline

#13 2011-09-27 09:14:32

Occi
Member
From: Norway
Registered: 2011-09-18
Posts: 24
Website

Re: I can not delete with the delete key in Gnome 3

kryo wrote:

Hi.
<protip>

Thanks a bunch, was annoying the shit out of me, I actually was wondering if I didn't even have a trash bin before I figured I could just check with the go-menu. Though, I still got the errorish sound which is standard for gnome 3 when pushing delete (since it's originally not working out), but it's not that big of a deal.

Offline

#14 2011-11-12 11:58:24

picrard
Member
Registered: 2011-11-11
Posts: 2
Website

Re: I can not delete with the delete key in Gnome 3

Yes, thank you, it has helped me, too


???

Offline

#15 2012-02-13 20:10:26

onus
Member
Registered: 2012-02-09
Posts: 4

Re: I can not delete with the delete key in Gnome 3

crocowhile wrote:

Ops. I am responsible for the new behaviour actually.
Here is the whole story: http://gilest.ro/2011/patches-for-nauti … trash-bug/
Good to know there's a quick workaround for those who prefer the error-prone delete-alone.

gee thanks crocowhile.... ever hear: if it ain't broke dont fix it. *shakes head*

best of all this work around aint working for me. so im stuck with your solution... when there wasnt even a problem to beguin with.

le sigh, w/e

Offline

#16 2012-03-04 10:13:57

amatriain
Member
Registered: 2011-06-02
Posts: 51

Re: I can not delete with the delete key in Gnome 3

@crocowhile: bad, bad idea. I can't understand how your patch has been accepted as the default behavior. The amount of results you get when googling "nautilus del key not working" should tell you that your solution is actually a problem for most people. The way it was before was fine, and the current default behavior breaks the principle of least surprise for users.

Same as @onus, I find that even when setting can-change-accels to true I can't actually change the keybindings. Nautilus just ignores me and keeps the ctrl+del accel. Any other way around this bug?

EDIT: I found a way to change the keybinding that works for me here:

https://wiki.archlinux.org/index.php/GN … cels_fails

I still don't know why the can-change-accels method doesn't work for some people, I've found no bug reports about it.

Last edited by amatriain (2012-03-04 10:26:23)

Offline

#17 2012-08-13 18:36:34

ryzion
Member
Registered: 2012-03-20
Posts: 95

Re: I can not delete with the delete key in Gnome 3

This wont work for me. (Nautilus 3.4.2) Tried to change it in the gnome2 dir, no chance.

Offline

#18 2012-09-18 16:55:14

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: I can not delete with the delete key in Gnome 3

Just installed a fresh copy of Arch and added Gnome-shell to it, only to come across this problem (which wasn't an issue - but now is!)

Default behaviour should be as it was:
- Del key = move to waste basket
- SHIFT+Del = delete permanently

This works because SHIFT+Del is not an easy combination to hit (therefore not so easy to completely delete your data), while Del is a quick and simple action.
The result of accidentally hitting Del is a non-issue - that is what a waste basket is for! , data can be recovered if deleted by accident from the waste basket.

@Crocowhile - it is simply your routine of using/checking waste basket that needs resolved, not implementing a non-fix into a working system/setup

Offline

#19 2013-04-25 08:02:51

dmoebius
Member
Registered: 2013-04-05
Posts: 8

Re: I can not delete with the delete key in Gnome 3

kryo wrote:

Hi.

Quick fix:
Run dconf-editor, and open:
org -> gnome -> desktop -> interface
Enable "can-change-accels".

Open nautilus, select any file/directory, then click "Edit" from menubar, and hover on "Move to Trash" menuitem.
While hovering, click on your delete key. The accel should change from "cntrl+del" to "del".

This workaround no longer works in Gnome 3.8, because there's no such menuitem anymore. There isn't even a menu.

Offline

#20 2013-04-25 08:13:14

dmoebius
Member
Registered: 2013-04-05
Posts: 8

Re: I can not delete with the delete key in Gnome 3

Here's a solution that works:

edit ~/.config/nautilus/accels, search for the line:

; (gtk_accel_path "<Actions>/DirViewActions/Trash" "<Primary>Delete")

uncomment and change to:

(gtk_accel_path "<Actions>/DirViewActions/Trash" "Delete")

(source)

Offline

#21 2013-04-25 12:34:14

D4ve
Member
Registered: 2012-08-02
Posts: 209

Re: I can not delete with the delete key in Gnome 3

Are there any side-effects with this solution?

Offline

#22 2013-04-25 12:42:02

dmoebius
Member
Registered: 2013-04-05
Posts: 8

Re: I can not delete with the delete key in Gnome 3

D4ve wrote:

Are there any side-effects with this solution?

No this just changes the shortcuts.

Offline

#23 2013-04-25 12:43:15

D4ve
Member
Registered: 2012-08-02
Posts: 209

Re: I can not delete with the delete key in Gnome 3

dmoebius wrote:
D4ve wrote:

Are there any side-effects with this solution?

No this just changes the shortcuts.

Jep, tested it. With the old solution sometime there was an error (like: If you wanted to rename a file/folder and pressed the del-key, the file/folder was deleted)

Offline

#24 2013-04-25 15:12:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: I can not delete with the delete key in Gnome 3

dmoebius wrote:

This workaround no longer works in Gnome 3.8, because there's no such menuitem anymore. There isn't even a menu.

Obviously it doesn't work in Gnome3.8. This thread was started a while back and so what worked back then may or may not anymore. That's the nature of rolling release.

And that's why we disallow necrobumping threads, which is what you are guilty of.


Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB