Author Topic: Gtkterm2 Color Setting  (Read 1330 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gtkterm2 Color Setting
« on: August 08, 2006, 05:33:28 pm »
Hello,

I have been exploring solutions to use console apps for PIM. gtkterm2 is indeed a very good choice to me as it supports CJK characters display and inputmethods (such as SCIM). When i try to run hnb and calcurse in it, they can run, but the colors are gone except black and white. Looking at .gtkterm2rc and have found these settings for colors:

Code: [Select]
##
# NEW COLOR Definition
##
red=0x0000 0xcccc 0x0000 0xaaaa 0x0000 0xaaaa 0x6666 0xaaaa 0x0000 0xcccc 0x5555 0xffff 0x5555 0xffff 0x5555 0xffff 0x5555 0xffff
grn=0x0000 0xcccc 0x0000 0x0000 0xaaaa 0x5555 0x6666 0x0000 0xaaaa 0xcccc 0x5555 0x5555 0xffff 0xffff 0x5555 0x5555 0xffff 0xffff
blu=0x0000 0xcccc 0x0000 0x0000 0x0000 0x0000 0xffff 0xaaaa 0xaaaa 0xcccc 0x5555 0x5555 0x5555 0x5555 0xffff 0xffff 0xffff 0xffff

##
# COLOR Definition
##

I have 2 questions:
1. How to define more colors apart from red, blue, and green in order to make full use of color display of some console apps? How to make gtkterm2 display more colors?
2. What is the difference between NEW COLOR Definiton (only red, blue and green are defined) and COLOR Definiton (just left blank by default)?

Searched on the web but found very scanty information about gtkterm2, let alone how to set it up.

Thanks!

P.S. The post was done in Firefox under Beta3 on C1000.  :-)
« Last Edit: August 08, 2006, 05:36:44 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]