GithubHelp home page GithubHelp logo

ju1ius / fluxdgmenu Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 380 KB

An automated XDG Menu system for Fluxbox. [This project has been superseded by ju1ius/uxdgmenu !]

C 14.16% Shell 9.30% Python 76.54%

fluxdgmenu's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

fluxdgmenu's Issues

crypted partitions not correctly identified

I think there may be some issues with detecting the current working directory on systems with encrypted partitions. I have crypted volumes for /home & /root & now get errors on uninstalling fluxdgmenu such as:

sh: 0: getcwd() failed: No such file or directory

& files are installed to /home/root/.fluxbox instead of the user's home. Consequently desktop files in ~/.local/share/applications are not added to /home/root/.fluxbox/fluxdgmenu/applications

Running fxm-daemon update gives:

fxm-daemon update
Traceback (most recent call last):
  File "/usr/bin/fxm-daemon", line 101, in <module>
    daemon.update(options)
  File "/usr/lib/fluxdgmenu/fxm/daemon.py", line 47, in update
    fp.write(menu.parse_menu_file(config.MENU_FILE))
  File "/usr/lib/fluxdgmenu/fxm/applications.py", line 21, in parse_menu_file
    output = "".join( self.directory(root) )
  File "/usr/lib/fluxdgmenu/fxm/applications.py", line 33, in directory
    yield self.submenu(child, level)
  File "/usr/lib/fluxdgmenu/fxm/applications.py", line 41, in submenu
    submenu = "".join( self.directory(entry, level+1) )
  File "/usr/lib/fluxdgmenu/fxm/applications.py", line 35, in directory
    yield self.application(child, level)
  File "/usr/lib/fluxdgmenu/fxm/applications.py", line 56, in application
    icon = self.find_icon(entry.get_icon()) if self.show_icons else ''
  File "/usr/lib/fluxdgmenu/fxm/base.py", line 92, in find_icon
    return self.lookup_default_icon().encode('utf-8')
AttributeError: 'NoneType' object has no attribute 'encode'

Pointing the fluxbox menu to include /home/root/.fluxbox/fluxdgmenu/applications gives the correct menu entires for /usr/share/applications but is missing entires from ~/.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.