Can we install a gtk program without root privileges?
- Date: Thu, 01 Dec 2016 16:49:10 +0100
- From: Stefan Salewski <mail@xxxxxxxxxxxx>
- Subject: Can we install a gtk program without root privileges?
My Nim editor https://github.com/ngtk3/NEd can be launced from the
directory with the binary by typing
For testing that is fine. But to make it work from an arbitrary
directory something like
# And for making gsettings available system wide one method is, as root
# echo $XDG_DATA_DIRS
# cd /usr/local/share/glib-2.0/schemas
# cp org.gtk.ned.gschema.xml .
# glib-compile-schemas .
# as root
cp nimdark1.xml /usr/share/gtksourceview-3.0/styles/
cp nim.lang /usr/share/gtksourceview-3.0/language-specs/
is necessary as described in the doc. That is fine for myself, but I
can understand that other people fear to damage their system when doing
Problem seems to be the gsettings path and additional the gtksourceview
directories. May there exist a way to make it work at least on Linux
without root privileges?
gtk-list mailing list