The time now is Mon 20 May 2013, 03:09
All times are UTC - 4 |
| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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 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
Last edited by MU on Wed 24 Sep 2008, 20:17; edited 4 times in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 04 Jul 2006, 13:59 Post subject:
|
|
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 . . .
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: 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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 27 Aug 2006, 05:28 Post subject:
|
|
ah, forgot that.
http://dotpups.de/dotpups/Libraries/Puppybasic-basefunctions2.inc.pup
Mark
|
|
Back to top
|
|
 |
|
|
|
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
|