Re: ion on mac os x tiger

Samer Abdallah <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Quentin,

I'm running ion on a powerbook g4 with Mac OS X 10.4
and using the XDarwin installed via the xorg packages in
Fink. I used to use the X11.app that Apple supplies, but I
found it a bit unstable. In either case, you start the X server
by starting the .app application, not by running some
command directly. You can always put the app in your
autostart list.

You may have some trouble with the keyboard - both
X servers provide options for setting the keyboard map
and you might also have add to some stuff to your
~/.Xmodmap. I can post mine if it will help, but be warned
that I don't think either X server actually implements the
keyboard mappings correctly - I haven't been able to get
it to work exactly as I want even after lots of messing
around with xev, .Xmodmap etc.

Anyway, this is my ~/.xinit (or at least the relevant parts of it).

Hope it's useful

Samer.


--------------------------------------------------
usermodmap=$HOME/.Xmodmap

# don't forget system/user resources..

if [ -f $usermodmap ]; then
     echo Installing user modmap from $usermodmap
     xmodmap $usermodmap
fi

# set X11 font paths
xset fp+ ~/Library/Fonts/artwiz-aleczapka-en-1.3
xset fp+ /sw/lib/X11/fonts/misc
xset fp rehash

# this might cause font problems depending on which X server you use
export LANG='en_GB.UTF-8'

# Fink set-up
source /sw/bin/init.sh

# start the window manager
ion3 &
xsetroot -solid black
exec gkrellm
-------------------------------------------------

On 4 Jun 2007, at 20:00, Quentin Huys wrote:

> Hi there
>
> I've so far run ion on ubuntu and come to love it -- so much I  
> absolutely need it on my new workstation, which for random reasons  
> had to be a mac.
>
> All compiles happily, but I then don't know how to get things  
> started. I'd really appreciate any help a lot... Thanks. So:
>
> I first tried to log into console, run x11 (xinit) from there and  
> then run ion on it, but it generates errors, and then leaves me  
> with a blue screen that is utterly unresponsive to anything,  
> incluing ctrl-alt-backspace etc.
>
> So I tried the following, while running the standard mac os x  
> window manager:
>
> First start an x server on display 1 by doing
>
>       xinit -- :1
>
> And then run ion on that display:
>
>      ion -display :1
>
> But that won't work, and it comes up with all kinds of errors:
>
> q-computer:~% xinit -- :1 &
> [1] 427
>
> q-computer:~%
> XFree86 Version 4.4.0 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> [DRI] screen 0 installation complete
> Screen 0 added: 1920x1200 @ (0,0)
> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,  
> removing from list!
>
> q-computer:~%
> q-computer:~% ion -display :1
> >> Failed to load module de: dlopen(/usr/local/lib/ion/de.so, 9):  
> Symbol not found: _grbrush_get_slave
>      Referenced from: /usr/local/lib/ion/de.so
>      Expected in: flat namespace
>
> >> Stack trace:
>    0 [C]: in 'gr_select_engine'
>    1 /usr/local/etc/ion/draw.lua:6
>      [Skipping unnamed C functions.]
> >> No drawing engines loaded, trying "de".
> >> Failed to load module de: dlopen(/usr/local/lib/ion/de.so, 9):  
> Symbol not found: _grbrush_get_slave
>      Referenced from: /usr/local/lib/ion/de.so
>      Expected in: flat namespace
>
> >> Failed to load module query: dlopen(/usr/local/lib/ion/query.so,  
> 9): Symbol not found: _region_inactivated
>      Referenced from: /usr/local/lib/ion/query.so
>      Expected in: flat namespace
>
> >> Stack trace:
>    0 [C]: in 'load_module'
>    1 /usr/local/etc/ion/ion.lua:55
>      [Skipping unnamed C functions.]
> >> Failed to load module menu: dlopen(/usr/local/lib/ion/menu.so,  
> 9): Symbol not found: _region_inactivated
>      Referenced from: /usr/local/lib/ion/menu.so
>      Expected in: flat namespace
>
> >> Stack trace:
>    0 [C]: in 'load_module'
>    1 /usr/local/etc/ion/ion.lua:56
>      [Skipping unnamed C functions.]
> >> Failed to load module ionws: dlopen(/usr/local/lib/ion/ionws.so,  
> 9): Symbol not found: _genframe_brushes_updated
>      Referenced from: /usr/local/lib/ion/ionws.so
>      Expected in: flat namespace
>
> >> Stack trace:
>    0 [C]: in 'load_module'
>    1 /usr/local/etc/ion/ion.lua:57
>      [Skipping unnamed C functions.]
> >> Failed to load module floatws: dlopen(/usr/local/lib/ion/ 
> floatws.so, 9): Symbol not found: _region_do_rescue_clientwins
>      Referenced from: /usr/local/lib/ion/floatws.so
>      Expected in: flat namespace
>
> >> Stack trace:
>    0 [C]: in 'load_module'
>    1 /usr/local/etc/ion/ion.lua:58
>      [Skipping unnamed C functions.]
> >> Could not find a complete workspace class. Please load some  
> modules.
> >> Unable to set up any rootwins.
> >> Refusing to start due to encountered errors.
> q-computer:~%
> waiting for X server to shut down Quitting XDarwin...
>
> [1]  + done       xinit -- :1
>
> ---------------------------------------------------------------------- 
> ---------------------------------------------------------------------- 
> --------------------------
> Thanks very much -- any help appreciated,
> Q
>
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.