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
Add/fix missing keyboard shortcuts #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct, but I don't know how to test this offhand.
@jackpot51 what does the :pop
do in this file? Does that only apply the override to the pop
session or something?
Yep. The override is only added in the pop session. |
One potential issue - |
@jackpot51 Ah yeah, I remember our ideal was being able to add both keys. If that's not supported, then I'm not sure. We should probably leave it working for the dedicated key… |
Good catch @jackpot51. I did write over the 'Home' key. Oddly the values for media keys are strings and not string arrays so I can't add a second option. Going to play with the custom shortcuts for media keys to enable both to work. |
So it looks like I can make a custom shortcuts by running:
So I would do that and remove the changes I made to pop-session.gsettings-override for this shortcut. Now I just need to figure out where to put that. |
Ah, I probably should update the changelog as well, shouldn't I?! |
I don't think the custom shortcut is going to work |
It doesn't :( |
Alright so I've reverted all of the Files shortcut code. Discussing offline with @jackpot51 and @cassidyjames , we are going to remove Super+f (expected) functionality to let the file browser button work on certain external keyboards. I am planning to file a bug upstream that the current gsetting for opening the file browser(and all media keys) should have a key value type of |
Something came to mind reading this. Is it more common to have a Files/Home button on a keyboard or not? It's probably more common not to have those keys and that's certainly the case out of the percentage of keyboards we ship. If that's the case, is it better to set Super+F for files and a customer can use Keyboards shortcuts if they have the key and want to set it? It's a pretty obvious setting. |
That's a good point. My first thought that comes to mind is that by doing this we would be actively breaking functionality for people who do have a keyboard with it (the Amazon Basics keyboard does have the key). Seeing that this functionality has not worked in the lifetime of Pop!_OS my thought is we shouldn't now rush to do something that breaks functionality. I think if we can get upstream to agree to accept multiple shortcuts for multimedia keys, that'd be the best way to implement both. Otherwise if we really want this feature, doing it ourselves would also be an option. |
Merge when ready @brs17 |
Should fix pop-os/pop#171
Fixed Super+m (Show application menu)
Note: Removed Super+m from toggling message tray (since Super+v already does that)
Fixed Super+d (Show desktop)
Fixed Super+f (Open files)
All of these should work now: http://pop.system76.com/docs/keyboard-shortcuts/