You are not logged in.
I installed ArchLinux and use tiling window manager—awesome. I'm using xterm as my terminal emulator, but the default xterm appearance looks ugly,
so I add some configuation to the file ~/.Xresources, and exec "xrdb ~/.Xresources", open xterm, its OK. But when reboot archlinux, execute "startx" to enter the awesome, and open xterm, it become default appearance, I must execute "xrdb ~/.Xresources" again to make effect.
How can I do to make the configuration available all the time? I have added "xrdb ~/.Xresources" to ~/.xinitrc, but have no effect.Please help me.
Offline
Adding it to your xinitrc should work. I suspect you added it after the 'exec' line for the window manager though - that would not work. Put the xrdb line before the WM line. If that doesn't solve it, post your full xinitrc so we can see what is happening.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks very much, it's OK after change the order. But I can't understand why. Can you give me some tips? Why must "xrdb ~/Xresources" add before "exec awesome"?
Offline
Adding it to your xinitrc should work. I suspect you added it after the 'exec' line for the window manager though - that would not work. Put the xrdb line before the WM line. If that doesn't solve it, post your full xinitrc so we can see what is happening.
Thanks very much, it's OK after change the order. But I can't understand why. Can you give me some tips? Why must "xrdb ~/Xresources" add before "exec awesome"?
Offline
Two reasons: 1) if you use "exec awesomewm" then nothing after that line could ever execute. To learn why, read `man exec'. 2) Even without the "exec" there (e.g. if your xinitrc only had "awesomewm") then lines after that could execute, but only after you shut down the WM which would be too late to be of any use.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks very much, it's OK after change the order.
We have a nice wiki, please use it: https://wiki.archlinux.org/index.php/Xinitrc
Offline