Package Details: lsdesktopf 1.0.7-4

Git Clone URL: (read-only, click to copy)
Package Base: lsdesktopf
Description: List available *.desktop files and search in their content.
Upstream URL:
Keywords: desktop files search view
Licenses: GPL3
Submitter: Andy_Crowd
Maintainer: Andy_Crowd
Last Packager: Andy_Crowd
Votes: 21
Popularity: 0.017114
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.
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:

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.

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:
show content of "Name="
show content of "Comment="
show content of "DesktopName="
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/)
(show X sessions)
list numbered content of Exec in .desktop files located at /usr/share/xsessions/
(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/,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.
show path to .xml file where was found file name extension.
show MIME type
show acronym
show extended acronym
show sub class
show alias
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