Tomáš Ebenlendr | 1 Mar 2008 01:41
Picon

Re: thinkpad x31 keys

Try 'xev'. It can say you what events the 'xev' window receives. So you
can see if it is some key of keyboard, or if it is "mouse wheel" (mouse
wheel often behave as next/previous in firefox - as it generates mouse
button 4 & 5 click*). Then you can edit your ion config files to set
apropriate binding (kpress or mpress).

*) Another X-related braindead thing...

Dne 29 Únor 2008, 21:53, tmudku@... napsal(a):
> Hello, I have an ibm thinkpad x31. it has two ?special? keys near the
> cursor keys. They are used as ?next? and ?previous? on firefox. Can I use
> these ?special? buttons instead of the alt-k-n and alt-k-p?thanks
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.2/1304 - Release Date: 2/29/2008
>  8:18 AM

--

-- 

                            Tomas Ebenlendr
                            http://drak.ucw.cz/~ebik

sunway | 1 Mar 2008 09:22
Picon

how to remove some windows from the focuslist?

the window displayed on the systray is also listed in the focuslist, how to remove it?

--

-- 
sunway

Tuomo Valkonen | 1 Mar 2008 21:21
Picon
Picon
Favicon

Re: how to remove some windows from the focuslist?

On 2008-03-01, sunway <sunwayforever@...> wrote:
> the window displayed on the systray is also listed in the focuslist, how
> to remove it?

Rewrite the list generator :).

--

-- 
Tuomo

Per Ekström | 1 Mar 2008 22:33
Picon

Wish item; workspace templates

Hi!

I like the concept of Ion, though I have yet to try it "for real" (I've only been playing around in it so far). Kudos for such a nice WM. :)

There's just one thing I miss, that I haven't found in any of the tiling WMs so far; There's no way to set up templates to tell your apps where they should go. :(

What I mean, is this; Say that I have a few workspaces.  I use one for internet things (web, IM, chat), one for multimedia and handling my files, one for the GIMP, and one for developing stuff.

My internet workspace has the contact list and RSS feed in two areas to the right, a bar at the bottom is for chat stuff (IM and IRC), and in the space left is my browser.  Browser has perhaps  80%*80% of the workspace.

My GIMP workspace has the toolbars to the right, and everything else is floating on top of the grid, with the toolbars being on top of course (for easy access).

My multimedia/file window, meanwhile, has a media player in a narrow strip at the bottom and a file manager with commander-like structure at the top. About a 60/40 ratio. If I play, say, a movie, I want it to appear as a floating window on top of this.

Finally, my developer workspace, has a terminal at the bottom, and Emacs at the top, 75/25 ratio with Emacs taking up the upper part of the screen.

Now, I hope most persons here are mature enough to see that this is not ideal for everyone; it sucks on a small resolution for one thing. But I like it this way. Only problem is, it doesn't get saved when I have to reboot (damn kernel devs can't design a proper secure kernel... ;)). So I have to spend 10-20 minutes on getting everything up-to-speed again.

So, I'd like to see what I call "Workspace Templates" - You basicly define which programs open where (per default that is). This would require a small configuration change. Below is an example of such a file (modify it as you see fit);

[Workspace 1]
name=Internet

[area]
workspace=Internet
dimensions=80 80           // In percentage
location=left top
name=browsers

[area]
workspace=Internet
dimensions=20 50           // In percentage
location=right top
name=rss

[area]
workspace=Internet
dimensions=20 50           // In percentage
location=right  bottom
name=contacts

[area]
workspace=Internet
dimensions=40 20           // In percentage
location=left  bottom
name=irc

[area]
workspace=Internet
dimensions=40 20           // In percentage
location=left top
name=imchat

[programs]
item=firefox browser
item=akregator rss
item=pidgin contacts
item=pidgin-chat imchat
item=xchat irc

There's only one thing missing for this puzzle; how to handle child windows from applications? Otherwise I think it should be pretty straightforward to develop. Though, I am not really a developer, so I might be wrong.

Thoughts? Comments?

Regards,
- Per Ekström

csant | 2 Mar 2008 08:58
Favicon

Re: Wish item; workspace templates

On Sat, 01 Mar 2008 22:33:08 +0100, Per Ekström <wertigon@...> wrote:

> There's no way to set up templates to tell your apps where they
> should go. :(

Do winprops not help?  Or did I misunderstand you?
/c

Tomáš Ebenlendr | 2 Mar 2008 13:36
Picon

Re: Wish item; workspace templates


Dne 1 Březen 2008, 22:33, Per Ekström napsal(a):
> Now, I hope most persons here are mature enough to see that this is not
> ideal for everyone; it sucks on a small resolution for one thing. But I
> like it this way. Only problem is, it doesn't get saved when I have to
> reboot (damn kernel devs can't design a proper secure kernel... ;)). So I
> have to spend 10-20 minutes on getting everything up-to-speed again.

Hmm, and your workspaces were not autosaved? Did you terminated ion, or
just killed/crashed it? Try quitting/restarting ion after you set up the
workspaces (via ion's menu or appropriate lua functions). The layout
(i.e. framework without applications) should get saved.

> There's only one thing missing for this puzzle; how to handle child
> windows from applications? Otherwise I think it should be pretty
> straightforward to develop. Though, I am not really a developer, so I
> might be wrong.

As csant wrote, winprops are for placing new windows in correct frames.
You can also disable it afterwards, if you want the default place under
pointer behaviour later.

--

-- 
Tomas Ebenlendr
                            http://drak.ucw.cz/~ebik

Tuomo Valkonen | 2 Mar 2008 15:38
Picon
Picon
Favicon

Re: Wish item; workspace templates

On 2008-03-01, Per Ekström <wertigon@...> wrote:
> ------=_Part_14584_20378963.1204407188085
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Hi!
>
> I like the concept of Ion, though I have yet to try it "for real" (I've onl=
> y
> been playing around in it so far). Kudos for such a nice WM. :)
>
> There's just one thing I miss, that I haven't found in any of the tiling WM=
> s
> so far; There's no way to set up templates to tell your apps where they
> should go. :(

As others have pointed out, there's "winprops" [1], that can be used to
some extent. In particular the 'target' and 'new_group' properties are
useful in this case. The former will specify an existing frame or so,
and the latter the name of a stored layout for a new group to be created,
if the 'target' didn't exist. You can copy-paste the configuration of
a group you have created from the layout savefile (removing references
to client windows), and pass it to ioncore.deflayout to give it a name.
(Also see cfg_layout.lua for examples of layout definitions.) Give useful
(unique) names to the frames within the layout, and you have a sort of 
template system. It's a bit clumsy, but then apps don't exactly help us
here, and haven't found myself wanting an improved version of the feature.
You could do something better with Lua scripting, perhaps.

  [1]: http://iki.fi/tuomov/ion-doc-3/ionconf/node4.html#SECTION00450000000000000000

--

-- 
Tuomo

sunway | 3 Mar 2008 18:01
Picon

a question about mod_query and the completor

if there is only one candidate matching the input, we mustn't  press TAB
to complete it.

--

-- 
sunway

"It is impossible to defeat an ignorant man in argument. "

Etan Reisner | 4 Mar 2008 03:34

Re: a question about mod_query and the completor

On Tue, Mar 04, 2008 at 01:01:50AM +0800, sunway wrote:
> if there is only one candidate matching the input, we mustn't  press TAB
> to complete it.
>
> --
> sunway

Are you asking to be able to type a unique leading section and then just
hit enter to activate the full match? So assuming "foo" has only one
possible completion "foobar", you want to be able to hit your query
keybinding, type 'foo' then hit enter directly?

    -Etan

sunway | 4 Mar 2008 05:11
Picon

Re: a question about mod_query and the completor

yes.
if i type "oo", if there is only one possible completion "foobar", i could hit
enter directly.

On Mon, Mar 03, 2008 at 09:34:55PM -0500, Etan Reisner wrote:
>On Tue, Mar 04, 2008 at 01:01:50AM +0800, sunway wrote:
>
>Are you asking to be able to type a unique leading section and then just
>hit enter to activate the full match? So assuming "foo" has only one
>possible completion "foobar", you want to be able to hit your query
>keybinding, type 'foo' then hit enter directly?
>
>    -Etan

--

-- 
sunway

"Humility is the foundation of glory."


Gmane