Giter Club home page Giter Club logo

Comments (8)

lasers avatar lasers commented on May 26, 2024

Also, + (plus) - Manually add an entry to the cache... How can I add a directory? I'm trying to do something like "+xdg-open ~/.local/share/Trash # Trash" -- It's not working for me. Perhaps we need a Trash plugin -- or a way to open manually added directories? (/media, /tmp, etc) P.S. I thought you stopped working on dmenu-extended.... I must be using an old version.

from dmenu-extended.

MarkHedleyJones avatar MarkHedleyJones commented on May 26, 2024

Hi Lasers.
I'll explain the intended behaviour first and we'll see if indeed it is misbehaving rather than this being an issue of ambiguous preferences.

  1. If an alias exists for an application where that application's binary has the same name as the application - just add the binary. I see no benefit in adding "Minecraft (minecraft)" to the cache where 'minecraft' is equally descriptive.
  2. Each item in the cache must have a unique name.

These two work together to do...
minecraft & Minecraft (minecraft) -> minecraft & minecraft -> minecraft

'filter_binaries' is very confusing. In the beginning its purpose was to remove binaries from the cache (e.g. 'cd' and 'ls' etc.) if they were pointless outside of the shell. It aimed to only add a binary if it is associated with an application. Then more thorough application scanning was added along with the 'include_binaries' and 'include_applications'

Does the following configuration produce the cache you're looking for:

'include_applications': true,
'include_binaries': false,
'alias_applications': true

from dmenu-extended.

MarkHedleyJones avatar MarkHedleyJones commented on May 26, 2024

Just pushed a fix for your Trash issue. Try it now.
You should be able to do it with just +~/.local/share/Trash#Trash

from dmenu-extended.

lasers avatar lasers commented on May 26, 2024

Hi Mark,
With the following configuration you provided, I get a minecraft (binary) in the cache where 'minecraft' is equally descriptive. The problem is that I know if I have Applications and Binaries both toggled on and if you merge them, I'm not going to see the whole thing. I do have # Vi Improved (gvim -f) that was apparently added via *.desktop and I want that. I want to see that.

With binaries turned off, I see i3, htop;, xnoise, xfburn, synergy, chromium, mousepad, minecraft, quicksynergy. Those applications had *.desktop and shows up in XFCE Menu.

What's more... I'm confused because I'm seeing lot of Applications that shouldn't be there because they had simple binaries name. I'll list few as I can.

GTK+ Demo (gtk3-demo)

Document Viewer (evince)

About Xfce (xfce4-about)

Thunar FIle Manager (thunar)

Firewall Configuration (gufw)

Log Out (xfce4-session-logout)

File Manager (thunar)

Calculator (gnome-calculator)

Audio Mixer (xfce4-mixer)

Transmission (transmission-gtk)

Xfce Terminal (xfce4-terminal)

Screenshot (xfce4-screenshooter)

Ristretto Imager Viewer (ristretto)

.... and more.

The above is not listed in order at all. Random picked.

When I do "thunar", I get this. .

thunar (It's not there, but with binaries on, I would see it there).

Thunar File Manager (thunar)

File Manager (thunar)

Open Folder with Thunar (thunar)

Bulk Rename (/usr/lib/Thunar/ThunarBulkRename)

Removeable Drives and Media (thunar-volman-settings).

Similar to...

minecraft

Minecraft (minecraft).

The thing is that I sometimes want to view Applications that shows up in the menu (in other DE). If those applications got converted to binaries, I get the impress that Minecraft, Chromium, Xnoise, Xburn, Mousepad, QuickSynergy does not show up in the menu (when I start off with # in dmenu-extended).

from dmenu-extended.

lasers avatar lasers commented on May 26, 2024

The Trash issue worked right away. Thank you very much. :)

from dmenu-extended.

lasers avatar lasers commented on May 26, 2024

I think I got confused.

'include_applications': true, 'include_binaries': false, 'alias_applications': true

does not produce minecraft + Minecraft (minecraft) for me.

from dmenu-extended.

MarkHedleyJones avatar MarkHedleyJones commented on May 26, 2024

Great, no problem.
I think I'm going to need a bit of help understanding what you're after in terms of output.
Are you wanting to be able to have everything listed in applications prefixed with the '#' character? If you could provide some examples of your ideal output that might help.

In terms of "simple binaries", it will only shorten to plain binary form if the binary title is exactly (case insensitive) the same as the application name. So the fact that you see the results you see is not surprising.

I haven't been able to find a good way of controlling the addition of aliases and binaries into the cache using a minimal set of configuration parameters having obvious names. Hence why it's a bit of a mess.

I hadn't imagined anyone searching by '#' so that's interesting to see the indicator being made use of. If you can think of a more elegant way to control the addition of these elements I'm open to suggestions.

Just saw your last comment. Has this fixed your issue?

from dmenu-extended.

lasers avatar lasers commented on May 26, 2024

I noticed that I'm unable to remove manually added items. Can you confirm that too? I'm using XFCE panel (w/ menu) because I want to move away from XFCE but I don't like "everything-in-one" binaries (and/or) Applications-only dmenu. I hadn't found a lightweight dmenu-like launcher that does lot of things and cover almost everything (including power managment). Basically, a dmenu-like kupfer or GnomeDo.

Adeskmenu came to mind -- but now they rebranded it to a deskbar and it appears broken on i3wm (dual monitors). Pressing # lists Applications and lot of them are missing due to the "simple binaries". I want to unmerge "simple binaries" so I can have everything in the dmenu. This is my issue. I think it would be best not to merge anything and to allow the users to decide how to invoke the dmenu (to find what they're looking for).

I don't know. I think you need more people working on this neat project. Too many launchers came and went by... (GnomeDo for one!). I also found "rebuild cache" when I launch dmenu-extended. I'm not sure if that was intentional. It was just weird to find it there when we have Settings -> Rebuild cache.

from dmenu-extended.

Related Issues (20)

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.