You are not logged in.

#1 2010-05-29 18:19:10

Galera
Member
From: Argentina
Registered: 2009-09-08
Posts: 31

[Openbox - autostart.sh] Autostart terminal on "X" desktop.

Hi, I don't know how to program the autostart.sh to run a program on a specific virtual desktop.
I have 5 desktops, (1) Internet & Editing, (2) Multimedia, (3) Virtualization, (4) Games, (5) Terminal. What I want to do is that when X starts, autostart an Xfce-Terminal on desktop 5 (Terminal) under certain properties, that runs whithout borders, whithout menu bar, and in a "maximized" window, so that in that desktop I'll always have a terminal to use, without having to start it on my own. What should I do?

This is my autostart.sh :

# Programas que corren una ves que Openbox se halla iniciado: 
nitrogen --restore &
sleep 10 conky &
(sleep 2 && pypanel) &

I hope you guys can understand me, my english is very poor.


--
(1714)

Offline

#2 2010-05-29 18:29:58

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: [Openbox - autostart.sh] Autostart terminal on "X" desktop.

Hi.

I start the programms "normally" with autostart.sh and put them on a specific desktop (and so on) with rc.xml (similar to http://wiki.archlinux.org/index.php/Ope … ackground) .

Maybe you need to start the terminal with a "special name" (if you just want to start the autostart-terminal on desktop 5).


ZaQ

Offline

#3 2010-05-29 18:55:03

Galera
Member
From: Argentina
Registered: 2009-09-08
Posts: 31

Re: [Openbox - autostart.sh] Autostart terminal on "X" desktop.

Thanks a lot ZaQ, I did it.
There's only one thing, I cannot disable "menu bar" from terminal (though I can do it manually). Is there a way to set it by default?.


--
(1714)

Offline

#4 2010-05-29 19:04:19

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: [Openbox - autostart.sh] Autostart terminal on "X" desktop.

http://openbox.org/wiki/Help:Applications

  <application class="hereyouterminal">
    <decor>no</decor>
  </application>

Last edited by Roline (2010-05-29 19:05:53)


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

Board footer

Powered by FluxBB