GNOME Bugzilla – Bug 767278
Ctrl+1 and Ctrl+2 View Change Hot Keys / Accelerators Don't Work
Last modified: 2016-06-11 05:44:09 UTC
In Nautilus 3.20 try to change the view of the current folder using hotkeys Ctrl + 1 or Ctrl + 2 to switch between Icon and List View, neither work. Notice in Nautilus 3.18 how they work just fine. I consider this a critical workflow issue as it disrupts advanced dedicated users workflow
What keyboard layout do you use? It is most likely the culprit, because the accels are present and operational in 3.20.1.
Created attachment 329248 [details] Region, Language, Input
@Ernestas Kulik - See Attached Image above. Does that contain my keyboard information? As far as I know it looks like EN_US
Also, here's the output from Arch CLI ➜ ~ localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: n/a
Do you mind running nautilus with GTK_DEBUG=keybindings, trying to trigger the accelerators and uploading the output? I am trying whatever I can to reproduce, but nothing is working.
what distribution and version of distribution?
Are you using 3.20.1? We included a fix there https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-20&id=c8250f10ed3eae85dd5ab6acc8b9a9abcdc3972d
Feel free to reopen if this really is a separate issue. *** This bug has been marked as a duplicate of bug 764167 ***
@Ernestas Kulik - Here's the output you requested -------------------- ➜ ~ nautilus / GTK_DEBUG=keybindings ** Message: Initializing gksu extension... sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. /usr/share/nautilus-python/extensions/nautilus-admin.py:18: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded. from gi.repository import Nautilus, GObject, GConf, Gtk, GLib Initializing ownCloud-client-nautilus extension Socket: /run/user/1000/ownCloud/socket <=> /ownCloud/socket Socket File: /run/user/1000/ownCloud/socket Setting connected to True. Socket watch id: 9 (nautilus:32046): Gtk-WARNING **: Theme directory actions/48 of theme breeze-dark has no size field (nautilus:32046): Gtk-WARNING **: Theme directory categories/16 of theme breeze-dark has no size field (nautilus:32046): Gtk-WARNING **: Theme directory categories/22 of theme breeze-dark has no size field (nautilus:32046): Gtk-WARNING **: Theme directory categories/48 of theme breeze-dark has no size field (nautilus:32046): Gtk-WARNING **: Theme directory devices/48 of theme breeze-dark has no size field (nautilus:32046): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: The resource at '/org/gnome/libgd/tagged-entry/default.css' does not exist Server response: REGISTER_PATH:/Genesis/Profiles/ElectricPrism/ownCloud Server response: STATUS:OK:/Genesis/Profiles/ElectricPrism/ownCloud (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>1' tries to invoke action 'slot.files-view-mode' with target '1', but action expects parameter with type 'u' (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>2' tries to invoke action 'slot.files-view-mode' with target '0', but action expects parameter with type 'u' ➜ -------------------- ➜ ~ nautilus --version ** Message: Initializing gksu extension... sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. /usr/share/nautilus-python/extensions/nautilus-admin.py:18: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded. from gi.repository import Nautilus, GObject, GConf, Gtk, GLib Initializing ownCloud-client-nautilus extension Socket: /run/user/1000/ownCloud/socket <=> /ownCloud/socket Socket File: /run/user/1000/ownCloud/socket Setting connected to True. Socket watch id: 9 GNOME nautilus 3.20.0 Server response: REGISTER_PATH:/Genesis/Profiles/ElectricPrism/ownCloud Server response: STATUS:OK:/Genesis/Profiles/ElectricPrism/ownCloud ➜ ~
➜ ~ screenfetch -` .o+` electricprism@citadel `ooo/ OS: Arch Linux `+oooo: Kernel: x86_64 Linux 4.5.4-1-ARCH `+oooooo: Uptime: 15h 50m -+oooooo+: Packages: 2033 `/:-:++oooo+: Shell: zsh 5.2 `/++++/+++++++: Resolution: 1920x1080 `/++++++++++++++: DE: Gnome `/+++ooooooooooooo/` WM: GNOME Shell ./ooosssso++osssssso+` WM Theme: Adwaita .oossssso-````/ossssss+` GTK Theme: Adwaita [GTK2/3] -osssssso. :ssssssso. Icon Theme: breeze-dark :osssssss/ osssso+++. Font: Droid Sans 11 /ossssssss/ +ssssooo/- CPU: Intel Core i7-6700K CPU @ 4.2GHz `/ossssso+/:- -:/+osssso+- GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) `+sso+:-` `.-/+oso: RAM: 6010MiB / 15937MiB `++:. `-/+/ .` `/
(In reply to Electric Prism from comment #9) > (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>1' tries to invoke > action 'slot.files-view-mode' with target '1', but action expects parameter > with type 'u' > > (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>2' tries to invoke > action 'slot.files-view-mode' with target '0', but action expects parameter > with type 'u' > > GNOME nautilus 3.20.0 That confirms our suspicions. There is definitely an update with a fix available.