ap / gtk-chtheme Goto Github PK
View Code? Open in Web Editor NEWgtk+ 2.0 Change Theme
Home Page: http://plasmasturm.org/code/gtk-chtheme/
License: GNU General Public License v2.0
gtk+ 2.0 Change Theme
Home Page: http://plasmasturm.org/code/gtk-chtheme/
License: GNU General Public License v2.0
ich möchte deinen themeswitcher in einem script verwenden.
bisher sieht es aber so aus, als wenn der gtk-chtheme
ausschließlich grafisch funktioniert. :-(
Dafür ist chtheme nicht nötig. Ändern tust du das Theme durch
Anpassen der .gtkrc-2.0 anpassen, per Shell zB mit sed oder einem
Perl-Einzeiler. Themes wiederum sind einfach Verzeichnisse mit
bestimmten Inhalten. Du brauchst dann nur ein Programm, was deine
Gtk-Anwendungen dazu bringt, das Theme neu einzulesen, zB
http://code-monkey.de/files/refresh-gtk-theme.c
Hmm, da fällt mir auf, man kann nicht ohne weiteres abfragen, in
welchen Oberverzeichnissen nach Themes gesucht wird... meist in
/usr/share/themes, aber muss ja nicht so sein...
Hmm. Es könnte wohl doch nützlich sein, wenn der ganze Kleinkram
von einem Programm erledigt wird...
Ich werd mal schauen. Danke für die Anregung. :-) Hoffentlich
hilft dir die obige Information in der Zwischenzeit weiter.
* Donald Johnson [2010-02-28 08:05]:
Could you please add the default directories that the program will search for themes in into the man-page? I had to go to the source code to find out that the user-only themes are found in
~/.themes
. That directory may be a standard thing to use, but among all the GTK application documentation plus a web search, I couldn’t find anything definitive.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.