Re: Full screen

Albert Shih <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
 Le 10/09/2007 à 16:34:02-0400, Etan Reisner a écrit
> On Mon, Sep 10, 2007 at 01:19:09PM -0400, Jordan Sissel wrote:
> <snip>
> > Any time I've run into this, it is because I installed a new version of
> > ion3 but my ~/.ion3/ had configs for the older version. The solution
> > (for me) has always been to copy in the new configs that come with ion3
> > and reapply any changes I'd made previously.
> 
> As I've said on this list and in #ion any number of times, I *strongly*
> recommend *not* copying the system configuration files into ~/.ion3 for
> reasons exactly like this. There are only three ion config files you
> should copy or need to copy and they are cfg_ion.lua, cfg_dock.lua, and
> cfg_statusbar.lua and you obviously only need those latter two if you
> actually use the dock/statusbar. For all other configuration you can use
> cfg_ion.lua or other files of your own naming that you dopath() in
> cfg_ion.lua.

OK. But well during long time I use ... a old config file because it's very
complicate for a not power user to follow the change in the config file.

Now I try from the cfg_ioncore.lua to make a new file for my own config.
And it's not work. Anyone can help me 

Thanks.

Regards.



Here is the file

*******************************
* I wan to use Crtl + Up/ Crtl+ down to switch screen
* and I want switch F1 and F9 to using F1 to go/or create a workspace.
*******************************

SECOND_META="Control+"
defbindings("WScreen", {
    bdoc("Switch to next/previous object within current screen."),
    kpress(SECOND_META.."Up", "WScreen.switch_prev(_)"),
    kpress(SECOND_META.."Down", "WScreen.switch_next(_)"),

    bdoc("Create a new workspace of chosen default type."),
    kpress(META.."F1", "ioncore.create_ws(_)"),
})

*********************************

*********************************
* easy to understand what I'm want to do.
*********************************

-- Frames for transient windows ignore this bindmap

defbindings("WMPlex.toplevel", {

    bdoc("Run a small font terminal emulator."),
    kpress(META.."F2", "ioncore.exec_on(_, 'xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-15')"),
    bdoc("Run a terminal emulator."),
    kpress(ALTMETA.."F4", "ioncore.exec_on(_, 'Eterm -v -8 -F -adobe-courier-medium-r-normal--20-140-100-100-m-110-iso8859-15 --select-line --scrollbar-floating --name Shell')"),

    bdoc("Run a small font terminal emulator."),
    kpress(META.."F4", "ioncore.exec_on(_, 'Eterm -v -8 -F -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-15 --select-line --scrollbar-floating --name Shell')"),

    bdoc("Query for file to edit."),
    kpress(ALTMETA.."F5", 
		"WRegion.rqclose_propagate(_, _sub)"),

    bdoc("Query for workspace to go to or create a new one."),
    kpress("F1", "mod_query.query_workspace(_)"),
})

*****************************************************
* and crtl+left/right to go frame
*****************************************************
    
defbindings("WFrame.toplevel", {
        bdoc("Switch to next/previous object within the frame."),
        kpress(SECOND_META.."Right", "WFrame.switch_next(_)"),
        kpress(SECOND_META.."Left", "WFrame.switch_prev(_)"),
})
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mar 11 sep 2007 10:06:05 CEST
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.