You are not logged in.
Hey,
I've been running urxvt without a problem for quite a while now.
Yesterday, I tried to set up urxvtd/c.
urxvtd is started by doing
exec urxvtd -q -o -fin my ~/.i3/config
The first incantation of urxvtc works as expected.
xrdb -querylists all settings, and they are nicely applied.
If I start another urxvtc, Xresources settings are ignored, giving me a white in stead of the desired black background. Extensions also don't work, etc...
xrdb -querydoes list all settings as expected.
If I start yet another urxvtc, settings are again correctly applied. Another one, bad, good, bad, ...
Here's a little animation of this happening:
http://i.imgur.com/xGuo65T.gif
Any hints, ideas before I switch back to plain urxvt?
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- OP edit: sorry!
Last edited by jeroentbt (2014-09-12 09:02:38)
Offline
Have you tried putting the settings in ~/.Xdefaults instead?
URxvt parses this file automatically.
Jin, Jîyan, Azadî
Offline
You should be starting urxvtd in your xinitrc and bind urxvtc to a key in your i3 config.
Also, XResources is the recommended file to use.
Offline
Have you tried putting the settings in ~/.Xdefaults instead?
URxvt parses this file automatically.
Tried that, no difference. ![]()
You should be starting urxvtd in your xinitrc and bind urxvtc to a key in your i3 config.
Moved launching urxvtd to my xinitrc.
Issue persists. ![]()
Launching urxvtc is bound in my i3 config. I was using dmenu in the animation as a demonstration only (to start the first two instances, after that I'm using the keys).
Offline
Please paste your Xresources.
And remove the exec from the urxvtd command in xinitrc.
Offline
Here's my ~/.Xresources
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
!-------------------------------------------------------------------------------
! URxvt settings
! More info at:
! http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod
!-------------------------------------------------------------------------------
! extensions found:
! https://github.com/muennich/urxvt-perls
URxvt.perl-ext-common: default,matcher,keyboard-select,url-select,clipboard,color-themes
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
! default is xsel, I am using xclip
URxvt.clipboard.copycmd: xclip -i -selection clipboard
URxvt.clipboard.pastecmd: xclip -o -selection clipboard
!-----------------------------
! https://raw.githubusercontent.com/felixr/urxvt-theme-switch/master/color-themes
URxvt.keysym.M-C-n: perl:color-themes:next
URxvt.keysym.M-C-p: perl:color-themes:prev
URxvt.color-themes.themedir : /home/jeroen/.themes/urxvt
URxvt.color-themes.state-file: /home/jeroen/.urxvt-theme
URxvt.color-themes.autosave: 1
URxvt.keysym.M-C-l: perl:color-themes:load-state
URxvt.keysym.M-C-s: perl:color-themes:save-state
!-------------------------------------
! Clickable URLs
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
!-------------------------------------
! URxvt.depth: 32
URxvt.geometry: 90x30
URxvt.transparent: false
URxvt.fading: 0
! URxvt.urgentOnBell: true
URxvt.visualBell: true
URxvt.loginShell: true
URxvt.saveLines: 3500
URxvt.internalBorder: 0
URxvt.externalBorder: 0
URxvt.lineSpace: 0
! URxvt.visualBell: true
! Fonts
URxvt.allow_bold: false
/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */
! URxvt*font: xft:Terminus:pixelsize=14
! URxvt*boldFont: xft:Terminus:pixelsize=14
URxvt*font: xft:Monospace:pixelsize=14
URxvt*boldFont: xft:Monospace:pixelsize=14
! Fix font space
URxvt*letterSpace: -1
! Scrollbar
URxvt.scrollStyle: rxvt
URxvt.scrollBar: false
! Cursor
URxvt.cursorBlink: true
URxvt.cursorColor: #657b83
URxvt.cursorUnderline: false
! Pointer
URxvt.pointerBlank: trueThis is how I start the deamon now: (last part of ~/.xinitrc)
xflux -l 50 -g 4
urxvtd -q -o -f
exec i3Offline
Why are you starting every shell as a login shell?
Offline
Why are you starting every shell as a login shell?
I do not mind having .bash_profile sourced every time I launch a term.
Should I be expecting bad things to happen?
Offline
Well, you would normally have a reason for it. What is in your .bash_profile?
Offline
The reason is just plain laziness.
In my .bash_profile I source my .bashrc ![]()
and add to my PATH. Nothing I couldn't do in .bashrc...
But I don't think this would affect the disco behaviour, would it?
(and thank you for taking the time to look in to this!)
Last edited by jeroentbt (2014-09-12 08:15:59)
Offline
Well, something weird is going on with your environment. Comment that line out, log out/in and see if that helps.
You aren't setting a TERM anywhere in your shell files, are you?
Offline
Well, something weird is going on with your environment. Comment that line out, log out/in and see if that helps.
Same stuff keeps happening
You aren't setting a TERM anywhere in your shell files, are you?
nope
$ echo $TERM
rxvt-unicode-256colorOffline
Disable this stuff and see what happens...
URxvt.keysym.M-C-n: perl:color-themes:next
URxvt.keysym.M-C-p: perl:color-themes:prev
URxvt.color-themes.themedir : /home/jeroen/.themes/urxvt
URxvt.color-themes.state-file: /home/jeroen/.urxvt-theme
URxvt.color-themes.autosave: 1Offline
That didn't work.
However, this did:
! URxvt.perl-ext-common: default,matcher,keyboard-select,url-select,clipboard,color-themes
URxvt.perl-ext-common: default,matcher,keyboard-select,url-select,clipboardAll other extensions now do work in every urxvtc I launch. Jippie!
Thanks for putting me on the right track.
Now I can start to get the color-themes to work ![]()
Offline
I suspect that the plugin issue is actually a compound one. If you do re-enable it, don't run urxvt as a login shell: set up your shell initialisation files properly; this will continue to bite you in other strange, difficult to diagnose ways.
Also, please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Yes, I will have to do some digging.
Thanks again for your help!
Offline