[kde-linux] Re: konsole and --geometry

Alex Schuster wonko at wonkology.org
Sat Oct 30 15:47:33 UTC 2010


Duncan writes:

> George R Goffe posted on Fri, 29 Oct 2010 15:32:32 -0700 as excerpted:
> > I'm trying to effect very special placement of konsole windows but am
> > not able to do so. I have read that KWin intercepts my --geometry
> > specs but have not been able to find where I can turn off this
> > behavior. I'm running kde-4.4.2 on Ubuntu and Fedora Core 12
> > systems.

[...]

> What you're probably looking for is "special window (or app) settings",
> also called "window rules" (tho I think the latter might have been a
> change for 4.5 so you might not find it in 4.4).  This can be found
> under the window menu in the titlebar, or in kcontrol (called system
> settings in kde4, altho at least as shipped by kde, it's generally
> user specific and kde specific settings, NOT system-wide settings, so
> the kde3 "kcontrol" name is far more accurate).
> 
> This feature allows you to create either app specific or window
> specific (for apps with more than one window) rules, that form
> exceptions to the general window handling policies set elsewhere in
> kde's config.  I happen to use this feature quite heavily myself, as I
> do have a number of apps (including konsole) that I want to behave
> somewhat differently than they otherwise would.  As such, I'm
> reasonably familiar with it.
> 
> You have two possible strategies to follow here.  You can either use
> the window rules to setup the behavior you want, dropping your
> previously attempted --geometry settings, or you can tell kwin to
> strictly obey the app's own geometry settings, instead of handling it
> as it normally would.

I'd be interested in how to do the latter, and George might be, too. The 
window rules are fine, but what if one likes multiple konsoles to start in 
different places? Maybe this could be done by more specific window rules 
that include the window title or something, that can be changed by 
specifying a profile or via the misterious '-p <property=value>' option. 
But it would be easier to just use an option like --geometry.

BTW, any idea why this option is overridden? I mean, KDE window placement 
rules and the window rules are okay, I use them by myself a lot, but when 
I explicitely specify a --geometry option, why shouldn't it be used?

Just curious,

	Wonko



More information about the kde-linux mailing list