You are not logged in.
Pages: 1
Looking for :
1. A qualified person to start an .Xdefaults wiki article.
2. Sample .Xdefaults, well commented, if possible. Post 'em right in this thread.
3. Diversity- xterm/aterm tweaks are appreciated, but dpi, font antialiasing etc, would be even more so.
Q: Why?
A: Arch is minimalist, and as many of us prefer the bare WM's to the bloated DE's, an .Xdefaults wiki page will be a real asset for the community.
Any takers?
Thanks!
Offline
I'll definitely contribute, but I can't start anything until this weekend--I'm halfway through cramming a 5-month math course into a single month and I'm bleeding quadratics from my ears!
I can't offer much in the way of xterm/aterm tweaks, so if someone wants to get *that* started.....
thayer williams ~ cinderwick.ca
Offline
~ % cat .Xdefaults
/* Zenburn color scheme <http://www.brockman.se/software/zenburn/look-zenburn.xrdb> */
#include "/home/antony/.xrdb/look-zenburn.xrdb"
/*
* xterm config
* */
xterm*background: COLOR_BG
xterm*foreground: COLOR_FB
xterm*savesLines: 10000
xterm*font: -misc-fixed-*-*-*-*-*-200-*-*-*-*-*
/*
* xft config
* */
Xft*dpi: 99
Xft*antialias: true
Xft*hinting: full
/*
* xdvi config
* */
xdvi.background: #eeeeee /* -bg */
xdvi.wwwbrowser: firefox /* -browser: same syntax as $BROWSER */
xdvi.gsAlpha: true /* -gsalpha: uses x11alpha driver for nicer appearance */
xdvi.unique: true /* -unique: make other instance act as 'server' */
xdvi.watchFile: 10 /* -watchfile: watch dvi file for changes */
/*
* rxvt-unicode config
* */
URxvt.background: COLOR_BG /* -bg */
URxvt.foreground: COLOR_FG /* -fg */
URxvt.geometry: 80x20 /* -geometry */
URxvt.jumpScroll: True /* -j: scroll only once for each screenful of info */
URxvt.saveLines: 5000 /* -sl: save # of lines in scrollback buffer */
URxvt.scrollBar: False /* -sb: no scroll bar */
URxvt.scrollstyle: plain
URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXX)
/* places a hardcopy in home dir when print is pressed */
URxvt.termname: rxvt /* -tn: sets $TERM */
URxvt*secondaryScroll: true
URxvt.font: -xos4-*-*-*-*-*-24-*-*-*-*-*-*-*
URxvt.transparent: False /* replaces inheritPixmap */
URxvt.perl-ext-common: default,selection,matcher,searchable-scrollback<M-s>/
/* default: load default perl extensions
* selection: intelligent selection (words, urls)
* matcher: underlines matched text and executes program upon click
* searchable-scro...: adds regex search to scrollback buffer */
URxvt*matcher.button: 1 /* match left-mouse-button */
URxvt*urlLauncher: firefox /* launch firefox on matched text */
/*
* default terminal colors
*
* 0-7 low-intensity
* 8-15 high-intensity */
! black
!*color0: #2e3436
!*color8: #555753
*color0: COLOR_TERM_BLACK
*color8: COLOR_TERM_DARK_GRAY
! red
!*color1: #cc0000
!*color9: #ef2929
*color1: COLOR_TERM_DARK_RED
*color9: COLOR_TERM_LIGHT_RED
! green
!*color2: #00ff00
!*color10: #66ff66
*color2: COLOR_TERM_DARK_GREEN
*color10: COLOR_TERM_LIGHT_GREEN
! yellow
!*color3: #c4a000
!*color11: #fc394f
*color3: COLOR_TERM_DARK_YELLOW
*color11: COLOR_TERM_LIGHT_YELLOW
! blue
!*color4: #3456a4
!*color12: #729fcf
*color4: COLOR_TERM_DARK_BLUE
*color12: COLOR_TERM_LIGHT_BLUE
! magenta
!*color5: #75507b
!*color13: #ad7fa8
*color5: COLOR_TERM_DARK_MAGENTA
*color13: COLOR_TERM_LIGHT_MAGENTA
! orange (default cyan)
!*color6: #418179
!*color14: #34e2e2
*color6: COLOR_TERM_DARK_CYAN
*color14: COLOR_TERM_LIGHT_CYAN
! white
!*color7: #d3d7cf
!*color15: #eeeeec
*color7: COLOR_TERM_DARK_GRAY
*color15: COLOR_TERM_WHITEOffline
Thayer: Thank you for your time, and good luck!
Smurnjiff: Thanks for your .Xdefaults post!
Offline
Offline
http://code.suckless.org/hg/dextra/file … /Xdefaults
kind of outdated but better than nothing
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
My .Xdefaults, sadly without mutch comments
http://arch.har-ikkje.net/configs/home/dot.Xdefaults
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Here's mine
! .Xdefaults
! <hcarvalhoalves@archlinux.us>
! Colour scheme
*background:#1a1a1a
*foreground:#fff
*highlightColor:#444
*color0:#000000
*color1:#ff6565
*color2:#93d44f
*color3:#eab93d
*color4:#204a87
*color5:#ce5c00
*color6:#89b6e2
*color7:#cccccc
*color8:#555753
*color9:#ff8d8d
*color10:#c8e7a8
*color11:#ffc123
*color12:#3465a4
*color13:#f57900
*color14:#46a4ff
*color15:#ffffff
! Xft resources
Xft.antialias:true
Xft.dpi:96
Xft.hinting:true
! hintslight | hintsmedium | hintsfull
Xft.hintstyle:hintslight
! rgba subpixel hinting (for LCDs)
Xft.rgba:none
! Xterm resources
! Xft font name style
XTerm*faceName:Liberation Mono
XTerm*faceSize:9
! Enable 256 color
XTerm*termName:xterm-color
XTerm*cursorBlink:false
XTerm*utf8:1
XTerm*loginShell:true
! Fix some input and <Alt> for ncurses
XTerm*eightBitInput:false
XTerm*altSendsEscape:true
! Matches selection for URLs and emails when double-click
XTerm*charClass: 33:48,37-38:48,45-47:48,64:48,58:48,126:48,61:48,63:48,43:48,35:38
XTerm*trimSelection: true
! Sets Xcursor theme (installed under /usr/share/icons/ or ~/.icons/)
Xcursor.theme:Vanilla-DMZ-AAOffline
aterm*transparent: true
aterm*scrollBar_right: true
aterm*transpscrollbar: true
! aterm*saveLines: 32767
aterm*saveLines: 10000
aterm*scrollTtyOutput: false
aterm*foreground: white
aterm*background: black
aterm*shading: 50
aterm*tintingType: true
!aterm*tinting: #c0c0c0
aterm*tinting: white
aterm*fading: 50
! aterm*fading: 80
Aterm*title: aterm
aterm*font: -*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*
xterm*toolBar: false
xterm*scrollBar: true
xterm*rightScrollBar: true
xterm*scrollLines: 32767
xterm*background: black
xterm*foreground: white
xterm*font: -*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*
Xcursor.theme: redglass
Xcursor.size: 16
emacs*ScrollBars: right
!emacs*font: -*-luxi sans-medium-r-*-*-*-*-*-*-*-*-*-*
!emacs*font: -bitstream-bitstream charter-medium-r-*-*-12-*-*-*-*-*-*-*
! emacs*font: -bitstream-bitstream vera sans mono-medium-r-normal-*-12-120-75-75-m-0-iso8859-1
! emacs*font: -*-andale mono-medium-r-*-*-13-*-*-*-*-*-*-*
! emacs*font: -B&H-LucidaTypewriter-Medium-R-Normal-Sans-12-120-75-75-M-0-ISO8859-1
xemacs*background: white
xemacs*backgroundToolBarColor: Gray75
xdvi*background: white
gnuplot*background: white
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: blue
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coralOffline
Shared. Perhaps something out of this could be useful for a wiki compilation.
I would suppose just *color#: would work best, but for some reason I've got them split up.
Xcursor.theme: ATER ! Extract cursor theme to /usr/share/icons/(theme) and viola, you can set it here :)
! stjerm is a somewhat quake style terminal emulator. Available from the AUR.
stjerm.key: f12 ! Binds a key to hide/show
stjerm.font: ProggyCleanTT 10 ! font & size
stjerm.height: 350
stjerm.width: 650
stjerm.opacity: 70 ! Hooray for pseudo transparency! (real with composite)
stjerm.position: left
stjerm.autohide: false ! Doesn't hide when focus is lost
! Tango Color Scheme (My Favorite)
stjerm*color0: #2e3436
stjerm*color1: #cc0000
stjerm*color2: #4e9a06
stjerm*color3: #c4a000
stjerm*color4: #3465a4
stjerm*color5: #75507b
stjerm*color6: #0b939b
stjerm*color7: #d3d7cf
stjerm*color8: #555753
stjerm*color9: #ef2929
stjerm*color10: #8ae234
stjerm*color11: #fce94f
stjerm*color12: #729fcf
stjerm*color13: #ad7fa8
stjerm*color14: #00f5e9
stjerm*color15: #eeeeec
XTerm*renderFont: true ! Enables True-Type rendering
XTerm*faceName: ProggyCleanTT ! Choose the font face
XTerm*faceSize: 10 ! Choose the font size
XTerm*foreground: #ffffff
XTerm*background: #2e2e2e ! Dark Grey (Less contrast = Easy on the eyes)
! Tango Color Scheme (Again)
XTerm*color0: #2e3436
XTerm*color1: #cc0000
XTerm*color2: #4e9a06
XTerm*color3: #c4a000
XTerm*color4: #3465a4
XTerm*color5: #75507b
XTerm*color6: #0b939b
XTerm*color7: #d3d7cf
XTerm*color8: #555753
XTerm*color9: #ef2929
XTerm*color10: #8ae234
XTerm*color11: #fce94f
XTerm*color12: #729fcf
XTerm*color13: #ad7fa8
XTerm*color14: #00f5e9
XTerm*color15: #eeeeecLast edited by Square (2008-07-24 06:49:46)
Offline
seeing many users have xterm entries in their .Xdefaults id like to point the following, which is part of mine
xterm*charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48it might seem weird but with this you can select urls with the mouse really quick. as xterm lacks urxvt's kinky perl scripts this comes very handy
PS. i have no idea what those numbers actually are. i see freakcodes are a bit different
Last edited by dolby (2008-07-24 09:41:45)
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Among more usual like urxvt and xterm there are also settings for: xcalc, xlockmore, xfontsel, xman, xdiary, xmessage, xclipboard, xft and other...
http://sysphere.org/~anrxc/local/scr/dotfiles/Xdefaults
You need to install an RTFM interface.
Offline
what about making a color scheme section, which contains entrys with color scheme and font style configs only
+ a screenshot of an working terminal
this screenshots would make color scheme selection a lot easier because you don't have to edit your .Xdefault file if you want to see how the color scheme looks like.
Offline
this screenshots would make color scheme selection a lot easier because you don't have to edit your .Xdefault file if you want to see how the color scheme looks like.
Something like this thread?
thayer williams ~ cinderwick.ca
Offline
ukognos wrote:this screenshots would make color scheme selection a lot easier because you don't have to edit your .Xdefault file if you want to see how the color scheme looks like.
Something like this thread?
yes, exactly ![]()
Offline
seeing many users have xterm entries in their .Xdefaults id like to point the following, which is part of mine
xterm*charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48it might seem weird but with this you can select urls with the mouse really quick. as xterm lacks urxvt's kinky perl scripts this comes very handy
PS. i have no idea what those numbers actually are. i see freakcodes are a bit different
Unicode in X's own format, I guess. They represent the stop characters used for matching urls.
Offline
Holy thread necromancy... but I didn't really know where to put this and why start a new thread. I wasn't happy with my xcalc division button. For some reason--and I don't know when it happened--the division sign became something more of a comma than a division sign or a forward slash as it's always been before whenever. Looked around and found a bug report about wrong symbols in xcalc in Debian and adjusted it to my own prefs. It's the line for "xcalc.ti.button20.label: /". Anyways, here's my .Xdefaults with the xcalc section.
## Xterm Settings
xterm*font: -*-fixed-medium-r-*-*-18-*-*-*-*-*-*-*
xterm*geometry: 85x25
xterm*background: black
xterm*foreground: lightgrey
xterm*highlightColor: red
## Rxvt-unicode Settings
urxvt.background: black
urxvt.foreground: lightgrey
urxvt.shading: 35
urxvt.transparent: true
urxvt.scrollBar: false
urxvt.font: -*-fixed-medium-r-*-*-18-*-*-*-*-*-*-*
#urxvt.font: xft:DejaVuSansMono:size=11
#urxvt.boldFont: xft:DejaVuSansMono:size=11:style=bold
urxvt.geometry: 85x25
urxvt.cursorBlink: true
! X C A L C
!
!
xcalc*geometry: 200x275
xcalc.ti.bevel.background: #111111
xcalc.ti.bevel.screen.background: #000000
xcalc.ti.bevel.screen.DEG.background: #000000
xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #000000
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background: #000000
xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.INV.background: #000000
xcalc.ti.bevel.screen.INV.foreground: Red
xcalc.ti.bevel.screen.LCD.background: #000000
xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background: #000000
xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
xcalc.ti.bevel.screen.P.background: #000000
xcalc.ti.bevel.screen.P.foreground: Yellow
xcalc.ti.Command.foreground: White
xcalc.ti.Command.background: #777777
xcalc.ti.button5.background: Orange3
xcalc.ti.button19.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button20.label: /
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
XCalc*Cursor: hand2
XCalc*ShapeStyle: rectangleEdit: p.s. I miss that codes, smilies bar; don't always remember the codes--memory's not what it used to be. Hope it comes back soon. ![]()
Edit: Added xcalc section to .Xdefaults wiki--one less note to keep in my files.
Last edited by bgc1954 (2008-12-17 21:28:55)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
it will be even more user friendly if we can attach a sceenshot for each .Xdefault config.
Offline
Useful subject ![]()
Offline
!rxvt-unicode ---------------------------------------------------------------
URxvt*foreground: #A8A8A8
URxvt*scrollBar_right: false
URxvt*scrollBar: false
URxvt*scrollstyle: plain
URxvt*borderLess: false
URxvt*inheritPixmap: true
URxvt*geometry: 124x24
URxvt*tint: white
URxvt*font: xft:monofur:size=8
!URxvt*font: xft:terminus-font:
!URxvt*font: xft:anorexia
URxvt*color0: #000000
URxvt*color1: #A80000
URxvt*color2: #00A800
URxvt*color3: #A85400
URxvt*color4: #0000A8
URxvt*color5: #A800A8
URxvt*color6: #00A8A8
URxvt*color7: #A8A8A8
URxvt*color8: #545054
URxvt*color9: #F85450
URxvt*color10: #50FC50
URxvt*color11: #F2FC50
URxvt*color12: #5054F8
URxvt*color13: #F854F8
URxvt*color14: #50FCF8
URxvt*color15: #F8FCF8
URxvt*transparent:true
urxvt*depth: 32
urxvt*background: rgba:0000/0000/0000/dddd
URxvt.perl-ext-common: default
! xterm config ---------------------------------------------------------------
xterm*termName: xterm
xterm*background: #000000
xterm*foreground: #A8A8A8
! xscreensaver ---------------------------------------------------------------
!font settings
xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
!general dialog box (affects main hostname, username, password text)
xscreensaver.Dialog.foreground: #ffffff
xscreensaver.Dialog.background: #111111
xscreensaver.Dialog.topShadowColor: #111111
xscreensaver.Dialog.bottomShadowColor: #111111
xscreensaver.Dialog.Button.foreground: #666666
xscreensaver.Dialog.Button.background: #ffffff
!username/password input box and date text colour
xscreensaver.Dialog.text.foreground: #666666
xscreensaver.Dialog.text.background: #ffffff
xscreensaver.Dialog.internalBorderWidth:24
xscreensaver.Dialog.borderWidth: 20
xscreensaver.Dialog.shadowThickness: 2
!timeout bar (background is actually determined by Dialog.text.background)
xscreensaver.passwd.thermometer.foreground: #ff0000
xscreensaver.passwd.thermometer.background: #000000
xscreensaver.passwd.thermometer.width: 8
!datestamp format--see the strftime(3) manual page for details
xscreensaver.dateFormat: %I:%M%P %a %b %d, %YI missed this one. I might as well put these up. I picked this up, piecemeal, from various sources, and it works fairly well for me.
I keep getting distracted from my webserver project...
huh? oooh... shiny!
Offline
Offline
Pages: 1