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

Can't Change the Maliit Keyboard Theme in EndeavourOS (Arch Linux) #174

Closed
k4ever opened this issue Oct 16, 2022 · 3 comments
Closed

Can't Change the Maliit Keyboard Theme in EndeavourOS (Arch Linux) #174

k4ever opened this issue Oct 16, 2022 · 3 comments

Comments

@k4ever
Copy link

k4ever commented Oct 16, 2022

I'm using Maliit as the virtual keyboard for KDE Plasma 5.26 on a Surface Pro 8 using EndeavourOS. I'm using a dark system theme and I can't change the theme for the keyboard. I've tried:

gsettings set org.maliit.keyboard.maliit theme BreezeDark

It doesn't do anything. Selecting settings in the Maliit keyboard itself also does nothing. What is the proper way/command (that will actually work) to change the theme? (Examples please!)

@tbsteinb
Copy link

tbsteinb commented Nov 8, 2022

The version in the AUR has a new method for setting the theme. You need to set the QT_QUICK_CONTROLS_STYLE environment variable to org.kde.desktop and it will automatically pull the color scheme your desktop uses. The easiest way to do that is to create a script /usr/local/bin/maliit-keyboard that exports the above variable and executes /usr/bin/maliit-keyboard, then copy /usr/share/applications/com.github.maliit.keyboard.desktop to $HOME/.local/share/applications and update it to point to the script you wrote. Then just change $HOME/.config/kwinrc to use the new desktop file instead.

@k4ever
Copy link
Author

k4ever commented Nov 16, 2022

Thank you! I set it as a global variable in /etc/environment. It works great! Is there a reason not to set the variable as global?

@k4ever k4ever closed this as completed Nov 29, 2022
@tbsteinb
Copy link

Thank you! I set it as a global variable in /etc/environment. It works great! Is there a reason not to set the variable as global?

Just saw this. Setting it globally can break some Qt apps if they weren't designed for KDE (I think OBS was an app that was iffy in this regard, but I might be mistaken). Setting it globally might be fine though. Just depends on what apps you use.

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

No branches or pull requests

2 participants