Xlunch Graphical app launcher .pet packages

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Xlunch Graphical app launcher .pet packages

#1 Post by fredx181 »

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. ... 61#1003661
EDIT 2018-09-30: Updated download links to v3.2.12-7, see info:
http://murga-linux.com/puppy/viewtopic. ... 34#1006134
EDIT 2018-12-10: New pet packages, see here:
http://murga-linux.com/puppy/viewtopic. ... 43#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:
Image

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

From Xlunch Help (Menu > System > Xlunch Help) EDIT: Updated for v4.1.1-1:
*** 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):
Image
(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/ozl ... 6.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/z90 ... 4.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/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
Last edited by fredx181 on Mon 10 Dec 2018, 11:16, edited 6 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#2 Post by fredx181 »

Updated pet packages to v3.2.12-6, following sc0ttman's great improvement by adding option --maxtextlength
http://murga-linux.com/puppy/viewtopic. ... 59#1003559

32-bit pet:
https://dl.dropboxusercontent.com/s/9on ... 6.pet?dl=1
64-bit-pet:
https://dl.dropboxusercontent.com/s/9je ... 4.pet?dl=1

Download links at first post also updated to 3.2.12-6

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#3 Post by fredx181 »

Updated pet packages to v3.2.12-7

32-bit:
https://dl.dropboxusercontent.com/s/8jb ... 6.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/xlt ... 4.pet?dl=1

Improvement by the Xlunch developers:
Added option --iconvpadding, that makes things more flexible, e.g. if you use:

Code: Select all

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

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#4 Post by fredx181 »

*** 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/ozl ... 6.pet?dl=1
64-bit:
https://dl.dropboxusercontent.com/s/z90 ... 4.pet?dl=1

EDIT: Download links at first post also updated to version 4.1.1-1

Fred

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

xenial pup 7.5 testing

#5 Post by pp4mnklinux »

Hi:

Fantastic work. Installed and working.

HAVE A NICE DAY
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#6 Post by rockedge »

pp4mnklinux wrote:Fantastic work. Installed and working.
I second that
Attachments
Screenshot(13).png
(204.22 KiB) Downloaded 499 times

Post Reply