[Mageia-discuss] Display window dimensions when resizing

RICHARD WALKER richard.j.walker at ntlworld.com
Wed Aug 8 13:38:27 CEST 2012


One final (?) tip for more general use, not tied to any particular
desktop; you could try Xephyr. I use it like this to start an LXDE
session in a new window on my desktop:

#!/bin/sh

Xephyr :1 -screen 800x600 -ac -br -dpi 96 &
sleep 2
lxsession -display :1

One caveat, I just discovered when pasting this back to a new shell
file to check it; I seem to have picked up some /r characters at end
of line from the browser and they needed to be cleaned from the shell
file.

Instead of lxsession you could use whatever you like to start another
window manager (kwin?) but changes you make to the Xephyr desktop will
be changes you make to your normal desktop, unless you take
precautions.

R

On 08/08/2012, Richard <richardwest at leiston.info> wrote:
> On Wednesday 08 August 2012 13:19:01 Shlomi Fish wrote:
>> Hi Marc,
>>
>> On Tue, 07 Aug 2012 23:52:05 -0400
>>
>> Marc Paré <marc at marcpare.com> wrote:
>> > Is there a way to display the dimensions of a window when I resize
>> > it? And, is there a way to size a window to specific dimension ...
>> > for example if I wanted to size a window to 800x600 for a screen shot?
>> >
>> > Thanks for the help.
>> >
>> > Marc
>> >
>> > Mageia2, KDE 4.8.2
>>
>> I have no idea what I did to enable it, but I'm getting a functionality
>> of
>> displaying the dimensions of the windows when resizing it in my KDE
>> version.
>>
>> Anyway, see:
>>
>> https://bugs.kde.org/show_bug.cgi?id=61112
>>
>> Go to systemsettings -> Window Behaviour -> Window Behaviour -> Moving ->
>> "Display window geometry when moving or resizing".
>>
>> I found it on a web search.
>>
>> Regards,
>>
>> 	Shlomi Fish
>
> Have a look in System Settings > Window Behaviour > Moving > Display window
>
> geometry when moving or resizing.
> --
> Richard.
>
> http://www.leiston.info
> http://www.rose-linux.net


More information about the Mageia-discuss mailing list