Re: Dragonfm questions/NNN query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>:

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@xxxxxxxxxx>:

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@xxxxxxxxxx>:
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@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
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@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]