Absolutly! Greate a separate user to "own" the binary and give it a separate group. All users that shall be able to use the program and write to directorys that the progam needs should be member of the programs group. The *only* situation when a program *must* be root if it must be able to open sockets lower than 1024. /gh Den 2016-12-01 kl. 16:49, skrev Stefan Salewski: > My Nim editor https://github.com/ngtk3/NEd can be launced from the > directory with the binary by typing > > ./ned file.nim > > 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 > # https://developer.gnome.org/gio/stable/glib-compile-schemas.html > # echo $XDG_DATA_DIRS > # /usr/share/gnome:/usr/local/share:/usr/share:/usr/share/gdm > # 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 > root actions. > > 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 > gtk-list@xxxxxxxxx > https://mail.gnome.org/mailman/listinfo/gtk-list > -- Göran Hasse Raditex Control AB Boo 229 715 91 ODENSBACKEN http://www.rscada.se OrgNr: 556611-8773 email: gorhas@xxxxxxxxxx tel: 019-450105 mob: 070-5530148 Lat: 59.18805083 Long: 15.50300449 URL: http://alturl.com/3e6hf _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list