All my other X-Windows behave okay on my multiple monitor system - if you do the double-click on the title bar, they'll only take up one monitor. Not the hello world widget I get with this :
use Tk;
my $mw = MainWindow->new;
$mw->title("Hello World");
$mw->Button("-text" => "Done", -command => sub { exit })->pack;
MainLoop;
Anyone know what's missing?
A blog of challenges intended to stimulate smart people. Also, a collection of links and info related to the XO laptop. Any worthwhile suggestion will be allowed as a comment.
Sunday, May 25, 2008
Saturday, February 16, 2008
The World's Greatest Hacker
What makes a great hacker - the ability to takes someone else's work, find out what modules it has, and then use those modules to create something you want - or an extension of the original work. Here's an example :
http://www.youtube.com/watch?v=daZjEy7-QCo
http://www.youtube.com/watch?v=daZjEy7-QCo
Monday, February 11, 2008
Das ist Moeglisch
With a linux guru's help:
use about:config in the browser to get some possibly useful info.
Install nmap on your other PC to find out stuff about your XO.
ps -u olpc
will give you some useful information as well.
We found that su directly gives you root access. They should atleast ship it out with the default password being something you picked at payment time or something.
> yum
can do stuff for you - Yet another Update Manager
> yum check-update
To reboot, you can do
> reboot
During reboot, you can try CTRL-ALT-F11 or CTRL-ALT-F12 to look at the boot sequence. We found all of CTRL-ALT-F1 to F4 give you something useful.
Even though we upgraded the kernel, it was still booting with the old kernel.
I had put a password on the olpc account that I'd forgotten, but as the root account didn't have a password, I could use the SSH client on my PC to get into the XO. Use the router to find out what IP address has been assigned it - my case was 192.168.0.101. Username root, port 22.
They do have a remote desktop client available. nxclient or etwas.
But, what I did, that I hadn't read about was use my cygwin install to do
> ssh -X root@162.198.0.101
and then, I could launch an xterm, and, the best part - CTRL-rightclick gave me the large font - and I could get the xterm to take up the whole screen. Thus, we have gotten past the tiny screen. One small step fur mich. Eine giant leap fur mankind.
use about:config in the browser to get some possibly useful info.
Install nmap on your other PC to find out stuff about your XO.
ps -u olpc
will give you some useful information as well.
We found that su directly gives you root access. They should atleast ship it out with the default password being something you picked at payment time or something.
> yum
can do stuff for you - Yet another Update Manager
> yum check-update
To reboot, you can do
> reboot
During reboot, you can try CTRL-ALT-F11 or CTRL-ALT-F12 to look at the boot sequence. We found all of CTRL-ALT-F1 to F4 give you something useful.
Even though we upgraded the kernel, it was still booting with the old kernel.
I had put a password on the olpc account that I'd forgotten, but as the root account didn't have a password, I could use the SSH client on my PC to get into the XO. Use the router to find out what IP address has been assigned it - my case was 192.168.0.101. Username root, port 22.
They do have a remote desktop client available. nxclient or etwas.
But, what I did, that I hadn't read about was use my cygwin install to do
> ssh -X root@162.198.0.101
and then, I could launch an xterm, and, the best part - CTRL-rightclick gave me the large font - and I could get the xterm to take up the whole screen. Thus, we have gotten past the tiny screen. One small step fur mich. Eine giant leap fur mankind.
Sunday, January 20, 2008
Sunday, January 6, 2008
Redeeming Features
Okay, managed (plug-n-play) to get a regular USB keyboard connected - looks like my USB/PS2 adapter might have a problem. I wouldn't expect the XO to mess that up. Keyboard is the Mi Internet Elite keyboard from WM for $20. Will look online for a cheaper one.
Then, managed to do an "xterm &" and get a new xterm with microscopic font. So, atleast I did manage to launch an application from the command line. Not sure if it's possible to get full-fledged windowing - resize windows, etc. That's not so important. Next order of business is to hack in and increase the processor speed at the expense of more power of course. If someone tells me how to do that, I'll pay!
Aus der meister :
Can you get access to this directory: /sys/devices/system/cpu/cpu0/cpufreq/
If you do, cat these files - scaling_available_frequencies, scaling_available_governors, etc. - to see what's available.
If the application cpufreq is available, you can alter these settings.
Unfortunately, cpu0 only contains a file called crash_notes and a directory called cache. Looks like I'll have to import cpufreq from somewhere else.
But, I can confess that the beast feels an order or magnitude faster just from being able to use a regular keyboard.
Then, managed to do an "xterm &" and get a new xterm with microscopic font. So, atleast I did manage to launch an application from the command line. Not sure if it's possible to get full-fledged windowing - resize windows, etc. That's not so important. Next order of business is to hack in and increase the processor speed at the expense of more power of course. If someone tells me how to do that, I'll pay!
Aus der meister :
Can you get access to this directory: /sys/devices/system/cpu/cpu0/cpufreq/
If you do, cat these files - scaling_available_frequencies, scaling_available_governors, etc. - to see what's available.
If the application cpufreq is available, you can alter these settings.
Unfortunately, cpu0 only contains a file called crash_notes and a directory called cache. Looks like I'll have to import cpufreq from somewhere else.
But, I can confess that the beast feels an order or magnitude faster just from being able to use a regular keyboard.
Evidence
of people actually having success with a USB mouse on the XO. Unfortunately, they don't post linx to instructions.
http://blog.wired.com/gadgets/2007/12/review-olpc-xo.html
http://blog.wired.com/gadgets/2007/12/review-olpc-xo.html
Subscribe to:
Posts (Atom)