Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 19 May 2013, 17:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Where can I find Puppy-specific documentation?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
ahoppin

Joined: 16 May 2011
Posts: 73

PostPosted: Tue 10 Apr 2012, 12:54    Post subject:  Where can I find Puppy-specific documentation?  

Last night Puppy was a bit naughty.

I have a full installation of Lupu 5.25, with lots of tweaks. I was running Cool Edit under Wine and it crashed, taking Xwindows with it. I was unceremoniously dumped back to the shell prompt. I restarted xwin and it happened again. So on a whim, noting that the prompt suggested I could type xwin, xwin jwm, or xwin something-else-ending-in-95 (Openbox, I guess, which I was pretty sure was the default), I tried typing xwin jwm. I got jwm, which I expected. And xwin crashed again.

I tried rebooting. This time Puppy came up in what appeared to be Openbox. The programs I tried seemed to run fine.

But all my "taskbar" icons except the clock had vanished. Refreshing the taskbar (Menu->desktop->settings->Fbpanel refresh menu and tray) made them appear for a moment, then they vanished again. The desktop switcher application (WM Switcher) wouldn't work, either.

Worst of all, I couldn't shut down, reboot, restart X, or exit X from the menu. None of these menu items had any effect. I couldn't find a way to do a clean shutdown! Opening a console window and running poweroff or reboot froze the system, reminiscent of Windows 98 on a bad day.

I finally hit the hardware reset key. Then to be safe, I loaded a Puppy CD into the CD drive, booted puppy pfix=ram, and ran fsck -f on my root file system.

Rebooted. Rebooted again at the prompt grousing that Puppy couldn't run fsck on the root FS (even though I'd just done it). Puppy rose from his slumber, still showing the same taskbar / shutdown behavior.

I finally sorted the taskbar / shutdown menu problem by running Cool Edit again and deliberately crashing xwindows, then restarting it with the xwin jwm command. Then I was able to use WM Switcher to get back to Openbox and from there all was fine (except for the fact that I can't multitrack two 3-hour pcm files in Cool Edit).

My best guess is that something got twisted when I requested jwm at the xwin startup, without using the WM Switcher to change the environment.

Anyway, what this tome is leading up to is that I couldn't find any documentation for the (must be) hundreds of scripts that provide Puppy's unique personality. In particular, I wanted to look at that desktop switcher script. However, I couldn't even find docs on what script is linked to that menu item. Heck, I couldn't even find information on how Puppy's menus are implemented, though I'll swear I saw it on this board somewhere, months ago.

Linux itself is supremely well documented. I can find out about any command with a simple "man <command>" request in a console window. But that doesn't seem to work with Puppy scripts. In fact, even the name of the actual command run from the menu isn't easy to determine.

Do these Puppy script documents exist? Where would I find them?

Thanks for the help.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 1700
Location: Burghaslach, Germany

PostPosted: Tue 10 Apr 2012, 16:31    Post subject: Re: Puppy-specific documentation
Subject description: Where can I find it?
 

ahoppin wrote:
In fact, even the name of the actual command run from the menu isn't easy to determine.


Scripts don´t have additional docs, they are human-readable and might contain some comments.

JWM: /root/.jwmrc
ICEWM: /root/.icewm/menu

These are the scripts to look into to get an answer to your question.
Sorry, I cannot help with lupu.
Back to top
View user's profile Send private message 
ahoppin

Joined: 16 May 2011
Posts: 73

PostPosted: Tue 10 Apr 2012, 19:26    Post subject:  

That's a start. Thanks!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15109
Location: Paradox Realm

PostPosted: Wed 11 Apr 2012, 16:56    Post subject:  

http://puppylinux.org/wikka/LucidHelp Smile
_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Sylvander

Joined: 15 Dec 2008
Posts: 2852
Location: West Lothian, Scotland, UK

PostPosted: Wed 11 Apr 2012, 17:26    Post subject:  

1. Do you make backups of your Lupu-525 full install when all's well?

2. I don't now use any full installs...
But when I did, I used Xfe and snap2 to backup the Puppy files to a folder somewhere handy [an external HDD methinks].

3. And used Xfe to restore Puppy to "wellness".
Back to top
View user's profile Send private message 
ahoppin

Joined: 16 May 2011
Posts: 73

PostPosted: Sat 14 Apr 2012, 14:21    Post subject:  

1. Yes, I have some backups on an external usb drive. I also backup now and then to a usb thumb drive.

I would have restored from a recent backup if I'd had to. Fortunately it was less time consuming than that.

2. I have a simple backup script that checks to make sure the destination directory is valid, then runs cp -xRvdp on a list of directories in root (omitting ext3 /user and a drive with several vfat partitions).

3. Haven't had to restore yet, but it's only a matter of time. :)
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 623

PostPosted: Tue 17 Apr 2012, 15:50    Post subject:  

ahoppin wrote:
I couldn't even find information on how Puppy's menus are implemented, though I'll swear I saw it on this board somewhere, months ago.

I'm not sure where you might have seen that, but here is a link to an old wiki entry which gives a brief overview. (Watch out for one typo. The /usr/share/desktop-directories/ directory doesn't hold the .desktop files; those are in the /usr/share/applications/ directory. The wiki page has it right the first time, then wrong further down.)

HowToEditMenus

The .desktop menu files and the menu configuration file are discussed in more detail at the end of this document: PET packages
Back to top
View user's profile Send private message 
ahoppin

Joined: 16 May 2011
Posts: 73

PostPosted: Tue 24 Apr 2012, 16:18    Post subject:  

Thanks for the help!

BTW, a bit off topic, but I haven't had any more problems with Cool Edit crashing X Windows since I changed video cards.

I had been using a Radeon 9000 with Lucid 5.25, and had noticed some odd quirks. The tabs for different pages in Gnumeric worksheets turned black when I ran the cursor over them. Similar things happened in the setup on QTWeb. And in some Windoze programs under Wine, the title bars of subwindows didn't refresh properly.

In noticed that these things did NOT happen when I was running Wary 5.11 on the same machine. They also didn't happen when I ran Lucid on another machine of the same vintage with a Radeon 7500 card.

So I downgraded this machine to a Radeon 7500. Presto, video quirks gone, and no more Cool Edit / XWindows crashes.

So, if anyone else is having problems with an ATI Radeon 9000 under Lucid Puppy 5.25 (or possibly 5.28), you might try a different video card.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0564s ][ Queries: 12 (0.0072s) ][ GZIP on ]