Open eexpress opened 3 years ago
TypeError: prefsModule.buildPrefsWidget is not a function
Stack trace: _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40 OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28 asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13 run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20 main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13 run@resource:///org/gnome/gjs/modules/script/package.js:222:19 start@resource:///org/gnome/gjs/modules/script/package.js:206:5 @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
What's your GNOME Shell version?You can pull the newest code and open the setup window on GNOME40.
GNOME Shell 3.36.7
You can modify the settings in the extension's menu.
but here only two menu items, I want change color and etc. I almost can not see the translate result.
You can try modifying stylesheet.css by yourself. Or you can send your screenshot here. I will go back to see it in a few days.
你是中国人吧?直接修改这个插件目录下的stylesheet.css,像下面这样加一行 "color: 你喜欢的颜色“:
/* Add your custom extension styling here */
.translate-box {
background-color: rgba(32, 32, 32, 1);
padding: 20px 32px 0 32px;
border-radius: 5px;
color: #fff;
}
I have the same error on 3.38.3. The extension also only works for me if I hover over a hyperlink, if I highlight a word there's just a small empty black rounded rectangle.
Maybe you need install gawk. You can open a terminal and run journalctl -f
, and select some other words, test if some errors has occurred
TypeError: prefsModule.buildPrefsWidget is not a function
Stack trace: _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40 OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28 asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13 run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20 main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13 run@resource:///org/gnome/gjs/modules/script/package.js:222:19 start@resource:///org/gnome/gjs/modules/script/package.js:206:5 @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17