You are not logged in.

#1 2024-05-02 04:22:54

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

[SOLVED] Unknown key gtk-modules of zenity?

I want to install the "Watt Toolkit" by the script,it requires zenity,certutil and jq.
but it fails all the time

---------------------------------------------------
[dynamo@arch ~]$ curl -sSL https://steampp.net/Install/Linux.sh | bash

(zenity:3092): Gtk-WARNING **: 12:05:54.348: Unknown key gtk-modules in /home/dynamo/.config/gtk-4.0/settings.ini
certutil 工具已安装。
zenity 工具已安装。
jq 工具已安装。

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

certutil nssdb 正常
--2024-05-02 12:05:55--  https://api.steampp.net/basic/versions/ … ng/0/-1/0/
已载入 CA 证书“/etc/ssl/certs/ca-certificates.crt”
正在解析主机 api.steampp.net (api.steampp.net)... 121.37.189.211
正在连接 api.steampp.net (api.steampp.net)|121.37.189.211|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:未指定 [application/json]
正在保存至: “/home/dynamo/WattToolkit/WattToolkit.AppVer”

/home/dynamo/WattToolkit/Wa     [ <=>                                      ]      82  --.-KB/s  用时 0s     

2024-05-02 12:05:55 (24.9 MB/s) - “/home/dynamo/WattToolkit/WattToolkit.AppVer” 已保存 [82]

cat: AppVer: 没有那个文件或目录

(zenity:3143): Gtk-WARNING **: 12:05:57.065: Unknown key gtk-modules in /home/dynamo/.config/gtk-4.0/settings.ini

(zenity:3173): Gtk-WARNING **: 12:05:58.491: Unknown key gtk-modules in /home/dynamo/.config/gtk-4.0/settings.ini

(zenity:3202): Gtk-WARNING **: 12:05:59.924: Unknown key gtk-modules in /home/dynamo/.config/gtk-4.0/settings.ini

(zenity:3231): Gtk-WARNING **: 12:06:01.353: Unknown key gtk-modules in /home/dynamo/.config/gtk-4.0/settings.ini

-------------------------------------------------
This is the settings.ini:

[Settings]
gtk-application-prefer-dark-theme=false
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-font-name=Noto Sans,  10
gtk-icon-theme-name=breeze
gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
gtk-primary-button-warps-slider=true
gtk-sound-theme-name=ocean
gtk-xft-dpi=98304

How do i solve this?

Last edited by safe049 (2024-05-02 10:36:32)


命途跌宕也折了鋒芒

Offline

#2 2024-05-02 06:14:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,891

Re: [SOLVED] Unknown key gtk-modules of zenity?

Please use [code][/code] tags. Edit your post in this regard.

How do i solve this?

[dynamo@arch ~]$ curl -sSL https://steampp.net/Install/Linux.sh | bash
BY NOT DOING THIS AT ALL!!

Don't curl some script from the  internet into a shell for crying out loud.
https://wiki.archlinux.org/title/Steam

Ftr, the warning there just says it doesn't know what to do w/ this line

gtk-modules=colorreload-gtk-module:window-decorations-gtk-module

but that's not fatal, whatever fails is completely unrelated

There are versions of the watt toolkit in the AUR, https://aur.archlinux.org/packages?O=0&K=watt
Read the PKGBUILDs before installing any them (they're not vetted by any trusted source) and

DO NOT AGAIN CURL STUFF FROM THIE INTERNET INTO A SHELL!

ffs.

Offline

#3 2024-05-02 10:33:28

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

Re: [SOLVED] Unknown key gtk-modules of zenity?

seth wrote:

Please use [code][/code] tags. Edit your post in this regard.

How do i solve this?

[dynamo@arch ~]$ curl -sSL https://steampp.net/Install/Linux.sh | bash
BY NOT DOING THIS AT ALL!!

Don't curl some script from the  internet into a shell for crying out loud.
https://wiki.archlinux.org/title/Steam

Ftr, the warning there just says it doesn't know what to do w/ this line

gtk-modules=colorreload-gtk-module:window-decorations-gtk-module

but that's not fatal, whatever fails is completely unrelated

There are versions of the watt toolkit in the AUR, https://aur.archlinux.org/packages?O=0&K=watt
Read the PKGBUILDs before installing any them (they're not vetted by any trusted source) and

DO NOT AGAIN CURL STUFF FROM THIE INTERNET INTO A SHELL!

ffs.


Thanks.[btw this script is from watt toolkit's website.]


命途跌宕也折了鋒芒

Offline

Board footer

Powered by FluxBB