Package Details: lsdesktopf 1.0.7-4

Git Clone URL: https://aur.archlinux.org/lsdesktopf.git (read-only, click to copy)
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: 26
Popularity: 0.000569
First Submitted: 2016-03-20 17:41 (UTC)
Last Updated: 2016-09-17 17:12 (UTC)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Andy_Crowd commented on 2016-09-10 09:22 (UTC)

Here is the best example of checking which of folders are currently used # populate the variable DESKTOP_FILES export DESKTOP_FILES=$(lsdesktopf --fpoe /usr/share/applications/) # show default directories lsdesktopf --sdd

Andy_Crowd commented on 2016-09-09 19:20 (UTC) (edited on 2016-09-09 19:25 (UTC) by Andy_Crowd)

the options --suo and --sud are showing only unique variable names available in .desktop files without content and now I have added options --suoe and --sude that showing unique variable names with their content that can be used as an example of what each variable can contain, empty variables (without content) are ignored. --in-file "text" lang1,lang2 the option --in-file is based on option --less and has 3 types of output default: base content search text: showing only lines that are containing text, searching in both variables and content at once. languages: showing all available variables with translations for chosen languages. the option --in-file is available in --help sinf

Andy_Crowd commented on 2016-09-06 20:37 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-08-30 18:24 (UTC) by Andy_Crowd)

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 (UTC)

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 (UTC)

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.