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.017144
First Submitted: 2016-03-20 17:41
Last Updated: 2016-09-17 17:12

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Andy_Crowd commented on 2016-09-17 17:20

added option "--empty-categories-exec | --ece" to show if the variable "Categories=" is empty but .desktop file contains Exec=.

Andy_Crowd commented on 2016-09-17 13:56

updated help sections, fixed a "bug", "renamed" options: '--sce' = '--c' , '--smc' = '--mc'

to see all options with their alternatives found in lsdesktopf code use command:
lsdesktopf --sm beta

Andy_Crowd commented on 2016-09-14 10:03

Tip to sort by name icons to get overview of which of the programs are using same icons: lsdesktopf --d | sort -t '#' -k 2,2 | less -R

Andy_Crowd commented on 2016-09-12 16:47

added option --description or short --d that will only list content by pattern Name # Icon # Comment # FILENAME
it is searching even in .directory files, will show result only if all of the options are available in the file.
And I have also added for some options to search in .directory files and not only in .desktop

The option "--less" is replaced with "--list" but it still can be used.

Andy_Crowd commented on 2016-09-11 13:15

I am testing programs and it is irritating when after update it creates autostart files again. I don't know how useful it is but I have added "--tn" or "--to-null" that will disable autostart by creating symlinks to "/dev/null" in "$HOME/.config/autostart" for files in "/etc/xdg/autostart/" . It also making some safety checks such as if /dev/null exist, if not the it will show command that can be used to create it. Creating automatically destination directory "$HOME/.config/autostart" if it isn't existing

Here is a simple oneliner:
for i in /etc/xdg/autostart/*;do ln -s /dev/null "$HOME/.config/autostart/${i//*\//}";done

Andy_Crowd commented on 2016-09-11 09:53

added options for searching only in "Category"
--show-more-category | --smc [text] - similar output to --more
--show-categories-exec | --sce [text] (sf)
searching only for categories.
showing result by one line per exec found in a single file.
use "sf" as the last option to show filename
option --lc moved into --help ctg
for more info use --help ctg

Andy_Crowd commented on 2016-09-10 17:06

updated options --fp --fpo --fpe --fpoe
now it can use multiple path but cannot add ";" to the end of each directory
lsdesktopf --fpoe /usr/share/applications/ /etc/xdg
to add a something to the end of line you can use: sed 's/$/;/'

Andy_Crowd commented on 2016-09-10 10:12

Tip for showing of all base options. I am trying to make it simply and putting all options that are in "case ... esac" tags close to begin of lines so it makes it easier to see them. It can be also some "beta" options that are currently are not described in --help
./lsdesktopf --sm | grep ^\-\-

Andy_Crowd commented on 2016-09-10 09:22

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

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