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 Wed 12 Dec 2018, 10:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Xlunch Graphical app launcher .pet packages
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3574
Location: holland

PostPosted: 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... Smile 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

Last edited by fredx181 on Mon 10 Dec 2018, 07:16; edited 6 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3574
Location: holland

PostPosted: 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
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3574
Location: holland

PostPosted: 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
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3574
Location: holland

PostPosted: 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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0880s ][ Queries: 12 (0.0281s) ][ GZIP on ]