Comments (11)
I have exactly the same problem with nvim and the 'handlr-bin' package from AUR. Is there any other solution to modifying the .desktop file?
from handlr.
Ok apparently the file built by github-actions
always build the same file (no file version in the filename). Also, in the PKGBUILD no checksum is specified, which doesn't help. paru
was not redownloading the binary since previous version was in the cache.
I cleared the cache and reinstalled, now it works!
Sorry for the mess.
from handlr.
Every terminal interactive app gets send into the background, that's very unuseable.
from handlr.
@chmln - I've noticed your comment + commit #28 (comment)
Is this change related? The multiple file detecting happens for all %F and %U detected even though use might want to open a single file and spawnit directly it being send into background.
"I wish I was a Rust programmer", looking at the source and fixing it might take lot of time for me.
@wisehh - I am not sure, currently i would say no, but maybe there is a way how to TRAP the signal that sends it to background.
from handlr.
@freed00m @wisehh Thanks for reporting this issue, this is fixed in the latest release.
Feel free to re-open if you run into any issues
from handlr.
I am still having this error..
Using the handlr-bin
from AUR.
I have ~/local/share/applications/ranger.desktop
with:
[Desktop Entry]
Name=ranger
Type=Application
Terminal=true
Exec=ranger %F
MimeType=inode/directory;
And in ~/.config/mimeapps.list
:
[Default Applications]
inode/directory=ranger.desktop;
Launching from dmenu works as expected, but from alacritty
i get the following:
% handlr open .
Traceback (most recent call last):
File "/usr/bin/ranger", line 37, in <module>
sys.exit(ranger.main()) # pylint: disable=no-member
File "/usr/lib/python3.9/site-packages/ranger/core/main.py", line 231, in main
fm.ui.destroy()
File "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 178, in destroy
self.suspend()
File "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 142, in suspend
curses.nocbreak()
_curses.error: nocbreak() returned ERR
I don't know why but handlr --help
gives:
handlr 0.5.0
USAGE:
handlr <SUBCOMMAND>
Yes I have updated..
Also.. is terminal_emulator = "alacritty -e"
in ~/.config/handlr/handlr.toml
deprecated now? Because that is what I understand from the README. However if I delete that file, handlr
recreate it with terminal_emulator = "xterm -e"
. So I don't really know if it is.
from handlr.
@qwuy1290 is right, my AUR index were not updated
from handlr.
The last PKGBUILD
uses version 0.6.1
.. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=handlr-bin
% pacman -Qi handlr-bin
Name : handlr-bin
Version : 0.6.1-1
Description : Powerful alternative to xdg-utils written in Rust
.............
from handlr.
@qwuy1290 I've just tried using LF file manager
~/.local/share/applications $ cat lf.desktop
[Desktop Entry]
Type=Application
Name=lf
TryExec=lf
Exec=lf %F
Terminal=true
NoDisplay=true
Type=Application
Icon=org.gnome.Nautilus
MimeType=inode/directory
Categories=System;FileTools;FileManager;ConsoleOnly
Keywords=File;Manager;Management;Explorer;Launcher
And it works as expected :) handlr open .
does land me in LF manager.
Must be something on your end or issue with ranger
from handlr.
With your lf.desktop
I get
% handlr open .
2021/04/24 15:49:48 initializing screen: input/output error
This is very strange. Which terminal are you using? Also, what version do you see with handlr --help
?
from handlr.
@qwuy1290 not sure, I am not inside any terminal multiplexer usually and in tmux
it works :)
Can you detach from screen a run it directly in terminal emulator??
handlr -V
handlr 0.6.1
from handlr.
Related Issues (20)
- panic when mimeapps.list doesn't end with newline? HOT 1
- Compile errors due to breaking changes in Clap 3.0 betas
- Panic when mimeapps.list is not writable HOT 2
- open multiple files by spawning mulitple programs
- set handlers really by extensions, not merely by mime-type hiding behind extensions
- mimeo-style custom association file
- Panic when using '<' or '>' characters in a commented line in mimeapps.list
- handlr does not respect desktop file IDs from subdirectories
- An example of setting the default terminal within filemanagers? HOT 1
- What's the proper way of setting up handler to open telegram links?
- no handlers found for 'application/x-zerosize'
- handlr incorrectly handling `Terminal` property with launch command
- command to run a .desktop file
- Error after installing HOT 1
- Clap Error HOT 6
- Base mime on file extension not on contents HOT 1
- sphere files (.sph)
- Cancelling selection for `https://` opens Brave web browser anyway HOT 1
- Is this repo dead? HOT 1
- Wrong subcommands in Bash completion script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handlr.