[FreeNX-kNX] key repeat

Dimitar Paskov pascoff at nola7.com
Tue Apr 17 09:05:24 UTC 2007


> Hi Dimitar,
>
> On 3/7/07, Dimitar Paskov <pascoff at nola7.com> wrote:
> > I had the same problem and I did not figured out what is causing that but
> > I found a solution to this problem. When you start nxclient as X11
> > Session (only start X server and nxclient) the key repeat feature is not
> > working ... but if you start X server, nxclient and a window manager then
> > it works! It is very strange but it works ... I don have an explanation
> > thou ... I use "ion2" as a window manager because it was the only one I
> > found that can be set up to open specific windows (nxclient) in full
> > screen mode so the nx session goes into full screen without any window
> > managers and borders around it. If you want to try this I can send you
> > config files of ion2.
>
> I'm trying out ion2.
> I've got nx client starting up automatically with ion2 but, how do I
> remove the top window Tab decoration? I'd like 100% fullscreen.
> If you don't mind sending your configs, I'd be much obliged.

the config is very simple, the main thing that you need is the file 
.ion2/kludges.lua
in the user (with which you start ion2) home directory
and it has these lines:

------------------------------------------
winprop{
    name = "NX - .*@.*",
    fullscreen = true
}
------------------------------------------

I have two more files in ~/.ion2: 
ion.lua with these lines:

---------------------------------------------
DEFAULT_MOD = "Mod1+"

-- Kludges to make apps behave better.
include("kludges")

-- Make some bindings.
include("ion-bindings")

-- Modules.
load_module("query")
load_module("ionws")
----------------------------------------------

and the file ion-bindings.lua:

---------------------------------------------
include("querylib")

global_bindings{

    kpress(DEFAULT_MOD.."F9", make_exec_fn("xterm")),
    kpress(DEFAULT_MOD.."F12", restart_wm),

}

genframe_bindings{

    kpress(DEFAULT_MOD.."F10", querylib.query_exec),

}

mplex_bindings{

    kpress_waitrel(DEFAULT_MOD.."F11",
                   make_mplex_clientwin_fn(WClientWin.toggle_fullscreen)),

}
--------------------------------------------

thats all you need to make it work :)



More information about the FreeNX-kNX mailing list