Tag Info

New answers tagged

1

The 8 standard colors numbered 1 through 8 officially contains primary and secondary colors (black, red, green, yellow, blue, magenta, cyan, white), but there is considerable variation: many terminals don't show primary colors, but instead show variants thereof. Yours shows the following RGB values: 383a3a ff3950 00b226 c56227 022bab fd16de 00b5ae aeb2b3 ...


0

To troubleshoot this, if you're using X11/Xorg, I would start by requesting xrdb: xrdb -query It will display all non-default values. ~/.Xresources or ~/.Xdefaults files can customize your terminal colors. It can be customized in a specific application file in /usr/share/X11/app-defaults/ directory as well. For instance, on my box where I have my own ...


2

The colours are set by ls, using the LS_COLORS environment variable. To change the colours, you can use dircolors. dircolors --print-database outputs the current source settings, which you can store in a file and adapt; then dircolors ${file} will output the processed LS_COLORS value for you using the settings in ${file}. Strictly speaking ls outputs ...


2

pipeto Unfortunately, rlwrap's built-in filter pipeto does not filter output in the way you desire. I find the documentation rather misleading, but what it does is if you run rlwrap -z pipeto some-shell, then, within the interaction: if you type commands without any pipe sign (|), those are passed verbatim to some-shell and then the output of that is ...


1

The following script I managed to put together seems to do it: #!/usr/bin/env ruby # -*- coding: utf-8 -*- require 'pty' PTY.spawn(*ARGV) do |r,w,pid| begin while $_ = r.gets STDOUT.print $_ end rescue Errno::EIO end end It runs its CLI arguments in a pseudoterminal and forwards the output to STDOUT. Usage example: ./script.rb ls ...


0

For Mac you can use following as specified here if [ "$TERM" = xterm ]; then TERM=xterm-256color; fi


1

To accomplish this you have to edit the CSS related to your theme. If you're using the default Linux Mint theme: Go to /usr/share/cinnamon/theme Open cinnamon.css in your favorite text editor. You may require root access. Look for .window-list-item-demands-attention edit these values to whatever you want, either a new color gradient or a solid color. ...



Top 50 recent answers are included