On 06/04/2012 11:12 PM, Bryan Gardiner wrote:
>>> On 30.05.2012 05:08, quanta wrote:
>>>> GNOME Terminator has its own option (`-m`) to maximize the window.
>>>>
>>>> I've tried both way:
>>>>
>>>> 1. set `terminal = "terminator" combined with:
>>>>
>>>> { rule = { class = "Terminator" },
>>>> properties = {
>>>> floating = true, maximized_horizontal = true,
>>>> maximized_vertical = true } },
>>>>
>>>> 2. specify `terminal = "terminator -m"` and removed the maximized_*
>>>> properties in 'Terminator' class
>>>>
>>>> but I cannot get Terminator maximized on startup.
>>>> I have to press `Mod4 + m` several times.
> I realize this is not super helpful, but the rule you gave works fine
> for me (awesome 3.4.9). "terminator -m" does not though. It sounds
> like you have something overriding its maximized state. When you
> start Terminator up with the rule in 1., does the window not get the
> floating icon in the task list?
Yes, it got the floating icon (bird or butterfly :D?)
>
> Since awful.rules.rules are processed in order, maybe something lower
> down in the list is matching and setting it to be non-maximized.
No, there is nothing override this:
$ grep -A2 erminator ~/.config/awesome/rc.lua
terminal = "terminator"
editor = os.getenv("EDITOR") or "nano"
editor_cmd = terminal .. " -e " .. editor
--
{ rule = { class = "terminator" },
properties = {
floating = true, maximized_horizontal = true,
maximized_vertical = true } },
--
native_run_once("terminator")
--native_run_once("thunderbird")
native_run_once("firefox")
>
> Also, it seems that Terminator sets two WM_CLASSes, a pretty obvious
> check but have you tried both? (Only the second one works for me
> though.)
>
> $ xprop | grep WM_CLASS
> WM_CLASS(STRING) = "terminator", "Terminator"
I've changed the WM_CLASS to the lowercase and now sometime it get
maximized, sometime it doen't.
>
> HTH,
> Bryan
--
To unsubscribe, send mail to [email protected].