So I was looking for some kind of Ulauncher functionality (file/directory search) and direct url opening from rofi or dmenu and I found dmenu-extended, but I doesn’t work at all for me and maybe someone more experienced can help me with this.

My first problem is that I cannot make nomacs the default image viewer with dmenu_extended, although the default image viewer in my system is nomacs, when I open any file image with dmenu_extended, it always open it with some basic image viewer but not with nomacs, to launch it with nomacs I need to first type ‘nomacs:’ and then the file route.

And other problem that I’m facing is that when I try to open Steam (installed as a flatpak) it never opens, instead gives me this error message:

xdg-open: file ‘/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam @@u’ does not exist

Gosh, if it weren’t for the --dmenu argument for rofi, I’d have forgotten dmenu still existed. Do people still use dmenu?

Out of curiosity, why do you chose dmenu over rofi (or, I think it’s wofi for Wayland)?

permalink
report
reply
2 points

To be honest, the only reason that I use dmenu is because it comes pre-configured in ArcoLinux, and I (unfortunately) use an Nvidia graphic card which for my own experience, when trying any Wayland tilling window manager simply doesn’t work at all, although Gnome and Plasma works perfectly.

permalink
report
parent
reply
2 points

I use tofi. Dmenu_extended doesn’t appear to be packaged in Debian, and I can’t claim experience with it.

Most programs will do what xdg-open does. I also don’t see anything in a ten second glance at dmenu_extended’s settings for creating file-file-to-program mappings. So I’d probably try xdg-open on the file first to confirm that it’s truly behavior specific to dmenu_extended.

If it is just dmenu_extended:

https://github.com/MarkHedleyJones/dmenu-extended

Menu configuration is contained in a JSON formatted file found at ~/.config/dmenu-extended/config/dmenuExtended_preferences.txt that controls the appearance and functionality of the menu. This file is also accessible from the -> Menu configuration submenu as * Edit menu preferences

I’d probably take a skim through that.

And other problem that I’m facing is that when I try to open Steam (installed as a flatpak) it never opens, instead gives me this error message:

xdg-open: file ‘/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam @@u’ does not exist

I don’t know what you mean “try to open”. Using dmenu_extended? Using some other program to launch it?

So, xdg-open is gonna look at ~/.local/share/applications/*.desktop files to determine what command to run.

I don’t use that whole system of XDG file-program associations or flatpak, so I’ve got limited familiarity with them.

But the basic problem you’re facing is that you want the right command to be invoked. I’d try and get flatpak Steam launching from the terminal first. Once that’s okay, then go looking at those .desktop files.

permalink
report
reply

linux4noobs

!linux4noobs@programming.dev

Create post

linux4noobs


Noob Friendly, Expert Enabling

Whether you’re a seasoned pro or the noobiest of noobs, you’ve found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux’s ongoing evolution.


Seeking Support?
  • Mention your Linux distro and relevant system details.
  • Describe what you’ve tried so far.
  • Share your solution even if you found it yourself.
  • Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
  • Properly format any scripts, code, logs, or error messages.
  • Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.

Community Rules

  • Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
  • Posts must be Linux oriented
  • Spam or affiliate links will not be tolerated.

Community stats

  • 63

    Monthly active users

  • 136

    Posts

  • 1.1K

    Comments

Community moderators