HowTo: Display more than 5 bookmarks in gnome-panel “Places” menu

From Ubuntu Forums:

1. Install apt-build

Code:

sudo apt-get update
sudo apt-get install apt-build

2b) Configure apt-build:

* Optimization level: Medium
* Add apt-build repository to sources.list: Yes
* Architecture:

3) Install files required to build gnome-panel from source and download the source

Code:

sudo aptitude build-dep gnome-panel
sudo apt-build source gnome-panel

4) Navigate to the downloaded gnome-panel source folder and open the menu items file
Code:

cd /var/cache/apt-build/build/gnome-panel-*
sudo gedit gnome-panel/panel-menu-items.c

5) Set the the maximum number of bookmarks to display
Code:

#define MAX_ITEMS_OR_SUBMENU 5

I changed it to 20.
Save.

6) Install the modified gnome-panel and restart it

(Sudo is necessary. Otherwise is does not work.
Code:

sudo ./configure
sudo make
sudo make install
killall gnome-panel

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: