You are not logged in.
Pages: 1
i use urxvtc -q -f -o & urxvtc to open terminals, the shell is fish and wm is i3.
open terminal and press <up> the window closes
open terminal and press <down> the window closes
open terminal and press <right> the window doesn't close and i'm able to work normally from there on
also somehow my keymaps are screwed:
# loadkeys fi
Invalid argument
Invalid argument
# ls /usr/share/kbd/keymaps/i386/qwerty/fi.map.gz
/usr/share/kbd/keymaps/i386/qwerty/fi.map.gz
i get no öä on terminals, browsers are unaffected. any info i need to post for you?
Last edited by erno (2015-01-06 20:37:57)
Offline
Post your i3 config file, your fish config file and your .Xresources/.Xdefaults (whichever you use to configure urxvt)
Offline
...
Last edited by erno (2015-01-06 20:45:32)
Offline
fish.config only has aliases.
.Xresources
!! Common
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
!! Dark
#define S_base03 #001E26
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
!! Light
!! #define S_base03 #fdf6e3
!! #define S_base02 #eee8d5
!! #define S_base01 #93a1a1
!! #define S_base00 #839496
!! #define S_base0 #657b83
!! #define S_base1 #586e75
!! #define S_base2 #073642
!! #define S_base3 #002b36
!! To only apply colors to your terminal, for example, prefix
!! the color assignment statement with its name. Example:
URxvt*color0: S_base02
URxvt*color1: S_red
URxvt*color2: S_green
URxvt*color3: S_yellow
URxvt*color4: S_blue
URxvt*color5: S_magenta
URxvt*color6: S_cyan
URxvt*color7: S_base2
URxvt*color9: S_orange
URxvt*color8: S_base03
URxvt*color10: S_base01
URxvt*color11: S_base00
URxvt*color12: S_base0
URxvt*color13: S_violet
URxvt*color14: S_base1
URxvt*color15: S_base3
URxvt*background: S_base03
URxvt*scrollBar: off
URxvt*foreground: S_base0
!URxvt*fading: 10
!URxvt*fadeColor: S_base03
URxvt*cursorColor: S_base1
URxvt*pointerColorBackground: S_base01
URxvt*pointerColorForeground: S_base1
URxvt*font: -*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
URxvt.secondaryScreen: 1
URxvt.secondaryScroll: 0
!URxvt.perl-ext-common: default,matcher
!URxvt.url-launcher: /usr/bin/firefox-nightly
!URxvt.matcher.button: 1
URxvt.perl-ext-common: default,url-select,font-size,vtwheel
URxvt.keysym.C-i: perl:url-select:select_next
URxvt.url-select.launcher: /usr/bin/google-chrome-stable
URxvt.url-select.underline: true
! font-size config
URxvt.keysym.C-Up: perl:font-size:increase
URxvt.keysym.C-Down: perl:font-size:decrease
.i3/config
set $mod Mod4
font pango: Terminus 14px
#font pango:Terminus 14px
#font -*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec urxvtc
bindsym $mod+p exec xfce4-terminal
bindsym $mod+shift+p exec qutebrowser
assign [class="Steam"] 5
for_window [class="Sxiv|feh|MPlayer|CMPlayer|mupdf|mpv|smplayer|urw3-bin|Steam"] floating enable
focus_follows_mouse no
# kill focused window
bindsym $mod+c kill
# start dmenu (a program launcher)
# bindsym $mod+b exec dmenu_run
bindsym $mod+b exec j4-dmenu-desktop --dmenu="dmenu -i -l 20" --term="urxvtc"
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+odiaeresis focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+odiaeresis move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
bindsym $mod+d focus child
set $WS1 1: WWW
set $WS2 2: TERM
set $WS3 3: DATA
set $WS4 4: WORK
# switch to workspace
bindsym $mod+1 workspace $WS1
bindsym $mod+2 workspace $WS2
bindsym $mod+3 workspace $WS3
bindsym $mod+4 workspace $WS4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $WS1
bindsym $mod+Shift+2 move container to workspace $WS2
bindsym $mod+Shift+3 move container to workspace $WS3
bindsym $mod+Shift+4 move container to workspace $WS4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
workspace_auto_back_and_forth yes
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windowâs width.
# Pressing right will grow the windowâs width.
# Pressing up will shrink the windowâs height.
# Pressing down will grow the windowâs height.
bindsym j resize shrink width 1 px or 1 ppt
bindsym k resize grow height 1 px or 1 ppt
bindsym l resize shrink height 1 px or 1 ppt
bindsym h resize grow width 1 px or 1 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 1 px or 1 ppt
bindsym Down resize grow height 1 px or 1 ppt
bindsym Up resize shrink height 1 px or 1 ppt
bindsym Right resize grow width 1 px or 1 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
colors {
separator #888888
background #333333
statusline #FFFFFF
focused_workspace #4E9C00 #4E9C00 #FFFFFF
active_workspace #333333 #333333 #FFFFFF
inactive_workspace #333333 #333333 #888888
urgent_workspace #C20000 #C20000 #FFFFFF
}
}
client.focused #4E9C00 #4E9C00 #FFFFFF #FFFFFF
client.focused_inactive #1B3600 #1B3600 #888888 #FFFFFF
client.unfocused #333333 #333333 #888888 #FFFFFF
client.urgent #C20000 #C20000 #FFFFFF #FFFFFF
Offline
You have the arrow keys bound 3 times in the i3 config and the uo&down arrows are also bound in urxvt.
Comment out all the keybinds relating to the arrow keys & see if the problem goes away.
Offline
the behaviour still remains.
if i inser any character the window will not close ever after that. it's only if the very first input to the window is either up/down.
Offline
# loadkeys fi Invalid argument Invalid argument # ls /usr/share/kbd/keymaps/i386/qwerty/fi.map.gz /usr/share/kbd/keymaps/i386/qwerty/fi.map.gz
i get no öä on terminals, browsers are unaffected. any info i need to post for you?
The `loadkeys` command only works from the console (TTY) -- is that where you're running it from?
What is the output of:
localectl list-keymaps|grep fi
localectl status
cat /etc/vconsole.conf
Offline
of course, loadkeys problem solved, thanks
localectl list-keymaps|grep fi
fi
mac-fi-latin1
se-fi-ir209
se-fi-lat6
sunt4-fi-latin1
sunt5-fi-latin1
localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: fi-latin9
X11 Layout: n/a
cat /etc/vconsole.conf
KEYMAP=fi-latin9
FONT=Lat2-Terminus16
cat /etc/X11/xorg.conf.d/10-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "fi"
Option "XkbModel" "pc104"
EndSection
Offline
Good stuff.
I haven't a clue about the rxvt-unicode issue though, hopefully somebody else will.
Offline
oh sorry, i meant that i was wrong to run loadkeys from the terminal. running it in a tty does indeed solve the character issue. the issue is still there for terminals
Offline
i really can't figure out what i've done to cause this. on tty "sudo loadkeys fi" does not give me the correct keymap. user root can get the "fi" keymap no problem. it's a bit weird to me that i can get keys Ö & Ä on google chrome but not on urxvt.
Last edited by erno (2015-01-07 16:13:14)
Offline
Have you made changes to ~/.inputrc perhaps? Assuming bash. But your configs look pretty complex, try without them or a new user.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
i don't have .inputrc at all. some more info: login as root on tty2 and i have the correct layout. doing "su user" i get the correct layout. but logging in as user doesn't give the correct layout.
Offline
What is the content of ~/.bash_profile and ~/.bashrc?
Offline
.bash_profile is empty
.bashrc
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
i used zsh until i switched to fish a couple of months ago. this problem started happening just a few days ago.
Offline
this problem started happening just a few days ago.
So what changed in your system just before then?
Any updates?
Offline
cat /var/log/pacman.log | grep rxvt
[2014-06-17 14:52] [PACMAN] Running 'pacman -S rxvt-unicode'
[2014-06-17 14:52] [PACMAN] installed rxvt-unicode-terminfo (9.20-2)
[2014-06-17 14:52] [PACMAN] installed rxvt-unicode (9.20-2)
[2014-09-24 15:16] [PACMAN] upgraded rxvt-unicode-terminfo (9.20-2 -> 9.20-3)
[2014-09-24 15:16] [PACMAN] upgraded rxvt-unicode (9.20-2 -> 9.20-3)
[2014-10-15 03:11] [PACMAN] Running 'pacman -S urxvt-perls'
[2014-10-15 03:11] [PACMAN] installed urxvt-perls (2.1-1)
[2015-01-01 22:55] [ALPM] upgraded rxvt-unicode-terminfo (9.20-3 -> 9.21-1)
[2015-01-01 22:55] [ALPM] upgraded rxvt-unicode (9.20-3 -> 9.21-1)
[2015-01-05 02:12] [PACMAN] Running '/usr/bin/pacman -U /temp/build/urxvt-font-size-git/urxvt-font-size-git-16-1-any.pkg.tar.xz'
[2015-01-05 02:12] [ALPM] installed urxvt-font-size-git (16-1)
[2015-01-05 02:12] [ALPM-SCRIPTLET] ==> see /usr/share/doc/urxvt-font-size-git/README.markdown
[2015-01-05 02:23] [PACMAN] Running '/usr/bin/pacman -U /temp/build/urxvt-vtwheel/urxvt-vtwheel-0.3-1-any.pkg.tar.xz'
[2015-01-05 02:23] [ALPM] installed urxvt-vtwheel (0.3-1)
cat /var/log/pacman.log | grep fish
[2015-01-07 17:16] [PACMAN] Running 'pacman -U fish-shell-git-2:2.1.1.r1166.g70a99e4-1-x86_64.pkg.tar.xz'
[2015-01-07 17:16] [ALPM] upgraded fish-shell-git (2:2.1.1.r1141.g46cd89c-1 -> 2:2.1.1.r1166.g70a99e4-1)
i wonder if these issues are relevant:
changing volume in cmus takes more than 10 seconds to have an effect
weechat using mouse-enable: doing gestures works funny - the first few don't do anything, then gesture to left starts to work and a few swipes after that it starts to work towards right too
Offline
And if you remove these lines from your .Xresources?
URxvt.keysym.C-Up: perl:font-size:increase
URxvt.keysym.C-Down: perl:font-size:decrease
Offline
that does fix the weechat mouse behaviour! nice. i'll let weechat dev know.
the keymap issue is still a mystery.
edit: in fact i had somehow removed these lines
URxvt.iso14755: false
URxvt.iso14755_52: false
so no need to report anything...
Last edited by erno (2015-01-07 20:48:09)
Offline
@Alad did suggest removing (or renaming) all the config files -- did you try that?
Offline
i added a new user and that fixed the "terminal closing on up/down" -issue but not the keymap problem
Offline
the keymap problem
Post the output of:
setxkbmap -print -verbose 10|grep layout
Offline
layout: fi
Offline
Ergo the problem is that the terminal can't display the characters -- your keymap is set correctly.
EDIT: Try a different font or a different terminal emulator.
Last edited by Head_on_a_Stick (2015-01-07 21:50:30)
Offline
alright!
if i open uxterm and run urxvtc from there the problem goes away.
doing the same with xterm the problem's there.
what does this tell you? i'd really like to keep using rxvt-unicode.
Offline
Pages: 1