DebianDog - Squeeze

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#61 Post by saintless »

anikin wrote:I added xorg.conf to my install (it's not there by default), so that I can setup my keyboard, best screen resolution and so on. It uses the native Elantech touchpad driver, instead of more generic Synaptic one, as my puppies do. Somewhere in the logs, I noticed an error message, like "failed to open jwm-bg.xpm." No problem - we can put in our own background to stop the complaint, see attached image below. I also slightlly improved font rendering, although, you probably won't see it because of the image size.
Hi, Anikin,
Xorg.conf by default is not in debian live as far as I know. Thank you for improving jwm. It is one more thig I'm learning in the process. the message for the background image can be set to no background I think, but choseing a picture which will contain the idea for puppy + debian is something I would like to do.

Basicly my plan for Debian-Live-Core is to create one base to boot directly in jwm with only xterm installed. From here it could be upgraded by the users need. To do it we need at least small improvements like better touchpad driver you found, way to configure wireless easy without wicd, this kind of things.
With help from you and others it will become much better than I can do it alone.
And my second plan is to upgrade this base a bit to make it really look and fill like puppy with size no more than 100-120 Mb. I need help for this more than for the base. Editing puppy scripts to make them work in debian takes me much time and often is a dead end.

So this is the plan. Any help is welcome. There will be no new version soon.I will just check out the permissions for nonpae iso and I will try to give more info how to use debian. Lets test this for a month at least and see what improvements can we make.

Cheers, Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#62 Post by saintless »

Permissions for non-pae version should be ok now:
http://www.smokey01.com/saintless/

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#63 Post by nooby »

saintless

Toni as you know I am of the opinion one should never
pressure or be too demanding asking a Dev to do this and that.

Too easy the inner motivation of the Dev goes down the drain.

Programming should be sheer fun and not something one do for others
unless that is what is the fun part. So do this in your own pace
and only take our suggestions as an inspiration now and then
when you need such.

Would be cool if others also contributed.
I know nothing about progtramming so I
can only cheer and express my happiness

I never tested the save thing I just wanted to confirm to Toni
that his iso do work on my hardware HP/Compaq AMD X2 dual core 64bit
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#64 Post by saintless »

Thank you, Nooby, but please, do not call me DEV :)
I'm not and I will never be. The real DEV of light-Debian-Core is Debian live team. All I do is to remove packages from their distro.
One line typed or edited script takes me two hours reading and testing. Programming is not something I will learn soon.
But I have a desire to finish what I have started the best I can. Alone or with help from the community it will be done in time.
Wheezy is too heavy for my hardware. This is the only reason to start with squeeze. I will try to slim it down because I'm curious to see what will be the result. It is over 500 Mb squash file but who knows. The result might be good.
One more time, please, don't call me DEV.

Cheers, Toni
Last edited by saintless on Sat 07 Dec 2013, 16:07, edited 1 time in total.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#65 Post by anikin »

... and you, don't call me buckwheat http://www.youtube.com/watch?v=UHJgmEbEdVs

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#66 Post by saintless »

Slimming down Debian Live thread is finished and open for questions and more ideas:
http://murga-linux.com/puppy/viewtopic.php?t=90629

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#67 Post by sunburnt »

Sadly another dev`s work in jeopardy. So much has been lost here. No cooperation...

### Here`s a simple Save file maker. ### There`s others, probably better ones...

Too bad GtkDialog is such a pain, I can`t get a file chooser to work with it.
Use to be I could get Xdialog`s fselect to work with it.
Instead of coding what you`re doing, you end up wrestling with GtkDialog.
That`s usually where I get completely disgusted and give up... THANKs Smokey.!

### Improved version of: "mk-save.gtkdlg" here:
http://www.murga-linux.com/puppy/viewto ... 199#742199
.
Last edited by sunburnt on Sun 08 Dec 2013, 02:19, edited 2 times in total.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#68 Post by smokey01 »

sunburnt, here is a solution for a gtkdialog file saver.

Code: Select all

#! /bin/bash

export MAIN_DIALOG='
<vbox>
  <frame Filename for Save>
    <hbox>
      <entry accept="savefilename">
        <label>Select a Filename</label>
        <variable>FILE_SAVEFILENAME</variable>
      </entry>
      <button>
        <input file stock="gtk-open"></input>
        <variable>FILE_BROWSE_SAVEFILENAME</variable>
        <action type="fileselect">FILE_SAVEFILENAME</action>
        <action>echo $FILE_BROWSE_SAVEFILENAME > $FILE_SAVEFILENAME</action>
      </button>
    </hbox>
  </frame>
  <hbox>
   <button ok></button>
   <button cancel></button>
  </hbox>
</vbox>
'

gtkdialog --program=MAIN_DIALOG
This is a good site for gtkdialog examples.
http://xpt.sourceforge.net/techdocs/lan ... index.html

In particular fileselect.
http://xpt.sourceforge.net/techdocs/lan ... 01s48.html

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#69 Post by sunburnt »

Thanks Smokey; It took some fiddling like usual, but I got a "Create New File" dialog out of it.!

I`m posting a link to the improved version above. And I`ll be expanding it to replace Puppy`s.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#70 Post by saintless »

sunburnt wrote:Thanks Smokey; It took some fiddling like usual, but I got a "Create New File" dialog out of it.!

I`m posting a link to the improved version above. And I`ll be expanding it to replace Puppy`s.
Sunburnt and Smokey, thank you! :)

Expanding the script to puppy will bring Light-Debian one step closer.
Have to go out for few hours. Later I will add the script to the improvements for next version.

Cheers, Toni

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#71 Post by sunburnt »

Hi Saintless; Found a nice icon for it.
Attachments
img_102x102.jpeg
(2.27 KiB) Downloaded 368 times

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#72 Post by mcewanw »

saintless wrote:
mcewanw wrote:Pity it needs a pae-capable CPU - doesn't work in my old lappy unfortunately.
Uploaded Light-Debian-Core-Live-nopae.iso with kernel 3.2.0-0.bpo.4-486 for CPU without pae support.
http://www.smokey01.com/saintless/
First post updated.
Thanks, I'll try it out. Yes, previously at boot time the message popped up telling me that I needed a pae capable machine to run it.
github mcewanw

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#73 Post by nooby »

To saintless and others who knows.
How does one know if one have such a machine?
mcewanw wrote:Yes, previously at boot time the message popped up
telling me that I needed a pae capable machine to run it.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#74 Post by saintless »

sunburnt wrote:Hi Saintless; Found a nice icon for it.
Thanks, Sunburnt,
real nice icon for the script. Added to "have to include" folder.

Nooby, your machine is capable since you run pae version.
AFAIK any Pentium II or Athlon or newer is PAE capable. Some Pentium M are not and may be others. Light-Debian-Pae version kernel is build to support only PAE capable processors.

Cheers, Toni

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Light-Debian-Core-Live-CD - squeeze

#75 Post by Billtoo »

I installed to a 16gb SDHC card, pc is an AAO 721-3801 netbook.

Summary
Computer
Processor AMD Athlon(tm) II Neo K125 Processor
Memory 1812MB (99MB used)
Operating System Debian GNU/Linux 6.0.8
User Name root (root)
Date/Time Sun Dec 8 10:29:13 2013
Display
Resolution 1024x600 pixels
OpenGL Renderer Unknown
X11 Vendor (null)

I installed synaptic and with that I installed several other
applications.

Also installed lxde.

Sure is fast :)
Attachments
screenshot.jpg
(20.38 KiB) Downloaded 299 times

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: Light-Debian-Core-Live-CD - squeeze

#76 Post by saintless »

Thanks for this report, Billtoo.
If you like to remaster with the changes run

Code: Select all

apt-get clean
and after this:

Code: Select all

mksquashfs /live/cow /live/image/live/02-my-changes.squashfs -comp xz
With this ammount of ram you don't need to use save file.
Do not care about the squash file size yet. It can become much smaller with proper cleaning. I will get to that in the next days.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#77 Post by saintless »

For those who want to test Sunburnt's make-save-file script download it from here:
http://murga-linux.com/puppy/viewtopic. ... aa1f742867
Then run:

Code: Select all

apt-get update
Download the attached here file gtkdialog_0.7.20-4_i386.deb.jpg and rename it to gtkdialog_0.7.20-4_i386.deb
Then right click on it and choose install/upgrade option.
Then fix the missing dependencies with:

Code: Select all

apt-get -f install
You will get this output to confirm:

Code: Select all

root@debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  defoma fontconfig libatk1.0-0 libcairo2 libdatrie1 libdb4.7 libgdbm3
  libglade2-0 libglib2.0-0 libgtk2.0-0 libgtk2.0-common libjasper1
  libpango1.0-0 libpango1.0-common libpcre3 libthai-data libthai0
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxi6 libxrandr2 perl
  perl-modules shared-mime-info
Suggested packages:
  defoma-doc psfontmgr x-ttcidfont-conf dfontmgr librsvg2-common gvfs
  libjasper-runtime ttf-japanese-gothic ttf-japanese-mincho ttf-thryomanes
  ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
  ttf-arphic-bkai00mp perl-doc libterm-readline-gnu-perl
  libterm-readline-perl-perl make
Recommended packages:
  libfont-freetype-perl libatk1.0-data libglib2.0-data hicolor-icon-theme
  libgtk2.0-bin
The following NEW packages will be installed:
  defoma fontconfig libatk1.0-0 libcairo2 libdatrie1 libdb4.7 libgdbm3
  libglade2-0 libglib2.0-0 libgtk2.0-0 libgtk2.0-common libjasper1
  libpango1.0-0 libpango1.0-common libpcre3 libthai-data libthai0
 libxcb-render-util0 libxcb-render0 libxcomposite1 libxi6 libxrandr2 perl
  perl-modules shared-mime-info
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 21.7 MB of archives.
After this operation, 70.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
You can start make save file with single click.
Be careful not to choose directory with your working live-rw (if you use one). The things can get ugly :)

Edit: Thank you, Sunburnt,
It seems it is your second script for Light-Debian. /script/mount-sfs for single click mounting iso and sfs files is bad edited from me part of yours filemnt puppy script. :)
Attachments
gtkdialog_0.7.20-4_i386.deb.jpg
(75.88 KiB) Downloaded 212 times

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#78 Post by bark_bark_bark »

saintless wrote:
sunburnt wrote:Hi Saintless; Found a nice icon for it.
Thanks, Sunburnt,
real nice icon for the script. Added to "have to include" folder.

Nooby, your machine is capable since you run pae version.
AFAIK any Pentium II or Athlon or newer is PAE capable. Some Pentium M are not and may be others. Light-Debian-Pae version kernel is build to support only PAE capable processors.

Cheers, Toni
P III can, but not P II. SMP won't work either on a PII. Although that doesn't mean you should use PAE on such old hardware.
....

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#79 Post by anikin »

My netbook runs on Intel n270 CPU, which is a single core processor. I always disable SMP through a boot parameter 'nosmp'. Below dmesg shows how the kernel reacts to it:

Code: Select all

[0.000000] Processors: 1
[0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs 

[0.009407] SMP alternatives: switching to UP code
[0.014954] Freeing SMP alternatives: 16k freed
[0.024087] SMP mode deactivated.
[0.024169] SMP disabled
In this mode the machine runs cooler and the battery lasts longer, although ideally the kernel has to be compiled as uniprocessor, that is - SMP disabled at that level.

And here's my current boot line:

Code: Select all

boot=live nosmp config swapon quickreboot noprompt autologin elevator=noop video=i915:modeset=1 i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1
.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#80 Post by sunburnt »

Saintless; A few items...

1) I assume by "Then fix the missing dependencies", they are GtkDialog & etc.?

2) I modded my make image file app. as Musher suggested.
...... But I don`t think we want to use it for Deb-Live ( don`t need Puppy extensions ).
...... It looks like Deb-Live uses file extension: "squashfs", but none for "ext2,3,4"

3) I haven`t looked at: /script/mount-sfs
...... I assume you`re saying that it`s the old filemnt script that you`ve modded.
...... filemnt is maintained by Barry who decided to use it for Puppy.

### Recently I thought about making a new one.

### OR... Just add mounting to the image file gui ( a gui button, & Rox mime click ).?
...... I didn`t check, but Xfe mime mount should be made to work also probably.
...... Also Xfe is pretty heavy weight, PcManFM is smaller, and SpaceFM I don`t like.
...... Size isn`t that important, and Xfe is very "feature rich", and there`s a calculator too...
.
Last edited by sunburnt on Sun 08 Dec 2013, 20:57, edited 1 time in total.

Post Reply