Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Hi, icewm users,
I have two questions:
1) I want to have some apps started on startup of the window system. I do this in
my .xinitrc, which also starts icewm. Some of them take some seconds
until the corresponding window opens. And I want to have them on a certain
workspace, so I put something like "SunPCi.workspace: 2" into my winoptions.
The problem is, when the window comes up, icewm automatically switche to this
workspace. All other windows that have no workspace specified open on this
How can I prevent this workspace switching during startup?
I would like to setup a lot of programs on different workspaces, but the
display should remain stable on workspace 0 during this startup time.
2) Is it possible to raise or lower a window from within a script. I know
that I can hide or iconify it using 'icesh', but what I want is to switch to
the workspace with the specified window and raise it. And all that from a
perl or sh script.
Thanks for help!
> 2) Is it possible to raise or lower a window from within a script. I know
> that I can hide or iconify it using 'icesh', but what I want is to switch to
> the workspace with the specified window and raise it. And all that from a
> perl or sh script.
I'm attaching a file I wrote that raises a given window... you should
be able to modify it to also lower a window, it'll find them by name
or resource. I'm also attaching its simple makefile. It even has a
First it sees if there is a window with the given class,
class.instance, or name on the workspace that is current, if there
isn't then it'll switch over to the workspace that has the app, and
raise the app. Occasionally it doesn't work exactly right if there is
a stack of windows and you pick one, mostly with emacs windows (I
think they do something odd, what a shock)... but it doesn't happen
I actually use this in my 'keys' file to avoid having to use the
mouse... but it should do what you want as well.
> 2) Is it possible to raise or lower a window from within a script. [...]
Look for the "window" program by the author of lwm. I think you can find
the lwm window manager linked from http://xwinman.org/ still.