Some directory names output with a strange first character.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Some directory names output with a strange first character.
Hi: When I do ls on some directories in the text console (/dev/ttyN), all directory names are printed in a very odd way: the first character of the name has a vertical straight line to its left, which is one dot (pixel) wide. This happens with all dirs having permissions drwxrwxrwx or drwxrwxrwt. All these names are printed in blue and terminated by a slash. This vertical line can't be the '|' indicator output by the -F option. It is a part of the character block!
I can't post a screenshot because this is a text console (aka virtual console or virtual terminal). What can be the cause of this strange phenomenon? Cna it be a hardware failure?
The vertical line is in the tmp entry. The "t" is not actually a "t" but a "t" with a vertical line just to its left. If I do 'ls --color=never' then the output is normal.
For an other-writable directory, the default color scheme should display the name on a green background. It seems that some problem with your video hardware or driver is just displaying a vertical line at the start of what should be a background color change. Is that background color showing up correctly when you run in a GUI terminal emulator?
Also in the console, some file names in directory /bin are displayed in white on a red background. The fonts are correct. As for a terminal emulator in the GUI, the effect is just the same: still the vertical line to the left of the character.
The video controller is an NVidia GeForce4 MX 4000. Maybe it is broken or has the wrong driver?
Also in the console, some file names in directory /bin are displayed in white on a red background. The fonts are correct. As for a terminal emulator in the GUI, the effect is just the same: still the vertical line to the left of the character.
The video controller is an NVidia GeForce4 MX 4000. Maybe it is broken or has the wrong driver?
White on red is the default coloring for a file with the SUID bit set in its permissions. It is common for all of the files in /bin to have something other than the normal text and background colors. You can look at the output from "dircolors -p" and the environment variable LS_COLORS to see the combinations that have been defined. If the output from ls doesn't correspond to that, perhaps the terminal type isn't being recognized correctly or there is some problem with the terminal emulators, video drivers or hardware.
In a GUI terminal emulator, are you able to set a variety of text and background colors? (If the graphic driver and hardware were not rendering colors correctly, I would think you would have noticed.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.