Rofi as a open selector
pzant opened this issue · 3 comments
Before opening a feature request
- I checked the next branch to see if the feature has already been implemented
- I searched existing reports to see if it is already requested.
What is the user problem or growth opportunity you want to see solved?
It would be great if I could use rofi to select the application that will open the file specified in one of the arguments.
How do you know that this problem exists today? Why is this important?
I haven't figured out how to do this via dmenu, so I'm asking for advice.
Who will benefit from it?
A function that could replace "Open With" in file managers and replace xdg-open for the terminal.
Rofi version (rofi -v)
Version: 1.7.5
Configuration
default
Additional information
No response
I haven't figured out how to do this via dmenu, so I'm asking for advice.
Is the discussion forum then not the better place?
To pick an application in ""dmenu"" mode:
rofi -show drun -modes drun -run-command 'echo {cmd}'
Then you can get the result and launch it ?
rofi has a file picker build in, so if you run rofi -show drun
select your application, hit ctrl-l (kb-mode-complete) it switches to file browser (if the application indicates it can open a file in its desktop file) allow you to select the file and launch it using the selected application (also works in run mode).
@DaveDavenport Perhaps a discussion would be a better place. File picker is not quite suitable for this task. The above solutions is suitable. Thank you.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.