HOWTO: GNOME - Remove Menu Icon Arrow

17:58 Комментариев (6158)

Ok, I finally found a way to get rid of that ugly white/black arrow near the Ubuntu [ or custom ] icon of menu button in GNOME.

sudo apt-get install apt-build
while configuring, choose your processor type
sudo apt-build source gnome-panel
sudo apt-get build-dep gnome-panel
cd /var/cache/apt-build/build/
sudo gedit gnome-panel-*/gnome-panel/panel-menu-button.c

now change the following part :
button = g_object_new (PANEL_TYPE_MENU_BUTTON,
"menu-path", menu_path,
"custom-icon", custom_icon,
"tooltip", tooltip,
"use-menu-path", use_menu_path,
"use-custom-icon", use_custom_icon,
"has-arrow", TRUE,
NULL);

into
button = g_object_new (PANEL_TYPE_MENU_BUTTON,
"menu-path", menu_path,
"custom-icon", custom_icon,
"tooltip", tooltip,
"use-menu-path", use_menu_path,
"use-custom-icon", use_custom_icon,
"has-arrow", FALSE,
NULL);

save & exit and

cd gnome-panel-*/
sudo ./configure --prefix=/usr
in case there are still some missing dependencies (build-dep may miss something), install them manually [ most of them are the -dev packages, so use synaptic for that - for example when it shows No package 'libgnomeui-2.0' found
, just search in Synaptic Package Manager for libgnomeui (forget about -2.0 or any other number) and install the -dev package, libgnomeui-dev.]

sudo make
sudo mv /usr/bin/gnome-panel /usr/bin/gnome-panel.with.arrow
sudo cp gnome-panel/gnome-panel /usr/bin/gnome-panel
sudo killall gnome-panel

that's all.

Comments

Ysilenie konstrykcii_wiMn 30/May/2025 07:47

Гидроизоляция материал [url=http://www.usileniekonstrukcij2.ru]Гидроизоляция материал[/url] .

Ysilenie konstrykcii_kqMn 30/May/2025 07:23

Инъектирование бетона [url=https://usileniekonstrukcij2.ru/]https://usileniekonstrukcij2.ru/[/url] .

Ysilenie konstrykcii_axMn 30/May/2025 07:23

Усиление конструкций работа [url=usileniekonstrukcij2.ru]Усиление конструкций работа[/url] .

Ysilenie konstrykcii_khMn 30/May/2025 07:23

Гидроизоляция [url=https://usileniekonstrukcij2.ru/]Гидроизоляция[/url] .

Ysilenie konstrykcii_mxKr 30/May/2025 06:57

Инъектирование стен [url=https://usileniekonstrukcij3.ru/]usileniekonstrukcij3.ru[/url] .

Ysilenie konstrykcii_viKr 30/May/2025 06:57

Усиление конструкций [url=http://usileniekonstrukcij3.ru]Усиление конструкций[/url] .

Ysilenie konstrykcii_pkKr 30/May/2025 06:56

Усиление конструкций работа [url=https://usileniekonstrukcij3.ru/]Усиление конструкций работа[/url] .

Ysilenie konstrykcii_pcKr 30/May/2025 06:56

Гидроизоляция объектов [url=https://usileniekonstrukcij3.ru]https://usileniekonstrukcij3.ru[/url] .

Ysilenie konstrykcii_wqKr 30/May/2025 06:55

Инъектирование кирпичной кладки [url=http://usileniekonstrukcij3.ru/]http://usileniekonstrukcij3.ru/[/url] .

Ysilenie konstrykcii_pcKr 30/May/2025 06:55

Инъектирование бетона [url=www.usileniekonstrukcij3.ru]www.usileniekonstrukcij3.ru[/url] .

Ysilenie konstrykcii_uqKt 30/May/2025 06:41

Гидроизоляция [url=http://ctcmetar.ru/novosti/40859-gidroizolyaciya-podvalov-zaschita-ot-vlagi-i-syrosti.html/]Гидроизоляция[/url] .

Ysilenie konstrykcii_feKt 30/May/2025 06:22

Гидроизоляция фундамента [url=https://tadgikov.net/stroitelnye-materialy/6619-rekonstruktsiya-i-kapitalnyj-remont-zdanij-printsipy-metody-i-etapy-provedeniya-rabot.html]https://tadgikov.net/stroitelnye-materialy/6619-rekonstruktsiya-i-kapitalnyj-remont-zdanij-printsipy-metody-i-etapy-provedeniya-rabot.html[/url] .

Ysilenie konstrykcii_czKt 30/May/2025 06:21

Усиление конструкций работа [url=http://www.stroylegko.com/fundament/gidroizolyaciya-fundamentov-vidy-tehnologii-materialy]Усиление конструкций работа[/url] .

Ysilenie konstrykcii_hpKt 30/May/2025 06:21

Гидроизоляция работа [url=http://www.remontmechty.ru/remont/inekcionnaya-gidroizolyaciya-effektivnaya-zashhita-ot-vlagi]http://www.remontmechty.ru/remont/inekcionnaya-gidroizolyaciya-effektivnaya-zashhita-ot-vlagi[/url] .

Ysilenie konstrykcii_ghKt 30/May/2025 06:21

Усиление конструкций работа [url=http://tadgikov.net/stroitelnye-materialy/6619-rekonstruktsiya-i-kapitalnyj-remont-zdanij-printsipy-metody-i-etapy-provedeniya-rabot.html/]http://tadgikov.net/stroitelnye-materialy/6619-rekonstruktsiya-i-kapitalnyj-remont-zdanij-printsipy-metody-i-etapy-provedeniya-rabot.html/[/url] .

Ysilenie konstrykcii_nqKt 30/May/2025 06:21

Инъектирование бетона [url=www.roofor.ru/stroytelstvo/gidroizolyaciya-zdaniy-i-sooruzheniy]www.roofor.ru/stroytelstvo/gidroizolyaciya-zdaniy-i-sooruzheniy[/url] .

Ysilenie konstrykcii_jcmn 30/May/2025 06:08

Инъектирование фундамента [url=http://www.repair-home.net/index.php/novosti/inektsionnaya-gidroizolyatsiya-metody-materialy-stoimost-v-moskve]http://www.repair-home.net/index.php/novosti/inektsionnaya-gidroizolyatsiya-metody-materialy-stoimost-v-moskve[/url] .

Ysilenie konstrykcii_yhmn 30/May/2025 06:07

Гидроизоляция [url=https://www.repair-home.net/index.php/novosti/inektsionnaya-gidroizolyatsiya-metody-materialy-stoimost-v-moskve]Гидроизоляция[/url] .

Ysilenie konstrykcii_pamn 30/May/2025 06:07

Гидроизоляция [url=https://cassuspro.ru/usilenie-konstrukcij-zdanij-uglevoloknom-texnologii-i-stoimost.html]Гидроизоляция[/url] .

Ysilenie konstrykcii_xqmn 30/May/2025 06:07

Инъектирование фундамента [url=https://racechrono.ru/novosti/42911-uslugi-gidroizolyacii-i-ceny-polnyy-gid-po-vyboru-i-raschetu-stoimosti.html]https://racechrono.ru/novosti/42911-uslugi-gidroizolyacii-i-ceny-polnyy-gid-po-vyboru-i-raschetu-stoimosti.html[/url] .

Написать комментарий

* - обязательное поле

:

:

:

Текст на картинке:

Captcha