Define a custom shortcut for Compiz Window Manager

Ralf Mardorf silver.bullet at zoho.com
Fri Apr 22 12:55:38 UTC 2016


On Fri, 22 Apr 2016 22:48:59 +1000, Karl Auer wrote:
>On Fri, 2016-04-22 at 11:02 +0200, Ralf Mardorf wrote:
>> Wrong, the OP needs hex to get the original size for the math:  
>
>In my experiments, wmctrl was perfectly happy with a decimal ID value..
>.?

Then you didn't use "wmctrl -l -G" to get the size of the original
active window. Before you can calculate 75% of the original size, you
need to know the size. How did you get the size using a decimal value?

Using a decimal value to resize the window works, but I haven't seen a
way to determine the native size without the hex ID.





More information about the ubuntu-users mailing list