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

Coverflow for alt+tab only (not for super-tab) #176

Closed
kirmaha opened this issue Oct 12, 2022 · 9 comments · Fixed by #180
Closed

Coverflow for alt+tab only (not for super-tab) #176

kirmaha opened this issue Oct 12, 2022 · 9 comments · Fixed by #180

Comments

@kirmaha
Copy link
Contributor

kirmaha commented Oct 12, 2022

Hello,

I would like to use "Coverflow AltTab" extension only for navigating among opened windows (org.gnome.desktop.wm.keybindings switch-windows, alt+tab on my setup), not for navigating among running softwares (org.gnome.settings-daemon.plugins.media-keys switch-applications, super+tab on my setup). It is related to ergonomics :

  • IMO, Coverflow view is super efficient when you need to see the window content, but not when you just want to go from one software to another.
  • My old eyes would be better catching when I'm using between-windows or between-applications switcher if the two views were highly different.

On GNOME 43 (Ubuntu 22.04 LTS), with default settings, the extension activates Coverflow view for both between-windows and between-applications switcher. I didn't find any extension setting related to that behaviour. Is it intentional ?

  1. If so, would it be possible to consider creating an option to alter between-windows view only ?
  2. If not, here's a bug report.

Thank you !

@dsheeler
Copy link
Owner

@kirmaha Thank you for opening this issue. I'm not sure I understand what you're asking. Is it that you want super+tab to not activate coverflow at all?

@kirmaha
Copy link
Contributor Author

kirmaha commented Nov 18, 2022

@dsheeler Thank you for your answer. Yes, exactly ! I would like to activate Coverflow for alt+tab only.
I'm sorry I explained it in a super convoluted way.

@dsheeler
Copy link
Owner

@kirmaha, I apologize. I was not super clear on how the keybindings worked, so I didn't quite get your initial explanation, but I do now! I could make an option for this. Thank you for reporting this issue!

@dsheeler
Copy link
Owner

@kirmaha, could you try this commit: 09e7ddf? I have options to enable/disable switch-windows and switch-applications keybindings, and they seem to work for me.

@kirmaha
Copy link
Contributor Author

kirmaha commented Nov 19, 2022

@dsheeler, thank you so much for working on this ! I would like to try the commit but I'm close to zero dev knowledge :-/ I'm able to edit .po files and pull requests to update them, but I suppose what you're asking is more complex than that ?

@dsheeler
Copy link
Owner

@kirmaha, to try it is pretty simple. Do you usually use a development version or just the official releases? You could try on a fresh clone:

% cd /tmp
% git clone git@github.com:dmo60/CoverflowAltTab.git
% cd CoverflowAltTab
% git checkout 09e7ddff39d0683b51b63ab95525a9e58897c44b
% make

Let me know if you have any problems!

@kirmaha
Copy link
Contributor Author

kirmaha commented Nov 19, 2022

I use the official releases (that I install throught the flatpak Extensions manager).

Thank your for your help ! The second line returned and error (git@github.com: Permission denied (publickey).), but the following works : git clone https://github.com/dmo60/CoverflowAltTab.git.

I'm stuck with the make command, which returns :

$ make
msgfmt --check --output-file=CoverflowAltTab@dmo60.de/locale/fr/LC_MESSAGES/coverflow.mo CoverflowAltTab@dmo60.de/locale/fr/LC_MESSAGES/coverflow.po
make: msgfmt: Aucun fichier ou dossier de ce type
make: *** [Makefile:48 : CoverflowAltTab@dmo60.de/locale/fr/LC_MESSAGES/coverflow.mo] Erreur 127

In English, it means that no folder or file with "msgfmt" type has been found.

@dsheeler
Copy link
Owner

I think you'd need to install a gettext package on your system to get that command.

@kirmaha
Copy link
Contributor Author

kirmaha commented Nov 20, 2022

Indeed, after installing gettext, it works. Just had to figure out that you have to run the command cp -r ... and reboot. Easy indeed, thanks !
Aaaaand... yes, your two options to bind Coverflow to switch-windows and switch-applications do the job. Perfectly ! This is exactly what I was looking for, I'm super happy ! Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants