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 Fri 01 Aug 2014, 08:10
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 101 of 226 [3387 Posts]   Goto page: Previous 1, 2, 3, ..., 99, 100, 101, 102, 103, ..., 224, 225, 226 Next
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: Tue 25 Feb 2014, 01:31    Post subject:  

Toni; I`m pissed that Rox has no easy way to set associations. Only by installing Perl.
It`s hard to imagine something so important is so poorly supported. It`s incompetent of them.
# Associations are needed for: .tar.bz2, .tar.xz, .gz, .bz2, .xz. And many more types too.

# MtPaint really needs it`s docs.

### Does anyone have a good way of detecting the latest Firefox version in Bash code.?
I have made 3 different ways to do it, but they`re all complex parsing of web pages.
Downloading Firefox is easy if you know the one you want. Latest version is now 27.0.1
They have a new one every other week. I need my app to get the version automatically.
.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 03:42    Post subject:  

sunburnt wrote:
Toni; I`m pissed that Rox has no easy way to set associations. Only by installing Perl.
.


Terry, I think most of perl is already there so you would just need to perl mime info which uncompressed is 254kB on my system at least (I doubt I have any extra dependencies already installed so 254kB seems likely. Once the mime types have been determined using that for Rox, is it not possible to simply remove the mimeinfo addition?

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2223
Location: Bulgaria

PostPosted: Tue 25 Feb 2014, 04:08    Post subject:  

Hi, all.

I have a small doubts about setting up debian menu the way we do. I think after installing more and more applications the structure could be changed from what we have it now. I will test some more installed applications to see how it works with both configurations.

www-browser on top menu is still there in DebianDog. It is renamed to h3v and pointed to h3v executable since this is the only web-browser. Easy to be changed from Icewm-Control-Center or text editor from $HOME/.icewm/menu I can rename it back to www-browser if you like.

Terry:
Quote:
Toni; I couldn`t get the same results you spoke of, but I did find a flaw in desktop.ctrl.
I had thought that WallPapers would be "off" on first boot, but I see you run it as default.

I do not run it as default in my last remaster and it can be some kind related to the problem. I will test your new files to see if the problem is still there.

Quote:
# Also a Debian girlie pix to add to DebianDog. Too racy...?

Sorry, Terry Smile I really like to include it + I found few more I also like while 01-v3.squashfs was ready for upload, but since the hosting is kindly provided for free by Smokey I like to play safe.
BTW I think to leave only 4 or 5 wallpapers. as default. The Dog and LinuxVillage we should include in my opinion. The rest we can change but I prefer to keep the wallpapers folder maximum 1 Mb. it is 2 Mb at the moment.

Quote:
Toni; I`m pissed that Rox has no easy way to set associations. Only by installing Perl.
It`s hard to imagine something so important is so poorly supported. It`s incompetent of them.

I do not find perl-mime-info with apt-get. What will be the final size added, Terry? Can you test this?

Quote:
# Associations are needed for: .tar.bz2, .tar.xz, .gz, .bz2, .xz. And many more types too.

I have it on my mind.

Quote:
# MtPaint really needs it`s docs.

Way is so important for Mtpaint? Even if I include the docs for mtpaint the next remaster done by the user will make them zero-size by RemasterDog. Note /usr/share/doc will be over 15 Mb at the moment without this cleaning. Can you suggest some way to point mtpaint docs to be used in different folder instead /usr/share/doc?

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 05:00    Post subject:  

saintless wrote:
I think after installing more and more applications the structure could be changed from what we have it now.


Yes, we can't control that really; I thought about that too. Debian menu system is dynamic and adjusts itself in an attempt to make sure there are never an excessive number of entries in any one menu category. But it is a program algorithm whose variable result may not always be the best from a human perspective. But there is no such thing as a perfect automatic menu system and human hand-crafted menus are too much work and prone to human error and different aesthetic point of views anyway.

The only thing is that it might be worth forcing it to drop submenus by modifying icewm-common per your original suggestion about that; but also modify menu.h using these other 'hint' techniques so that there is a fair chance jwm menus won't be too bad either? Thereafter leave it up to system admins to re-modify menu as and when they feel it appropriate?

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 05:05    Post subject:  

Sorry, Toni, I should have said: libfile-mimeinfo-perl, which is what it is called in Debian repository (if that is the correct file).

As far as keeping wallpapers size down, just for the default release case, perhaps we could include a couple of plain background ones (blue for example) since they are tiny files, in addition to the Dog and Linux village? Come to think of it, that last one Terry uploaded almost is a plain blue background - it was pretty blue anyway hahaha!

For mtpaint docs, how about just the online html handbook:

http://mtpaint.sourceforge.net/handbook/index.html

Admittedly, we never use mtpaint in this house. I read through the docs once and tried to encourage my artist/architect daughter to try it... she still brings it up sarcastically when I mention linux (she uses Mac). So I installed gimp just for her, prior to her getting the Mac (though alas she really prefers photoshop) and I install something like Tuxpaint or even xpaint just for the younger children of the house playing around.

Some pointer to the mtpaint docs are certainly necessary - which my daughter would say is a measure of the non-intuitive nature of its interface. Having said that, it is amazing how many graphics functions have been crammed into such a small program (if only we could master them all or remember even a subset).

By the way, Terry's wallpaper programs seem to work for me, though I haven't really given them a thorough testing.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2223
Location: Bulgaria

PostPosted: Tue 25 Feb 2014, 06:46    Post subject:  

sunburnt wrote:
Here are fixes to both desktop.ctrl and wallpapers.gui

And new ArcDrop that extracts Squash and ISO files, and makes Squash files.
It has a new menu, so all the files are new. You can see it now adds PID to file name.

If these apps prove good, I`ll post the BaCon files for you to upload to Smoky`s.

Hi, Terry Smile
Quickly tested but seems wallpapers and arcdrop work. I wonder why previous wallpapers has troubles on my system but it does not matter now.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2223
Location: Bulgaria

PostPosted: Tue 25 Feb 2014, 06:56    Post subject:  

Hi, William.

It takes much time and test what is best about menu structure. It is too early to decide the final solution. I have to find a way to edit proper jwmrc file to add system and utilities folders with the same programs. JWM menu is even better because it has all folders in the main start menu. In Icewm we have Programs-> Folders
But JWM keeps empty Debian and System folders as well. I still do not know how exactly to fix this.

libfile-mimeinfo-perl - I will install this to check the size but I do not know how to setup mime types after installing it. Too many other things to fix till I get to mime types trials.

Online mtpaint book - what do you mean William? To include somehow mtpaint Help menu to point to online mtpaint book or something else? I use mtpaint for simple editing actions and never needed help file for my needs.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2223
Location: Bulgaria

PostPosted: Tue 25 Feb 2014, 11:11    Post subject:  

mcewanw wrote:
Sorry, Toni, I should have said: libfile-mimeinfo-perl, which is what it is called in Debian repository (if that is the correct file).

Hi, Terry, William.
If this is all we need to have working mime types it is only 254 K as William wrote. No problem to include it.

Toni
Back to top
View user's profile Send private message MSN Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: Tue 25 Feb 2014, 15:53    Post subject:  

Toni; I`ve had problems with a few things and I figured they`d fix themselves, and they did.

I`ll look at usage of mimeinfo-perl, some folks seem to think it`s easy to use.
# But Rox has a database file that holds this info. Can`t they just spell it out for their users.?

# We have JWM now, shouldn`t there be a way to switch between WMs ( maybe there is ).
And this brings up a whole new list of menu problems...
# If Debian auto-menu system can be shut off, perhaps write a custom auto-menu setup.?

I`ll see how to make MtPaint find it`s docs. I agree it`s not an easy app to learn or use.
The docs are < 2.5 MB when XZ/Squash compressed.
MtPaint uses a default browser, but it won`t work with online docs, only local ( WTF ??? ).
# Per William`s idea, just make a Menu Item to run H3V pointed to the Docs URL.

# Menu Item should probably be "WWW Browser", and should run "default_web-browser"
This way installing other browsers can simply make a new default link.

I realized I need to make ArcDrop do: Squash-GZ and Squash-XZ
# Is this good for Sqaush XZ comperssion options.? " -comp xz -b 1M"
.

Last edited by sunburnt on Tue 25 Feb 2014, 17:00; edited 1 time in total
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 15:59    Post subject:  

saintless wrote:
mcewanw wrote:
Sorry, Toni, I should have said: libfile-mimeinfo-perl, which is what it is called in Debian repository (if that is the correct file).

Hi, Terry, William.
If this is all we need to have working mime types it is only 254 K as William wrote. No problem to include it.

Toni


Sorry, Toni, I've never used it. Just noticed Terry mentioning perl solution and found what looked like the file to apt-get. You'll have to ask Terry for more details.

Similarly, I just noted that Terry was wanting mtpaint docs, so was just suggesting you could somehow make a browser link to that somehow. I do note that H3V browser has a panel of links - the mtpaint online docs could be one of these I suppose. Of course, most all users will be apt-getting a main browser of their own choice. Like I say I never use mtpaint so docs don't matter to me, but I do think it is a tricky program to master beyond the basics (and even some of the basics...)

EDIT: But see my next post regarding mtpaint help.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Last edited by mcewanw on Tue 25 Feb 2014, 16:29; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 16:15    Post subject: mtpaint docs  

I think you can just open mtpaint and edit Image -> Preferences to point the entry box 'Location of Handbook Index' to a shell script which loads the browser with address: http://mtpaint.sourceforge.net/handbook/en_GB/chap_00.html or something like that.

EDIT: As Terry points out, the above doesn't work. So I think you need to create an extra small shell script (e.g. /opt/bin/mtpaint_help), and have an icon/menu item for that, as Terry suggests. Mtpaint itself won't open it unfortunately:

Code:

#!/bin/sh
default_web-browser http://mtpaint.sourceforge.net/handbook/en_GB/chap_00.html


It's also a nice trick in Puppy linux that whenever you type man xxx in a terminal, it immediately opens a browser and takes you to online man page. See following link for pointer to how it is done in Puppy:

http://www.murga-linux.com/puppy/viewtopic.php?p=502509#502509

Puppy apparently uses a script in /usr/bin/man that refers to "http://linux.die.net/man/${SECTION}/${NAME}"

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Last edited by mcewanw on Tue 25 Feb 2014, 22:45; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: Tue 25 Feb 2014, 17:04    Post subject:  

Willaim; My post above yours says MtPaint won`t use the web docs. ( WHY.??? )
So I suggest a Menu Item next to MtPaint to run H3V and load the web page docs.

# I like the idea you suggest for the man pages... That`s a really good idea.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Tue 25 Feb 2014, 22:46    Post subject:  

sunburnt wrote:
Willaim; My post above yours says MtPaint won`t use the web docs. ( WHY.??? )
So I suggest a Menu Item next to MtPaint to run H3V and load the web page docs.


You are right Terry. I've edited my post above to reflect your comment. You are wrong how you spell my name though... ;-)

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Last edited by mcewanw on Wed 26 Feb 2014, 02:08; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Wed 26 Feb 2014, 02:01    Post subject: pman from Puppy works as far as standard man pages go.  

Puppy actually uses a shell script called pman for fetching man pages into the web browser, and 'man' is created as a symbolic link pointing to target pman.

I have tried pman in DebianDog and found that it basically functions without modification, at least for fetching man pages as long as iceweasel is installed or some other declared browser (but doesn't work with H3V). Aside from H3V, you can edit line 42 of pman to alter the list of browsers it will look for (e.g. add chromium, chrome, iron etc; dillo, opera, seamonkey and firefox are already listed there):
Code:

HTMLVIEWERS="$BROWSER defaulthtmlviewer defaultbrowser dillo seamonkey mozilla firefox opera"

There is a terminal error message generated by pman (though it still works despite the error message) because DebianDog doesn't use /root/.packages. you can remove that error message by simply commenting out line 156 in pman, which should be:
Code:

HOMESITE="`grep -i "$pPATTERN" /root/.packages/PKGS_HOMEPAGES | head -n 1 | cut -f 2 -d ' '`"

Please find pman attached (this version from Puppy Precise 5.6.1). Simply remove the dummy tar and place it in /opt/bin and create the symbolic link 'man' there pointing to it.

Usage is simply to open a terminal and type, for example:
Code:

man ls

Some man pages, howevere, appear in more than one section:

For example try:
Code:

man read

and by default you will get the section 2 version of it. However, you can specify the alternative section for this command like this:
Code:

man 1 read

which gives the section 1 man page for read.

From looking quickly at the code, pman has been internationalised and will also search for doc files in /usr/share/doc hierarchy. I don't know if these parts of it will work without modification in DebianDog. Still very useful without that and I think it is worth leaving that extra code in for later mods if necessary to bring its full functionality to DebianDog.
pman.tar
Description  fetches man pages from internet into web browser
tar

 Download 
Filename  pman.tar 
Filesize  7.74 KB 
Downloaded  71 Time(s) 

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2223
Location: Bulgaria

PostPosted: Wed 26 Feb 2014, 04:08    Post subject:  

Hi, all.

William. Thank you for pman. I will include it and test it.
I will create menu entry for mtpaint help based on the script you suggest.

Terry,
Quote:
# We have JWM now, shouldn`t there be a way to switch between WMs ( maybe there is ).

There is auto created menu switch but it is no good. I will make a switch to modify $HOME/startup and .xsession files and autologin and startx.

Quote:
And this brings up a whole new list of menu problems...
# If Debian auto-menu system can be shut off, perhaps write a custom auto-menu setup.?

Not many problems really. Already found how to create System and Utilities menus like in IceWM. The rest of the menu is allmost the same between both WM I got also wallpapers.gui working for JWM.
Problems I see to the moment:
1. The fix for only one entry in menu folder does not work the same way for JWM (it should be fixable).
2. I created four taskbar buttons for each desktop and they work for wallpapers change, but I can't find a way to hide the original desktop change buttons yet.

But the idea for auto generated from .desktop files menu is very good as long it does not need any more packages installed.

Quote:
# Menu Item should probably be "WWW Browser", and should run "default_web-browser"
This way installing other browsers can simply make a new default link.

I will change it this way.

Quote:
I realized I need to make ArcDrop do: Squash-GZ and Squash-XZ
# Is this good for Sqaush XZ comperssion options.? " -comp xz -b 1M"

Yes, it is fine.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 101 of 226 [3387 Posts]   Goto page: Previous 1, 2, 3, ..., 99, 100, 101, 102, 103, ..., 224, 225, 226 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1466s ][ Queries: 12 (0.0334s) ][ GZIP on ]