Dragonfm questions/NNN query
Linux for blind general discussion
blinux-list at redhat.com
Sat Apr 9 11:05:18 UTC 2022
Howdy,
i just add an "open entry with shell" action.
currently assigned to ctrl + o.
when you select a file, press ctrl + o an input box appears. there is a
default value (configureable in settings.conf section folder key
openWithShellInitValue). pressing enter executes the command then. {0}
is the placeholder for the current selected file.
do you want
ctrl + o for open
ctrl + w for open with?
should i swap them or keep it as it is?
cheers chrys
Am 09.04.22 um 12:34 schrieb Linux for blind general discussion:
> Howdy,
>
> i just provided an PKGBUILD for dragonFM and uploaded it to AUR.
> its currently a git package, as dragonFM does not yet seen any stable
> release ;).
> name: dragonfm-git
> url: https://aur.archlinux.org/packages/dragonfm-git
>
> if you already installed it using setup.py you might need to remove
> conflicting files from your filesystem fist. (as setup.py does bypass
> the package manager)
>
> i added an wildcard mime type. if there is no specific entry in the
> mime list, the xdg-open pops up now. this might be more helpful.
> well, i will implement the open with for you. give me a second.
> i will assign it to ctrl + o and move the open action to ctrl + m.
>
> cheers chrys
>
> Am 09.04.22 um 12:25 schrieb Linux for blind general discussion:
>> Sure I can test the pkgbuild once I'm back on my Arch box
>>
>> And that input box works fine. I'll suggest Ctrl+O as the shortcut for
>> it so you got Enter/Ctrl+M to open (o maybe move open with to ctrl+M and
>> see how that works?), and a ctrl+O for open with?
>>
>> AAh I didnt know about just exiting the shell. I assumed that'd close
>> the tab. My first thought was alright, fg dragonfm to get back to it
>>
>> On Sat, Apr 09, 2022 at 11:13:25AM +0200, Linux for blind general
>> discussion wrote:
>>> Howdy,
>>>
>>> // Yes to putting it in the AUR and yes for the env stuff.
>>> OK let me create a PKGBUILD for dragonfm-git
>>>
>>> // I'm poking at the config trying to replicate NNN's open with and not
>>> // having much luck. Is that just a case of remembering to drop to a
>>> shell
>>> // and doing what I need?
>>> how does this look like? just a input dialog to enter any command
>>> with the
>>> current selected element as parameter?
>>>
>>>
>>> // On that note...is there a way once I hit F4, to get back to dragonfm
>>> // easily without relaunching it from the shell?
>>> well, just exit the shell (type "exit"), you will be back in
>>> dragonfm then
>>> :).
>>>
>>> cheers chrys
>>>
>>> Am 09.04.22 um 10:30 schrieb Linux for blind general discussion:
>>>> Yes to putting it in the AUR and yes for the env stuff.
>>>>
>>>> I'm poking at the config trying to replicate NNN's open with and not
>>>> having much luck. Is that just a case of remembering to drop to a
>>>> shell
>>>> and doing what I need?
>>>>
>>>> On that note...is there a way once I hit F4, to get back to dragonfm
>>>> easily without relaunching it from the shell?
>>>>
>>>> On Sat, Apr 09, 2022 at 09:41:49AM +0200, Linux for blind general
>>>> discussion wrote:
>>>>> Howdy,
>>>>>
>>>>>> Is DragonFM in the Arch repo?
>>>>> Currently its not. If you like it, i can put it into AUR.
>>>>>
>>>>> Cheers chrys
>>>>>
>>>>>> Am 09.04.2022 um 07:54 schrieb Linux for blind general discussion
>>>>>> <blinux-list at redhat.com>:
>>>>>>
>>>>>> Is DragonFM in the Arch repo? Am trying to get it with yay from
>>>>>> this side.
>>>>>>
>>>>>>
>>>>>>> On Sat, Apr 09, 2022 at 02:26:15AM +0200, Linux for blind
>>>>>>> general discussion wrote:
>>>>>>> Howdy,
>>>>>>>
>>>>>>> Ok then i keep that alt + u.
>>>>>>>
>>>>>>>> That seems to work better, but does the Paytrion link you sent
>>>>>>>> in another message have the info on changing the shortcuts as
>>>>>>>> well?
>>>>>>> Well i changed the shortcuts in master. So there is no need to
>>>>>>> change them by others anymore.
>>>>>>> Or what info you mean exactly?
>>>>>>>
>>>>>>> There is now at least a basic documentation :).
>>>>>>>
>>>>>>> Cheers chrys
>>>>>>>
>>>>>>>>> Am 09.04.2022 um 02:15 schrieb Linux for blind general
>>>>>>>>> discussion <blinux-list at redhat.com>:
>>>>>>>> Okay if it's just alt+u then yes keep it that way. That seems
>>>>>>>> to work better, but does the Paytrion link you sent in another
>>>>>>>> message have the info on changing the shortcuts as well?
>>>>>>>>
>>>>>>>>> On Fri, Apr 08, 2022 at 11:28:30PM +0200, Linux for blind
>>>>>>>>> general discussion wrote:
>>>>>>>>> Howdy,
>>>>>>>>>
>>>>>>>>> i installed Mate terminal for testing
>>>>>>>>>
>>>>>>>>> // Ctrl+D for details insteead of F10
>>>>>>>>> ok this is changed.
>>>>>>>>>
>>>>>>>>> about ^[u i was wrong. its just alt + u
>>>>>>>>> so a single ^ is Ctrl
>>>>>>>>> the sequence ^[ is alt if it is followed by an letter. if not,
>>>>>>>>> its escape
>>>>>>>>> ctrl + alt + x would be ^[^C
>>>>>>>>>
>>>>>>>>> back to Alt + u, this worked for me, should i change the
>>>>>>>>> shortcut in any
>>>>>>>>> way?
>>>>>>>>>
>>>>>>>>> // I'm trying to replace unzip and tar with atool
>>>>>>>>> in section [mime] you see how to open an file.
>>>>>>>>> in section [compress] and [decompress] you can configure the
>>>>>>>>> de-/compressing
>>>>>>>>> process.
>>>>>>>>> i changed this for you
>>>>>>>>>
>>>>>>>>> compress (the word compress bevore the equal is just the lable
>>>>>>>>> shown in
>>>>>>>>> context menu):
>>>>>>>>> # {0} = Source: list of files separated by space with absolut
>>>>>>>>> filepath
>>>>>>>>> # {1} = Destination: archive name
>>>>>>>>> compress=apack -q {1} {0}
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> decompress (for zipfiles, you can just copy that for any other
>>>>>>>>> format
>>>>>>>>> supported by atool and change the application/zip to whatever
>>>>>>>>> mimetype you
>>>>>>>>> want to unzip):
>>>>>>>>> # {0} = Source: file to decompress
>>>>>>>>> # {1} = Destination: folder with archive content
>>>>>>>>> application/zip=atool -f -q --extract-to={1} {0}
>>>>>>>>>
>>>>>>>>> i just pushed.
>>>>>>>>>
>>>>>>>>> cheers chrys
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Am 08.04.22 um 22:11 schrieb Linux for blind general discussion:
>>>>>>>>>> Sure thing. Here''s what I whipped upp real quick
>>>>>>>>>>
>>>>>>>>>> Ctrl+D for details insteead of F10
>>>>>>>>>>
>>>>>>>>>> Ctrl+alt+x for extract instead of trl+alt+u (which doesnt
>>>>>>>>>> seem to work
>>>>>>>>>> on Mate?)
>>>>>>>>>>
>>>>>>>>>> I'm trying to replace unzip and tar with atool, how NNN
>>>>>>>>>> handles it since
>>>>>>>>>> it's a lot nicer to have one tool that handles a ton of
>>>>>>>>>> formats without
>>>>>>>>>> having to hunt down 10 differrent programs
>>>>>>>>>>
>>>>>>>>>> Aside from that, not made any other changes to the .conf file
>>>>>>>>>> though.
>>>>>>>>>> It's a neat little program, though just in case I missed any,
>>>>>>>>>> go through
>>>>>>>>>> and use DragonFM with a terminal emulator and see what you
>>>>>>>>>> can come up
>>>>>>>>>> with for shortcuts? I'm on a laptop currently so that kind of
>>>>>>>>>> hinders
>>>>>>>>>> what I can do shortcuts wise however
>>>>>>>>>>
>>>>>>>>>> On Fri, Apr 08, 2022 at 10:03:27PM +0200, Linux for blind
>>>>>>>>>> general discussion wrote:
>>>>>>>>>>> Howdy,
>>>>>>>>>>>
>>>>>>>>>>> Well, F123 was mostly TTY only. So the bindings are set with
>>>>>>>>>>> that in mind :). The project wanted to momic GUI shortcuts
>>>>>>>>>>> for most parts.
>>>>>>>>>>> The colliding shortcuts can be changed very easy in settings
>>>>>>>>>>> file.
>>>>>>>>>>>
>>>>>>>>>>> If you hand me a list with shortcuts you want to have
>>>>>>>>>>> changed, i change them for you right in master.
>>>>>>>>>>>
>>>>>>>>>>> As F123 is no more, TTY compat. does not matter that much
>>>>>>>>>>> anymore to me and we can improve it in terminal emulators
>>>>>>>>>>> (most of them have more capabilities than TTY in any way,
>>>>>>>>>>> for example konsole ( the KDE terminal emulator has special
>>>>>>>>>>> escape sequences for shift arrow)
>>>>>>>>>>>
>>>>>>>>>>> Cheers chrys
>>>>>>>>>>>
>>>>>>>>>>>> Am 08.04.2022 um 21:53 schrieb Linux for blind general
>>>>>>>>>>>> discussion <blinux-list at redhat.com>:
>>>>>>>>>>>>
>>>>>>>>>>>> Unfortunately, DragonFM doesn't work well out of the box
>>>>>>>>>>>> with a terminal emulator, mostly down to conflicts with
>>>>>>>>>>>> keys like F10. Yes I can redefine them, but that's kind of
>>>>>>>>>>>> something Im slwly slowly poking at. I'm unable to get
>>>>>>>>>>>> Mate-terminal to recognize a ctrl+alt patern hough whereas
>>>>>>>>>>>> a TTY works fine so, unsure if you need to test Dragonfm on
>>>>>>>>>>>> terminal emulators with a desktop?
>>>>>>>>>>>>
>>>>>>>>>>>> Kind of a shame since I like how easy Dragon is to use vs
>>>>>>>>>>>> something like
>>>>>>>>>>>> MC or Ranger or NNN (my current favorite one that doesn't
>>>>>>>>>>>> have keyboard
>>>>>>>>>>>> conflicts) though
>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Apr 08, 2022 at 09:36:28PM +0200, Linux for blind
>>>>>>>>>>>>> general discussion wrote:
>>>>>>>>>>>>> Howdy,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Well there is a context menu ( dragonFM calls it Details,
>>>>>>>>>>>>> because it also shows file properties like size, mime and
>>>>>>>>>>>>> a list of available actions) with all available options by
>>>>>>>>>>>>> pressing F10
>>>>>>>>>>>>> Some actions are only available for given mime types like
>>>>>>>>>>>>> compress current only for zip and tar, others could be
>>>>>>>>>>>>> addad very easy. By default dragonfm does not use atool
>>>>>>>>>>>>> but unzip command for zip files and tar of course for tar
>>>>>>>>>>>>> those need to be installed or confured to use something
>>>>>>>>>>>>> else. (I can give you a more detailed information how to
>>>>>>>>>>>>> configure those stuff if you are interested in)
>>>>>>>>>>>>>
>>>>>>>>>>>>> DragonFM reads the Escape sequences from stdin to detect
>>>>>>>>>>>>> shortcuts (like almost any other CLI application)
>>>>>>>>>>>>> Some important basic translation help (we should add the
>>>>>>>>>>>>> shortcuts as comments to the settings file lol )
>>>>>>>>>>>>> ^ = CTRL
>>>>>>>>>>>>> [ = Alt
>>>>>>>>>>>>> Uppercase letter = shift + letter
>>>>>>>>>>>>> lowercase letter = just the letter
>>>>>>>>>>>>> An other example:
>>>>>>>>>>>>> ^[u translates as ctrl + alt + u
>>>>>>>>>>>>>
>>>>>>>>>>>>> There are some specials like arrow keys or escape.
>>>>>>>>>>>>> Escape is translated by ^[
>>>>>>>>>>>>>
>>>>>>>>>>>>> (by the way many shortcuts are similar to other graphical
>>>>>>>>>>>>> file managers BUT shift + arrow for mark files is
>>>>>>>>>>>>> different as i could not figure how to read this from an
>>>>>>>>>>>>> escape sequence, because there is no uppercase arrow *smile*)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Development was sponsored by F123 project. Today known as
>>>>>>>>>>>>> stormux. Sadly i did not wire a lot of documentation but
>>>>>>>>>>>>> you can ask me everything you want to know :).
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers chrys
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Am 08.04.2022 um 18:41 schrieb Linux for blind general
>>>>>>>>>>>>>>> discussion <blinux-list at redhat.com>:
>>>>>>>>>>>>>> So I gave it a shot and it feels logical and well laid
>>>>>>>>>>>>>> out, for the most
>>>>>>>>>>>>>> part
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BUt I'm struggling on a few things. I have it going and
>>>>>>>>>>>>>> want to unzip an
>>>>>>>>>>>>>> archive from within it. In NNN I can just do that and
>>>>>>>>>>>>>> work with atool. I
>>>>>>>>>>>>>> can't seem to find the keys to start extracting an
>>>>>>>>>>>>>> archive or how
>>>>>>>>>>>>>> Dragonfm handles that at all, Ive only found unextract
>>>>>>>>>>>>>> with ^(U in the
>>>>>>>>>>>>>> config, which I've no clue what it translates to in terms
>>>>>>>>>>>>>> of actual keys
>>>>>>>>>>>>>> aside from ctrl and U. It's the ( I'm stumped on
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> See my main gripe with NNN is if I use it in a terminal I
>>>>>>>>>>>>>> have to hit O,
>>>>>>>>>>>>>> w3m and c to open an html doc in w3m else it loads up in
>>>>>>>>>>>>>> Firefox. Now
>>>>>>>>>>>>>> granted I've not tried it on a pure TTY but...on a
>>>>>>>>>>>>>> terminal, xdg-open
>>>>>>>>>>>>>> overrides browser being set as an environment variable
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Blinux-list mailing list
>>>>>>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Blinux-list mailing list
>>>>>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Blinux-list mailing list
>>>>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Blinux-list mailing list
>>>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Blinux-list mailing list
>>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>> _______________________________________________
>>>>>>>>> Blinux-list mailing list
>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>> _______________________________________________
>>>>>>>> Blinux-list mailing list
>>>>>>>> Blinux-list at redhat.com
>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>> _______________________________________________
>>>>>>> Blinux-list mailing list
>>>>>>> Blinux-list at redhat.com
>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>> --
>>>>>> Good people do not need laws to tell them to act responsibly,
>>>>>> while bad people will find a way around the laws.
>>>>>> - Plato (427-347 B.C.)
>>>>>>
>>>>>> _______________________________________________
>>>>>> Blinux-list mailing list
>>>>>> Blinux-list at redhat.com
>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>> _______________________________________________
>>>>> Blinux-list mailing list
>>>>> Blinux-list at redhat.com
>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>> _______________________________________________
>>>> Blinux-list mailing list
>>>> Blinux-list at redhat.com
>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list at redhat.com
>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://listman.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
More information about the Blinux-list
mailing list