Package Details: lsdesktopf 1.0.7-4

Git Clone URL: https://aur.archlinux.org/lsdesktopf.git (read-only)
Package Base: lsdesktopf
Description: List available *.desktop files and search in their content.
Upstream URL: https://github.com/AndyCrowd/list-desktop-files
Keywords: desktop files search view
Licenses: GPL3
Submitter: Andy_Crowd
Maintainer: Andy_Crowd
Last Packager: Andy_Crowd
Votes: 17
Popularity: 0.013235
First Submitted: 2016-03-20 17:41
Last Updated: 2016-09-17 17:12

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Andy_Crowd commented on 2016-09-06 20:37

made it work a little faster and added option --in-file or short --if
it shows same output as option --less but you must use path to a file. other options moved one step forward such as text to search and languages to show. the --in-file option is not listed yet in --help , will probably extended with more similar options and search for variable name instead of variable content and added in separate help section.
Example:
lsdesktopf --if mytest.desktop

Andy_Crowd commented on 2016-09-04 12:27

added option --fpoe that is same as --fpo but showing only folders that contains variable Exec
Now it isn't necessary to use separator ";" if you will add folders as a list with new line:
DESKTOP_FILES='/usr/share/speech-dispatcher/conf/desktop
/usr/share/templates/.source
/usr/share/Thunar/sendto
/usr/share/wayland-sessions'

Andy_Crowd commented on 2016-09-02 22:03

added option "--fpe" that is similar to "--fp" but showing only folders that contains variable "Exec" in .desktop files
export DESKTOP_FILES="$(lsdesktopf --fpe /usr/share ";")"
export DESKTOP_FILES="$(lsdesktopf --fp /usr/share ";")"

Andy_Crowd commented on 2016-08-30 17:48

added environment variables "NO_COLOR" and "DESKTOP_FILES"

to disable colored output use "YES", any other values means "NO"
export NO_COLOR="YES"

DESKTOP_FILES must contains list of folders separated with symbol ;
it overrides default preset list of directories in the script

for option --fp added ability to add any symbol to the end of each directory that is useful for creation of arrays with preferred separators.

Example:
export DESKTOP_FILES="$(lsdesktopf --fp /usr/share ";")"
lsdesktop gtk

Andy_Crowd commented on 2016-08-13 22:21

added more options to use with --sxs and --rxs
additional options:
n
name
show content of "Name="
c
comment
show content of "Comment="
dn
desktopname
show content of "DesktopName="
a
all
show content by pattern "Number Name # Comment # Exec"

Andy_Crowd commented on 2016-07-24 19:15

Added options to list or run X sessions with startx (not searching in /usr/share/wayland-sessions/)
--sxs
(show X sessions)
list numbered content of Exec in .desktop files located at /usr/share/xsessions/
--rxs
(run X session)
as above but also asking to choose number of a session to start.

Andy_Crowd commented on 2016-07-06 12:50

added option "-fm" to use after --gm:
--gm -fm application/oxps,application/vnd.ms-xpsdocument,application/x-brasero
-----
-fm [options]
find .desktop files only for comma separated MIME types
lsdesktopf --gm -fm $(echo $(grep =$ mimeapps.list) | sed -e 's/=/,/g' -e 's/ //g')

Andy_Crowd commented on 2016-06-27 11:59

added more output options to use after "--gdx -gfx" that can be comma separated.
"sf"
show path to .xml file where was found file name extension.
"sm"
show MIME type
"sa"
show acronym
"sea"
show extended acronym
"ssc"
show sub class
"sal"
show alias
"sgi"
show general icon description

Andy_Crowd commented on 2016-05-16 17:23

added option "--lc" to list all categories found in "/usr/share/applications/" and "$HOME/.local/share/applications/"

Andy_Crowd commented on 2016-05-15 21:13

added new options, fixed some bugs and added coloured output to file path and section names in some options