Per Olofsson | 1 Jul 2003 22:21

Re: substituting Function Keys and osd_clock

On Mon, 30 Jun 2003, Niclas Olofsson wrote:

> Tuomo Valkonen wrote:
> > but better integrating OpenGL with X might a bit too much
> > asked.
>
> I believe that allready exist.

It's called GLX, right?

Per Olofsson | 1 Jul 2003 22:23
Picon
Picon
Gravatar

Re: substituting Function Keys and osd_clock

On Mon, 30 Jun 2003, Sebastian Schwerdhoefer wrote:

> But Mod1+Q is _not_mentioned in man 1 ion-devel on my system
> (ion-devel 20030327 on debian woody with some testing packages).

There's a new version in sid now.

Toke N-S | 3 Jul 2003 03:25
Picon

ws inside frame

Hi

I was wondering if it in ion is possible to have a workspace managed by
a frame so that the workspace will show up as another tab in the
frame. If this is possible how is it done? Also how do you then direct
keypresses to a specific level in this hierarchy? Is it possible
to have different keybindings bound to the same function but to
different levels of workspaces (e.g. the outermost, the second
outermost etc.)?
To be able to do these things would make ion more usable for me, as it
would enable me to e.g. use programs with many windows much more
efficiently by putting the program in a separate ionws inside an
ionframe.

Thanks

Toke N-S

Christian Arthaber | 3 Jul 2003 04:42
Picon
Picon

ion startup error message (debian sid - .xsession-error via xmessage)

Hi!

Whenever i start up ion I get the following error message:

| Failed to load fallback font "fixed"
| Resetting locale to "POSIX".
| This seems to work but support for non-ASCII characters will be
| crippled. Please set up your locales properly.

Could someone please point me to the right direction what could be
wrong here? AFAICS there is no problem in loading the font fixed -
where does ion search for it? 

My locale settings are:
LC_ALL=en_IE <at> euro
LC_TYPE=de_AT <at> euro
LANG=C

The strange thing is that I cannot see any problems with any
program I've tried.

Thanks in advance,
Christian

Tuomo Valkonen | 3 Jul 2003 10:18
Picon
Picon

Re: ion startup error message (debian sid - .xsession-error via xmessage)

On Thu, Jul 03, 2003 at 04:42:23AM +0200, Christian Arthaber wrote:
> LC_TYPE=de_AT <at> euro
                    .ISO-8859-1
		    .ISO-8859-15
		    .UTF-8

or whatever depending on your setup (probably UTF-8 as you have enabled
UTF-8 support). X needs the character set defined here.

--

-- 
Tuomo

Tuomo Valkonen | 3 Jul 2003 10:27
Picon
Picon

Re: ws inside frame

On Thu, Jul 03, 2003 at 03:25:17AM +0200, Toke N-S wrote:
> Hi
> 
> I was wondering if it in ion is possible to have a workspace managed by
> a frame so that the workspace will show up as another tab in the
> frame. 

Mod1+F3 .. region_manage_new(_, {type="WFloatWS"})

> Also how do you then direct
> keypresses to a specific level in this hierarchy? 

You must do the level selection in your binding functions.

You could do this with wrappers like:

function wrap_level(bindings)
    for i, v in ipairs(bindings)
        if v.action=="kpress" then
	    local func=v.func
	    v.func=function(...)
	               local reg=table.remove(arg, 1)
	               -- replace reg with a parent at wanted level
		       func(reg, unpack(arg))
		   end
	end
    end

    return {submap2("whatever", bindings)}
end
(Continue reading)

Tuomo Valkonen | 3 Jul 2003 10:47

Re: substituting Function Keys and osd_clock

On Tue, Jul 01, 2003 at 10:21:07PM +0200, Per Olofsson wrote:
> On Mon, 30 Jun 2003, Niclas Olofsson wrote:
> > I believe that allready exist.
> It's called GLX, right?

GLX seems to have some support for loading single glyphs from X fonts as
display lists, but IMO there should be e.g. better support for drawing 
strings, not necessarily in OpenGL, but in the GLX or whatever extension
so the API could be more easily use for other things but 3D. And, I 
haven't tried to find out, but can GLX be used simulateously with X's
drawing primitives independent of underlying hardware supposing the 
hardware supports windowed 3D. (Old Voodoo cards and such don't so they
don't matter.)

--

-- 
Tuomo

Tuomo Valkonen | 3 Jul 2003 11:02
Picon
Picon

Re: ROX filer advice?

On Mon, Jun 30, 2003 at 04:22:37AM -0400, Paul Pelzl wrote:
> Without the compatibility option enabled, every ROX window generates a
> new fullscreen workspace.  Not very useful.

I have not tried the app, but it would seem to me that even with the
override option rox generates a full screen window that then obscures
other full screen windows because they're lowered when switched to 
(xprop etc. brokenness workaround).

There's actually a bug in Ion, but not the kind you would think.. the rox
window should obscure everything on workspaces switch but apparently 
workspaces aren't handling stacking requests at the moment.

> Any advice?

Don't use such a horrendous kludge?

I could add a 'ignore_fs_requests' winprop, but then the desktop kludge
would be another normal window. If Rox uses a _NET_whatever property
to indicate that the window is such a kludge, then, if the support could
be implemented in just a few lines, I might set Ion to stack such windows
below anything else and otherwise ignore.

--

-- 
Tuomo

Sam Mason | 3 Jul 2003 12:50

Re: ws inside frame

Tuomo Valkonen wrote:
>On Thu, Jul 03, 2003 at 03:25:17AM +0200, Toke N-S wrote:
>> I was wondering if it in ion is possible to have a workspace managed by
>> a frame so that the workspace will show up as another tab in the
>> frame.
>
>Mod1+F3 .. region_manage_new(_, {type="WFloatWS"})

Genius; when did the infrastructure for that go in?

Recently, I've been getting pretty confused about what a Region is.  I
used to think that it was something concrete - to borrow some OO
terminology.  In other words, it was an entity that could exist and do
useful things on it's own.  I guess that this idea was backed up by
all the Lua code that referred to it by name.  I.e. above, I thought
you were asking to create a new region that is controlled in the Ion
style.  In other words, I thought that a region had a similar holding
as Screens, Workspaces or ClientWindows.  I've since done a bit more
reading and am beginning to see that I had it all a bit backwards.  A
Region is pretty much an abstract class, extended by most of the other
Objects and all the Lua code that refers to it does so, to refer to
the fact that you are doing an operation on the Region inside whatever
you are currently operating over.

You posted a class structure diagram a little while ago. . .  It's got
a little out of date, so I've done a quick grep of the source and come
up with the following:

WObj
 |- WWsSplit                      (ionws.so)
(Continue reading)

Tuomo Valkonen | 3 Jul 2003 13:25
Picon
Picon

Re: ws inside frame

On Thu, Jul 03, 2003 at 11:50:58AM +0100, Sam Mason wrote:
> You posted a class structure diagram a little while ago. . .  It's got
> a little out of date

An up-to-date version of that diagram and some other diagrams can be 
found  in the documentation 
<http://modeemi.cs.tut.fi/~tuomov/ion/doc/ionconf/node2.html>.
(Unfortunately LaTeX2HTML thinks all figure environments should be 
converted to images.)

>  `- WRegion
>      |- WScreen

WScreen has been a WMPlex for a while.

--

-- 
Tuomo


Gmane