You are not logged in.

#1 2015-10-11 19:08:07

tranjeeshan
Member
Registered: 2015-10-02
Posts: 69

[SOLVED] How to change default terminal emulator in openbox?

Hi,
I want to make rxvt-unicode (urxvt) the default terminal in openbox. How do I do that?

Last edited by tranjeeshan (2015-10-11 19:18:29)


"Unix is simple. It just takes a genius to understand its simplicity."  - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy

Offline

#2 2015-10-11 19:09:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

sudo update-alternatives --config x-terminal-emulator

Offline

#3 2015-10-11 19:17:58

tranjeeshan
Member
Registered: 2015-10-02
Posts: 69

Re: [SOLVED] How to change default terminal emulator in openbox?

Head_on_a_Stick wrote:
sudo update-alternatives --config x-terminal-emulator

It did the job. Thanks. smile


"Unix is simple. It just takes a genius to understand its simplicity."  - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy

Offline

#4 2015-10-11 19:20:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

You're welcome smile

urxvt FTW!

I pushed for it as the default in BL but no joy...

Offline

#5 2015-10-11 20:36:55

dolly
Miss Mixunderstand
From: /lab701
Registered: 2015-10-03
Posts: 490

Re: [SOLVED] How to change default terminal emulator in openbox?

Thanks, one thing less on my to do list. smile

Offline

#6 2015-10-11 21:44:02

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: [SOLVED] How to change default terminal emulator in openbox?

urxvt FTW!

[OffTopicMode] ON

Almost +1. The only reason why I don't fully switch to it as my sole terminal is when used as drop-down not hiding when losing focus. If anyone knows a way, please, share.

[OffTopicMode] OFF

Offline

#7 2015-10-11 22:12:03

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] How to change default terminal emulator in openbox?

snap, urxvt doesn't provide dropdown mode ootb (i guess you mean something like guake).
it is possible to approximate sth like that with openbox configuration (application section in rc.xml). is that what you are talking about?

Offline

#8 2015-10-11 23:09:45

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

Head_on_a_Stick wrote:

urxvt FTW!

I pushed for it as the default in BL but no joy...

My favourite too, but Terminator seemed to be the crowd-pleaser...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2015-10-11 23:11:43

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: [SOLVED] How to change default terminal emulator in openbox?

It is actually not a bad idea to provide an xterm or equivalent for those rare cases when you can get an xserver up with a terminal to fix something you broke. I would only mention it because I have done it, lol.

Offline

#10 2015-10-11 23:28:25

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: [SOLVED] How to change default terminal emulator in openbox?

Hydrogen doesn't include xterm OOTB?  (Reboots into Hydrogen - nope.)  Was this an oversight on our part or a deliberate choice?  At only ~2MB (including a couple dependencies) I think it should be included in future builds.

EDIT:  ...and I see straight rxvt is only 621KB and has no dependencies...

Last edited by pvsage (2015-10-11 23:33:00)


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#11 2015-10-12 00:14:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

pvsage wrote:

Hydrogen doesn't include xterm OOTB?  (Reboots into Hydrogen - nope.)  Was this an oversight on our part or a deliberate choice?

I thought it came automatically via xorg, but I now see that xorg's dependency is on xterm OR x-terminal-emulator, which is satisfied by terminator. I guess that means that if terminator wasn't installed then xorg would demand to have some other terminal available, xterm by default.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#12 2015-10-12 00:20:32

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to change default terminal emulator in openbox?

Here's someone else who rebooted into a fresh BL to check....nope, no xterm, which is a surprise!

I think we definitely should have an alternative light terminal available.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#13 2015-10-12 00:39:05

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

But if terminator wasn't around, xorg would fail to install without some terminal. It would call for xterm automatically, wouldn't it? Or are you thinking of the case where someone uninstalls terminator without installing something else? In that case I guess xorg would be uninstalled too.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#14 2015-10-12 00:45:13

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: [SOLVED] How to change default terminal emulator in openbox?

^ I was thinking of cases such as the one tknomanzr mentioned in post #9.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#15 2015-10-12 01:02:17

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: [SOLVED] How to change default terminal emulator in openbox?

I see what you are referring to johnraff. I will leave it up to you all. Of course, anyone capable of restoring a system via a simple xserver + xterm with no window managers, etc is also probably capable of getting to a console and getting xterm if needed. I can't remember the specific instance that came in useful for me but it did likely save me a reinstall. I just know it was Crunchbang's default to install both an xterm and terminator.

Offline

#16 2015-10-12 06:06:20

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: [SOLVED] How to change default terminal emulator in openbox?

ohnonot wrote:

snap, urxvt doesn't provide dropdown mode ootb (i guess you mean something like guake).
it is possible to approximate sth like that with openbox configuration (application section in rc.xml). is that what you are talking about?

I mean urxvtq, sorry. Yes, quake-like. Tried other ways/scripts to achieve urxvt drop-down, but all do basically the same (They do window sizing/positioning, but miss the iconify-hide part when losing focus. They just toggle). So back to urxvtq.

Last edited by Snap (2015-10-12 06:25:55)

Offline

#17 2015-10-12 07:10:32

dolly
Miss Mixunderstand
From: /lab701
Registered: 2015-10-03
Posts: 490

Re: [SOLVED] How to change default terminal emulator in openbox?

damo wrote:

I think we definitely should have an alternative light terminal available.

Yes please, since it is such an important application.  smile

Offline

#18 2015-10-12 07:23:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

There is no need for two terminal emulators.

Why would xterm be needed?

Surely terminator can be used for any situation in which xterm must be employed?

Offline

#19 2015-10-12 08:12:29

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: [SOLVED] How to change default terminal emulator in openbox?

^Yes I'm still trying to envisage the situation in which a BL system has a working X but no terminator. xorg depends on (not just recommends) xterm | x-terminal-emulator .


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#20 2015-10-12 12:33:13

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: [SOLVED] How to change default terminal emulator in openbox?

^ Is it possible to bork Python libs and still have a working X?  If so, a native X term like xterm or rxvt could be a viable fallback.  (Terminator is a Python-based terminal emulator?)

EDIT:  At any rate, I think we've forked this discussion to the point of making a separate thread.

Last edited by pvsage (2015-10-12 12:35:47)


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

Board footer

Powered by FluxBB