LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


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 10: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:

Code:
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: https://askubuntu.com/questions/5226...tting-and-tabs

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 390 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:31 PM.

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