Re: Dragonfm history vs show hidden

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

 



Howdy,

I will take a look at home.

Cheers chrys

Von meinem iPhone gesendet

> Am 10.04.2022 um 17:30 schrieb Linux for blind general discussion <blinux-list@xxxxxxxxxx>:
> 
> I did.
> 
> I put a # before the existing ones and have it set as follows
> 
> KEY_BACKSPACE=toggle hidden
> 
> It shows success for every other command but that one however. I'm not
> sure if it's a distro issue with Solus however though but once i'm back
> on my Arch box I can test it there though
> 
>> On Sun, Apr 10, 2022 at 05:22:41PM +0200, Linux for blind general discussion wrote:
>> Howdy,
>> 
>> Strange i don't see this here.  Here it shows/ hides the folder / files as expected.
>> 
>> Did you rebind your keys already to something?
>> 
>> 
>> 
>>>> Am 10.04.2022 um 16:37 schrieb Linux for blind general discussion <blinux-list@xxxxxxxxxx>:
>>> 
>>> I've got it saying toggle hidden, but none of the hidden files showed up
>>> even after setting it right.
>>> 
>>> I made a .test.txt fie in ~/Documents and hit toggle hidden, with no
>>> luck. The .test.txt doesn't show up nor do places like .config.
>>> 
>>> Is that a Solus issue? I'm only running into this as my one big issue
>>> with DragonFM. I unbound Backspace from history and put it on show
>>> hidden instead so I can ctrl+H for hidden toggle
>>> 
>>>> On Sun, Apr 10, 2022 at 03:40:23PM +0200, Linux for blind general discussion wrote:
>>>> Howdy,
>>>> 
>>>> A small tip for figure sequences for shortcuts. You can set input=True in debug section of the settings file. Any keypress prints its escape sequence ( and if it triggers an action)  will then printed for a given amount of time in the first line on screen.
>>>> Its very noisy for you but just thought for debug and figure sequences. You can disable it then again.
>>>> 
>>>> By the way, i forgot to answer how to unbind an action: just comment the line in settings file out wit an # as first character per line. 
>>>> 
>>>> 
>>>>>> Am 10.04.2022 um 14:57 schrieb Linux for blind general discussion <blinux-list@xxxxxxxxxx>:
>>>>> 
>>>>> Howdy,
>>>>> 
>>>>> Well, you can try, but i don’t  think there is an escape sequence for ctrl + backspace.  I don’t think there is any escape sequence for modifier key + backspace  combination available.
>>>>> 
>>>>> I have to say, this concept is an dinosaur that should be rethought in the 21 century. 
>>>>> 
>>>>> Cheers chrys
>>>>> 
>>>>>> Am 10.04.2022 um 14:29 schrieb Linux for blind general discussion <blinux-list@xxxxxxxxxx>:
>>>>>> 
>>>>>> So wouldd^and then backspace change that to ctrl+backspace change that
>>>>>> so control and backspace works for that and ctrl+h does hidden files or?
>>>>>> Or do I need to do something like '' to tell DragonFM that there's no
>>>>>> key bound for that function or do I just leave that blank? I can
>>>>>> probably find something to rebind it to but I'm thinking just unbindd
>>>>>> the backspace key?
>>>>>> 
>>>>>> 
>>>>>>>> On Sun, Apr 10, 2022 at 02:15:55PM +0200, Linux for blind general discussion wrote:
>>>>>>> Howdy,
>>>>>>> 
>>>>>>> Well to explain what you see, you need to understand how shortcuts on an command line application work.
>>>>>>> The commandline reads any input from STDIN. This is also valid for shortcuts. The operating system translates some (not all, depending on terminal capabilities) input to a sequence of ascii codes. This sequences are sent to STDIN then.This series starts with an special ascii character, the Escape code. This is why this sequences are named escape sequences. How many escape sequences are „translated“ or „understand“ depends on the used terminal standard (TTY uses as far as i know VT100 standard, correct me if i m wrong, terminal emulators can often emulate various kind of standards, depending on the emulator and configuration).
>>>>>>> The issue you see here is the fact that some of the escape  sequences do not have a printable representation. For this there are various cases where printable sequences defined for the non printable representation. Long thing short: in your case, Ctrl + h is the printable ascii representation of backspace. So an command line application can not mate a difference between ctrl + h and backspace at all ( so its a limitation of the deeper level of terminal and operating system, not an issue of dragonFM)
>>>>>>> You can see this in plain bash, vim or nano as well (and any oder commandline application)l, type something, press ctrl + h, it behaves like backspace and will delete the character left to the cursor.
>>>>>>> See here for a list of (some?) of those „duplicates“. 
>>>>>>> 
>>>>>>> https://www.ibm.com/docs/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxa400/ks1.htm
>>>>>>> 
>>>>>>> But like noted, this depends heavily on the Terminal.
>>>>>>> 
>>>>>>> Sorry my friend, there is not much i can do here.
>>>>>>> 
>>>>>>> What can we do now?
>>>>>>> Well, all we can do is choosing what is more important for you and rebind backspace „KEY_BACKSPACE“ (what is currently bound to leave entry, wo moves to parent folder) to toggle hidden (and unbind or rebind leave entry then ) or use another shortcut for hidden.
>>>>>>> See here in settings:
>>>>>>> KEY_BACKSPACE=leave_entry
>>>>>>> …
>>>>>>> ^[H=toggle_hidden
>>>>>>> 
>>>>>>> Cheers chrys
>>>>>>> 
>>>>>>>>> Am 10.04.2022 um 11:52 schrieb Linux for blind general discussion <blinux-list@xxxxxxxxxx>:
>>>>>>>> 
>>>>>>>> So quick question Chrys...
>>>>>>>> 
>>>>>>>> I'm trying to have history switched to ctrl+H on my copy of Dragonfm, to
>>>>>>>> line up more with how Nautilus/Caja does it. However that shortcut seems
>>>>>>>> hardcoded in with no way to change it in the config file. I'm trying to
>>>>>>>> fix it since alt+H brings up a terminal's help menu and I'd like ctrl+H
>>>>>>>> to show/hide hidden files since that's a common enough shortcut on
>>>>>>>> desktop file managers so why not have it in DragonFM?
>>>>>>>> 
>>>>>>>> So where do I need to look to switch the function of ctrl+H in the
>>>>>>>> program? Currently it brings up the location bar, page 1/2 and doesn't
>>>>>>>> show or hide hidden folders, instead going back one step despite not
>>>>>>>> being defined as such in the config settings
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> 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

_______________________________________________
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]