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

nautilus go up folder cmd + up doesnt work #118

Closed
medyagh opened this issue Apr 20, 2020 · 6 comments
Closed

nautilus go up folder cmd + up doesnt work #118

medyagh opened this issue Apr 20, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@medyagh
Copy link

medyagh commented Apr 20, 2020

on ubuntu 20.04 inside nautilus the alt or cmd arrows do not work to navigate up or down

Screenshot from 2020-04-19 16-58-17

could be a regression of this issue ? #2

@medyagh medyagh added the bug Something isn't working label Apr 20, 2020
@rbreaves
Copy link
Owner

I assume keeping it in the cmd key position would be the preferred option? If macs Finder has an equivalent I'd use that, but not sure if they do.

@medyagh
Copy link
Author

medyagh commented Apr 21, 2020

currently none of them work on ubuntu with kinto,
niether alt arrow or cmd arrow or ctrl arrow

my preference would be cmd UP for go up
and cmd left for go back

@rbreaves
Copy link
Owner

Ok, I will look at adding it tomorrow or you can also just checkout the latest and new alpha branch and install the xkeysnail version of kinto.

git pull
git checkout alpha
./xkeysnail_service.sh

That will replace the xkb/kintox11 version of Kinto and you can also add new keymaps in this file here.

~/.config/kinto/kinto.py

Also the new service can be controlled via this

sudo systemctl start xkeysnail
sudo systemctl status xkeysnail
sudo systemctl stop xkeysnail

# monitor
journalctl -l --unit=xkeysnail.service -b

If you want to see more output just stop the service then run the config directly.

sudo systemctl stop xkeysnail
sudo xkeysnail --watch ~/.config/kinto/kinto.py

@rbreaves
Copy link
Owner

@medyagh I haven't forgot about you. I got most of the xkeysnail implementation worked out and up on the dev branch now. I will probably take a look at this ticket and a few others in the coming days, but you can also make a PR if you want.

xkeysnail makes adding the desired hotkeys you want a snap, once you know the wm_class name. (aka use xprop --spy or something similar) and then update the ./xkeysnail-config/kinto.py file. Info is in the readme on the dev branch as well.

# Keybindings for Sublime Text
define_keymap(re.compile("Sublime_text"),{
    K("C-h"): pass_through_key,          # cancel replace
    K("C-M-f"): K("C-h"),                # replace
    K("C-M-v"): [K("C-k"), K("C-v")],    # paste_from_history
}

@rbreaves
Copy link
Owner

rbreaves commented Apr 27, 2020

Also to note nautilus keymaps would either supersede wordwise outright or need to be added in a way that allows for both wordwise and nautilus keymaps, so it could actually be a more difficult keymap to implement than I first assumed, but not that hard at all. Modifications to kinto.py and caret_status_xkey.sh is probably all that it needs.

I would think your Super key or Alt key on a mac keyboard would still function though, so the middle key rather, even with no keymap, but my preference would be to bring it back to the Cmd key position normally and keep wordwise.

@rbreaves
Copy link
Owner

Closing. I don't think wordwise is that important for Nautilus so I am going to call this done.

Besides that I am not yet happy with the dynamic wordwise solution for the browsers as it sometimes causes modifier keys to stick after browser usage (all depends on timing). I will likely need to integrate it into a custom fork of xkeysnail. I doubt I will package it in a way that make it into the actual program as it is a niche feature I don't think anyone else would want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants