You are not logged in.
Are you referring to the background color of mounted directories? That would be URxvt.color2 (dark green)
Thank you, gako! It didn't occur to me that I could easily find out the color by comparing the two Xdefaults file. Anyway, now that you made my work easier, thanks to you, now I changed the urxvt.color2 color to that of urxvt.background. This makes mounted directories' color same as that of regular directories.
Thank you again.
Here's the current screen-shot:
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Looks good tranjeeshan!
About that, I admire your paper-themed color scheme. I think it's easy on eyes and looks awesome, too.
Last edited by tranjeeshan (2015-11-11 12:33:06)
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Here's the current screen-shot:
http://s20.postimg.org/5yd0ilfrd/2015_11_11_182626_678x326_scrot.jpg
Ah, much better
Offline
On another note, why would anyone want to highlight the mounted directories? Does that serve special purposes?
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
I could see it being useful to know that a directory is actively mounted.
Maybe take a look at this script to see some color outputs for your personal xcolor setup.
#!/bin/bash
eval $(echo "no:global default;fi:normal file;di:directory;ln:symbolic link;pi:named pipe;so:socket;do:door;bd:block device;cd:character device;or:orphan symlink;mi:missing file;su:set uid;sg:set gid;tw:sticky other writable;ow:other writable;st:sticky;ex:executable;"|sed -e 's/:/="/g; s/\;/"\n/g')
{
IFS=:
for i in $LS_COLORS
do
echo -e "\e[${i#*=}m$( x=${i%=*}; [ "${!x}" ] && echo "${!x}" || echo "$x" )\e[m"
done
}
or even
dircolors --print-database
Last edited by gako (2015-11-12 14:33:34)
Offline
I'm a fan of Rhowaldt's palleter-script, which extracts a palette from an image by Imagemagick. It can be found at least in fog's blog:
https://irenegr.wordpress.com/2013/11/0 … -you-like/
(It's in greek but you can easily spot and copypaste the code.)
Thanks @nore
The original script is here. Mine is a customized version for terminator. My terminal choise then and now.
I like to play with terminal.sexy too. You can import color schemes in various formats, export them and try a number of presets in scheme browser (some of them are from gutterslod and dkeg).
Offline
@gako, I just started learning Bash.That's why I couldn't fathom some of the cryptic sign in this script. However, when run this script, I get an error, saying:
line 7: unexpected EOF while looking for matching `"'
line 10: syntax error: unexpected end of file
Last edited by tranjeeshan (2015-11-12 12:06:43)
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
loll sorry I did a real bad copy paste job from nano. I edited the post and that should work now.
It lists different filetypes/devices, etc. in the current xcolor scheme, pretty useful imo.
URxvt.background: #36352e
URxvt.foreground: #eae5ca
URxvt.cursorColor: #eae5ca
! black
URxvt.color0: #414037
URxvt.color8: #515044
! red
URxvt.color1: #605f50
URxvt.color9: #737260
! green
URxvt.color2: #807e6a
URxvt.color10: #908e77
! yellow
URxvt.color3: #a09e84
URxvt.color11: #b8b597
! blue
URxvt.color4: #c5c1a1
URxvt.color12: #cecaa8
! magenta
URxvt.color5: #d5d1ae
URxvt.color13: #dedab6
! cyan
URxvt.color6: #e5e1bc
URxvt.color14: #efeac4
! white
URxvt.color7: #f6f1c9
URxvt.color15: #fef9cf
Offline
Looks great, @gako!
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
If htop can look good in all of it's colors I feel satisfied
! railroad URxvt
URxvt.foreground: #dddcbb
URxvt.background: #1b1911
URxvt.cursorColor: #dddcbb
! black
URxvt.color0: #8c4325
URxvt.color8: #8c3e1e
! red
URxvt.color1: #8c7a25
URxvt.color9: #8c791e
! green
URxvt.color2: #8c6525
URxvt.color10: #8c621d
! yellow
URxvt.color3: #c4ae5b
URxvt.color11: #c4ad54
! blue
URxvt.color4: #45402c
URxvt.color12: #977856
! magenta
URxvt.color5: #c4935b
URxvt.color13: #c4935b
! cyan
URxvt.color6: #b9b57a
URxvt.color14: #dbab60
! white
URxvt.color7: #c6c5a7
URxvt.color15: #dddcbb
! railroad xcolor
*foreground: #dddcbb
*background: #1b1911
*cursorColor: #dddcbb
! black
*color0: #8c4325
*color8: #8c3e1e
! red
*color1: #8c7a25
*color9: #8c791e
! green
*color2: #8c6525
*color10: #8c621d
! yellow
*color3: #c4ae5b
*color11: #c4ad54
! blue
*color4: #45402c
*color12: #977856
! magenta
*color5: #c4935b
*color13: #c4935b
! cyan
*color6: #b9b57a
*color14: #dbab60
! white
*color7: #c6c5a7
*color15: #dddcbb
Offline
Offline
I'm still using franksn colors, so thanks to him for sharing, so i'm doing here too...
URxvt*highlightColor: #9a875f
URxvt*highlightTextColor: #917154
URxvt*cursorColor: #9c7650
URxvt*pointerColor: #515e6f
URxvt*pointerColor2: #9c7650
URxvt*colorBD: #9c7650
URxvt*colorUL: #585858
URxvt*underlineColor: #566776
*background: #141314
*foreground: #8A745C
!black
*color0: #141314
*color8: #46423b
!red
*color1: #70473a
*color9: #916255
!green
*color2: #534d35
*color10: #858167
!yellow
*color3: #9c7650
!*color3: #9c7650
*color11: #ad8650
!blue
*color4: #473e38
*color12: #75715e
!magenta
*color5: #543b3b
*color13: #6b5d51
!cyan
*color6: #5F4444
*color14: #585858
!white
*color7: #9a875f
*color15: #917154
Tumbleweed | KDE Plasma
Offline
Perhaps a silly question, but if I don't have the ~./xresources file can I edit the /etc/X11/Xresources/x11-common file and have it perform the same function as the more user specific ~./xresources?
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
if I don't have the ~./xresources file can I edit the /etc/X11/Xresources/x11-common file and have it perform the same function as the more user specific ~./xresources?
Try it and see.
To view the currently loaded resources, use:
xrdb -query -all
Offline
Horizonbrave, why don't you just create ~/.Xresources (notice the capital X)?
Offline
Perhaps a silly question, but if I don't have the ~./xresources file can I edit the /etc/X11/Xresources/x11-common file and have it perform the same function as the more user specific ~./xresources?
It looks like /etc/Xsession sets SYSRESOURCES=/etc/X11/Xresources
which is read by /etc/X11/Xsession.d/30x11-common_xresources which tells xrdb to load
anything in /etc/X11/Xresources/ directory so you don't have to edit /etc/X11/Xresources/x11-common
but simply place resource file in that directory and it'll be read. (making sure of course to remove any xrdb * in ~/.xsession | ~/.xinitrc)
This doesn't work for me if it's named as a hidden ,Xresources but you could name it Xresources or pizza
You can name them whatever it seems.
xrdb -query -all
Well look at that and all this time I've been using appres command.
Thx, I wonder how different the two are.
Last edited by gako (2015-12-30 06:21:03)
Offline
Well look at that and all this time I've been using appres command.
Thx, I wonder how different the two are.
Well, appres(1) will show the resources seen by *any* application so it will also show, for example, ~/.Xdefaults settings as well.
On my system, I have ~/.Xdefaults but no ~/.Xresources (urxvt parses the former automatically so I don't need `xrdb -merge` in my startup script) so i get no output from `xrdb`:
$ xrdb -query -all
$ appres
*color5: #dc8cc3
*color1: #705050
*color13: #ec93d3
*color9: #dca3a3
*color6: #8cd0d3
*color2: #60b48a
*color14: #93e0e3
*foreground: #bfbfbf
*color10: #c3bf9f
*color3: #dfaf8f
*background: #000000
*color7: #dcdccc
*color11: #f0dfaf
*cursorColor: #00ff00
*color15: #eeeeee
*color4: #506070
*color0: #000000
*color12: #94bff3
*color8: #808080
I didn't know about appres(1) -- thanks!
EDIT: And here's the whole set, what a great command:
$ appres URxvt
URxvt.matcher.button: 3
URxvt.font: -*-blockzone-medium-r-*-*-*-*-*-*-c-0-iso10646-*
URxvt.colorUL: #ffffff
URxvt.skipBuiltinGlyphs: true
URxvt.boldFont: -*-blockzone-medium-r-*-*-*-*-*-*-c-0-iso10646-*
URxvt.cursorUnderline: true
URxvt.perl-ext-common: default,matcher
URxvt.scrollBar: false
URxvt.saveLines: 65535
URxvt.imLocale: en_GB.UTF-8
URxvt.cursorBlink: true
URxvt.url-launcher: /usr/local/bin/chrome
URxvt.fading: 25
URxvt.pointerBlank: true
URxvt.colorBD: #ffffff
URxvt.utmpInhibit: true
*color5: #dc8cc3
*color1: #705050
*color13: #ec93d3
*color9: #dca3a3
*color6: #8cd0d3
*color2: #60b48a
*color14: #93e0e3
*foreground: #bfbfbf
*color10: #c3bf9f
*color3: #dfaf8f
*background: #000000
*color7: #dcdccc
*color11: #f0dfaf
*cursorColor: #00ff00
*color15: #eeeeee
*color4: #506070
*color0: #000000
*color12: #94bff3
*color8: #808080
Offline
And here's the whole set, what a great command:
I feel like I find a new X gem every other day.
appres comes with x11-utils so kinda safe to assume most Debian users have it
/usr/bin/xlsfonts
/usr/bin/xev
/usr/bin/appres
/usr/bin/viewres
/usr/bin/xlsatoms
/usr/bin/xmessage
/usr/bin/xvinfo
/usr/bin/xfd
/usr/bin/xkill
/usr/bin/editres
/usr/bin/xdriinfo
/usr/bin/xlsclients
/usr/bin/xwininfo
/usr/bin/luit
/usr/bin/xprop
/usr/bin/listres
/usr/bin/xdpyinfo
/usr/bin/xfontsel
I've been using appres for finding user color scheme and applying to other themes/scripts
Offline
appres comes with x11-utils so kinda safe to assume most Debian users have it
not on arch linux!
their X server is extremely stripped down.
i think it makes sense; so many people use it only as the basis for a completely different graphical environment.
but that's why i keep busy here, and find out about gems like these...
Offline
I have grown fond of the green-on-black colourscheme used by terminator, here it is for better terminals:
! special
*.foreground: #00dd00
*.background: [85]#000000
*.cursorColor: #00ff00
! black
*.color0: #000000
*.color8: #888888
! red
*.color1: #cc0000
*.color9: #cc0000
! green
*.color2: #4e9a06
*.color10: #4e9a06
! yellow
*.color3: #c4a000
*.color11: #c4a000
! blue
*.color4: #3465a4
*.color12: #3465a4
! magenta
*.color5: #75507b
*.color13: #75507b
! cyan
*.color6: #06989a
*.color14: #06989a
! white
*.color7: #d3d7cf
*.color15: #d3d7df
http://terminal.sexy/#AAAAAN0AREREzAAAT … B7Bpia09ff
Last edited by Head_on_a_Stick (2017-02-12 12:21:47)
Offline