Puppylinux for the OLPC laptops: XOpup

For talk and support relating specifically to Puppy derivatives
Message
Author
jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#211 Post by jakfish »

Ah, yes, that command helps things considerably and I put it in my portrait rotate script.

My conky and my xhippo launch in predetermined x y coordinates, so they remain off screen, but your command makes all desktop icons visible in portrait.

Thank you again for the help,
Jake

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

JWM 579

#212 Post by mavrothal »

Jake
you may want to try the latest jwm snv 579. Supposingly handles xrandr better.
The pet below is compiled in XOpup and has the bigger buttons too.
Works fine in Lupu 528.005 that I tried it though I did not rotate the screen.
In XOpup-2.2 (Lupu 5.2) rotation works fine.
Attachments
jwm-579_XOpup-1.pet
JWM svn-579 patched for bigger buttons. Works fine in Lupu 5.x too
(73.26 KiB) Downloaded 1068 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#213 Post by jakfish »

Looking forward to trying this. Should I uninstall jwm 2.1 before installing this version?

Jake

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#214 Post by mavrothal »

jakfish wrote:Looking forward to trying this. Should I uninstall jwm 2.1 before installing this version?

Jake
No. But restart X, not just jwm, after you install.
Type "jwm -version" in the terminal to make sure it says "jwm svn 579"
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#215 Post by jakfish »

Hi, mavrothal,

Successfully installed this update over jwm 2.1 on dpup exprimo w/ frugal install.

On hardware of Lenovo S10-3t, I don't find any difference, meaning that jwm 2.1 works pretty good with the S10's touchscreen.

I have, however, abandoned the fixPuppyPin command. While it brings out all my desktop icons in portrait, after returning to landscape, my conky and rainlendar calendar are gone until I reset X. I think this has to do w/ their fixed x and y coordinates.

I've simply moved the icons necessary to portrait mode (Opera, ebooks, etc) to the left-hand of the screen. In portrait, there they are, and without fixPuppyPin, I can have landscape restored to all its splendor w/o X restart.

jwm 2.1, with your nifty commands to reset the autohide taskbar, is very stable going back and forth b/w portrait and landscape.

Jake

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

PPM update

#216 Post by mavrothal »

The XOpup-Lupu PPM has stayed a bit behind so here is a small update.
It does few things.
1) Has the puppy-common and puppy-noarch repositories (downloadpkgs.sh) and the databases
2) Allows you to skip a repo when you update the repos, so you do not to download the ubuntu repos (are frozen anyway by now) every time that you want to update a repo (0setup)
3) Has a bigger search field so you can actually see what you write ;) (pkg_chooser.sh)
4) Most important from the user prospective, allows you to search with (max 3) descriptive terms both the package names and the package descriptions (see picture) so you do not necessarily need to know the package name (findnames.sh).

Version 2 Version 2+ in addition to the above will simultaneously search ALL active databases (the ones showing at the right side of the PPM window at the time) find the pet/package and download it from the respective repo and any dependencies needed (installpreview.sh) !
The down side is you do not know where you download your pet from. If it is from a distribution repo (ubuntu) might be harder to troubleshoot, in case problems appear.
Though starting with v4 you can choose to search one or all active databases


Though build for XOpup, tested OK with Lupu528.005 and I assume previous Lupu versions too.

NOTE: This is NOT a standalone PPM. Only updates some of the files (indicated above)
Attachments
PPM_XOpup-4.pet
Update for the XOpup, Lupu, PPM. Simultaneously checks ALL active databases
(55.25 KiB) Downloaded 1062 times
PPM_XOpup-1.pet
Update for the XOpup, Lupu PPM.
(50.51 KiB) Downloaded 1028 times
image-1.png
Searching for "video player" the ubuntu repo
(90.82 KiB) Downloaded 1844 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#217 Post by musher0 »

Thanks for this modified PPM.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Slacko-5.3.3 for the XO

#218 Post by mavrothal »

If you got "tired" of XOpup you may want to try Slacko-5.3.3_XO :wink:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Varmint
Posts: 73
Joined: Fri 27 Apr 2007, 02:40
Location: Ohio, USA
Contact:

Installation

#219 Post by Varmint »

Is there a way to erase that infernal Sugar OS on the built-in flash drive and replace it with Puppy? All I've found so far is how to run Pup from USB sticks, which works great, by the way, but isn't what I was looking for. I'm not really interested in carrying USB sticks around for this to boot with.

I tried to post this query already, but it didn't show up, so I must've goofed (again).

Nice work on the XO-Pup!

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Installation

#220 Post by mavrothal »

Varmint wrote:Is there a way to erase that infernal Sugar OS on the built-in flash drive and replace it with Puppy? All I've found so far is how to run Pup from USB sticks, which works great, by the way, but isn't what I was looking for. I'm not really interested in carrying USB sticks around for this to boot with.
Never tried it but I do not think that the puppy init can handle raw internal NAND of the XO-1.

I have XOpup in an SDcard that is permanently in my XO's SDcard slot.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Varmint
Posts: 73
Joined: Fri 27 Apr 2007, 02:40
Location: Ohio, USA
Contact:

#221 Post by Varmint »

mavrothal wrote, in part:

"I have XOpup in an SDcard that is permanently in my XO's SDcard slot."


My reply:
You have an SD card slot? Can't do that here on my model 1.0 OLPC, so yours is obviously a later model.

As to puppy not being able to handle the raw nand drive, I don't see why it should be a problem. It is, as far as I'm aware, just an SSD drive of some sort. I have an Asus Eee 701SD that I've put multiple puppies, backtrack, ubuntu, slackware, and pcbsd on. So I guess my question now is:

Is something different about the XO's on-board nand drive, or is it just invisible from puppy due to the on-board system bios?

As always, thanks to everyone for their time and expertise!

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#222 Post by mavrothal »

Varmint wrote: You have an SD card slot? Can't do that here on my model 1.0 OLPC, so yours is obviously a later model.
ALL XOs from early pre-production models have an SDcard slot.
Just turn the screen and look under the power button
Is something different about the XO's on-board nand drive, or is it just invisible from puppy due to the on-board system bios?
XO-1 has a raw NAND without any controller (as SDcards SSDs and USBs have). It needs to be handles by a special file system as jffs2 or Ubifs.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Varmint
Posts: 73
Joined: Fri 27 Apr 2007, 02:40
Location: Ohio, USA
Contact:

SD Card Slot

#223 Post by Varmint »

mavrothal wrote, in part:
"Just turn the screen and look under the power button"


My reply:
Holy cow, mavrothal....that was a genuine shocker, and the one place I never thought of looking for it. Thank you....I am now a very happy old fart. The possibilities once again abound. Now I need to get another sd card just for this.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Other puppies for the XO-1 and XO-1.5 laptops

#224 Post by mavrothal »

Here are some more recent puppies that are modified for the XO laptops

Racy5.2.2_XO.tar.gz (md5sum: 828d129d623b8dab5f08d5b5c477fe9b)

racy-5.3_XO.tar.gz (md5sum: dfceeeed60c9b180d3a8f2c7a6d05b59)

slacko-5.3.3_XO.tar.gz (md5sum: 85f866cadc97f6934ad0ac10d81fc96e)

Install as the original XOpup.

More info on these pups here and here (as long as this site is still up... :( )
Last edited by mavrothal on Fri 30 Aug 2013, 21:32, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Varmint
Posts: 73
Joined: Fri 27 Apr 2007, 02:40
Location: Ohio, USA
Contact:

Other puppies for the XO-1 and XO-1.5 laptops

#225 Post by Varmint »

Downloaded the Slacko version. I'll try it out later. I'm sure others will greatly appreciate your efforts, as well as sharing these links to other versions.
Thanks again!

jenpc
Posts: 4
Joined: Fri 22 Jun 2012, 15:08

Re: Other puppies for the XO-1 and XO-1.5 laptops

#226 Post by jenpc »

mavrothal - Thanks for creating and posting those recent puppies!

I am new to Puppy and want to do a full install on my OLPC XO-1. (It's my only laptop and I need to make it as functional as possible for travel and when it's too hot to use a desktop!)

I made sure my XO is "security disabled", downloaded slacko-5.3.3_XO.tar.gz, confirmed MD5, extracted to a small thumb drive, and XO boots beautifully with it. Connect to Internet with Frisbee, no problem. (However, it gets to RAM is low and even RAM is critical very quickly. With a single browser opened to laptop.org, and no other applications running, happened within a minute. Using a 1G USB drive that has 89% space free after extracting puppy to it.)

I want to do a full install - if not of slacko then whatever folks recommend. (Hope to use for e-mail (Sylpheed currently), skype (audio), pidgin or similar for IM, read PDFs, play video with audio (right now the goal is a short QuickTime (*.mov), not sure whether that's realistic), light word processing, browse web, etc.)
mavrothal wrote: Install as the original XOpup.
Not exactly sure what that refers to unless it's just how to run puppy from the USB. I've read about different methods including a script and the Universal Installer and thought I'd try the Universal Installer. If I click on the "Install" button on the desktop, and then in the box that opens click on the button to run the Universal Installer, that box disappears and nothing happens. No other program is (visibly) launched. As an experiment I've also tried the button for the BootFlash USB installer (which has the same icon as the Universal Installer) and that program doesn't launch, either. The other 3 buttons (for web page, package manager, and SFS downloader) do work.

Questions:
  • * RAM shouldn't get to critical so quickly with a full install, right? A full install would be preferred over puppy on USB drive or SD card in this case, right?
  • * Is this the right method for a full install? If so, what steps am I missing or is there a problem with launching the universal installer? (I'd check to see whether it's installed but haven't found info on the package name / location yet.)
  • * Is slacko an appropriate version for my purposes? (I know I need to install the software I want, and if necessary could use a version that has minimal/no applications except the package manager to do the installs.)
I plan to download racy-5.3 and try it next to compare them and see whether the Universal Installer will launch with it, but would welcome help especially if I'm approaching this wrong!

Update: Tried racy-5.3 and had the same issues as with slacko. (Installer not launching, running out of RAM quickly.)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Other puppies for the XO-1 and XO-1.5 laptops

#227 Post by mavrothal »

jenpc wrote: (However, it gets to RAM is low and even RAM is critical very quickly. With a single browser opened to laptop.org, and no other applications running, happened within a minute. Using a 1G USB drive that has 89% space free after extracting puppy to it.)

I want to do a full install

<snip>

If I click on the "Install" button on the desktop, and then in the box that opens click on the button to run the Universal Installer, that box disappears and nothing happens. No other program is (visibly) launched. As an experiment I've also tried the button for the BootFlash USB installer (which has the same icon as the Universal Installer) and that program doesn't launch, either. The other 3 buttons (for web page, package manager, and SFS downloader) do work.
The Puppy installer is inactivated in all XO-puppy versions because it does not work.
Actually Slacko_XO runs on XO-1 with the "nocopy" option, so RAM wise consumes as much RAM as a full install. Should be considerably better than Racy too.
Full install is not going to help any further. 256MB RAM is just too little for modern browsers...
(Some browsers -Opera I think- allow you to adjust how much of the cache will keep in RAM. Decreasing it to 2-4MB alleviates some of the pressure)

Click "mkswap" when the warning about RAM pressure comes up and prompt you for swap/kill apps. If you have 500MB free space on your boot device, will take a minute or so to make a 256MB swap file and after that will be OK (even with google chrome and 5-6 tabs open or running OpenOffice)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jenpc
Posts: 4
Joined: Fri 22 Jun 2012, 15:08

Re: Other puppies for the XO-1 and XO-1.5 laptops

#228 Post by jenpc »

mavrothal wrote:The Puppy installer is inactivated in all XO-puppy versions because it does not work.
Ah! Thanks for sparing me much more aggravation in trying to do that, then!

I bought an SD card over the weekend and am running slacko from that now.
mavrothal wrote:Click "mkswap" when the warning about RAM pressure comes up and prompt you for swap/kill apps.
Excellent! No problems with RAM since I did that.

Thanks very much for your reply and answers! I'm still struggling to get things working the way I'd like, but at least now I can make some progress. :)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Other puppies for the XO-1 and XO-1.5 laptops

#229 Post by mavrothal »

jenpc wrote: I'm still struggling to get things working the way I'd like, but at least now I can make some progress. :)
Looking at your "wish list" above, I would think that Skype may be a problem (poor audio quality). Video works too but puts a very big strain on the machine.
Video playback quality depends a lot on the encoding and the bit rate, though in general is ok.
Browsing-wise, Flash is very poor (the geode CPU is too underpowered for that) but everything else is fine.
Keep in mind that although capable of printing, this service is inactivated in XO builds. Just need to restart it from the boot manager if you need to print (and likely install the driver for your printer).
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jenpc
Posts: 4
Joined: Fri 22 Jun 2012, 15:08

Re: Other puppies for the XO-1 and XO-1.5 laptops

#230 Post by jenpc »

mavrothal wrote:Looking at your "wish list" above, I would think that Skype may be a problem (poor audio quality).
Yes, I discovered the Skype audio quality issue.
mavrothal wrote:Video playback quality depends a lot on the encoding and the bit rate, though in general is ok.
I haven't gotten MPlayer to work yet; hangs when I try to open the .mov file. Maybe I'll try VLC next.

One item I haven't found the answer to yet is: How do I increase swap (i.e. before I'm prompted that there's an issue)?

Thanks for the tip about printing!

Post Reply