Giter VIP home page Giter VIP logo

Comments (5)

NsCDE avatar NsCDE commented on May 19, 2024

Hi @oliversandli

Yes it has. In ~/.NsCDE/libexec there is colormgr.local and fontmgr.local can be added. In default colormgr.local you will find examples for mate-terminal and gkrellm. This can then be run with palette and number of colors path manually, or by confirming existing (or choosing new) color scheme in Color Style Manager.

See /opt/NsCDE/share/doc/examples/README.colormgr.local and section 15.3 of NsCDE manual.

from nscde.

oliverdelancey avatar oliverdelancey commented on May 19, 2024

Thanks! I'll take a look.

from nscde.

oliverdelancey avatar oliverdelancey commented on May 19, 2024

After analyzing colormgr.local, I found that $PPATH points to a *.dp file. What do the 12-digit hex numbers mean in those files? For instance, in Broica.dp:

#ed00a8007000
#9900991b99fe
#89559808aa00
#68006f008200
#c600b2d2a87e
#49009200a700
#b70087008d00
#938eab73bf00

I assume these correspond to the 8 colors shown in the Color window of the Style Manager? If so, how can I use them as regular 6-digit colors?

from nscde.

NsCDE avatar NsCDE commented on May 19, 2024

This are the CDE color palette files. This kind of color representation was characteristic then, and it is used in NsCDE today so old palettes are compatible out of the box. This can be converted into familiar 6-digit hex by simply discarding every second pair of numbers (3,4 7,8, 11,12).

If your terminal app does not recognise 12-digit hex (many do), you can automatically convert them by specifiying "-s" to /opt/NsCDE/libexec/nscde_palette_colorgen.py after -p $PPATH and -n $NCOLORS.

from nscde.

oliverdelancey avatar oliverdelancey commented on May 19, 2024

Thanks for the clarification! Preliminary testing seems very promising.

from nscde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.