Giter VIP home page Giter VIP logo

mjwm's People

Contributors

chiku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mjwm's Issues

Don't ignore a category name without a trailing semicolon

Hi, this was reported on the Puppy Linux forum:

One other thing I noticed was that if the category name was not followed by a ";", it was not found. Many of puppy's desktop files are missing that semicolon, if only a single category is there.

Print summary

Provide an option to print a summary. The summary should say how many files it scanned and how many entries it created.

Should support more than one folder containing .desktop files

e.g. a distro might use both /usr/share/applications and /usr/local/share/applications
And sometimes a desktop environment environment like KDE keeps its .desktop files in its own folder.
In my case I have "applications" folders in all of these locations; I guess it should read these environment variables:

XDG_DATA_DIRS=/usr/local/share/:/usr/share/
XDG_DATA_HOME=/root/.local/share

It would also be nice if the -s option worked if you omit the trailing / (or at least gave an error message which indicated this as a possible problem):

# mjwm -s /usr/local/share/applications
Doesn't have any valid .desktop files: /usr/local/share/applications

Simplify build steps

Build should be the standard three steps

  • configure
  • make
  • make install

autoreconf -i and touches should not be necessary

mjwm should respect [Desktop Entry] header in .desktop files

libreoffice-writer.desktop looks like

[Desktop Entry]
# snip snip
Name=LibreOffice Writer
# snip snip
[Desktop Action NewDocument]
Name=New Document
# snip snip

mjwm v2.2.0 identifies it is New Document
The correct name should be LibreOffice Writer

Report files that couldn't be opened

Files that couldn't be opened should be reported as unparsed. Currently desktop files that aren't opened are ignored.

A file may be a broken symlink. This is one of the reasons a file couldn't be opened.

Handle missing end slash for -s

(Pulled out of #22)

It would also be nice if the -s option worked if you omit the trailing / (or at least gave an error message which indicated this as a possible problem):

# mjwm -s /usr/local/share/applications
Doesn't have any valid .desktop files: /usr/local/share/applications

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.