Bug 60096
Summary: | colorls doesn't work for Xsession | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Birger Langkjer <birger.langkjer> |
Component: | WindowMaker | Assignee: | Havoc Pennington <hp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-09 22:40:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Birger Langkjer
2002-02-19 22:41:41 UTC
Are you using bash or tcsh? I have exactly the same problem with tcsh, but everything works with bash. I even know why. Colorls alias is set in /etc/csh.login which never gets executed in a non-ligin shell e.g. under Xsession. Using bash works fine /etc/bashrc gets always loaded no matter in login or non-login shell. There are similar bugs to this one reported. I assume it is BASH, I just use the standard on Redhat. There is an executable file i /etc/profile.d/ called colorls.sh - I thought this was the config-file? Both /etc/bashrc and /etc/csh.login load stuff from /etc/profile.d including colorls. Three things to check: 1) run "bash" to make sure you really using bash. Otherwise, check the end of the line in /etc/passwd corresponding to the user in question. 2) run "ls --color" that should be colorful no matter what. 3) maybe, Window Maker terminal is supposed to be black-n-white? This is probably either a tcsh, WindowMaker, or xinitrc bug rather than a gdm bug. However I'm not sure which of those to pass the buck too. ;-) Leaving bug NEW for now. Now that I re-read the report, this must be WindowMaker stripping the environment or something like that, because it works if you start the xterm from another xterm. I use Bash. There is a problem with Window Maker and icewm, but not lwm and twm. If I put: xterm & exec wmaker in .xsession script, the first xterm has colors, but not the ones I start by clicking the button. If I use ls --colors xterm has blue and green but no red. Try with the latest rawhide version ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS Phil =--= Please read bug 59446. The discussed problem explained my colorls problem in tcsh in Xterm (bug 54309). Does WindowMaker use /etc/csh.login or /etc/csh.cshrc? How difficult it is to release errata for setup? Oh well, I tried... It looks pretty bad: setup's files get modified a lot after their initial installation, so I only got rpmnew's all over the /etc/. Closing bug, since we don't even ship windowmaker anymore. |