Hello,

I am using Turkish-F keyboard and I have customized my keyboard with 
.Xmodmap file to access frequently used symbols in programming which are 
difficult to reach.

My settings works as expected for years. I have recently started to use 
tmux heavily.

When I open a new terminal, my settings are enabled and active as expecter, 
however  as soon as I start tmux with in the terminal, I lose my settings 
or my settings corrupts.

Following is my .tmux.conf file 

# activate mouse support
set -g mouse on

# start window index at 1 instead of 0
set -g base-index 1

setw -g pane-base-index 1

# highlight window when it has new activity
setw -g monitor-activity on
set  -g visual-activity  on

# re-number windows when one is closed
set -g renumber-windows on

set -g default-command "${SHELL}" 

set -g set-clipboard on 

set-window-option -g mode-keys vi 
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel 'xsel -b' 


My .Xmodmap settings are as follows. In these settings basically, I change 
the positions of Alt and AltGr and changing the positions of some symbols. 

keycode  31 = n N n N less less VoidSymbol
keycode  32 = h H h H greater greater degree
keycode  34 = q Q q Q at at 
keycode  43 = t T t T U20BA VoidSymbol U20BA VoidSymbol t T U20BA VoidSymbol
keycode  44 = k K k K braceleft braceleft braceleft braceleft k K braceleft 
braceleft
keycode  45 = m M m M bracketleft bracketleft bracketleft bracketleft m M 
bracketleft bracketleft
keycode  46 = l L l L bracketright bracketright bracketright bracketright l 
L bracketright bracketright
keycode  47 = y Y y Y braceright braceright braceright braceright y Y 
braceright braceright


remove mod1 = Alt_L Meta_L 
remove mod5 = ISO_Level3_Shift Mode_switch
keysym Alt_L Meta_L = ISO_Level3_Shift Mode_switch
keysym ISO_Level3_Shift Mode_switch = Alt_L Meta_L
add mod1 = Alt_L Meta_L
add mod5 = ISO_Level3_Shift Mode_switch


As soon as I start tmux in the terminal these settings are gone in tmux. 
After I exit from the tmux, the settings have also gone for the terminal. I 
have to manually apply the command xmodmap ~/.Xmodmap to recover the 
setting for the current terminal or in tmux. 

Normally I apply  xmodmap ~/.Xmodmap in bash_profile. But after having 
these problems, I added xmodmad .Xmodmap command in the end of the .bashrc 
file. 

Any insight, help much appreciated.i

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/e5cab32b-164d-447a-9576-bf3158d6dcccn%40googlegroups.com.

Reply via email to