tuberry / ibus-tweaker

Tweaker of IBus for theme, font, input mode and clipboard history.
GNU General Public License v3.0
40 stars 6 forks source link

How to set ibus using cutom theme #6

Closed tmltmltml closed 4 years ago

tmltmltml commented 4 years ago

Hello, @tuberry . I'm using ibus-rime input method, and I want to change the color scheme. According to the methods I Google, I changed gnome-shell.css(/usr/share/themes/my-theme/gnome-shell/gnome-shell.css), however, after I log out or reboot, it didn't affect the color scheme of ibus. And when I use ibus-tweaker, it surely can change! So, could you please tell me ibus-tweaker change which file? Thank you in advance!

tuberry commented 4 years ago

Cannot reproduce it with Gnome Shell 3.36.5/materia-gtk-theme

/* /usr/share/themes/Materia-compact/gnome-shell/gnomr-shell.css */
.candidate-popup-content {
  padding: 8px;
  spacing: 0;
  color: rgba(12, 120, 56, 0.6);
}

rime

  1. ibus-tweaker replaces gnome-shell's ibus stylesheet with its own, so you should uncheck the theme in ibus-tweaker before applying your custom style;
  2. It's not recommanded to change files on system level and better to do that at $HOME. Also, welcome to try user-theme-x
tmltmltml commented 4 years ago

Based on your reply, especially $HOME, I find this problem is absolutely caused by my ignorance. Specifically, I modified the theme which is applied for Applications. According to $HOME, I modified the theme applied for Shell based on your example, then my goal is achieved. According to your tip 2, I have created a .css file in my $HOME directory. Last but not least, thanks very much for your reply and your work on ibus -- ibus-tweaker and user-theme-x! They saved me a lot time. Thank you!