(which could then be used to do 'xwit' twiddling.) This is, shall we say,
suboptimal for the task. :) I'd imagine there are other ways to hunt it
down - 'xwininfo -all -root|grep Mozilla' comes to mind - but that gets a
bit shaky. Anyway, you've avalanched some synapses for me, the appropriate
brain cells fired, and All Is Now Well. :) Thanks!
(!) [Thomas] No worries. You can probably get a fairly accurate result in
making use of '-root' to xwininfo, so something like:
[n6tadam@station ~]$ xwininfo -root -all -tree | grep -m1 'Mozilla-bin'
0x282c250 "Gecko": ("Gecko" "Mozilla-bin") 200x200+0+0 +0+0
At least with it displayed in a tree form (and stopping at the first
match), you can be fairly well assurred that you'll be matching the parent
window.
____________________________________________________
(?) icewm light weight desktop
From Jpydeep Bakshi
Answered By: Chris Gianakopoulos, Benjamin Okopnik, Adam Engel, Thomas Adam
Hi all,
I am totally shifted to icewm and I am a newbie on this icewm. that's why I
am asking some questions, may be very basic to you all but I don't have much
knowledge about it.
1) is it possible to get a customised menu where I'll have some very
frequently accessed entries like sylpheed-claws, mplayer etc and nothing
else ?
2) how to create shortcuts on desktop ?
(!) [Thomas] Use a program such as rox-filer [1] or 'idesk' (search LG.net
for that one, there was an article about it not so long ago). You're also
suffering from a fundamental lack of understanding about what a desktop
environment is, and what a window manager is. I'm not going to cover it
here again - see any of the recent LG releases within the last six months.
Essentially the term "desktop" isn't. It's just the root-window.
1. [73]http://rox.sf.net
(?) I'll definitely go through those article. what window manager do you
use?
Now a million-dollar question. is it practically possible to run K-desktop
environment on xfce or icewm window manager ? if possible then how ? I am
too much interested to do such an experiment.
(!) [Thomas] You clearly don't pay enough attention to reading the LG, if
at all. :) [2,3]. I suppose you ought to read the recent TAG entries as
well [4,5,6].
Only where those window managers are EWMH compliant [3], for which icewm
seems to be. This allows things like the kde kicker and gnome's taskbar to
be handled correctly from the window manager that will run 'inside' of the
[74]KDE or [75]GNOME environment. Effectively this process is using
Session Management [2], although in reading that, you would need to
replace the current running window manager in GNOME with icewm. You can't
use "icewm --replace" as that's specific to FVWM, hence you should use:
killall metacity && sleep 1 && icewm &
Then you'd have to save your session before you logged out (via
gnome-session-properties). I have to say that I absolutely hate session
managers. I can't stand them. They're terrible at what they do and what
they do, is second rate.
If you want to use KDE instead, the process can get a bit trickier - I
have heard rumours of the use of candles and goats, but....
KDE is started via the 'startkde' script. If you edit that script what you
might see is a line such as:
ksmserver
which starts the window manager (kwin by default). To start fvwm you
should add the option "-w icewm" to the ksmserver line, and save the file.
On typing 'startkde' this should then launch icewm as the window manager
of choice.
Of course, all of this is theory - I don't use icewm so I am just applying
what I already know.
2. [76]http://linuxgazette.net/105/adam.html
3. [77]http://linuxgazette.net/100/adam.html
4. [78]http://linuxgazette.net/104/tag/4.html
5. [79]http://linuxgazette.net/105/tag/1.html
6. [80]http://linuxgazette.net/105/tag/2.html
(!) [Ben] Thomas already mentioned that you're suffering from a bit of
confusion in this regard. You don't "create shortcuts on desktop"; you run
an application that allows you to create clickable icons linked to
applications. My favorite is "coolicon", which is available as a standard
[81]Debian package; it does not come with particularly exciting icons -
but you can use any XPM image as an icon, and it's very flexible,
powerful, and lightweight.
=10= |