Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't access Terminal in Openbox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pipal
n00b
n00b


Joined: 14 Jul 2010
Posts: 39

PostPosted: Sun Aug 15, 2010 8:10 pm    Post subject: Can't access Terminal in Openbox Reply with quote

I am trying to configure my menu in openbox and I have just installed obconf with the instructions found on this page:

http://www.gentoo.org/doc/en/openbox.xml

I am at this point of the page: 'Code Listing 2.8: Installing ObConf'

So I have done:

Code:
emerge obconf


The handbook tells me to 'open the configurator by typing obconf in the terminal.'.
The problem is that when i go to my desktop:

Code:
startx


All I have is a black screen and the mouse cursor and if right click there is a menu but can't open the terminal from there.

How do I get to configure my menu with obconf if I can't use my terminal?
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Mon Aug 16, 2010 4:31 am    Post subject: Reply with quote

Add it to xinitrc.
Back to top
View user's profile Send private message
Pipal
n00b
n00b


Joined: 14 Jul 2010
Posts: 39

PostPosted: Wed Aug 18, 2010 9:59 pm    Post subject: Reply with quote

sebaro wrote:
Add it to xinitrc.


What is the command for adding it to xinitrc?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Aug 18, 2010 10:04 pm    Post subject: Reply with quote

It is ~/.xinitrc and you have to put exec openbox-session into it. Last time I tried obconf it didn't work, I'm managing Openbox by hand myself. Lots of good info about Openbox can be found in Arch Linux wiki.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Aug 18, 2010 10:36 pm    Post subject: Reply with quote

Within right click menu on desktop, can you open a file manager like pcmanfm, krusader, thunar, or nautilus? Within these file managers you can open up a terminal. If you used the command below, you should have a menu entry for the installed terminals on your system within right click menu in openbox:
Code:

mmaker -v -f OpenBox3

Another way you can add
Code:

       <menu id="xdg-menu" label="xdg" execute="obm-xdg"/>

into your ~/.config/openbox/menu.xml file. Then you can see a new menu within right click called "xdg". under it you can access the terminals on your system.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"


Last edited by keenblade on Wed Aug 18, 2010 10:54 pm; edited 4 times in total
Back to top
View user's profile Send private message
rezrey
n00b
n00b


Joined: 24 Dec 2009
Posts: 6
Location: Koekelare, Belgium

PostPosted: Wed Aug 18, 2010 10:44 pm    Post subject: Reply with quote

Quote:
How do I get to configure my menu with obconf


you can not configure the menu with obconf,only the looks and the behaviour of openbox

copy /etc/xdg/openbox/menu.xml to your ~/.config/openbox/menu.xml
this is a default menu which you can edit

also...other than xterm,have you emerged an other `terminal` ?
Back to top
View user's profile Send private message
Pipal
n00b
n00b


Joined: 14 Jul 2010
Posts: 39

PostPosted: Wed Aug 18, 2010 11:32 pm    Post subject: Reply with quote

keenblade wrote:
Within right click menu on desktop, can you open a file manager like pcmanfm, krusader, thunar, or nautilus? Within these file managers you can open up a terminal. If you used the command below, you should have a menu entry for the installed terminals on your system within right click menu in openbox:
Code:

mmaker -v -f OpenBox3

Another way you can add
Code:

       <menu id="xdg-menu" label="xdg" execute="obm-xdg"/>

into your ~/.config/openbox/menu.xml file. Then you can see a new menu within right click called "xdg". under it you can access the terminals on your system.


When I right click on my desktop I don't have any of the filemanager you have mentioned, but I do have xterm (under shell)
When I click the terminal won't open.

I tried to do what you suggested;
Code:

mmaker -v -f OpenBox3


and I get this at the end:

Code:

  no terminal emulator specified; will use the default
no suitable terminal emulator found


When I went to add:
Code:

       <menu id="xdg-menu" label="xdg" execute="obm-xdg"/>

into my:
Code:
nano -w /etc/xdg/opennbox/menu.xml


I cannot see any menu called 'xdg' when I right click?
Is there any specific point of the menu where I have to add that?

rezrey wrote:
also...other than xterm,have you emerged an other `terminal` ?


I did try to emerge the terminal is this the correct command?

Code:
emerge terminal
Back to top
View user's profile Send private message
rezrey
n00b
n00b


Joined: 24 Dec 2009
Posts: 6
Location: Koekelare, Belgium

PostPosted: Thu Aug 19, 2010 12:08 am    Post subject: Reply with quote

edit ~/.config/openbox/menu.xml , not the /etc/xdg/

there are several terminals , x11-terms/terminal is one of them

you are maybe using the default openbox-menu and have not emerged the one it says in the menu
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Thu Aug 19, 2010 5:06 am    Post subject: Reply with quote

Add xterm or other term to ~/.xinitrc
Code:
openbox-session & xterm

than you'll have an terminal when you start openbox.
Back to top
View user's profile Send private message
Pipal
n00b
n00b


Joined: 14 Jul 2010
Posts: 39

PostPosted: Fri Aug 20, 2010 8:57 pm    Post subject: Reply with quote

Ok,

I have done:

Code:

emerge xterm


and then I added it, as suggested to ~/.xinitrc

Code:

echo "exec xterm" >> ~/.xinitrc


I now have a working terminal on my openbox. Thank you all ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum