You are not logged in.
Pages: 1
WhiteSur GTK Theme: A macOS like theme for Linux GTK Desktops
_https://github.com/vinceliuice/WhiteSur-gtk-theme
_https://aur.archlinux.org/packages/whitesur-gtk-theme-git
_https://aur.archlinux.org/packages/whitesur-icon-theme-git
_https://aur.archlinux.org/packages/whitesur-cursor-theme-git
Build-Deps:
sudo apt install git fakeroot sassc libglib2.0-dev-bin libglib2.0-dev libxml2-utils imagemagick dialog optipng inkscape
mkdir Build_Sur
cd Build_Sur
Open fakeroot console:
fakeroot
Download sourcedir:
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git --depth=1
Install "debdir":
install -dm755 debdir/usr/share/themes
install -dm755 debdir/usr/share/docs/whitesur-gtk-theme
install -dm755 debdir/usr/share/icons
# ls -1
debdir
WhiteSur-gtk-theme
cd WhiteSur-gtk-theme
Install WhiteSur Dark theme to debdir
./install.sh -d ../debdir/usr/share/themes -c Dark -t green -o solid
# ls -1 ../debdir/usr/share/themes
WhiteSur-Dark-solid-green
WhiteSur-Dark-solid-green-hdpi
WhiteSur-Dark-solid-green-xhdpi
Install Firefox theme to debdir:
cp -r src/other/firefox ../debdir/usr/share/docs/whitesur-gtk-theme
cd ..
#ls -1
debdir
WhiteSur-gtk-theme
Download WhiteSur icon theme sourcedir:
git clone https://github.com/vinceliuice/WhiteSur-icon-theme.git --depth=1
# ls -1
debdir
WhiteSur-gtk-theme
WhiteSur-icon-theme
Install icon theme to debdir:
./WhiteSur-icon-theme/install.sh -d "$(pwd)/debdir/usr/share/icons" -t green
# ls -1
debdir
WhiteSur-gtk-theme
WhiteSur-icon-theme
Download WhiteSur-cursors sourcedir:
git clone https://github.com/vinceliuice/WhiteSur-cursors.git --depth 1
# ls -1
debdir
WhiteSur-cursors
WhiteSur-gtk-theme
WhiteSur-icon-theme
Build WhiteSur-cursors
cd WhiteSur-cursors
./build.sh
Install WhiteSur-cursors to debdir:
cp -pr dist ../debdir/usr/share/icons/WhiteSur-cursors
# cd ..
# ls -1
debdir
WhiteSur-cursors
WhiteSur-gtk-theme
WhiteSur-icon-theme
Configure WhiteSur Dark theme:
IconTheme=WhiteSur-green-dark
CursorTheme=WhiteSur-cursors
It should look like this:
# cat debdir/usr/share/themes/WhiteSur-Dark-solid-green/index.theme
[Desktop Entry]
Type=X-GNOME-Metatheme
Name=WhiteSur-Dark-solid-green
Comment=A MacOS BigSur like Gtk+ theme based on Elegant Design
Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=WhiteSur-Dark-solid-green
MetacityTheme=WhiteSur-Dark-solid-green
IconTheme=WhiteSur-green-dark
CursorTheme=WhiteSur-cursors
ButtonLayout=close,minimize,maximize:menu
The "Name=" of WhiteSur-cursors should also be fixed:
# cat debdir/usr/share/icons/WhiteSur-cursors/index.theme
[Icon Theme]
Name=WhiteSur-cursors
Make a template for Debian package
install -vm0755 -d debdir/DEBIAN
Create DEBIAN/control with a text editor:
nano debdir/DEBIAN/control
For example:
# cat debdir/DEBIAN/control
Package: whitesur-gtk-theme
Version: 2025.05.29-1
Architecture: all
Maintainer: Devuan
Installed-Size: 52.2 kB
Depends: libxml2-utils, imagemagick, dialog, optipng
Section: x11
Priority: optional
Homepage: https://github.com/vinceliuice/WhiteSur-gtk-theme
Description: MacOS Big Sur like theme for MATE Desktop
Generate md5sums
cd debdir
find . -type f -not -path "./DEBIAN/*" -exec md5sum {} + | sort -k 2 | sed 's/\.\/\(.*\)/\1/' > DEBIAN/md5sums
cd ..
chmod 0644 -- debdir/DEBIAN/md5sums
Make a Debian package:
dpkg-deb -b debdir whitesur-gtk-theme_2025.05.29-1_all.deb
Exit fakeroot
# exit
exit
Install WhiteSur-Dark theme
sudo dpkg -i whitesur-gtk-theme_2025.05.29-1_all.deb
Enable WhiteSur-Dark theme
mate-appearance-properties
Theme ➔ WhiteSur-Dark-solid-green
Configure WhiteSur theme for "greeter" (display-manager)
➤ cat /etc/X11/default-display-manager
/usr/sbin/lightdm
➤ sudo lightdm-gtk-greeter-settings
[ArchWiki] LightDM
_https://wiki.archlinux.org/title/LightDM
Tweaks:
sudo apt install mate-tweak
mate-tweak
sudo apt install vivid
man vivid
cat ~/.bashrc | grep alias
cat ~/.bashrc | grep less
$ cat ~/.bashrc | grep LESS
export LESS='-R --use-color -Dd+g$Du+b$'
How to remove WhiteSur Dark theme:
sudo apt remove whitesur-gtk-theme
Last edited by igorzwx (2025-05-30 09:40:32)
Offline
Nice tutorial. Especially for crating .deb packages. Thank you.
Offline
@stopAI
I didn't expect that anyone would be interested in Debian packaging.
Have you tried to compile fftrate?
The updated manual is here:
_https://dev1galaxy.org/viewtopic.php?id=7142
The user manual is here:
_https://dev1galaxy.org/viewtopic.php?id=6644
It will improve sound quality of your pipewire.
You can test it with and without fftrate. The difference should be obvious.
Although, of course, it will be much better without pipewire and pulseaudio.
To disable fftrate, you can simply remove/rename ~/.asoundrc
And, by renaming, you can enable it again.
Offline
Have you tried to compile fftrate? It will improve sound quality of your pipewire.
You can test it with and without fftrate. The difference should be obvious.
Yes, I tried it (on a test computer). The results are good. The improvement in sound quality is clearly noticeable.
Offline
@stopAI
It should be "clearly noticeable", because, the fftrate plugin (if it is correctly configured) replaces ALSA resamplers with the magic fftrate real-time codec.
See also:
_https://dev1galaxy.org/viewtopic.php?id=6593
By the way, have you noticed a secret command "dh_auto_build --list",
and a trick with dpkg-shlibdeps
_https://dev1galaxy.org/viewtopic.php?id=7214
Offline
By the way, have you noticed a secret command "dh_auto_build --list",
and a trick with dpkg-shlibdeps
Yes, of course I'm following your experiments with interest.
Offline
Pages: 1