Page 6 of 29

Posted: Thu 05 May 2011, 16:42
by 8-bit
ttuuxxx,
I know you are on a programmer's high. :)
I used to get those when I was really involved in a project.
But rest is important too.
Get some.

If we really want to make some points with the linux world, all we have to do is figure out the exact cause and a fix for the linux Black Screen of Death.

For me, it is back with spup-120 and I cannot even get vesa to work as a display mode.
And after doing a search of the web, that problem seems to be wide spread and with many versions of linux.

Well, one thing I can say is that in having to work from a command prompt with no desktop, I had a learning experience!

Posted: Thu 05 May 2011, 17:19
by ttuuxxx
8-bit wrote:ttuuxxx,
I know you are on a programmer's high. :)
I used to get those when I was really involved in a project.
But rest is important too.
Get some.

If we really want to make some points with the linux world, all we have to do is figure out the exact cause and a fix for the linux Black Screen of Death.

For me, it is back with spup-120 and I cannot even get vesa to work as a display mode.
And after doing a search of the web, that problem seems to be wide spread and with many versions of linux.

Well, one thing I can say is that in having to work from a command prompt with no desktop, I had a learning experience!
naaa its not that, Its that I have a 3 month old daughter and so I'm a at home dad until she's about 6 months old, she's not sleeping the nights and hardly sleeping the days, 2hrs here 2hrs there, one 5hr a day, she's not on solids yet that's why she isn't sleeping that well. I'm at home dad because my wife makes almost double what I do, lol
ttuuxxx

Posted: Thu 05 May 2011, 17:34
by 8-bit
I commend you for being able to juggle everything and still have time for puppy development!
And I am sure that daughter helps out with puppy any way she can! :)

But on my video problem, any suggestions as to how to get a desktop?
I already tried tweeking the refresh rate on the nuveau driver, but maybe I need to tweek both the horizontal and vertical refresh rates.
That driver worked for me in lupu and makes me wonder what got broke with it.

Posted: Thu 05 May 2011, 22:50
by ttuuxxx
8-bit wrote:I commend you for being able to juggle everything and still have time for puppy development!
And I am sure that daughter helps out with puppy any way she can! :)

But on my video problem, any suggestions as to how to get a desktop?
I already tried tweeking the refresh rate on the nuveau driver, but maybe I need to tweek both the horizontal and vertical refresh rates.
That driver worked for me in lupu and makes me wonder what got broke with it.
Maybe bootup lupu and get the /etc/X11/xorg.conf and use the settings that it provides, I did ask micko for the 2.6.34.1 kernel headers, So that I could look at compiling the driver, but still no answer as of yet, really I think that 100% of the time the kernel headers should be included in the devx.
ttuuxxx

Posted: Fri 06 May 2011, 06:00
by 01micko
ttuuxxx,

"nv" driver is already in there. No need to compile. The source for 2.6.34.1 kernel is at bkhome/sources. It's Barry's kernel compile for now.

Xorgwizard will need a major rewrite with this version of Xorg. Nothing works properly with it, even the patch I made a couple of days ago isn't right. It may even be time to dump xorgwizard completely and figure out other ways to manipulate things affected by /etc/X11/xorg.conf.

This (and since xorg-7.4) version does not need an xorg.conf. Separate files are supposed to be stored in /etc/X11/xorg.conf.d/ for manipulating keyboard, mouse, touchpad settings and I think xrandr for screen res.

The current xorgwizard keeps trying to load "modesetting" driver for me, I have to edit xorg.conf by hand to get the nvidia driver to work. Also the nouveau kernel module doesn't like to unload. May have to add it to the blacklist when trying to use nv or nvidia drivers. I have seen some very strange thigs on my screen! Once both nouveau and nvidia kernel modules decided to load and vesa video driver loaded, I got a garbled X with puppy logos accross the top of screen!

On the good news I think I've solved the time bug and a keyboard bug but not the azerty/qwertz/fr/sk keyboard bug.. it's proving a tough nut to crack. I need to find compliant souces for those keymaps from T2, but they are eluding me so far.

Posted: Fri 06 May 2011, 06:11
by James C
For what it's worth, I've had zero luck with the nouveau driver.I always end up using nv which works pretty well.

Posted: Fri 06 May 2011, 06:27
by 01micko
James I am thinking of ditching nouveau and putting it in quickpet. It seems it has improved for newer hardware but is still crap on older gear. I found it quite usable this time, even getting decent HW acceleration, but still only half of what the nvidia driver can do.

Posted: Fri 06 May 2011, 09:58
by Iguleder
Here's my Quickpet replacement, petthing-003.pet.

You can find a screeny here - this thing is very easy to develop, it's very configurable. The packages are listed in a configuration file and automatically detected - PetThing knows how to find the most appropriate package by checking the PET repos the wooflet was built against and scanning them according to their priority.

Haven't touched it since my spup devleopment, which produced Teh Gray Puppy (in the screeny, my main OS now), but I'm sure it could be very useful for 5.3. I won't mind rebuilding it with some parts converted to C, Perl or Python.

Maybe I can also integrate something similar to Pdebthing, that nifty little tool that processes DEB repos and downloads packages with all their dependencies accurately, to solve Puppy's problem of dependency hell. :idea:

Posted: Fri 06 May 2011, 11:05
by ttuuxxx
Here's the latest stable transmission its 70kb compressed smaller than the svn beta version I posted earlier, maybe its small enough for an inclusion of the next release mick??? :)

transmission-2.22-i486|transmission|2.22-i486||Internet|716K||transmission-2.22-i486.pet||Download and share files over BitTorrent|slackware|13.37||

ttuuxxx

Posted: Fri 06 May 2011, 11:09
by Iguleder
Working on something cool, a browser installer written in plain C with GTK.

Todo:
- Locales
- Make the package buttons call some installer (I can use the one from PetThing) :)
- Make it read the list of browsers and descriptions from /etc/bi.conf or whatever

Code: Select all

#include <stdio.h>
#include <gtk/gtk.h>

#define APP_TITLE "Browser Installer"
#define APP_LOGO "/usr/local/lib/X11/pixmaps/www48.png"
#define APP_ICON "/usr/local/lib/X11/mini-icons/pet16.xpm"
#define INFO_LABEL_TEXT "In order to browse the web, you'll have to install a web browser. Just pick a browser and click its logo; the installation is fully automated."
#define WELCOME_LABEL_TEXT "<b>Welcome to the browser installer!</b>"

#define ICON_DIR "/usr/share/pixmaps"
#define ICON_EXT "png"
#define FALLBACK_ICON "/usr/local/apps/ROX-Filer/ROX/MIME/application-pet.png"

#define SPACING 15

GdkPixbuf *load_icon(gchar *icon_path)
{
	GdkPixbuf *icon = gdk_pixbuf_new_from_file(icon_path, NULL);
	if (icon == NULL) {
		icon = gdk_pixbuf_new_from_file(FALLBACK_ICON, NULL);
		if (icon == NULL) {
			return NULL;
		}	
	}
	return icon;
}

GtkWidget *create_package_button(gchar *package_name, gchar *package_description) {
	GtkWidget *button;
	gchar *package_icon_path = g_strconcat(ICON_DIR, "/", package_name, ".", ICON_EXT, NULL);
	button = gtk_button_new_with_label(package_description);
	gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_pixbuf(load_icon(package_icon_path)));

	g_free(package_icon_path);
	return button;
}
	
int main( int argc, char *argv[])
{
	GtkWidget *window;
	GtkWidget *vbox;
	
	GtkWidget *hbox;
	GtkWidget *app_logo;
		
	GtkWidget *labels_vbox;
	GtkWidget *welcome_label;
	GtkWidget *info_label;

	GtkWidget *buttons_vbox;
	GtkWidget *button;
	
	GtkWidget *close_button;
	
	gtk_init(&argc, &argv);

	/* the window */
	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	gtk_window_set_title(GTK_WINDOW(window), APP_TITLE);
	gtk_window_set_icon(GTK_WINDOW(window), load_icon(APP_ICON));
	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
    gtk_window_set_default_size(GTK_WINDOW(window), 250, 180);
	
	g_signal_connect(window, "destroy", 
						G_CALLBACK (gtk_main_quit), NULL);
   
	/* the header */
	hbox = gtk_hbox_new(FALSE, SPACING);
	app_logo = gtk_image_new_from_pixbuf(load_icon(APP_LOGO));
    gtk_box_pack_start(GTK_BOX(hbox), app_logo, TRUE, TRUE, 0);
    
    /* the labels vbox */
    labels_vbox = gtk_vbox_new(FALSE, 0);
	gtk_container_add(GTK_CONTAINER(hbox), labels_vbox);
        
    /* welcome label */
    welcome_label = gtk_label_new(NULL);
    gtk_label_set_markup(GTK_LABEL(welcome_label), WELCOME_LABEL_TEXT);
    gtk_box_pack_start(GTK_BOX(labels_vbox), welcome_label, TRUE, TRUE, 0);

	/* info label */
    info_label = gtk_label_new(INFO_LABEL_TEXT);
    gtk_label_set_line_wrap(GTK_LABEL(info_label), TRUE);
  	gtk_box_pack_start(GTK_BOX(labels_vbox), info_label, TRUE, TRUE, 0);

	/* package buttons */
	buttons_vbox = gtk_vbox_new(TRUE, 0);
	button = create_package_button("firefox", "Firefox web browser");
	gtk_box_pack_start(GTK_BOX(buttons_vbox), button, TRUE, TRUE, 0);
	button = create_package_button("seamonkey", "Seamonkey internet suite");
	gtk_box_pack_start(GTK_BOX(buttons_vbox), button, TRUE, TRUE, 0);
	button = create_package_button("opera", "Opera web browser");
	gtk_box_pack_start(GTK_BOX(buttons_vbox), button, TRUE, TRUE, 0);

	/* the close button */
	close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
	g_signal_connect(close_button, "clicked", 
						G_CALLBACK (gtk_main_quit), NULL);
   
	/* put the header, the package buttons and the close button inside a big vbox */
	vbox = gtk_vbox_new(FALSE, SPACING);
	gtk_container_add(GTK_CONTAINER(vbox), hbox);
	gtk_container_add(GTK_CONTAINER(vbox), buttons_vbox);
	gtk_container_add(GTK_CONTAINER(window), vbox);
	gtk_container_add(GTK_CONTAINER(vbox), close_button);
	gtk_widget_show_all(window);
	
	gtk_main();

	return 0;
}

Posted: Fri 06 May 2011, 12:13
by 01micko
ttuuxxx, considering transmission... :) we do need a torrent app for sure. I inadvertently left in ctorrent, which is broken anyway ,it's about 180k uncompressed, so that would open up a bit of room. I may trim the wallpapers too, atm they are close to 500k uncompressed.. I can halve that, maybe ditch an icon theme too.

Iguleder, I am including seamonkey-2.0.14 by default, mainly because it's a suite and it's a handy size at 12M. Does your app handle different repos? Can you have as the action for seamonkey to just make it the default browser or choose to get the heftier seamonkey 2.1x? people like the chromium browser and iron too. I'm not going to offer chrome, chromium and iron can fill that gap.

Posted: Fri 06 May 2011, 13:16
by ttuuxxx
here's an updated devx with the 3 missing files, plus a static lib event, plus the poppler fix so you can compile epdf. http://www.smokey01.com/ttuuxxx/Spup/12 ... vx_120.pet
md5sum 65c0da862ade9202952546c892102f8c spup_devx_120.pet

ttuuxxx

Posted: Fri 06 May 2011, 13:22
by ttuuxxx
01micko wrote:ttuuxxx, considering transmission... :) we do need a torrent app for sure. I inadvertently left in ctorrent, which is broken anyway ,it's about 180k uncompressed, so that would open up a bit of room. I may trim the wallpapers too, atm they are close to 500k uncompressed.. I can halve that, maybe ditch an icon theme too.
hi mick also there is a transmission command line version its 120kb smaller compressed or 258kb smaller extract, when you compare the bins, but it would need some sort of bash gui.
here's the bin and it does give the commands when run you it. I don't know if its worth starting a Ptransmission lol
ttuuxxx

Posted: Fri 06 May 2011, 14:20
by bigpup
Would be nice to see this, when you are asked about making a save file.
Pupsave Config
http://www.murga-linux.com/puppy/viewtopic.php?t=60678

Posted: Fri 06 May 2011, 15:05
by Iguleder
01micko wrote:Does your app handle different repos?
Yes, it does. All automatic and in the order they're specified in DISTRO_PET_REPOS ... pretty much like Woof.

Posted: Fri 06 May 2011, 15:33
by ttuuxxx
removed

spup-120.iso

Posted: Fri 06 May 2011, 16:06
by karmade
booted from grub4dos on SD-Card with:
title spup
kernel /spup/vmlinuz pmedia=usbflash psubdir=spup
initrd /spup/initrd.gz

Good news:
timezone Europe/Berlin chosen, time shown is correct
No black screens on bootup/shutdown, 1366x768 pixels detected and OK
MPlayer sound OK, Volume up/down OK

Bad news:
No Internet:
- Simple: eth0 atl1c Atheros 1000M Ethernet No Internet connection
- Wizard: eth0 Unable to connect to the network
- Wizard: Auto DHCP "successful", but browsers cannot load any page
Desksetup Templates:
- marked "Traditional", but only 5 icons are visible
urxvt start (after having set keyboard successfully to 'de' at first boot):
- bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US): No such file or directory
mtPaint-snapshot:
- After clicking Capture Now/Second Delay nothing happens
Pmount:
- crash after mount/umount, no mount/umount happens
InkscapeLite:
- moving cursor horizontally results in ruler being blacked by indicator

My current notebook:
Acer Extensa 5635Z
Intel Pentium T4500 (2.3 GHz, 800 MHz FSB)
Intel GMA 4500M Up to 1695 MB DVMT
15,6" HD (1366x768) LED LCD
4GB Memory
500 GB HDD
DVD-Super Multi DL drive
Acer Nplify 802.11b/g/n
6-cell Li-ion battery
Used OS's: Windows 7, Puppy Lucid 520/525, Debian Squeeze Live Lxde
Former used OS's: Fedora 14, Xubuntu 10.10

lspci -nn|grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

System Information Summary:
-Computer-
Processor : 2x Pentium(R) Dual-Core CPU T4500 @ 2.30GHz
Memory : 2950MB (116MB used)
Operating System: Puppy Linux 0.12
User Name : root (root)
Date/Time : Fri May 6 15:00:54 2011
-Display-
Resolution : 1366x768 pixels
OpenGL Renderer : Unknown
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : HDA-Intel - HDA Intel
-Input Devices-
AT Translated Set 2 keyboard
SynPS/2 Synaptics TouchPad
Logitech USB Mouse
Lid Switch
Power Button
Sleep Button
Power Button
PC Speaker
Video WebCam
Video Bus
-Printers (CUPS)-
CUPS-PDF : <i>Default</i>
-SCSI Disks-
ATA WDC WD5000BEVT-2
MATSHITA DVD-RAM UJ890AS
Generic- Multi-Card

Posted: Fri 06 May 2011, 22:27
by scsijon
ttuuxxx wrote:Ok having a bit of fun with gimp now, lol
Here's what happens when you breed a pup with a slackware :)
and also included a neon version I could touch up a bit, it was quick, lol
ttuuxxx
Now I do like that puppy with slackware eyes, what about turning them into sunglasses on her?

Then it would be easy to show what source puppy is using, maybe even worth asking Barry to consider as a standard theme (sunglasses reflecting where we sourced the version from). May even get approval from the various distributions then to add their logo.

How did you go with your QT pets? If were going to standardize, I'll use them for building eggWM with for spup if you'll give me a url (new Design and Testbox4 has no external connection) so I can download and transfer across. There is an awfull lot of qt apps out there, and most are small in themselves, it's the background lib that's large, and they seem to use the same one (as i've found so far).

thanks
scsijon
off-topic ps corsair is apparently about to release a stackable 16g mem card, suppose to be able to stack up to 4 vertically. 128+gig of ram would be something to see in a desktop. Half a terrabyte should fix caching issues in a server.

Posted: Sat 07 May 2011, 02:57
by ttuuxxx
Hi compiling QT as we speak should take about 4hrs, the QT sources directory will be around 1.5GB when finished compiling, Man I wish I could turn off the examples,help,test files from compiling, That would remove about 80% of the 1.5GB and save about 90% of the time compiling.
I just toss it all out the door anyways.
ttuuxxx

Posted: Sat 07 May 2011, 03:27
by ttuuxxx
scsijon wrote: Now I do like that puppy with slackware eyes, what about turning them into sunglasses on her?
LOL I have no idea how to make glasses for a dog face lol But I tried, lol
ttuuxxx