This is a discussion on dircolors: Slackware vs. the other distros within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm currently fiddling with dircolors to 1) understand it and 2) have a nice shell. I've googled around, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm currently fiddling with dircolors to 1) understand it and 2) have a nice shell. I've googled around, and what I grasp is: Slackware works differently than the other distros. What I found so far. In any other distro (Debian, Knoppix, Gentoo, Mandrake, ...), you do the following to define individual colors for ls: $ dircolors -p > my_colours.txt Now you edit my_colours.txt, which has one entry per line, and eventually you change some of the color codes. Say for example I want yellow directories instead of dark blue ones, I replace DIR 01;34 by DIR 01;33... and so on. After editing the file, I apply the changes with: $ eval `dircolors /path/to/my_colours.txt` And once I'm happy with the result: $ dircolors my_colours.txt >> ~/.bashrc I tried this on a Knoppix (Murphy's law: I only happen to have two Slackwares and one Slack-derivate, Vector, on my box, hence Knoppix and it works OK. Question: what would be the orthodox way to do that thing on a Slack? The only info I found was that things work differently on Slack. But no article mentioned how. Colorful cheers, Niki Kovacs -- Whereof one cannot speak, thereof one frequently goes ranting on and on at ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus, first draft) |
| |||
| Kiki Novak wrote: > Hi, > > I'm currently fiddling with dircolors to 1) understand it and 2) have a > nice shell. > > I've googled around, and what I grasp is: Slackware works differently than > the other distros. > > What I found so far. In any other distro (Debian, Knoppix, Gentoo, > Mandrake, ...), you do the following to define individual colors for ls: > > $ dircolors -p > my_colours.txt > > Now you edit my_colours.txt, which has one entry per line, and eventually > you change some of the color codes. Say for example I want yellow > directories instead of dark blue ones, I replace DIR 01;34 by DIR 01;33... > and so on. After editing the file, I apply the changes with: > > $ eval `dircolors /path/to/my_colours.txt` > > And once I'm happy with the result: > > $ dircolors my_colours.txt >> ~/.bashrc > > I tried this on a Knoppix (Murphy's law: I only happen to have two > Slackwares and one Slack-derivate, Vector, on my box, hence Knoppix > and it works OK. > > Question: what would be the orthodox way to do that thing on a Slack? The > only info I found was that things work differently on Slack. But no > article mentioned how. > > Colorful cheers, > > Niki Kovacs I'll answer that myself, because I just found out: man dir_colors (!= dircolors!!!) NK -- Whereof one cannot speak, thereof one frequently goes ranting on and on at ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus, first draft) |
| |||
| NOTE: This message was sent thru a mail2news gateway. No effort was made to verify the identity of the sender. -------------------------------------------------------- Hi! I am writing an article about how to install linux and yet I am having problems getting slackware installed on my boyfriend's computer. Can anybody help me? |
| ||||
| Kiki Novak <mickey@mouse.com> wrote: >Hi! I am writing an article about linux and I was wondering if >anyone could tell me the difference between Slackware and Debian? Slackware is spelled with 9 letters, and Debian with only 6. Have any more dumb questions? -- FloydL. Davidson <http://web.newsguy.com/floyd_davidson> Ukpeagvik (Barrow, Alaska) floyd@barrow.com |