Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old July 10th, 2009   #11
Messyhair42
Way Too Much Ubuntu
 
Messyhair42's Avatar
 
Join Date: Dec 2008
Location: In a galaxy far far away
Beans: 228
Ubuntu 9.04 Jaunty Jackalope
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

thank you, worked great. much easier to navigate between subfolders of subfolders
Messyhair42 is offline   Reply With Quote
Old July 10th, 2009   #12
JohnLau
Just Give Me the Beans!
 
Join Date: Apr 2008
Beans: 47
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to JohnLau
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

I filed a bug report on launchpad for this because I don't think it is proper to hard-code this...
http://ubuntuforums.org/showthread.php?t=1066964
JohnLau is offline   Reply With Quote
Old July 11th, 2009   #13
Elep.Repu
A Carafe of Ubuntu
 
Elep.Repu's Avatar
 
Join Date: Jun 2009
Location: Alaska, Eagle River
Beans: 141
Ubuntu 9.04 Jaunty Jackalope
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

Gathered from throughout. The Right way!

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: <SELECT YOUR 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 30.
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

Last edited by Elep.Repu; July 11th, 2009 at 04:46 PM..
Elep.Repu is offline   Reply With Quote
Old July 12th, 2009   #14
loomsen
100% Pure Ubuntu
 
loomsen's Avatar
 
Join Date: Aug 2008
Location: germany
Beans: 852
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

not in this build directory... whatever
loomsen is offline   Reply With Quote
Old July 18th, 2009   #15
exozito
First Cup of Ubuntu
 
exozito's Avatar
 
Join Date: Mar 2009
Location: Singapore
Beans: 4
Ubuntu 9.04 Jaunty Jackalope
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

Thank you! It worked for me!
__________________
Check it out! The best Linux distro ever!
"Taser everyone!"- Hard Justice
exozito is offline   Reply With Quote
Old August 7th, 2009   #16
Messyhair42
Way Too Much Ubuntu
 
Messyhair42's Avatar
 
Join Date: Dec 2008
Location: In a galaxy far far away
Beans: 228
Ubuntu 9.04 Jaunty Jackalope
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

can this also be done for the "Removable Media" section? i've got another linux install and its 4 partitions show up here, as well as an NTFS partition, my DVD drive and any usb media i have plugged in and after 5 it defaults to the drop down menu too.
Messyhair42 is offline   Reply With Quote
Old August 7th, 2009   #17
mc4man
Ubuntu addict and loving it
 
Join Date: Jun 2007
Beans: 4,174
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

Quote:
can this also be done for the "Removable Media" section?
'Removable media' should also be included, in other words not just limited to bookmarks, see screen
Attached Images
File Type: png places.png (56.8 KB, 23 views)
mc4man is offline   Reply With Quote
Old August 28th, 2009   #18
thenyboy
First Cup of Ubuntu
 
Join Date: Jan 2009
Beans: 2
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

I have a problem while i'm writing this command on Terminal

I write sudo apt-get build-dep gnome-panel
And i get this:


Quote:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se pudo encontrar un paquete de fuentes para gnome-panel
it says: Could not find a source package for gnome-panel

What can i do to fix it? I can't go on because of this messege.

Regards!!!
thenyboy is offline   Reply With Quote
Old August 29th, 2009   #19
mc4man
Ubuntu addict and loving it
 
Join Date: Jun 2007
Beans: 4,174
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

Quote:
Could not find a source package for gnome-panel
if not resolved by now you need to enable "Source code" for the ubuntu repos in your sources.

Easiest way is to open System -> Admin.. -> Software Sources and on main page ck. the box that says "Source code", then click close and reload.

Make sure the box gets an actual check mark, not just turn a color
mc4man is offline   Reply With Quote
Old August 31st, 2009   #20
thenyboy
First Cup of Ubuntu
 
Join Date: Jan 2009
Beans: 2
Re: HOW TO: Display more than 5 bookmarks in gnome-panel "Places" menu

You are a Genious!!! Thanks a lot!!!!

I could do it doing what you told me.

Really, thank you!!!!


Regards From Argentina!
thenyboy is offline   Reply With Quote

Bookmarks

Tags
bookmarks, gnome-panel, menu, places

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:24 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry