On Sat, 20 Dec 2003 21:30:38 -0500
Hall Stevenson <[EMAIL PROTECTED]> wrote:

> Bradley Reed wrote:
> >Some programs when they are iconified show up in the Iconbox with a
> >screen snapshot (such as Mozillla). Some show up with an icon (such
> >as Sylpheed). Others iconify but are completely invisible and I need
> >to use eesh to un-iconify them. (I notice this with Nethack v3.4.3)
>
> What apps in particular do this ?? Out of the box, E's default is to
> use either a "screenshot" of the app window or an icon that ships with
> E. I've never seen it display NO icon. Do you, by chance, have a 2nd 
> iconbox possibly under a window that the app is going to ?? When you 
> iconify a window, they seem to go to the "closest" iconbox.

I've been using enlightenment for several years now and have never
noticed this before either. The vast majority of programs iconify
correctly to either an icon or a snapshot.  Tonight I noticed two
programs which "just disappear". There is a 'placeholder' in the
iconbox, meaning there is a large empty spot where the icon should be
and if I iconify some other program it will respect the 'placeholder'
and leave a gap. But unfortunately, there is nothing to click on to
un-iconify the invisible icon. I just see my background image. The two
programs are nethack 3.4.3 and xlife 5.0. Whether this is a bug in
enlightenment 0.16.6 or whether this has always been the case for these
two programs, I don't know. I just compiled both of them within the last
month and I don't usually iconify them if I'm using them ( I generally
shade windows.)

I noticed just know while experimenting with this, that if I restart
enlightenment with one of these 'invisible icons' (I used nethack) that
the 'invisible icon' is shuffled to the leftmost position in the icon
box and if you open all the other icons, the next-to-last icon will
remain in the iconbox even after that window is un-iconified. It will
still be positioned one icon-width to the right of the 'invisible'
nethack icon.

Very strange. Also, If I iconify nethack when it has any subwindows
showing, the main nethack window will still behave as above, but the
child windows will behave properly (snapshotted). (mostly)

> 
> You could also just try to manually specify the icon to use for these 
> (bad ?) apps. In the E install directory, likely 
> /usr/local/enlightenment (if compiled from source) or 
> /usr/share/enlightenment (if a package install), look for 
> 'icondefs.cfg'. It's fairly easy to understand. To determine the value
> 
> to use for the windowmatch, right-click the app, select "Remember..." 
> and note the "name" and "title" that's listed. Use one of those,
> though I'm not sure which is the right one. Save the file, iconify a
> window, and see if it works. You don't have to restart E for the
> change to take effect.

For nethack the "Remembered Application Attributes" lists:
Title: nethack
Name: nethack
Class: NetHack

I'm trying various entried in my
/usr/share/enlightenment/config/icondefs.cfg but so far with no success.

The format of the file is:
"pix/mon.png" NULL "*term*" "Eterm"
which I'm guessing is icon (something) class name /OR/
icon (something) class title but even a line as lame as:
"pix/mon.png" NULL "*ack" "nethack" doesn't seem to work.


Update: getting some results if I make an icondefs.cfg in
~/.enlightenment/   
If I put:  "nh_icon.xpm" NULL "*ack" "nethack" in the file and minimize
nethack it is still invisible. If I restart enlightenment the blank spot
shifts to the far left. If I restart enlightenment a second time, the
nh_icon.xpm icon will appear and I can uniconify nethack.  Very weird.

Grateful for any suggestions or ideas,
Brad


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to