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 Sat 25 Oct 2014, 20:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Wizard: XDG menu for alien packages and old dotpups
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 04 Jul 2006, 11:33    Post_subject:  Wizard: XDG menu for alien packages and old dotpups  

Puppy 109 CE uses XDG-menus, and you can enhance other Puppys with them, too:
http://www.murga-linux.com/puppy/viewtopic.php?t=8957

There is a problem, though: old Dotpups and alien packages do not include the required .desktop file.

So I wrote a small wizard.
It will search in your alienpackages.txt from Pupget for entries without a .desktop file.
If it finds one it will check, if it includes one in a wrong folder, and will propose to use it as a new one. (for example KDE uses other folders than Puppy for the .desktop files).
If not, it creates one from standard values, and offers to edit the resulting file.

All .desktop files you create, will be zipped, so that you can send them to me via EMail.
This should allow to quickly build a huge database, so that we can offer them for download.

Download (15 kb):
http://dotpups.de/dotpups/System_Utilities/XDG-menus-for-alien-packages/XDG-menu-for-alien-packages.pup
requires these ones, too:
http://dotpups.de/dotpups/System_Utilities/getdir.pup
http://dotpups.de/dotpups/Libraries/Puppybasic-basefunctions2.inc.pup (not needed in Puppy 3 and some Puppy 2 versions)

The usage is simple.

1.) at start, you can choose to delete an entry, or create a new. So if you created a wrong one, delete it now.

Click on this link to see the following pictures, they now have hotlink-protection and can no longer be shown in this forum:
http://dotpups.de/dotpups/System_Utilities/XDG-menus-for-alien-packages/

xdg4alien01.jpg

2.) Now you will see the list of all packages without a XDG-menu:

xdg4alien02.jpg

3.) Select one, and you can choose the executable to add. This is the program, that will be started from the menu.

xdg4alien03.jpg

4.) Now choose a category. This will be sorted in a corresponding submenu automatically by the XDG-system.

xdg4alien04.jpg

5.) The menu should work now with most Dotpups. Some alien packages might require changes, especially for the icon used:

xdg4alien05.jpg

6.) Thats's all Exclamation You now can send them to me:

xdg4alien06.jpg

Thanks in advance to all contributions.
Please send me not only large collections, but also only small with just 2-3 entries.

Mark

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


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

PostPosted: Tue 04 Jul 2006, 13:59    Post_subject:  

Smile Great idea - 1 am using a pristine 1.09 (only NVU and XaraLX) I installed anyway. It offered to overwrite a file in /usr/bin called "getdir" - so I said yes

On running the program nothing came up - No alien packages?

It seems we need everyone to run this to build up the database as you say . . .

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 04 Jul 2006, 14:10    Post_subject:  

You can use this one for tests, it has no own XDG-menu:
http://dotpups.de/dotpups/File_Managers/FileRunner-2.5.1.pup

A small Tcl/Tk filemanager.
Install it, then try to add a new xdg-menu, choose "fr" as the executable.

If it still does not come up, run in a consolewindow:
alien-to-xdg
and tell me errors you get.


The "getdir" is a program allows to write relocatable applications.
I think I should add it as seperate pack:
http://dotpups.de/dotpups/System_Utilities/getdir.pup
Removed it now from the xdg-dotpup.

Mark
Back to top
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sat 26 Aug 2006, 14:41    Post_subject:  

MU wrote:
If it still does not come up, run in a consolewindow:
alien-to-xdg
and tell me errors you get.
Now that I've finished the Menu generators, I've tried running your wizard under puppy 1.09 and got the following error
Code:
# alien-to-xdg
[Syntax error]
Unable to open "/usr/lib/wxbasicscript/basefunctions2.inc" or "/usr/local/XDG-menu-for-alien-packages/resource//usr/lib/wxbasicscript/basefunctions2.inc"

*** glibc detected *** double free or corruption (top): 0x08080e50 ***
Aborted

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 27 Aug 2006, 05:28    Post_subject:  

ah, forgot that.
http://dotpups.de/dotpups/Libraries/Puppybasic-basefunctions2.inc.pup
Mark
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0874s ][ Queries: 11 (0.0363s) ][ GZIP on ]