Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Format of CDE dtlogin logo file?
@ 1997-11-25  5:00 Brian O'Neill
  1997-11-25  5:00 ` Markus Muehlbauer
  1997-11-25  5:00 ` Rick Retterer
  0 siblings, 2 replies; 11+ messages in thread
From: Brian O'Neill @ 1997-11-25  5:00 UTC (permalink / raw)



I want to change the default dtlogin logo (I'm under Digital UNIX), but
I can't seem to get the correct format - the docs say pixmap or bitmap,
but neither seems to work. Can someone tell me the EXACT specifications?

-- 
======================================================================
Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
"My God man...we've become a tourist attraction..." - Londo, Babylon-5



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00 Format of CDE dtlogin logo file? Brian O'Neill
@ 1997-11-25  5:00 ` Markus Muehlbauer
  1997-11-25  5:00   ` Brian O'Neill
  1997-11-25  5:00 ` Rick Retterer
  1 sibling, 1 reply; 11+ messages in thread
From: Markus Muehlbauer @ 1997-11-25  5:00 UTC (permalink / raw)



Brian O'Neill wrote:
> 
> I want to change the default dtlogin logo (I'm under Digital UNIX), but
> I can't seem to get the correct format - the docs say pixmap or bitmap,
> but neither seems to work. Can someone tell me the EXACT specifications?
> 
It's pixmap/bitmap format (e.g as written by CDE's Icon Editor). If you
use xv for
creating the pixmap, you may find some binary data at the end of the
file - delete 
it (from within vi) and it will load - at least it works for me (also
under DUNIX).
Hope this will help.
Markus
--------------------------------------------------------------------
Markus Muehlbauer                        Tel.: xx41/(0)61-267 3746
Institut fuer Physik                     Fax.: xx41/(0)61-267 3784
Universitaet Basel
Kingelbergstr. 82                        EMail: 
CH-4056 Basel                            muehlbauer@ubaclu.unibas.ch
--------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00 ` Markus Muehlbauer
@ 1997-11-25  5:00   ` Brian O'Neill
  1997-11-26  5:00     ` Marcus Friedrich
                       ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Brian O'Neill @ 1997-11-25  5:00 UTC (permalink / raw)



Markus Muehlbauer wrote:
> >
> It's pixmap/bitmap format (e.g as written by CDE's Icon Editor). If you
> use xv for
> creating the pixmap, you may find some binary data at the end of the
> file - delete
> it (from within vi) and it will load - at least it works for me (also
> under DUNIX).
> Hope this will help.

I have a valid xpm file...All I get is a thin bar. Is there a size
limitation? I can get a bitmap to work, but not a pixmap (256 color).

-- 
======================================================================
Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
"My God man...we've become a tourist attraction..." - Londo, Babylon-5



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00 Format of CDE dtlogin logo file? Brian O'Neill
  1997-11-25  5:00 ` Markus Muehlbauer
@ 1997-11-25  5:00 ` Rick Retterer
  1997-11-26  5:00   ` Brian O'Neill
  1 sibling, 1 reply; 11+ messages in thread
From: Rick Retterer @ 1997-11-25  5:00 UTC (permalink / raw)



Brian O'Neill wrote:
> 
> I want to change the default dtlogin logo (I'm under Digital UNIX), but
> I can't seem to get the correct format - the docs say pixmap or bitmap,
> but neither seems to work. Can someone tell me the EXACT specifications?
> 
> --
> ======================================================================
> Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
> University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
> "My God man...we've become a tourist attraction..." - Londo, Babylon-5


I changed my logo by using the utility: /usr/dt/bin/dticon -save it as a
pixmap-
with the file extension of pm

Brian, let me recommend something to you.  This is not meant to be 
taken rude, so please don't misunderstand my intentions.  I would
like to recommend the following books to you that you will find
helpful:

 Common Desktop Environment: User's Guide                 
 AA-QTLNA-TE 
 Common Desktop Environment: Advanced User's and System Administrator's
Guide
 AA-QTLQA-TE 

Both are available from Digital Equipment.  BTW, if you have the 
On-line documentation CD's you will find the same books in HTML
format as well.

Good Luck!

Rick Retterer
LiNuX UsEr



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00   ` Brian O'Neill
@ 1997-11-26  5:00     ` Marcus Friedrich
  1997-11-26  5:00     ` Markus Muehlbauer
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Marcus Friedrich @ 1997-11-26  5:00 UTC (permalink / raw)



Brian O'Neill wrote:

> Markus Muehlbauer wrote:
> > >
> > It's pixmap/bitmap format (e.g as written by CDE's Icon Editor). If you
> > use xv for
> > creating the pixmap, you may find some binary data at the end of the
> > file - delete
> > it (from within vi) and it will load - at least it works for me (also
> > under DUNIX).
> > Hope this will help.
>
> I have a valid xpm file...All I get is a thin bar. Is there a size
> limitation? I can get a bitmap to work, but not a pixmap (256 color).
>
> --
> ======================================================================
> Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
> University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
> "My God man...we've become a tourist attraction..." - Londo, Babylon-5

 The lokationpath of the pixmap (256 colors !!!) must be exported (for all
user)!




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00   ` Brian O'Neill
  1997-11-26  5:00     ` Marcus Friedrich
  1997-11-26  5:00     ` Markus Muehlbauer
@ 1997-11-26  5:00     ` Calle Dybedahl
  1997-12-01  5:00     ` Norbert Ferstl
  3 siblings, 0 replies; 11+ messages in thread
From: Calle Dybedahl @ 1997-11-26  5:00 UTC (permalink / raw)



Brian O'Neill <Brian_ONeill@uml.edu> writes:

> I have a valid xpm file...All I get is a thin bar. Is there a size
> limitation? I can get a bitmap to work, but not a pixmap (256 color).

At least in Solaris 2.6 CDE, the login image should be 237x237 pixels,
and is truncated if it larger. It is also limited to 128 colors,
according to the documentation (although I got it to work with 192).

-- 
		    Calle Dybedahl, UNIX Sysadmin
       qdtcall@esavionics.se  http://www.lysator.liu.se/~calle/



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00 ` Rick Retterer
@ 1997-11-26  5:00   ` Brian O'Neill
  1997-11-27  5:00     ` Mark R. Bowyer
  0 siblings, 1 reply; 11+ messages in thread
From: Brian O'Neill @ 1997-11-26  5:00 UTC (permalink / raw)



Rick Retterer wrote:
> > "My God man...we've become a tourist attraction..." - Londo, Babylon-5
> 
> I changed my logo by using the utility: /usr/dt/bin/dticon -save it as a
> pixmap-
> with the file extension of pm
> 

That's the key...seems dticon is the only program that will create the
proper format.

> Brian, let me recommend something to you.  This is not meant to be
> taken rude, so please don't misunderstand my intentions.  I would
> like to recommend the following books to you that you will find
> helpful:

Unfortunately, the docs weren't readily available at the time...

-- 
======================================================================
Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
"My God man...we've become a tourist attraction..." - Londo, Babylon-5



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00   ` Brian O'Neill
  1997-11-26  5:00     ` Marcus Friedrich
@ 1997-11-26  5:00     ` Markus Muehlbauer
  1997-11-26  5:00     ` Calle Dybedahl
  1997-12-01  5:00     ` Norbert Ferstl
  3 siblings, 0 replies; 11+ messages in thread
From: Markus Muehlbauer @ 1997-11-26  5:00 UTC (permalink / raw)



Brian O'Neill wrote:
> 
> Markus Muehlbauer wrote:
> > >
> > It's pixmap/bitmap format (e.g as written by CDE's Icon Editor). If you
> > use xv for
> > creating the pixmap, you may find some binary data at the end of the
> > file - delete
> > it (from within vi) and it will load - at least it works for me (also
> > under DUNIX).
> > Hope this will help.
> 
> I have a valid xpm file...All I get is a thin bar. Is there a size
> limitation? I can get a bitmap to work, but not a pixmap (256 color).
>  
I use a pixmap with 32 colors, 240x229 pixels, named
/usr/dt/config/C/4mv.xpm, 
setting the resource "Dtlogin*logo*bitmapFile:
/usr/dt/config/C/du4MV.xpm"
in "/usr/dt/config/C/Xresources". It works for me. The pixmap can be
viewed 
with dticon. (I know, /usr/dt/... is the wrong place fore customizing DT
and 
it should better done in /etc/dt/... but so far ...)

Markus  
--------------------------------------------------------------------
Markus Muehlbauer                        Tel.: xx41/(0)61-267 3746
Institut fuer Physik                     Fax.: xx41/(0)61-267 3784
Universitaet Basel
Kingelbergstr. 82                        EMail: 
CH-4056 Basel                            muehlbauer@ubaclu.unibas.ch
--------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-26  5:00   ` Brian O'Neill
@ 1997-11-27  5:00     ` Mark R. Bowyer
  1997-12-01  5:00       ` Larry Daffner
  0 siblings, 1 reply; 11+ messages in thread
From: Mark R. Bowyer @ 1997-11-27  5:00 UTC (permalink / raw)
  To: Brian O'Neill


Brian O'Neill wrote:
> Rick Retterer wrote:

> > I changed my logo by using the utility: /usr/dt/bin/dticon -save ...
> That's the key...seems dticon is the only program that will create the
> proper format.

Not entirely true.  You can also use XV (which allows easy conversion
from many other file formats, and size changes) and then reduce the
colours using mogrify from the ImageMagick toolset, and you're away.

I have replaced the logos from login/password, the Solaris sign on the
startup screen (thought thats an im8), and created many icons in all 3
sizes that way.  Works a treat.

I know dticon is a single step - but try loading a large picture of
Holly from Red Dwarf (BBC SF SitCom) into it!

I'm also not sure what makes an XPM usable from one tool, and unusable
from another.  Definately the colour count it important.  I used to
think it was the number of hex digits in the colour key in the index at
the top, but I'm not so sure now.

Ta,

-------My opinion - Not sane, intelligent or necessarily useful-------
    o o                                mailto:moredhel@earthling.net 
    /v\ark R. Bowyer.                  mailto:Mark.Bowyer@UK.Sun.COM
    `-'                  http://sensemedia.net/sprawl/users/Moredhel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-25  5:00   ` Brian O'Neill
                       ` (2 preceding siblings ...)
  1997-11-26  5:00     ` Calle Dybedahl
@ 1997-12-01  5:00     ` Norbert Ferstl
  3 siblings, 0 replies; 11+ messages in thread
From: Norbert Ferstl @ 1997-12-01  5:00 UTC (permalink / raw)
  To: Brian O'Neill


Try to rename it to .pm
Norbert


Brian O'Neill wrote:
> 
> Markus Muehlbauer wrote:
> > >
> > It's pixmap/bitmap format (e.g as written by CDE's Icon Editor). If you
> > use xv for
> > creating the pixmap, you may find some binary data at the end of the
> > file - delete
> > it (from within vi) and it will load - at least it works for me (also
> > under DUNIX).
> > Hope this will help.
> 
> I have a valid xpm file...All I get is a thin bar. Is there a size
> limitation? I can get a bitmap to work, but not a pixmap (256 color).
> 
> --
> ======================================================================
> Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
> University of Massachusetts Lowell         <*>       oneill@cs.uml.edu
> "My God man...we've become a tourist attraction..." - Londo, Babylon-5

-- 
=====================================
Norbert Ferstl
DI Forsthuber GmbH
Kohlbauernstr. 17
A-2630 Ternitz, AUSTRIA
Tel: +43 2630 382500
Fax: +43 2630 3825014
<ferstl@netway.at>
=====================================



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Format of CDE dtlogin logo file?
  1997-11-27  5:00     ` Mark R. Bowyer
@ 1997-12-01  5:00       ` Larry Daffner
  0 siblings, 0 replies; 11+ messages in thread
From: Larry Daffner @ 1997-12-01  5:00 UTC (permalink / raw)



>>>>> "MRB" == Mark R Bowyer <Mark.Bowyer@uk.sun.com> writes:

  MRB> I'm also not sure what makes an XPM usable from one tool, and
  MRB> unusable from another.  Definately the colour count it
  MRB> important.  I used to think it was the number of hex digits in
  MRB> the colour key in the index at the top, but I'm not so sure
  MRB> now.

The key is how many characters the xpm in question uses to represent a 
pixel. CDE can only handle XPM's which use 1 characther = 1 pixel,
whereas programs that use the standard Xpm library can use
multicharacter pixels. I believe that xv will create usable pixmaps
when the color usage is under 38 colors, though it's been a long time
since I tested that out.

-Larry
(Speaking for myself, not HP)

-- 
Larry Daffner - Software Engineer | email: ldaffner@rsn.hp.com        |
       HP Convex Division         |                                   |
"I had to hit him -- he was starting to make sense."



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1997-12-01  5:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-25  5:00 Format of CDE dtlogin logo file? Brian O'Neill
1997-11-25  5:00 ` Markus Muehlbauer
1997-11-25  5:00   ` Brian O'Neill
1997-11-26  5:00     ` Marcus Friedrich
1997-11-26  5:00     ` Markus Muehlbauer
1997-11-26  5:00     ` Calle Dybedahl
1997-12-01  5:00     ` Norbert Ferstl
1997-11-25  5:00 ` Rick Retterer
1997-11-26  5:00   ` Brian O'Neill
1997-11-27  5:00     ` Mark R. Bowyer
1997-12-01  5:00       ` Larry Daffner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox