Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open file dialog, missing "backspace" #4872

Closed
ghost opened this issue Nov 25, 2015 · 4 comments
Closed

open file dialog, missing "backspace" #4872

ghost opened this issue Nov 25, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2015

In the old gnome2 open file dialog, we could hit "backspace" to traverse upwards the directory tree without using the mouse. It seems that the Cinnamon dialog is missing this functionality.

So this must be a feature request :)

@JosephMcc
Copy link
Contributor

Sorry but this isn't a Cinnamon issue but an issue with Gtk.

@dmatic
Copy link

dmatic commented Jan 7, 2020

As described here, this can be achieved by creating the file ~/.config/gtk-3.0/gtk.css with the following content:

@binding-set MyOwnFilechooserBindings
{
    bind "BackSpace" { "up-folder" () };
}

filechooser
{
    -gtk-key-bindings: MyOwnFilechooserBindings
}

With this fix open file dialog now works with "backspace" key. Fresh mint install should contain this file. I don't know if this is the right place for this proposal, though.

@claudiux
Copy link
Member

claudiux commented Jan 7, 2020

@dmatic Thank you! I updated the file ~/.config/gtk-3.0/gtk.css with these lines (before all other lines) and it works like a charm!

@binding-set MyOwnFilechooserBindings
{
    bind "BackSpace" { "up-folder" () };
}

filechooser
{
    -gtk-key-bindings: MyOwnFilechooserBindings
}

/***** scrollbar slider - cinnamon-settings-generated - do not edit *****/
scrollbar slider {
    min-width: 12px;
    min-height: 12px;
}

The scrollbar slider parameters can always be changed using System Seetings -> Themes -> Settings tab, without any problem.

@clefebvre Is it possible to add this by default when installing and / or updating Cinnamon?

@mtwebster
Copy link
Member

It might be better in /etc/gtk-3.0 - this way it could apply to all users (it could only be placed into a new user's .config folder, not existing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants