Hello ebik.
So the problem with the file windowinfos is due to configuration. I must add
in file cfg_kludges.lua:
dopath("cfg_kludge_flash.lua")
Now i have a file. See the content:
-- Ce fichier a été généré par Ion, Ne pas éditer.
return {
["instance"] = "xterm",
["class"] = "UXTerm",
}
I create a block in my file cfg_kludge_flash.lua
defwinprop {
class = 'UXTerm',
instance = 'xterm',
--match = function(prop, cwin, id)
-- local geom = cwin:geom()
-- return is_fullscreen(cwin) and geom.w == 200 and geom.h ==
200
-- end,
match = function(prop, cwin, id) return is_fullscreen(cwin); end,
switchto = false,
flash_fullscreen = true,
}
The fullscreen mode doesn't work. :(
I try this:
defwinprop {
class = 'UXTerm',
instance = 'xterm',
match = function(prop, cwin, id)
local geom = cwin:geom()
return is_fullscreen(cwin) and geom.w == 200 and geom.h == 200
end,
--match = function(prop, cwin, id) return is_fullscreen(cwin); end,
switchto = false,
flash_fullscreen = true,
}
The fullscreen mode stay few seconds then it disappear
Have you any ideas?
Tony
2009/12/14 ebik <[email protected]>
>
> I think you were looking for windowinfos.lua in wrong directory.
> It is not saved into .ion3/ itself, but in .ion3/default-session-0/
> (if you did not changed your ion session directory).
>
> > class = 'Firefox-bin',
> > instance = 'Firefox-bin',
>
> Here I think that instance should be lowercase, but I'm not sure.
> First try to omit instance.
>
> Also the script may not work in specific circumstances. I have two
> computers, but only on one is the solution working reliably. (The
> other computer is old, some plugins in iceweasel installed etc.)
>
> --
> Tomáš 'ebík' Ebenlendr
> PF 2009.95150459792
>
>