Created
November 28, 2010 03:53
-
-
Save MicahElliott/718567 to your computer and use it in GitHub Desktop.
Xterm color scheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! xterm color scheme — Make all 16 beautiful. | |
! | |
! Suited for black background, but includes disabled alternative light scheme. | |
! | |
! Open this file with gvim to enable <Leader><F2> color mode. | |
! | |
! Use `xfontsel`, `xlsfonts`, and `fc-list` to find other fonts. | |
! | |
! On Ubuntu I have to name this file ‘~/.Xdefaults-$(hostname)’ | |
! | |
! ‘xrdb -load ~/.Xdefaults-stud’ is supposed to reload this file, but | |
! doesn’t seem to, so just fire new xterm upon every change. | |
! | |
! Other resources: | |
! * showrgb — util to dump color db. | |
! * test-color-words16 — another color-displaying util (worth gist-ing). | |
!!! Fonts | |
!*font: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-* | |
!*boldFont: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-* | |
!*italicFont: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-* | |
!*font: -misc-fixed-medium-r-*-*-18-*-*-*-*-*-*-* | |
!*boldFont: -misc-fixed-medium-r-*-*-18-*-*-*-*-*-*-* | |
! Very surprising that now neglecting to specify font still renders | |
! perfect misc-fixed font. Oh, it’s so lovely. I think they’re | |
! equivalent to “6x10”. | |
!*boldFont: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-* | |
!*italicFont: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-* | |
!*font: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-* | |
! Sadly, can’t get pxlsz 10 to work and support UTF-8-demo.txt. | |
! So going with this slightly taller-spaced setup. | |
!*font: -misc-fixed-medium-r-*--12-*-*-*-*-*-iso10646-1 | |
!*boldFont: -misc-fixed-medium-r-*--12-*-*-*-*-*-iso10646-1 | |
! YAY! Finally made my own font!! | |
! Grab font building package: http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz | |
! aptitude install gbdfed | |
! gbdfed 6x12.bdf | |
! Tweak some internal font parameters so that your ‘fmly’ is ‘myfont’ | |
! Save as ‘myfont.bdf’ | |
! Extract and ‘cd submission’ | |
! Hack Makefile and add new font name. | |
! make | |
! cp myfont.pcf.gz ~/some/new/font/dir | |
! cd !$ | |
! mkfontdir | |
! xset +fp ~/local/lib/X11/fonts (put this last line also in ~/.xinitrc) | |
! xfontsel (you should now see your new font family) | |
! fonttest.sh (see glyphs in action) | |
*font: -misc-orp-medium-r-*--*-*-*-*-*-*-iso10646-1 | |
!*font: -misc-orp-book-r-*--*-*-*-*-*-*-iso10646-1 | |
*boldFont: -misc-orp-bold-r-*--*-*-*-*-*-*-iso10646-1 | |
! No italic in xterm. :( | |
! But YAY!! got urxvt working in 256-color mode! | |
!*italicFont: -misc-orp-book-r-*--*-*-*-*-*-*-iso10646-1 | |
*italicFont: -misc-orp-*-i-*--*-*-*-*-*-*-iso10646-1 | |
URxvt*visualBell: false | |
! Disable stupid ctrl-shift "feature" | |
! http://wilmer.gaa.st/blog/archives/36-rxvt-unicode-and-ISO-14755-mode.html | |
URxvt.iso14755: false | |
! Screencasting | |
! http://en.wikibooks.org/wiki/Guide_to_X11/Fonts | |
! If you want to get fancy/trendy, could go outside X fonts and use | |
! gnome-terminal with monaco, consolas, dejavu (menlo), or even | |
! "Codename Coder Free 4F". | |
!*font: xft:Bitstream Vera Sans Mono:pixelsize=16 | |
!*boldFont: xft:Bitstream Vera Sans Mono:pixelsize=16:bold | |
!*italicFont: xft:Bitstream Vera Sans Mono:pixelsize=16:italic | |
! Other attempts | |
!*font: Verdana:pixelsize=10 | |
!*faceName: mono:normal:size=9:minspace:rgba=rgb | |
!*font: -misc-dejavu sans mono-medium-r-normal-*-*-120-*-*-m-*-iso8859-1 | |
!*boldFont: -*-*-*-*-*-*-12-*-*-*-*-*-iso10646-* | |
!*font: -*-*-*-*-*-*-12-*-*-*-*-*-iso10646-* | |
! This should work for screencasts (but not the bold) | |
!!*boldFont: -*-terminus-*-*-*-*-16-*-*-*-*-*-iso10646-* | |
!*font: -*-terminus-*-*-*-*-16-*-*-*-*-*-iso10646-* | |
!!! Enable copy/paste. | |
! http://www.davidsimmons.com/soft/xtermhacks/ | |
!*VT100.translations: #override <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) | |
! http://arun.wordpress.com/2008/03/15/real-transparency-in-urxvt/ | |
!urxvt*depth: 32 | |
!urxvt*background: rgba:0000/0000/0000/dddd | |
urxvt*background: rgba:0000/0000/0000/cc00 | |
!!! Foreground | |
!*foreground: #d3d3d3 | |
*foreground: #ffffff | |
!!! Background | |
! Black | |
!*background: #000000 | |
! Green | |
!*background: #022C0A | |
! Brown | |
!*background: #3F2F08 | |
! Black | |
*background: #000000 | |
*cursorColor: #ff0000 | |
!*cursorColor: #57fd76 | |
!*cursorColor: yellow | |
!*cursorColor: orange | |
!*charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48 | |
!*dynamicColors: true | |
! Blacks | |
*color0: #151515 | |
*color8: #505450 | |
! Reds | |
*color1: #a60101 | |
!*color1: #ff0000 | |
!*color9: #f99090 | |
*color9: #ff0000 | |
! Greens | |
*color2: #026802 | |
*color10: #a7e14b | |
! Yellows | |
*color3: #ab6e03 | |
*color11: #fddc01 | |
! Blues | |
*color4: #005faf | |
*color12: #0087ff | |
! Purples | |
*color5: #9c3885 | |
*color13: #e628ba | |
! Cyans | |
*color6: #08bab0 | |
*color14: #74fff7 | |
! Whites | |
*color7: #aaaaaa | |
*color15: #ffffff | |
!!! Themes overrides | |
! Other themes | |
!*background: #E3D7B4 | |
!*background: #AFAF87 | |
! From solarized: http://ethanschoonover.com/solarized | |
! These fg/bg could work standalone. | |
!*foreground: #d7d7af | |
!*background: #1c1c1c | |
!*background: #002b36 | |
!*background: #1c1c1c | |
!*foreground: #657b83 | |
!*foreground: #d7d7af | |
!*fading: 40 | |
!*fadeColor: #002b36 | |
!!*cursorColor: #93a1a1 | |
!*pointerColorBackground:#586e75 | |
!*pointerColorForeground:#93a1a1 | |
!!! black dark/light | |
!*color0: #262626 | |
!*color8: #1c1c1c | |
!!! red dark/light | |
!*color1: #d75f00 | |
!*color9: #cb4b16 | |
!!! green dark/light | |
!*color2: #5f8700 | |
!*color10: #4e4e4e | |
!!! yellow dark/light | |
!*color3: #af8700 | |
!*color11: #585858 | |
!!! blue dark/light | |
!*color4: #0087ff | |
!*color12: #839496 | |
!!! magenta dark/light | |
!*color5: #af005f | |
!*color13: #5f5faf | |
!!! cyan dark/light | |
!*color6: #00afaf | |
!*color14: #8a8a8a | |
!!! white dark/light | |
!*color7: #d7d7af | |
!*color15: #ffffd7 | |
! MDE’s adobe theme overrides; very similar to vim colorscheme: | |
! http://www.vim.org/scripts/script.php?script_id=1365 | |
! Comment these out to enable theme. | |
!*foreground: #000000 | |
!*background: #A2955F | |
! yellow1 | |
!*color3: #684802 | |
! cyan1 | |
!*color6: #05635d | |
! blue1 | |
!*color4: #3a5e87 | |
! blue2 | |
!*color12: #bcd7fd | |
! purple2 | |
!*color13: #cf03a1 | |
! red2 | |
!*color9: #ffc2c2 | |
! white1 | |
!*color7: #c7c7c7 | |
! Enabling quick copy/paste to X. | |
! https://wiki.archlinux.org/index.php/Rxvt-unicode#Cut_and_Paste | |
! /usr/share/doc/urxvt-perls/README.md | |
!URxvt.perl-ext-common: default,clipboard,selection-popup,matcher | |
! NOTE: clipboard will hose urxvt->urxvt unicode pasting!! | |
!URxvt.perl-ext-common: default,selection-popup,matcher | |
! Others to consider: | |
! tabbed | |
! Use ^Right and ^Left to move, ^Down to create a tab. | |
!URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select | |
URxvt.perl-ext-common: default,url-select,clipboard | |
URxvt.url-select.launcher: firefox-aurora | |
URxvt.url-select.underline: true | |
!URxvt.keysym.M-u: perl:url-select:select_next | |
!URxvt.keysym.M-Escape: perl:keyboard-select:activate | |
!URxvt.keysym.M-s: perl:keyboard-select:search | |
URxvt.clipboard.autocopy: true | |
URxvt.clipboard.copycmd: xclip -i -selection clipboard | |
URxvt.clipboard.pastecmd: xclip -o -selection clipboard | |
! man urxvt | |
! Turning off scrollbar for now. | |
URxvt*scrollBar:false | |
URxvt*scrollstyle:plain | |
URxvt*scrollTtyOutput:False | |
URxvt*scrollTtyKeypress:True | |
URxvt*scrollBar_right:True | |
!URxvt*fading:35 | |
URxvt*pointerBlank:True | |
!URxvt*urlLauncher:/usr/bin/chromium | |
#URxvt*urlLauncher:/usr/bin/firefox-aurora | |
URxvt*urlLauncher: /usr/bin/zurl | |
URxvt*cutchars: \\`"'"()*,;<>[]^{|} | |
!URxvt*transparent:True | |
! NOTE: this affects scroll speed, and gets very slow from java/lein. | |
URxvt*saveLines:1000 | |
# NEW | |
URxvt.searchable-scrollback: CM-s | |
# Speed up output, maybe lose some lines | |
# http://martin.ankerl.com/2007/09/01/comprehensive-linux-terminal-performance-comparison/ | |
URxvt.skipScroll: True | |
URxvt.jumpScroll: True | |
! Drop-down terminal, uses C-A-y | |
! http://packages.debian.org/squeeze/yeahconsole | |
yeahconsole*term:urxvt | |
yeahconsole*consoleHeight:50 | |
yeahconsole*screenWidth:1200 | |
! Girly colors | |
!URxvt.cursorColor: #dc74d1 | |
!URxvt.pointerColor: #dc74d1 | |
!URxvt.background: #0e0e0e | |
!URxvt.foreground: #4ad5e1 | |
!URxvt.color0: #000000 | |
!URxvt.color8: #8b8f93 | |
!URxvt.color1: #dc74d1 | |
!URxvt.color9: #dc74d1 | |
!URxvt.color2: #0eb8c7 | |
!URxvt.color10: #0eb8c7 | |
!URxvt.color3: #dfe37e | |
!URxvt.color11: #dfe37e | |
!URxvt.color5: #9e88f0 | |
!URxvt.color13: #9e88f0 | |
!URxvt.color6: #73f7ff | |
!URxvt.color14: #73f7ff | |
!URxvt.color7: #e1dddd | |
!URxvt.color15: #e1dddd | |
! vim:se ft=xdefaults: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just make a backup of your existing configurations