Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Tabbed xterm with suckless' "tabbed"

Posted 11-02-2018 at 09:40 PM by the dsc

Just found about it today.

With the program "tabbed" you can put xterm (maybe some other stuff, or similar terminals specifically, haven't examined it more than that) on a tabbed interface on Openbox (on Fluxbox anything can be tabbed with no additional tools...).

Just by issuing it as such:

tabbed -c xterm -into

I found useful to add this to .bashrc:

cmdline="$(tr -d '\0' </proc/$PPID/cmdline)" 
[[ "$cmdline" == *"into"* ]] &&  echo -e "Press Ctrl+Shift+Enter to open a new tab and Ctrl+Q to close a tab\n"
unset cmdline
Because apparently you can't change the keybindings, at least not without recompiling or doing some humongous hack-job, probably far worse than editing and recompiling it.

Found about "tabbed" here:

A xterm opened that way won't be affected by Openbox' "applications" configurations with name and class "xterm", it would need to be "tabbed", which may start to become messy if one uses it for lots of things. But apparently there's some command/flag that allows you even to set-up some different name and/or class "xproperties".
Posted in Uncategorized
Views 1544 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 07:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration