View previous topic :: View next topic |
Author |
Message |
Pipal n00b
Joined: 14 Jul 2010 Posts: 39
|
Posted: Sun Aug 15, 2010 8:10 pm Post subject: Can't access Terminal in Openbox |
|
|
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:
The handbook tells me to 'open the configurator by typing obconf in the terminal.'.
The problem is that when i go to my desktop:
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 |
|
|
sebaro Veteran
Joined: 03 Jul 2006 Posts: 1141 Location: Romania
|
Posted: Mon Aug 16, 2010 4:31 am Post subject: |
|
|
Add it to xinitrc. |
|
Back to top |
|
|
Pipal n00b
Joined: 14 Jul 2010 Posts: 39
|
Posted: Wed Aug 18, 2010 9:59 pm Post subject: |
|
|
sebaro wrote: | Add it to xinitrc. |
What is the command for adding it to xinitrc? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Wed Aug 18, 2010 10:04 pm Post subject: |
|
|
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 |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Wed Aug 18, 2010 10:36 pm Post subject: |
|
|
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 |
|
|
rezrey n00b
Joined: 24 Dec 2009 Posts: 6 Location: Koekelare, Belgium
|
Posted: Wed Aug 18, 2010 10:44 pm Post subject: |
|
|
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 |
|
|
Pipal n00b
Joined: 14 Jul 2010 Posts: 39
|
Posted: Wed Aug 18, 2010 11:32 pm Post subject: |
|
|
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?
|
|
Back to top |
|
|
rezrey n00b
Joined: 24 Dec 2009 Posts: 6 Location: Koekelare, Belgium
|
Posted: Thu Aug 19, 2010 12:08 am Post subject: |
|
|
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 |
|
|
sebaro Veteran
Joined: 03 Jul 2006 Posts: 1141 Location: Romania
|
Posted: Thu Aug 19, 2010 5:06 am Post subject: |
|
|
Add xterm or other term to ~/.xinitrc
Code: | openbox-session & xterm |
than you'll have an terminal when you start openbox. |
|
Back to top |
|
|
Pipal n00b
Joined: 14 Jul 2010 Posts: 39
|
Posted: Fri Aug 20, 2010 8:57 pm Post subject: |
|
|
Ok,
I have done:
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 |
|
|
|