Re: new "named colors"

From: giacomo boffi (giacomo.boffi_at_polimi.it)
Date: 07/14/05

  • Next message: giacomo boffi: "Re: new "named colors""
    Date: Thu, 14 Jul 2005 16:03:56 +0200
    
    

    "J.O. Aho" <user@example.net> writes:

    > giacomo boffi wrote:
    > > i'd like to do something like:
    > > # addcolortoX -display :0 -name rustyleaves -color \#B3863E
    > > # xterm -fg white -bg rustyleaves &
    > > i.e., adding a new (name . value) to the named colors database of a
    > > running X server
    > > 1) is it technically possible?
    > > 2) eventually, have you a reference?
    >
    > You have the /usr/lib/X11/rgb.txt which is a plain text file, just add
    > your own color to the list, just remeber that the values are in INT
    > DEC from 0 to 255.

    afaict, X reads rgb.txt at startup, period. after that, the X server
    has in memory a database of names-pixel pairs, that's _fixed_ with
    regard to changes to rgb.txt (until you restart X)

    what i'd like to do is different: i want to _modify_ the named colors
    database of a _running_ X

    thank you for your reply,
                                                                    gb

    -- 
    Come si fa a discutere della bontà di un editor del genere se non si
    parla di quanto pulito faccia il codice?           -- Zefram,  in ING
    

  • Next message: giacomo boffi: "Re: new "named colors""

    Relevant Pages

    • Re: Best way to return a select number of rows?
      ... Am I missing something here? ... keep application logic in the application and database logic in the ... We can do this on the server side. ... There is an overload in SqlDataAdapter.Fill method public int ...
      (microsoft.public.dotnet.framework.adonet)
    • SSPI Kerberos for delegation
      ... security context created in server to connect back and authenticate to ... DWORD bufsiz = sizeof buf; ... int n = ib.cbBuffer; ... // wserr() displays winsock errors and aborts. ...
      (microsoft.public.win32.programmer.kernel)
    • SSPI delegation using kerberos
      ... security context created in server to connect back and authenticate to ... DWORD bufsiz = sizeof buf; ... int n = ib.cbBuffer; ... // wserr() displays winsock errors and aborts. ...
      (microsoft.public.platformsdk.security)
    • SSPI Kerberos for delegation
      ... security context created in server to connect back and authenticate to ... DWORD bufsiz = sizeof buf; ... int n = ib.cbBuffer; ... // wserr() displays winsock errors and aborts. ...
      (microsoft.public.platformsdk.security)
    • SSPI Kerberos for delegation
      ... security context created in server to connect back and authenticate to ... DWORD bufsiz = sizeof buf; ... int n = ib.cbBuffer; ... // wserr() displays winsock errors and aborts. ...
      (microsoft.public.security)