Ncdu colors on visual select

What is the problem you are having with rclone?

ncdu did not show different colors while on visual select mode

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.109+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.6
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Everything

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ncdu ~/

The rclone config contents with secrets removed.

No need for config as it accesses local path.

A log from the command with the -vv flag

~/Downloads# rclone ncdu ~/ -vv
2023/08/11 10:15:12 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "ncdu" "/root/" "-vv"]
2023/08/11 10:15:12 DEBUG : Creating backend with remote "/root/"
2023/08/11 10:15:12 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/08/11 10:15:12 DEBUG : fs cache: renaming cache item "/root/" to be canonical "/root"
2023/08/11 10:15:20 NOTICE: .ssh/known_hosts: Can't follow symlink without -L/--copy-links
2023/08/11 10:15:20 NOTICE: .config/qBittorrent/ipc-socket: Can't transfer non file/directory
2023/08/11 10:15:20 NOTICE: .local/share/jupyter/runtime/kernel-1461776b-13d0-42cc-9d64-d3b3642fff87-ipc-1: Can't transfer non file/directory
2023/08/11 10:15:20 NOTICE: .local/share/jupyter/runtime/kernel-1461776b-13d0-42cc-9d64-d3b3642fff87-ipc-3: Can't transfer non file/directory
2023/08/11 10:15:20 NOTICE: .local/share/jupyter/runtime/kernel-1461776b-13d0-42cc-9d64-d3b3642fff87-ipc-4: Can't transfer non file/directory
2023/08/11 10:15:20 NOTICE: .local/share/jupyter/runtime/kernel-1461776b-13d0-42cc-9d64-d3b3642fff87-ipc-2: Can't transfer non file/directory
2023/08/11 10:15:20 NOTICE: .local/share/jupyter/runtime/kernel-1461776b-13d0-42cc-9d64-d3b3642fff87-ipc-5: Can't transfer non file/directory
2023/08/11 10:15:20 DEBUG : 4 go routines active

I suspect it has something to do with my terminal emulator or ssh client. So I tried using PuTTY, Windows's Terminal and Bitvise SSH client, but all shows same behavior.

Maybe I missed something but why you think it should? I have never seen any colours in ncdu:)

did a quick test, btivise over ssh, color worked for me
in the client, under terminal protocol, what setting do you have?
as per the screen snippet, i am using xterm-256color

image

When in visual select mode, it supposed to show different color for selected files/folders and unselected ones.


If you look closely the first 4 entry is having different color with the rest of the file/folder because currently it is selected. If I press shift+D it will promt to delete those selected file/folder

This is different server where it's works. The other server which I have problem with did not show this color, and I don't know what's wrong.

just now, tested with windows terminal, also worked fine.


Already tried that and it shows no color.
I believe the problem is not with the rclone but I have no idea which settings prevents rclone's ncdu from showing correctly. I guess it is something to do with ~/.bashrc but I have no capacity for dissecting this one.

maybe try direct connect, not using ssh-j.com as middle man?

FYI - I have never seen colours. For me it always look like this:

with selected items highlighted the same as for @musahi0128

How visible these highlights are depends heavily on terminal colour scheme used.

Not an option as this is the only way I can connect to this server lol.

I tried using tmate and it shows correctly now.

So it seems that the culprit is the jump server indeed.

Thank you for your help!

might try --color

rclone ncdu ~/ --color=always
Work normally everywhere except on the one with jump server

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.