Software >
A desktop / launcher thing.
Too annoying to get working.
From the author of Slax, who (as of 2017-10-04) apparently abandoned that project but has the time to make this one. Sigh.
-
2017-10-04 - 3.0.0 on Devuan-1.0.0-jessie-i386-DVD
2017-10-04 - 3.0.0 ∞
Installation ∞
\apt-get install libimlib2-dev \make
gcc xlunch.c -o xlunch -lImlib2 -lX11 -O2 -s
sh extra/genentries > entries.dsv
extra/genentries: 9: extra/genentries: not found
cat: /root/.gtkrc-2.0: No such file or directory
extra/genentries: 48: extra/genentries: declare: not found
extra/genentries: 49: extra/genentries: Syntax error: "(" unexpected
Makefile:38: recipe for target 'entries.dsv' failed
make: *** [entries.dsv] Error 2
\make install
mkdir -p /etc/xlunch/ mkdir -p /usr/share/xlunch/svgicons/ mkdir -p /usr/bin/ mkdir -p /usr/share/icons/hicolor/48x48/apps mkdir -p /usr/share/applications cp extra/ghost.png /usr/share/icons/hicolor/48x48/apps/xlunch_ghost.png cp docs/logo.png /usr/share/icons/hicolor/48x48/apps/xlunch.png cp xlunch /usr/bin/ cp extra/genentries /usr/bin cp extra/genentries.desktop /usr/share/applications/ sh extra/genentries --path /usr/share/xlunch/svgicons/ > /etc/xlunch/entries.dsv extra/genentries: 9: extra/genentries: [[: not found cat: /root/.gtkrc-2.0: No such file or directory extra/genentries: 48: extra/genentries: declare: not found extra/genentries: 49: extra/genentries: Syntax error: "(" unexpected Makefile:9: recipe for target 'install' failed make: *** [install] Error 2
It seems to work though.
The directories it looks for fonts in:
~/.local/share/fonts ~/.fonts /usr/local/share/fonts /usr/local/share/truetype /usr/local/share/TTF
It doesn't use /usr/share/fonts
.
As root:
\rmdir /usr/local/share/fonts \ln --symbolic /usr/share/fonts /usr/local/share/fonts
Usage:
\xlunch \ --background wp.jpg \ --font "truetype/freefont/FreeSans/10" \ --input sample_entries.dsv \ --desktop \ --multiple \ --noprompt \ --dontquit \ ` # `
Error opening config file from sample_entries.dsv. Reverting back to system conf.
I see /etc/xlunch/entries.dsv
but it is empty. Removing that file doesn't help. Re-running the above command as root doesn't help.
Manually running the extra/genentries
script from the source package does not generate anything useful. Copying the included sample_entries.dsv
as /etc/xlunch/entries.dsv
does let the above desktop command work as-expected.
On a hunch, i tried:
\chmod +x genentries ./genentries
cat: /root/.gtkrc-2.0: No such file or directory Generating entries file...
.. well I can kindof get it working, and I get the idea. As a desktop program it would be interesting. I can't get it going as a launcher. This is taking too much effort.
.. a few minutes after removing it, I figure I could have edited the script to make it [[Dash[doesn't exist]-compatible. I'm not going to bother though.
Last updated 2018-04-15 at 06:22:05
I managed to get xlunch going by setting terminal=true in a .desktop file in /usr/share/applications. Then drag the .desktop file to plank which is my dock running. (on Debian stretch, Openbox, plank)
Still work to be done however -> Gives me a terminal windows everytime I launch anything, and regenerate gives an empty entries.dsv.