-
Notifications
You must be signed in to change notification settings - Fork 73
Yad
(Yad Project Page: Yad)
All GUI elements in stl use yad (>=7.2)
Several distributions don't have an up2date yad package and/or a yad package maintainer (f.e. debian/ubuntu/mint flavours). If this applies for your distribution you have following options to fix this:
- (find or be a maintainer for yad for your distribution)
- compile from source
- use a custom Yad
Compiling yad from source is not that hard:
-
download the sourcecode from the yad project page, extract it, cd into it
-
install some (build) dependencies and headers (the following example is for ubuntu, adjust the tools accordingly to your distro)
sudo apt-get install -y automake libtool libglib2.0-dev intltool gtk3++-dev libgtksourceview-3.0-dev libwebkit2gtk-4.0-dev libgspell-1-dev
-
prepare/update the automake build system to match your system:
libtoolize --copy --force autoreconf automake --force-missing --add-missing intltoolize
-
create the
Makefile
(using the compiler flags from the Arch LinuxPKGBUILD
, some options ware not required for stl)./configure --prefix=/usr/local --enable-html --enable-icon-browser --enable-html --enable-gio --enable-spell --enable-sourceview
-
compile the program
make
-
install the compiled program (manual installation usually goes into
/usr/local
to not conflict with system packages)sudo make install
-
(check the installed
yad
withyad --version
)
stl has an option to directly define a yad binary from command line
which makes a global/system wide yad installation no longer a hard dependency (won't change the Arch PKGBUILD
though)
Valid parameters for <YAD>
in stl yad <YAD>
are:
- an absolute path to custom binary (f.e
stl yad /path/to/custom/yad
) -
conty
(so simplystl yad conty
- if not found the latest Conty release will be downloaded automatically and a yad symlink pointing to it will be defined as yad) huge download -
ai
orappimage
(so simplystl yad ai
orstl yad appimage
- if not found @kadogos appimage from here will be downloaded and defined as yad binary automatically) small download
If you have no own custom yad binary, and not planning to use Conty as 32bit container, probably simply using stl yad ai
is the best option, although the used yad version is (currently) not up to date (7.3)
Quick Links
- Changelog
- Installation
- Usage
- Main Menu
- Global Menu
- Tray Icon
- Modding
- Platform-Specific Documentation
- Tweaks
- Utilities
- Advanced