« Back to the arch btw Forum

Terminal emulator on desktop (Openbox)

terminal-desktop2


terminal-desktop1


I did this before to have a terminal emulator running as part of the desktop. It was sort of cool at the time. And maybe useful.


In order to do this you need to add aliases to the .bashrc file (in this case I'm using Terminator):



alias terminator_desktop='terminator_desktop --profile Desktop -b --geometry=555x393+12+13 &'

alias terminator_htop='terminator_htop --profile Desktop -b --geometry=655x369+455+400 &'


In this example there's a regular terminal and a terminal set to automatically launch htop.


The first two numbers in the geometry flag are the dimensions, the next 2 position.


In the Openbox autostart file set to run:



terminator_desktop --profile Desktop -b --geometry=555x393+12+13 &

terminator_htop --profile Desktop -b --geometry=655x369+455+400 -x htop &


In the openbox rc.xml file:

<application name="terminator_desktop">

      <focus>yes</focus>

      <layer>below</layer>

      <desktop>all</desktop>

      <skip_taskbar>yes</skip_taskbar>

    </application>

    <application name="terminator_htop">

      <focus>yes</focus>

      <layer>below</layer>

      <desktop>all</desktop>

      <skip_taskbar>yes</skip_taskbar>

    </application>


Report Topic

0 Replies