Bug 108023

Summary: Support "Sort by..." by keyboard shortcuts: CTRL+[1-4]
Product: [Applications] krusader Reporter: Daniel Hahler <kde-bugzilla>
Component: shortcutsAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: alex.bikadorov, clearmartin, krusader-bugs-null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Hahler 2005-06-23 22:34:56 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Unlisted Binary Package

I'd like to see the behaviour from Total Commander, where you can set the order of the panes by ctrl-f3, ctrl-f4, ctrl-f5, ...

Ctrl-F3 toggles sorting by name, Ctrl-F4 by extension, ... Ctrl-F6 by size, ...

This should be the default shortkeys only of course.

Thank you for a great program!
Comment 1 Thiago Macieira 2005-06-25 20:40:26 UTC
Those shortcuts are taken. Do you have other shortcut suggestions?
Comment 2 Daniel Hahler 2005-06-27 21:57:08 UTC
Do you mean they will get implemented, or are they just not recognized with me? (I'm using version 1.60 by the way).

About other shortcut suggestions (apart from controlling the sorting/order) I don't have any at the moment.
Comment 3 Daniel Hahler 2010-09-23 22:46:26 UTC
Ok, Ctrl-F$NR is taken by "Switch to desktop".

I can see that Meta-1 up to Meta-4 is being used now (at least in my krusaderui.rc file):
  <Action shortcut="Win+2" name="sort_by_extension"/>
  <Action shortcut="Win+4" name="sort_by_modified"/>
  <Action shortcut="Win+1" name="sort_by_name"/>
  <Action shortcut="Win+3" name="sort_by_size"/>
However, this is used as a global shortcut by Amarok to change the rating of the currently playing track (and apparently gets ignored without Amarok not running).

For what it's worth I have now assigned Alt-1 up to Alt-4 to the "Sort by ..." actions.

I think the default should get changed to not interfere with global shortcuts of other (popular) KDE applications.
Comment 4 Daniel Hahler 2010-09-23 22:47:27 UTC
(Using Krusader 2.2.0-beta1 "DeKade" currently.)
Comment 5 Alex Bikadorov 2017-05-29 18:18:19 UTC
CTRL+[1-4] are free. We could use those(?)
Comment 6 Martin Kostolný 2017-05-29 21:49:32 UTC
I agree with this suggestion (Ctrl+[1-4]). Although e.g. on czech keyboard layout without numpad the numbers are accessible only with shift, so it would result to Ctrl+Shift+[1-4] but I still find it i good solution.
Comment 7 Alex Bikadorov 2017-05-31 19:23:20 UTC
Git commit ea3c56540c807f1500f3741a441b4e6323cd61ae by Alexander Bikadorov.
Committed on 30/05/2017 at 13:40.
Pushed by abikadorov into branch 'master'.

UserAction: Changed shortcuts for column sorting from META+[1-4] to CTRL+[1-4]

FIXED: [ 108023 ] Support "Sort by..." by keyboard shortcuts: CTRL+[1-4]

M  +4    -4    krusader/useraction_examples.xml

https://commits.kde.org/krusader/ea3c56540c807f1500f3741a441b4e6323cd61ae