SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-08-09 23:19:33

psyco430404
#! Die Hard
From: Las Vegas, Nevada
Registered: 2011-07-04
Posts: 804

Openbox 3.5 New Features Setup

=================================================================
Setting up Openbox 3.5 - Can be installed over 3.4
=================================================================
If you don't already have it hop over and install Openbox 3.5

http://openbox.org/wiki/Openbox:Download

download the source and then extract it and cd into the Directory

 cd ~/downloads/openbox-3.5.0

then you'll need to build it and install it, there's a few ways to do this.

For 32bit

1) ./configure --prefix=/usr --sysconfdir=/etc
...creates the make file...

2) make
...builds it for install...

3) sudo make install
...installs the new Openbox...

For 64bit

1) ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
...creates the make file...

2) make
...builds it for install...

3) sudo make install
...installs the new Openbox...

then log out and back in or reboot and you done. Openbox 3.5 is installed and rearing to go. To make sure run this.

openbox --version

should say this

Openbox 3.5.0
Copyright (c) 2008        Mikael Magnusson
Copyright (c) 2003-2006   Dana Jansens

This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

=================================================================
Configuring Menu Icons
=================================================================

Alright this is a two step process involving both the RC.xml and the MENU.xml.

RC.xml = telling openbox you want this feature enabled

MENU.xml = giving icon path to the menu or item

First you need to add this line to your RC.xml in the <menu></menu> Section.

<showIcons>yes</showIcons>

Mine as an example

<menu>
  <file>menu.xml</file>
  <hideDelay>200</hideDelay>
  <middle>no</middle>
  <submenuShowDelay>100</submenuShowDelay>
  <showIcons>yes</showIcons>
  <applicationIcons>yes</applicationIcons>
</menu>

then you need to add icon entries to you Menu.xml

here is a section of mine to serve as an example

       <item icon="/home/psyco430404/.icons/AwOkenDark/converted/terminator.png" label="Terminator">
            <action name="Execute">
                <execute>
                    terminator
                </execute>
            </action>
        </item>
        <item icon="/home/psyco430404/.icons/AwOkenDark/converted/google-chrome.png" label="Google Chrome">
            <action name="Execute">
                <execute>
                    google-chrome
                </execute>
            </action>
        </item>
        <item icon="/home/psyco430404/.icons/AwOkenDark/converted/thunar.png" label="Thunar">
            <action name="Execute">
                <execute>
                    thunar
                </execute>
            </action>
        </item>
        <item icon="/home/psyco430404/.icons/AwOkenDark/converted/leafpad.png" label="Text Editor">
            <action name="Execute">
                <execute>
                    leafpad
                </execute>
            </action>
        </item>
        <item icon="/home/psyco430404/.icons/AwOkenDark/converted/deadbeef.png" label="Deadbeef">
            <action name="Execute">
                <execute>
                    deadbeef
                </execute>
            </action>
        </item>
        <separator label="APPLICATIONS"/>
        <menu icon="/home/psyco430404/.icons/AwOkenDark/clear/128x128/categories/clear/applications-accessories.png" id="accessories" label="Accessories">
            <item label="Evince PDF">
                <action name="Execute">
                    <execute>
                        evince
                    </execute>
                </action>
            </item>
            <item label="Calculator">
                <action name="Execute">
                    <execute>
                        gcalctool
                    </execute>
                </action>
            </item>
            <item label="File Search">
                <action name="Execute">
                    <execute>
                        catfish
                    </execute>
                </action>
            </item>
            <item label="Leafpad">
                <action name="Execute">
                    <execute>
                        leafpad
                    </execute>
                </action>
            </item>
            <item label="Geany">
                <action name="Execute">
                    <execute>
                        geany
                    </execute>
                </action>
            </item>
            <item label="Terminator">
                <action name="Execute">
                    <execute>
                        terminator
                    </execute>
                </action>
            </item>
            <item label="Thunar">
                <action name="Execute">
                    <execute>
                        thunar
                    </execute>
                </action>
            </item>
        </menu>

what specifically you need to look at is the <menu> tag and the <item> tag. you need to add this after the label parameter.

icon="/home/psyco430404/.icons/AwOkenDark/clear/128x128/categories/clear/applications-accessories.png" 

And that is how you do it, any questions feel free to post or pm me.

=================================================================
Screenshot
=================================================================
tOXR0OA    tOXVxcA

Last edited by psyco430404 (2011-08-11 14:11:44)


"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Offline

Help fund CrunchBang, donate to the project!

#2 2011-08-10 02:10:50

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

Thanks for the setup I am stuck on the second step involving the ./configure command. Here is my terminal for you to look at。

nespik@nespik:~/downloads/openbox-3.5.0$ ./configure --prefix=/usr --sysconfdir=/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build type... RELEASE
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for GNU CC... yes
checking for compiler specific flags... -DNDEBUG -DG_DISABLE_ASSERT -fno-strict-aliasing
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sed... (cached) /bin/sed
checking for dirname... /usr/bin/dirname
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.14.0) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

叫我差不多先生。

Offline

#3 2011-08-10 02:14:58

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,928

Re: Openbox 3.5 New Features Setup

@cbdxs - Please use code tags for pasting output and stuff. Also the Openbox website tells you what packages you need:

http://openbox.org/wiki/Help:Installing … and_Debian

You can also see a similar thread was made by someone else:

http://crunchbanglinux.org/forums/topic … ure-error/


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#4 2011-08-10 03:56:57

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

My apologies anonymous.


叫我差不多先生。

Offline

#5 2011-08-10 04:12:35

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: Openbox 3.5 New Features Setup

Is it possible to install seperate versions of openbox on the same machine? I'm not sure that I want to "unstabalize" my laptop.

Offline

#6 2011-08-10 05:25:46

ali
#! Die Hard
Registered: 2010-05-31
Posts: 1,034

Re: Openbox 3.5 New Features Setup

@cbdxs whenever you compile when you get an error like this

No package 'glib-2.0' found

it means that you are missing the dev package named there
just
sudo aptitude search glib
and you might find something like glib-2.0-dev
install that smile and so on

Offline

#7 2011-08-10 05:37:01

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

Well I installed openbox 3.5.0 so it is all good. I just thought ohh I have the previous version must take one step to update to 3.5.0, but that was not the case.


叫我差不多先生。

Offline

#8 2011-08-10 05:41:29

ali
#! Die Hard
Registered: 2010-05-31
Posts: 1,034

Re: Openbox 3.5 New Features Setup

nah, but now the files are all messy since your previous version was overridden

Offline

#9 2011-08-10 05:44:45

gurtid
#! Junkie
From: NEW ZEALAND
Registered: 2011-04-07
Posts: 370

Re: Openbox 3.5 New Features Setup

I need to know if it's worth the hassle . . .

pix or this didn't happen

edit: oh - you posted one psyco. sorry i can't see the images @ work (just placeholders)

Last edited by gurtid (2011-08-10 05:48:23)


all your Base are belong to us

Offline

#10 2011-08-10 05:53:37

ali
#! Die Hard
Registered: 2010-05-31
Posts: 1,034

Re: Openbox 3.5 New Features Setup

gurtid, nice troll quote
on a side note there's not much of an improvement, i really hate the new alt+tab dialog

Offline

#11 2011-08-10 15:27:17

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

I am sure you can change that option to make the alt+tab horizontal ali but I am looking for that


叫我差不多先生。

Offline

#12 2011-08-10 15:40:32

safetycopy
urban legend
From: The Chatsubo
Registered: 2010-04-03
Posts: 1,311

Re: Openbox 3.5 New Features Setup

Is it OK to to build and install this over the top of the OB that comes with #!, or does that need to be removed first?


i wonder if i missed the warning
Skinny Puppy, Love in Vein

Offline

#13 2011-08-10 16:06:43

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

safetycopy wrote:

Is it OK to to build and install this over the top of the OB that comes with #!, or does that need to be removed first?

It can be installed over the previous version.


叫我差不多先生。

Offline

#14 2011-08-10 16:08:19

safetycopy
urban legend
From: The Chatsubo
Registered: 2010-04-03
Posts: 1,311

Re: Openbox 3.5 New Features Setup

^ Good to know - thanks smile


i wonder if i missed the warning
Skinny Puppy, Love in Vein

Offline

#15 2011-08-10 16:11:03

cbdxs
#! Die Hard
Registered: 2011-08-03
Posts: 1,850

Re: Openbox 3.5 New Features Setup

safetycopy wrote:

^ Good to know - thanks smile

No problem safetycopy.


叫我差不多先生。

Offline

#16 2011-08-17 19:46:58

drz
New Member
Registered: 2011-07-21
Posts: 7

Re: Openbox 3.5 New Features Setup

Hi,
Thanks for this smile
I just upgraded to 3.5, but couldn't get icons to show up. I've added this line "<showIcons>yes</showIcons>" to the <menu> section in rc.xml and this is my menu.xml

<item icon="/home/drz/.icons/AwOken/clear/128x128/apps/chromium-browser.png" label="Chromium">
    <action name="Execute">
         <execute>
              x-www-browser
         </execute>
    </action>
</item>

But icons didn't show up. Any thoughts what am i doing wrong here ?

Offline

#17 2011-08-17 23:14:30

psyco430404
#! Die Hard
From: Las Vegas, Nevada
Registered: 2011-07-04
Posts: 804

Re: Openbox 3.5 New Features Setup

drz wrote:

Hi,
Thanks for this smile
I just upgraded to 3.5, but couldn't get icons to show up. I've added this line "<showIcons>yes</showIcons>" to the <menu> section in rc.xml and this is my menu.xml

<item icon="/home/drz/.icons/AwOken/clear/128x128/apps/chromium-browser.png" label="Chromium">
    <action name="Execute">
         <execute>
              x-www-browser
         </execute>
    </action>
</item>

But icons didn't show up. Any thoughts what am i doing wrong here ?

I have a feeling that its the path being wrong some where, what i would do is set your thunar navigation to toolbar style and see the path it shows to the icon and copy that over as the path. And add icon after label just for kicks to see if it matters.


"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Offline

#18 2011-08-24 18:47:51

crunchworksyeay
#! Junkie
Registered: 2011-06-26
Posts: 292

Re: Openbox 3.5 New Features Setup

The openbox changelog claims performance improvements - does anyone feel them ?
Does the vertical list on alt-tab work out for you ?


What is truth? said jesting Pilate; and would not stay for an answer. - Francis Bacon.

Offline

#19 2011-08-24 22:58:38

GuruX
#! Die Hard
Registered: 2009-01-18
Posts: 527

Re: Openbox 3.5 New Features Setup

I like to use checkinstall when ever I compile and install a program. This makes it easy to uninstall later with apt-get. Instead of doing the 'make install' here's how you can use checkinstall.

sudo checkinstall -D make install

Now you have made your own .deb package and installed it.

Offline

#20 2011-08-30 10:07:31

Kuno
#! Die Hard
From: Osnabrück - DE
Registered: 2009-01-09
Posts: 611

Re: Openbox 3.5 New Features Setup

crunchworksyeay wrote:

The openbox changelog claims performance improvements - does anyone feel them ?

Yes! Just installed and have the feeling, all programms load and response quicker. smile

Does the vertical list on alt-tab work out for you ?

I like it better than the old one...

EDIT: Still - though everything works fine - couldn't get the icons to show up in the menu...

Last edited by Kuno (2011-08-30 18:09:16)

Offline

#21 2011-09-15 09:40:43

xmm4n
New Member
Registered: 2011-09-15
Posts: 1

Re: Openbox 3.5 New Features Setup

Kuno wrote:

EDIT: Still - though everything works fine - couldn't get the icons to show up in the menu...

Just install imlib2 development files. It worked for me.

Offline

#22 2011-09-15 09:56:26

sticky
Member
Registered: 2011-09-15
Posts: 16

Re: Openbox 3.5 New Features Setup

crunchworksyeay wrote:

Does the vertical list on alt-tab work out for you ?

I posted this in another thread, but I guess I'll post here too.

I think the vertical tab list can be changed: http://openbox.org/wiki/Help:Actions#NextWindow

You can set the <dialog> option to "icons", although I'm not completely sure, I'm still using openbox 3.4 at the moment.

Offline

#23 2011-09-15 11:59:28

Kuno
#! Die Hard
From: Osnabrück - DE
Registered: 2009-01-09
Posts: 611

Re: Openbox 3.5 New Features Setup

xmm4n wrote:
Kuno wrote:

EDIT: Still - though everything works fine - couldn't get the icons to show up in the menu...

Just install imlib2 development files. It worked for me.

Thank you very much! Just recompiled openbox after installing imlib2-dev (which indeed was missing...) and now i see the light, err.. icons!

Nice first post, btw... smile

Offline

#24 2011-10-18 22:10:30

safetycopy
urban legend
From: The Chatsubo
Registered: 2010-04-03
Posts: 1,311

Re: Openbox 3.5 New Features Setup

sticky wrote:
crunchworksyeay wrote:

Does the vertical list on alt-tab work out for you ?

I posted this in another thread, but I guess I'll post here too.

I think the vertical tab list can be changed: http://openbox.org/wiki/Help:Actions#NextWindow

You can set the <dialog> option to "icons", although I'm not completely sure, I'm still using openbox 3.4 at the moment.

I just made these changes and can confirm that 3.5's new-style vertical ALT-TAB list can be changed to the old-style horizontal icons list smile


i wonder if i missed the warning
Skinny Puppy, Love in Vein

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo