Talk:GNOME/Tips and tricks

From ArchWiki
(Redirected from Talk:GNOME tips)
Latest comment: 23 July 2023 by Zumoshi in topic Section 1.5 doesn't work on Nautilus 43+

Enable Right Alt in Gnome

Problem: Evolution Ctrl-Alt-A when using right Alt does not work. It only works when using left Alt.

I followed steps outlined in https://bbs.archlinux.org/viewtopic.php?id=257649 by expye.

I opened dconf-editor and navigated to /org/gnome/desktop/input-sources/xkb-options. I observed that setting 'lv3:ralt_switch' was set under "List of XKB Options". UI indicated that default option is an empty array. I enabled default value and applied it.

I restarted Evolution to be certain. Left Alt started to work after that.

It would be nice to know what config file set this option in my system. I am running Gnome as my desktop environment.

—This unsigned comment is by Kulak (talk) 2022-05-02T19:17:54. Please sign your posts with ~~~~!

Section 1.5 doesn't work on Nautilus 43+

 Traceback (most recent call last):
   File "/home/.../.local/share/nautilus-python/extensions/modify_keybindings.py", line 2, in <module>
     gi.require_version('Nautilus', '3.0')
   File "/usr/lib/python3.11/site-packages/gi/__init__.py", line 117, in require_version
     raise ValueError('Namespace %s is already loaded with version %s' %
 ValueError: Namespace Nautilus is already loaded with version 4.0

If changed to namespace 4 it complains about removal of Nautilus.LocationWidgetProvider

 Traceback (most recent call last):
   File "/home/.../.local/share/nautilus-python/extensions/modify_keybindings.py", line 14, in <module>
     class BackspaceBack(GObject.GObject, Nautilus.LocationWidgetProvider):
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3.11/site-packages/gi/module.py", line 126, in __getattr__
     raise AttributeError("%r object has no attribute %r" % (
 AttributeError: 'gi.repository.Nautilus' object has no attribute 'LocationWidgetProvider'

Should an updated version be replaced or at least a banner that warns about outdated info?

I tested this script and it works as a possible replacement.

—This unsigned comment is by Zumoshi (talk) 09:46, 23 July 2023 (UTC). Please sign your posts with ~~~~!Reply[reply]