Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to use the "BackSpace" button as a shortcut key on nautilus. I want to return to the previous folder whilst browsing the Home folder, just like windows 7.

Also I want the same thing while using Firefox, In a way that when I press the shortcut key I will return to the previous web page.

share|improve this question

3 Answers

For Firefox and Nautilus: You can use Alt+ to go back instead of Backspace.

For nautilus 3.6 to bring backspace functionality you need to add this:

 (gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")

under

~/.config/nautilus/accels

And then restart nautilus by

nautilus -q or killall nautilus

In Thunar you have to add

(gtk_accel_path "<Actions>/ThunarWindow/open-parent" "BackSpace")

to

~/.config/Thunar/accels.scm
share|improve this answer
Does it work for you? ; (gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace") For me, its not working. – thefourtheye May 2 at 13:00
Sorry, i updated my answer. – Achu May 2 at 13:11
I restarted :( It still is not responding to BackSpace. I think it is not referring that file. Because, even after changing that file, I am able to use Alt + Up – thefourtheye May 2 at 13:14
Please remove the comment. this one -> ; use only (gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace") – Achu May 2 at 13:15
Aaah... How could I miss that. Spent two hours this morning. I didnt uncomment. :( Thanks @Achu :) – thefourtheye May 2 at 13:17
show 6 more comments

for thunar

Just as I thought, I should have written backspace in a different way. This is how I tried:

(gtk_accel_path "<Actions>/ThunarWindow/open-parent" "BackSpace")

And it worked.

share|improve this answer
Still gice the following error: ("syntax error near unexpected token `gtk_accel_path'" – Tareq May 6 at 6:43
@Tareq: Are you using Thunar or Nautilus? Ubuntu comes with Nautilus by default... – Lawand May 13 at 11:06
I am using Nautilus. – Tareq May 14 at 15:54
@Tareq: well, what I wrote is for Thunar... Did you try Achu's answer?: askubuntu.com/a/289540/815 – Lawand May 14 at 20:15
Yes, But it didn't work, I don't know how to make the addition, or how to write on the Read-Only file (accels). – Tareq May 17 at 9:27
show 1 more comment

For Firefox

Open firefox, type in about:config in address bar, press enter

Search backspace, should return 1 entry, browser.backspace_action

Right click on the value > modify & change from 2 to 0

share|improve this answer
thanks @doug... – Mr. Black 2 days ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.