mina86/urxvt-tabbedex

Can't get it to work with urxvt-unicode v9.30

Closed this issue · 2 comments

Despite all my attempts, I haven't managed to used tabbedex with urxvt-unicode v9.30.

I installed it with the script provided here and everything went fine (after I set my locale, the installation script showed me that I forgot that), the files are where they should be in ~/.urxvt/ along with the symlinks, but still no luck even though tabbedex is epxlicitly listed as Perl extension in my ~/.Xresources and I reloaded it with xrdb ~/.Xresources. Even urxvt -pe tabbedex does not allow me to create new tabs.

I have tried with or without (i.e., just loading tabbedex) custom options in my ~/.Xresources, but still no dice. If I try to use tabbed, it works, but I am getting no luck with tabbedex. Is there something obvious I might be missing? The device is an aarch64 device, if that matters, but I doubt it does since the make step went fine.

Turns out the issue might be due to a conflict with the keyboard-select extension:

---
 92 ! perl extensins
 93 URxvt.perl-ext-common:  default,clipboard,url-select,keyboard-select,resize-font,tabbedex
 94
 95 ! macros for clipboard and selection
 96 URxvt.keysym.C-Escape:  perl:keyboard-select:activate
 97 URxvt.keyboard-select.clipboard: true
 98 URxvt.keysym.C-slash:   perl:keyboard-select:search
 99 URxvt.keysym.C-u:       perl:url-select:select_next
100 URxvt.urlLauncher:      firefox
101 URxvt.underlineURLs:    true
102 URxvt.urlButton:        1

I don't think I set keybindings that should be used by tabbedex, yet I get some useful output when I use xrdb only after I manually add the tabbedex keybindings:

133 ! Tabs (see https//github.com/mina86/urxvt-tabbedex to install tabbedex)
134 URxvt.tabbedex.tabbar-fg:  2
135 URxvt.tabbedex-tabbar-bg:  0
136 URxvt.tabbedex.tab-fg:     0
137 URxvt.tabbedex.tab-bg:     0
138 URxvt.tabbedex.autohide:   yes
139 URxvt.tabbedex.new-button: no
140 URxvt.tabbedex.title:      no
142 URxvt.tabbedex.no-tabbedex-keys: yes
143 URxvt.keysym.Shift-Left:    tabbedex:prev_tab
144 URxvt.keysym.Shift-Right:   tabbedex:next_tab
145 URxvt.keysym.Shift-Down:    tabbedex:new_tab
146 URxvt.keysym.Shift-Up:      tabbedex:rename_tab
147 URxvt.keysym.Control-Left:  tabbedex:move_tab_left
148 URxvt.keysym.Control-Right: tabbedex:move_tab_right

After doing so, xrdb warns me of the overrides and then I can create tabs with tabbedex:

xrdb:  "URxvt.keysym.Shift-Down" on line 116 overrides entry on line 96
xrdb:  "URxvt.keysym.Shift-Down" on line 120 overrides entry on line 116
xrdb:  "URxvt.keysym.Shift-Up" on line 121 overrides entry on line 95
xrdb:  "URxvt.keysym.Control-Left" on line 122 overrides entry on line 101
xrdb:  "URxvt.keysym.Control-Right" on line 123 overrides entry on line 100

The keybindings conflicts with lines 95, 96, 100 and 101 are not clear to me, though.

I think the reported lines don't take comments into account, and in fact the problematic lines were elsewhere and corresponded to keybindings of another extension. Sorry for the noise.