rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.24k stars 212 forks source link

Does Kinto.sh work for Centos 7? #812

Open va-bo-101 opened 1 year ago

va-bo-101 commented 1 year ago

Describe the bug I used the quick install method install to kinto.sh on centos. Installation seemed successful, with no error messages. But I didn't see any pop up with agree button or even an app indicator. But I do see a Kinto.sh app in the Applications/Accessories, which doesn't respond when I try to open it. I don't see any change in the key mappings when I used my mac keyboard on Centos installed via the parallels Desktop VM.

Expected behavior Work as expected

Install Type: BVM Distro: Centos 7 DE: Gnome Version 3.28.2 Branch: master Commit: 1.2-13 build 99a8566

Logs and status if relevant

# xkeysnail
sudo systemctl status xkeysnail
sudo journalctl --unit=xkeysnail.service -b

# xkb
systemctl --user status keyswap
journalctl --user-unit=keyswap.service -b

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

RedBearAK commented 1 year ago

(I'm not the Kinto dev.)

You can try to run the GUI or tray icon files directly in a terminal to see what it complains about. Most likely there are some prerequisites missing.

They are just Python files, and are located in ~/.config/kinto.

~/.config/kinto/gui/kinto-gui.py
~/.config/kinto/kintotray.py

They should be marked executable, so they will run if you just type the lines above and hit Enter. Google the error messages that come up to see what packages might be missing to allow them to run.

va-bo-101 commented 11 months ago

Installed gnome-macos-remap as an alternative for now. Readme here : https://github.com/petrstepanov/gnome-macos-remap/blob/master/README.md

RedBearAK commented 11 months ago

Installed gnome-macos-remap as an alternative for now.

@vamsibokam

That alternative looks interesting, but seems to have mostly limited general purpose remaps. The Kinto remaps are far more extensive for different app groups and specific apps.

I haven't tested CentOS 7 yet, but my Kinto alternative Toshy installs OK on RHEL/AlmaLinux/Rocky Linux 9.2, so it might work if you use --override-distro=almalinux with the Toshy installer.

https://toshy.app

That redirects to:

https://github.com/RedBearAK/toshy

RedBearAK commented 11 months ago

@vamsibokam

I was wrong, Toshy currently won't install on CentOS 7. A fresh install of CentOS doesn't even have Python 3.x installed, and I haven't yet gotten familiar with the tools to update the system. It's very different from a current RHEL version using DNF.

Might work at some point, but right now it won't.

RedBearAK commented 11 months ago

@vamsibokam

Toshy installer now works on CentOS 7, with the following caveats:

Otherwise, it seems to be working fine. I even managed to catch and fix some bugs in the keymapper that were caused by some bad behavior of the KDE 4.x app launcher menu. (I was testing in KDE, but Toshy should work with most desktop environments or window managers that can be installed on CentOS 7.)

If you want to try it you can install from this zip file based on the working development branch:

toshy-centos7_support.zip

This should all be merged into the main branch along with some other things pretty soon.

If you install Toshy you basically get the Kinto config plus some bonus features. Report any issues on the Toshy repo:

https://github.com/RedBearAK/toshy/issues

va-bo-101 commented 11 months ago

Thank you @RedBearAK. Let me try and get back if there are any issues.

RedBearAK commented 11 months ago

Just merged in some changes to Toshy to also support installing on CentOS Stream 8. Because why not.

CentOS Stream 8 has a super old GNOME, so a Wayland+GNOME session is unfortunately not going to work. But it will work with X11/Xorg sessions the way it usually does.

I suspect there won't be any difficulty installing Toshy on CentOS Stream 9, since it should be very similar to RHEL 9 and the RHEL 9 clones, which all work fine. I'll probably try it out this weekend.

RedBearAK commented 11 months ago

The tweaks necessary to make sure it can install on CentOS Stream 9 are merged into Toshy's main branch now.

https://github.com/RedBearAK/toshy