Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any way to easily remove the dropdown arrow when using the GNOME menu in Ubuntu 10.10 or 11.04? I don't want to need to recompile the panel or anything messy unless I need to.

Just to clarify, it's one of the two GNOME menus available by default on Ubuntu. The arrow looks gross :(

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There is a thread on ubuntuforums dedicated to resolving this. Below I've just summarised the thread - note - apparently this 'fix' depends on the theme you are using. Looking through the thread from back-to-front, there is an alternative suggested answer involving compiling code. If below doesnt work for you have a look at the thread to see if the compile option works.

gedit ~/.gtkrc-2.0

replace the contents with the following (n.b. if there is a blank file you are probably not using a standard theme so this probably will not work)

style "panel-arrow-remove"
#the following removes the arrows from the panel
{
engine "pixmap"
    {
    image
    {
        function    = ARROW
        recolorable    = TRUE
        overlay_file    = "arrows/arrow-blank.png"
        overlay_border    = {2,2,2,2}
        overlay_stretch    = FALSE
        arrow_direction    = UP
    }
    image
    {
        function    = ARROW
        recolorable    = TRUE
        overlay_file    = "arrows/arrow-blank.png"
        overlay_border    = {2,2,2,2}
        overlay_stretch    = FALSE
        arrow_direction    = DOWN
    }
    image
    {
      function          = HANDLE
      recolorable       = TRUE
      overlay_file      = "arrows/arrow-blank.png"
      overlay_stretch   = FALSE
      orientation       = VERTICAL
    }
    image
    {
      function          = HANDLE
      overlay_file      = "arrows/arrow-blank.png"
      overlay_stretch   = FALSE
      orientation       = HORIZONTAL
    }
    }
}

widget_class "*PanelToplevel*"          style "panel-arrow-remove"

Save, reboot.

share|improve this answer
    
Worked perfectly. The file was blank, but even so it worked. I am using the default theme... nothing better than Ambiance ;) –  nab Apr 20 '11 at 22:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.