View Full Version : iLiad xrandr and ncurses


DHer
07-24-2006, 03:13 AM
xrandr (allows you to rotate the screen on your iLiad)

http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.1/feed/ncurses_5.4-r0_arm.ipk
http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.1/feed/xrandr_0.0cvs20040915-r0_arm.ipk

a terminal application

http://mirror.hentges.net/www.openzaurus.org/3.5.3/feed/x11/rxvt_2.7.9-r1_arm.ipk

gaim is about as useless as possible without keyboard, so the next thing we need is an hid module for our kernel. Anyone?

Jdiz
07-24-2006, 09:24 AM
How do I actually use this file on the Iliad?

Do I save this as a text file and "read" it in?

Not clear on the process here-- maybe a quick step-by-step?

Thanks!

DHer
07-24-2006, 10:48 AM
first of all, a disclaimer:
I know it's stupid to fiddle with a device you can't restore. I hope you know it too.
So, whatever you do, you're completely on your own.
But please go on, sp we can learn how iRex technologies handles bricked iliads.

step 1:
you use the iliadhack to get permanent network connection.
step 2:
you make an ssh connection to the iliad with the login root and no password
step 3:
you add a line to the startup script in the home directory which says
/usr/bin/wired.sh start
to make sure it will start the network connection every time it boots (not required, but useful in case the gui doesn't work anymore)
step 4:
you get the packages with
wget http://<and so on>.ipk
step 5:
install it with
ipkg install <filename>
(you can do ipkg -test install <filename> to check first)
step 6:
now you can use the program by typing xrandr (or whatever you installed)
if you want to start a program with gui you usually need to add a "--diplay :0" or something like this to make it appear on the iliad screen

repeat 4-6 as necessary till you've got installed everything you want to install (or there's no space left)

some recommendations:
do NOT overwrite already installed packages, if iRex modified them you might run into serious problems
do NOT move/delete files directly, uninstall packages by ipkg remove <name>
packages from 3.5.3 seem to work well, 3.5.4 updated some libraries and causes some dependency problems
learn how to use vi before you edit files, not while you do it
pray and have fun =)

arivero
07-25-2006, 06:02 AM
xrandr (allows you to rotate the screen on your iLiad)

http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.1/feed/ncurses_5.4-r0_arm.ipk
http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.1/feed/xrandr_0.0cvs20040915-r0_arm.ipk

a terminal application

http://mirror.hentges.net/www.openzaurus.org/3.5.3/feed/x11/rxvt_2.7.9-r1_arm.ipk

gaim is about as useless as possible without keyboard, so the next thing we need is an hid module for our kernel. Anyone?

rxvt launchs and works with the virtual keyboard but I am having problems with fonts and/or colour.

arivero
10-24-2006, 10:21 AM
rxvt launchs and works with the virtual keyboard but I am having problems with fonts and/or colour.

It works. Just specify a font name, eg ./rxvt -fn Courier

the ipkg is more easily installed with -o and -force-depends. The former lets you to specify a installation directory in the external card.

The terminal is mostly unuseful, of course, because it needs keyboard. So the trick to see it is to go to the wizard network, enable the keyboard, and then from the sshd entry lauch the application. Switching the keyboard modes you get full screen updates, so you can see the terminal. Hopefully in the future it would be recompiled to a) call liberipc to enable the keyboard and b) call liberdm to enable the smooth display update.

scotty1024
10-24-2006, 02:41 PM
How to set your X display in your start up script:

export DISPLAY=127.0.0.1:0.0

I also suggest adding:

export TZ=<your time zone>

You should also keep a close eye on the available space in your filesystem. Those ipkg installs are using up your root filesystem.

dpkg lets you redirect an install onto the memory card and then you can ln -s or PATH/LD_LIBRARY_PATH the goods.

Vanessa
09-02-2008, 12:53 PM
Do you think somebody could make a nice little package on which you click and it installs everything and runs the app ? Like for some other things on this forum ?
I'm a total linux newbie, and I'm afraid to do something wrong :(