You are not logged in.
Hi!
I prefer to use terminal in tabbed mode. I have for some time in vain, searched the webb how to enable tabbed mode in urxvt.
I have not got simple tricks like replacing the line "URxvt.perl-ext-common: default,matcher" with "URxvt.perl-ext-common: default,matcher,tabbed" in .Xresources, and tips on https://wiki.archlinux.org/index.php/Rx … and_tricks, to work.
So how to fix tabbed urxvt terminal?
Last edited by rbh (2020-07-17 18:26:58)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Urxvt has perl extensions, user ones seem to live in .urxvt/ext, so for example
https://github.com/gryf/tabbed
a. is installed by copying 'tabbed' into .urxvt/ext
b. changing your .Xresources, I've added this
! Tabbed
URxvt.perl-ext: tabbed
URxvt.tabbed.new-button: false
URxvt.tabbed.tab-numbers: false
! Tabbed colors
URxvt.tabbed.tabbar-fg: 15
URxvt.tabbed.tabbar-bg: 3
URxvt.tabbed.tab-fg: 8
URxvt.tabbed.tab-bg: 0
URxvt.tabbed.active-fg: 1
URxvt.tabbed.actives-fg: 5
URxvt.tabbed.actived-fg: 4
c. refreshing the config
xrdb ~/.Xresources
d. Restart urxvt
edit: I see now there is actually another default 'tabbed' included in
/usr/lib/x86_64-linux-gnu/urxvt/perl/tabbed
and I can enable that by (1ts removing any traces of previous extension)
URxvt.perl-ext-common: default,matcher,selection-to-clipboard,tabbed
and goto c.
Last edited by brontosaurusrex (2020-07-17 16:36:19)
Online
I don't see any reason why the latter should not work.
I just tried:
add the line "URxvt*perl-ext-common: tabbed" to my ~/.Xresources
xrdb ~/.Xresources
restart urxvt
=> profit!
Offline
Urxvt has perl extensions, user ones seem to live in .urxvt/ext,
Ah, see now that i had read sloppy. I had copied the script to ~/.urxvt only! Now it worked for a short while. If I by misstake enterd Shift up by misstake, the terminal hang. So, I tried solution two instead. I renamed ~/.urxvt to ~/.urxvt.bak. In ~/.Xresources, deleted the code:
! Tabbed
URxvt.perl-ext: tabbed
URxvt.tabbed.new-button: false
URxvt.tabbed.tab-numbers: false
! Tabbed colors
URxvt.tabbed.tabbar-fg: 15
URxvt.tabbed.tabbar-bg: 3
URxvt.tabbed.tab-fg: 8
URxvt.tabbed.tab-bg: 0
URxvt.tabbed.active-fg: 1
URxvt.tabbed.actives-fg: 5
URxvt.tabbed.actived-fg: 4
and added the line "URxvt.perl-ext-common: default,matcher,selection-to-clipboard,tabbed" instead. When refreshing config I got error "xrdb: "URxvt.perl-ext-common" on line 45 overrides entry on line 10". So, I went back to solution 1. Then I get error: "xrdb: colon missing on line 10, ignoring line"
Also tried to enable /usr/lib/x86_64-linux-gnu/urxvt/perl/tabbedm with both the line "URxvt.perl-ext-common: default,matcher,selection-to-clipboard,tabbed", followed by the tabbed code from b. Same error.
So, I'm still without tabs in urxvt...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Did you add the missing colon?
Offline
Did you add the missing colon?
I would if I known where to add it...
Searched for and did not find any "URxvt.perl-ext-common*" or "URxvt*".
Line 10 in .Xresources is empty. File /usr/bin/xrdb, is binary.
I am lost...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Start with empty .urxvt/ext and blank .Xresources and add stuff and see where it breaks.
Online
After a hard days work, I laid down in the TV-sofa with the newly bought Lenovo T440 (used with 13 GB ram for 100£). I had worked with tabbed tabbed rxvt-unicode on that pc för some days. After upstart, I found that tabbed urxvt worked!
The last thing I had done was adding a new file: ~/.Xdefaults, containing:
!TABS
URxvt.perl-ext-common : default,tabbed
URxvt.tabbed.tabbar-fg: 2
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 3
URxvt.tabbed.tab-bg: 0
And in ~/.Xresources, replaced line "URxvt.perl-ext-common: default,matcher" with "URxvt.perl-ext-common: default,matcher,tabbed".
So I copied the files over to the stubborn workstation and voila, tabbed terminal there to!
Solved...
Last edited by rbh (2020-07-17 18:26:08)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Great!
I'm pretty sure you need only either ~/.Xdefaults or ~/.Xresources.
Offline
I'm pretty sure you need only either ~/.Xdefaults or ~/.Xresources.
Tested to rename ~/.Xdefaults to ~/.Xdefaults.bak, pasted the lines in the file into ~/.Xresources. Updatet configs and got error:
xrdb: "URxvt.perl-ext-common" on line 51 overrides entry on line 44
So, maybe it is unnessecary, but just now I can not solve it without both.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
I'm pretty sure you need only either ~/.Xdefaults or ~/.Xresources.
You were right!
I erased the line "URxvt.perl-ext-common : default,tabbed" in ~/.Xresources and deleted ~/.Xdefaults.
So, the affected lines in ~/.Xresources can be:
!TABS
URxvt.tabbed.tabbar-fg: 2
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 3
URxvt.tabbed.tab-bg: 0
! Clickble URLs
! URxvt.perl-ext-common: default,matcher
URxvt.perl-ext-common: default,matcher,tabbed
URxvt.url-launcher: /usr/bin/x-www-browser
URxvt.matcher.button: 3
Edit:
I saw now that in ~/.Xresources, commenting is done with a bang (!), not a pipe (|) as I have used...
I have changed the code above for line "URxvt.perl-ext-common: default,matcher"
Last edited by rbh (2020-07-18 09:28:13)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Nice and what are the hotkeys for opening a tab and closing them or even moving them? Can't figure that one.
Real Men Use Linux
Offline
Nice and what are the hotkeys for opening a tab and closing them or even moving them? Can't figure that one.
Shift arrow down opens new tab. Shift left/right moves to other tab. Exit to close tab. Move / reorder tabs are not possible, I think.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
If you're looking for a good terminal with tab support you should also check out kitty. It has tabs (and panes, and a lot of other stuff) built in and is using OpenGL; for me it's faster than URXVT and does not have the ludicrous limitation of approximating 16bit RGB colour space using 256 colours. https://sw.kovidgoyal.net/kitty/#
Offline
a good terminal with tab support you should also check out kitty. It has tabs (and panes, and a lot of other stuff) built in and is using OpenGL
Thanks. Had a quick look at it. A little surprising is that it takes duuble som much memory than Lxterminal.
but on newer machines(<10 years) with more RAM, it could be wort it. Specially to enable startup sessions is nice.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
DeepDayze wrote:Nice and what are the hotkeys for opening a tab and closing them or even moving them? Can't figure that one.
Shift arrow down opens new tab. Shift left/right moves to other tab. Exit to close tab. Move / reorder tabs are not possible, I think.
Ahh got it working...forgot to add "tabbed" to the URxvt.perl-ext-common extension parameters. Yes alas can't move the tabs around.
Real Men Use Linux
Offline