Skip to content

u/cookiengineer

In this archive from Jul 2017 to Oct 2026

9
posts
46
comments
1
media
477
score
4 saved before deletion

Top posts

Kudos to pacman developers

I just wanted to shout out a big kudos to the pacman developers, it's by far the fastest package manager. I'm building a tool that creates package indexes, with all information put together in an SBOM. And pacman by far is the fastest package manager with less than 0m1.004s real time for a whole pac...

184 points33 comments
Open on Reddit

SUID hardening on ArchLinux

Hey everyone, I wanted to ask whether there are efforts to disable the SUID bit functionality on ArchLinux. I know that there's a possibility to remove the SUID bit via mount options (nosuid), but I'm currently a bit unsure about the consequences in practice from a usability point of view. I was rea...

22 points3 comments
Open on Reddit

Top comments

Others suggested to use lxappearance for tweaking GTK, which is totally outdated. I'd recommend to use gsettings for GTK3 based applications as it's maintained upstream and works for both GTK2, GTK3 and GTK4/GTK5 applications as it's using dconf / glib schemas behind the scenes.

However I'm not using OpenBox, so I don't know about the specifics of theming there. Please check the wiki for OpenBox related stuff first. This is the GTK-related part for GTK-using apps.

You can discover, get and set schemas/keys recursively with gsettings:

gsettings list-recursively | grep font; # show all known relevant keys

It will output/input always the following parameters:

path.to.schema key-name 'value of key'

Example output will look like this whereas the keys you are looking for are named like the following (assuming that all app-specific settings have use-system-font set to true):

org.gnome.desktop.interface monospace-font-name 'Monospace 11'
org.gnome.desktop.interface font-name 'Cantarell 11'
org.gnome.desktop.interface document-font-name 'Sans 11'

Specific to GNOME's WM, but might be related (depending on what openbox prefers, I dunno tbh):

org.gnome.desktop.wm.preferences titlebar-uses-system-font true
org.gnome.desktop.wm.preferences titlebar-font 'Cantarell Bold 11'

Some examples of application-specific settings (note the schema path when it's a program that is part of upstream GNOME):

org.gnome.gedit.preferences.editor editor-font 'Monospace 12'
org.gnome.gedit.preferences.editor use-default-font true
org.gnome.gedit.preferences.print print-font-numbers-pango 'Sans 8'
org.gnome.gedit.preferences.print print-font-body-pango 'Monospace 9'
org.gnome.gedit.preferences.print print-font-header-pango 'Sans 11'
apps.gnome-mplayer.preferences subtitle-font 'Sans 10'
apps.gnome-mplayer.preferences disable-embeddedfonts false

edit: Some other comments here seemingly don't understand the reason why gsettings is preferred. gsettings and the gsd-xsettings daemon came with the wayland migration, it is a superset of what xsettings and the old GTK2-style ini files can achieve. Every application, extension, plugin, whatever that needs glib schemas will rely on gsettings and dconf and therefore not work with simple limited xsettings. They most likely expect a glib schema and will be incompatible with legacy ways of configuring those keys (hence the reason why lxappearance has so many bugs that never can be resolved, because they are not setting the schemas and neither dconf schemas in a proper way. They literally monkeypatch the GTK ini files, which are deprecated since 2009).

21 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.