LoWeN wrote: Last I have made almost desepear the desktop behind icons...
Some people find that I am crazy? Am I?N
No -- that's why I wrote iconbar!
LoWeN wrote: Last I have made almost desepear the desktop behind icons...
Some people find that I am crazy? Am I?N
squeen wrote:LoWeN wrote: Last I have made almost desepear the desktop behind icons...
Some people find that I am crazy? Am I?N
No -- that's why I wrote iconbar!
Code: Select all
install:
cp ./iconbar /usr/local/bin; \
cp ./iconbar.1 /usr/local/man/man1;
nekonoko wrote: Just a quick comment:
Code: Select all
install:
cp ./iconbar /usr/local/bin; \
cp ./iconbar.1 /usr/local/man/man1;
This works if /usr/local/bin and /usr/local/man/man1 already exist, which is probably the case on a system with a lot of self-compiled software already in place. In my case, I compiled and installed iconbar right after installing standard freeware.
The first line will happily copy the freshly compiled iconbar binary into a file called "bin" under /usr/local. This could be fixed by adding a slash after bin: /usr/local/bin/ - this will still generate an error about bin not existing but at least the iconbar binary wouldn't be parked in it's place.
The second line will bail with an error since /usr/local/man and /usr/local/man/man1 do not exist.
Many makefiles call a little script to check/create the install directories first - but maybe that's something to save for later
Code: Select all
535: if ( found_file ) {
542:
543: /* NOTE: this assumes zsize is 3 (RGB) but it could be 1 (B&W) or 4 (RGBA) */
544: zbuf = (char *)malloc(zbufsize*sizeof(short));
545: if ( zbuf == NULL ) fprintf( stderr, "geticon: zbuf alloc error, zbufsize = %d\n",zbufsize);
546: for (cc=0;cc<zbufsize;cc++) {
547: zbuf[cc] = 198;
548: }
550: rbuf = (unsigned short *)malloc(sgi_image->xsize*sizeof(short));
551: if ( rbuf == NULL ) fprintf( stderr, "geticon: rbuf alloc error, xsize = %d\n",sgi_image->xsize);
552: gbuf = (unsigned short *)malloc(sgi_image->xsize*sizeof(short));
553: if ( gbuf == NULL ) fprintf( stderr, "geticon: gbuf alloc error, xsize = %d\n",sgi_image->xsize);
554: bbuf = (unsigned short *)malloc(sgi_image->xsize*sizeof(short));
555: if ( bbuf == NULL ) fprintf( stderr, "geticon: bbuf alloc error, xsize = %d\n",sgi_image->xsize);
556: z = 0;
557: for (y=sgi_image->ysize-1;y>=0;y--) {
558: getrow(sgi_image,rbuf,y,0);
559: getrow(sgi_image,gbuf,y,1);
560: getrow(sgi_image,bbuf,y,2);
561: for (x=0;x<sgi_image->xsize;x++) {
562: zbuf[z++] = (char)bbuf[x]; /* had to swap these two lines for the Onyx4 */
563: zbuf[z++] = (char)gbuf[x];
564: zbuf[z++] = (char)rbuf[x]; /* had to swap these two lines for the Onyx4 */
565: zbuf[z++] = 255; /* alpha */
566: }
squeen wrote: We've hit 222 downloads on the iconbar project--not too shabby. I've been watching the numbers and it seems the downloads are 0's for most days but then happen in clumps of 4+. Anyone care to speculate about this socialogical phenomena?
squeen wrote: Any clues with might have changed in the XFrre86 vs. Xsgi setup so that the RGB image lib is BGR rather than RGB?
squeen wrote: Also, I've added a feature than modifies the color of the icon and appends the host name if the window is from a remote client. I'm using XAddPixel() to color the image but am not happy with the result--I was looking for something more like a tint. Any clues?
squeen wrote: Thanks.
Diego wrote: Hello, Squeen; was my brief of any use?
I'm wondering if we could see the new IconBar version soon!
Orakel wrote: if i move my mouse over the current opened applications they all pop up; i have this feature enabled. If the icon is less big than the maximum size is pops up relatively less to vertical, but still relatively more to horizontal...
vegac wrote: should I just go ahead and add features to CVS and then contact you about them, or do you want me to make sure to go over them with you before they hit CVS?
squeen wrote:
Also, if you are interested, join the iconbar developement team and you can tweak the source as well.
Subject: -71- How can I make my X Server use a 12-bit PseudoColor, 12-
bit TrueColor or 24-bit TrueColor visual by default?
Date: 07 May 1993 00:00:01 EST
By default, the SGI X Server is configured to use an 8-bit
PseudoColor visual. X-based applications can request other visuals
directly if they are available. Alternatively, you can change the
default visual by performing the following steps:
a) Run "/usr/bin/X11/xdpyinfo" and check that your server is
capable of using a 12-bit or 24-bit visual. If it is,
you will see lines similar to the following:
visual id, max buffers, depth: 0x28, 0, 12
visual id, max buffers, depth: 0x29, 0, 12
visual id, max buffers, depth: 0x2a, 0, 24
The last number on each line represents the number of bits
available for that visual.
b) Log in as root
c) Edit the file /usr/lib/X11/xdm/Xservers. By default it
will contain the string:
:0 secure /usr/bin/X11/X -bs -c -pseudomap 4sight
for a 24-bit TrueColor visual change it to:
:0 secure /usr/bin/X11/X -bs -c -class TrueColor -depth 24
for a 12-bit PseudoColor visual change it to:
:0 secure /usr/bin/X11/X -bs -c -class PseudoColor -depth 12
d) Restart your X server as above.
Note: X Server visuals are an advanced topic; before making the
above changes you should be aware that some 3rd-party and freeware
applications might not gracefully adapt to an X Server which supplies
anything but an 8-bit PseudoColor visual by default.