The time now is Mon 16 Dec 2019, 05:07
All times are UTC - 4 |
Author |
Message |
fredx181

Joined: 11 Dec 2013 Posts: 4217 Location: holland
|
Posted: Sun 02 Sep 2018, 04:02 Post subject:
Xlunch Graphical app launcher .pet packages Subject description: For testing |
|
Moved from Here because of difference with sc0ttman's project:
EDIT 2018-09-03: Updated download links to v3.2.12-6, see info:
http://murga-linux.com/puppy/viewtopic.php?p=1003661#1003661
EDIT 2018-09-30: Updated download links to v3.2.12-7, see info:
http://murga-linux.com/puppy/viewtopic.php?p=1006134#1006134
EDIT 2018-12-10: New pet packages, see here:
http://murga-linux.com/puppy/viewtopic.php?p=1012643#1012643
Hi, here are Pet packages for xlunch (including some custom scripts and example .desktop launchers)
See about xlunch: Xlunch on Github and Xlunch website
As is xlunch "A work in progress" these pet packages are also.
Anyone feel free to modify, see this just as a concept.
Thanks sc0ttman for the genentries mod, it's included in the pets (in /usr/bin).
(other scripts are in /usr/local/bin)
Initial launch of xlunch (example Xlunch3 from Menu > System) may show something like:
Well... disappointing, many icons won't show... (instead 'ghost' icon) But wait... there's a fix:
Run "Regenerate entries for xlunch (convert .svg to .png)" from Menu > System to convert .svg to .png
(requires "librsvg2-bin" installed)
Takes some time, but after that the icons should show , example Xlunch3 showing icons:
From Xlunch Help (Menu > System > Xlunch Help) EDIT: Updated for v4.1.1-1:
Quote: | *** First time running Xlunch ***
For generating entries file is required: libmenu-cache3, install from PPM
Probably some (or more) icons won't show in the Xlunch window.
This is because Xlunch doesn't support .svg icons.
This can be fixed by converting .svg to .png. The tools 'rsvg-convert' or 'convert' are needed for that.
If not installed, install from Puppy Package Manager: librsvg2-bin or/and imagemagick.
After that, run from Menu > System > 'Update entries for xlunch (convert .svg to .png)'
Then start one of the examples in Menu > System > Xlunch1, Xlunch2 or Xlunch3 and the icons should show.
Note that these are just examples, Xlunch is very customisable, type in terminal to see the options:
xlunch --help
To use 'persistent' mode (xlunch-menu will run in background), add a symlink to /usr/local/bin/xlunch-menu-gen in ~/Startup/ folder.
Then the entries for Xlunch will be updated everytime you install a new program. |
Demo Gif Image (Xlunch3) (has options --dontquit (xlunch still shows after running application) and --windowed):
(scrolling through applications, search for 'edit' 'peasy' and run custom 'vlc' button)
EDIT 2018-09-03: Updated to v3.2.12-6
EDIT 2018-09-30: Updated to v3.2.12-7
EDIT 2018-12-10: Updated to v4.1.1-1
32-bit:
https://dl.dropboxusercontent.com/s/ozl17bs9d9l5aoc/xlunch_4.1.1-1_i386.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/z90ewvvc247cw6x/xlunch_4.1.1-1_amd64.pet?dl=1
It has special construction, the xlunch binary is not in PATH (it's /usr/local/xlunch/xlunch)
There's script: /usr/local/bin/xlunch that calls xlunch.
This is to workaround the problem of possibly not finding the default entries file: /etc/xlunch/entries.dsv
See also issue here:
https://github.com/Tomas-M/xlunch/issues/91#issue-348889265
EDIT: Not anymore in version 4.1.1-1
P.S. I also modified 'gentriesquick' (run from Menu > System > Quick generate entries for xlunch), it has "plan B" in case an icon is not found, then it uses genentries with the -f option (to generate entry from single .desktop file).
Still it's fast, but a little slower than the original gentriesquick from Tomas M.
I didn't add 'xlunchr' to the package, it seems to me that using 'categories' (left vertical buttons) is not ready yet.
(but correct me if I'm wrong)
EDIT: Not anymore included in version 4.1.1-1 , the xlunch-menu-update or xlunch-menu-gen script does that now.
EDIT: Forgot to mention that the pet has pinstall.sh. During install it will create /etc/xlunch/entries.dsv based on content of /usr/share/applications
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
Last edited by fredx181 on Mon 10 Dec 2018, 07:16; edited 6 times in total
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4217 Location: holland
|
Posted: Mon 03 Sep 2018, 14:31 Post subject:
|
|
Updated pet packages to v3.2.12-6, following sc0ttman's great improvement by adding option --maxtextlength
http://murga-linux.com/puppy/viewtopic.php?p=1003559#1003559
32-bit pet:
https://dl.dropboxusercontent.com/s/9onjzwtihqznkpw/xlunch_3.2.12-6_i386.pet?dl=1
64-bit-pet:
https://dl.dropboxusercontent.com/s/9je8r6ogb2u51yu/xlunch_3.2.12-6_amd64.pet?dl=1
Download links at first post also updated to 3.2.12-6
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4217 Location: holland
|
Posted: Sun 30 Sep 2018, 03:44 Post subject:
|
|
Updated pet packages to v3.2.12-7
32-bit:
https://dl.dropboxusercontent.com/s/8jbizoo42tsxd08/xlunch_3.2.12-7_i386.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/xlt9hgmq9drxvv1/xlunch_3.2.12-7_amd64.pet?dl=1
Improvement by the Xlunch developers:
Added option --iconvpadding, that makes things more flexible, e.g. if you use:
Code: | --iconpadding 40 --iconvpadding 5 |
Result is that the icons are rather wide spread horizontally (so a large amount of text will display) (--iconpadding 40) and the icons are vertically rather close to each other (--iconvpadding 5)
The --maxtextlenght (as it was in previous pet packages) is not an option anymore.
Download links at first post also updated to 3.2.12-7
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4217 Location: holland
|
Posted: Mon 10 Dec 2018, 06:48 Post subject:
|
|
*** New Xlunch .pet packages ***
Included in the .pet are: latest xlunch version 4.1.1 and Xlunch-menu
The xlunch-menu program generates entries for xlunch very fast.
Requirements:
libimlib2 (or imlib2 e.g. for Slacko), libmenu-cache3 (or menu-cache e.g. for Slacko) (the latter is dependency for xlunch-menu) and librsvg2 (should have rsvg-convert included) for converting SVG to PNG.
Install these from PPM first before installing the .pet.
See Menu > System > Xlunch Help for more info. (specially about 'persistent' option (xlunch-menu running in the background, script: xlunch-menu-gen ))
Optional:
devilspie2 (for e.g. undecorated display, see inside scripts /usr/local/bin/xluncher1 and /usr/local/bin/xlunch-logout)
32-bit:
https://dl.dropboxusercontent.com/s/ozl17bs9d9l5aoc/xlunch_4.1.1-1_i386.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/z90ewvvc247cw6x/xlunch_4.1.1-1_amd64.pet?dl=1
EDIT: Download links at first post also updated to version 4.1.1-1
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
|
Back to top
|
|
 |
pp4mnklinux

Joined: 23 Aug 2013 Posts: 364
|
Posted: Sat 23 Feb 2019, 13:49 Post subject:
xenial pup 7.5 testing |
|
Hi:
Fantastic work. Installed and working.
HAVE A NICE DAY
_________________ Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0
|
Back to top
|
|
 |
rockedge

Joined: 11 Apr 2012 Posts: 1367 Location: Connecticut, United States
|
Posted: Sat 23 Feb 2019, 22:46 Post subject:
|
|
pp4mnklinux wrote: | Fantastic work. Installed and working. |
I second that
Description |
|
Filesize |
204.22 KB |
Viewed |
321 Time(s) |

|
|
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
|