Cant install Grub Customizer

Hi everyone…
I know that grub Customizer ist not available in the repository, but I would still what to install it, because i dont know how to manualy configure my grub (I just what to have thre options at the Start of the System (Manjaro and Windows…no Test…).

I tried to install Grub Custimizer but I am not sure what the problem is. I cant get past the PKBUILD line, using Y or N…both end up in error.

Looking forward for your support. thank you.

[homepc@HomePC ~]$ sudo yaourt -S grub-customizer

==> Downloading grub-customizer PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
x grub-customizer.install
x grub.cfg
fusion809 commented on 2016-09-29 14:02			 
This package's build fails with gtkmm-3.22.0 (in gnome-unstable), giving this output:

==>  Making package: grub-customizer 5.0.6-1 (Thu Sep 29 23:56:01 AEST 2016)
==>  Checking runtime dependencies...
==>  Checking buildtime dependencies...
==>  Retrieving sources...
- Found grub-customizer_5.0.6.tar.gz
- Found grub.cfg
==>  Validating source files with md5sums...
grub-customizer_5.0.6.tar.gz ... Passed
grub.cfg ... Passed
==>  Removing existing $srcdir/ directory...
==>  Extracting sources...
- Extracting grub-customizer_5.0.6.tar.gz with bsdtar
==>  Entering fakeroot environment...
==>  Starting package()...
==>  Starting make...
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/cc
-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/c++
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'gtkmm-3.0'
--   Package 'gdk-3.0' requires 'gio-unix-2.0 = 2.49.4' but version of gio-unix-2.0 is 2.48.2
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.48.2
-- Checking for module 'openssl'
--   Found openssl, version 1.0.2j
-- Checking for module 'libarchive'
--   Found libarchive, version 3.2.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6
Scanning dependencies of target grub-customizer
[ 12%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o
In file included from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/ListCfg.hpp:50:0,
from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/Factory.hpp:24,
from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/client.cpp:23:
/home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp: In static member function ‘static std::mapstd::__cxx11::basic_stringchar, std::__cxx11::basic_stringchar  Model_SettingsManagerData::parsePf2(const string)’:
/home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp:58:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(sizeBuf, 5, file);
^
/home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp:63:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(contentBuf, size + 1, file);
^
[ 25%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o
In file included from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/Bootstrap/GtkView.cpp:18:0:
/home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/Bootstrap/../View/Gtk/About.hpp:23:19: fatal error: gtkmm.h: No such file or directory
#include gtkmm.h
^
compilation terminated.
make[2]: *** [CMakeFiles/grub-customizer.dir/build.make:87: CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
==>  ERROR: A failure occurred in package().
Aborting...



dvzrv commented on 2016-09-29 14:47			 
@fusion809: Well, I guess that's something to report upstream, not here. Also, the current stable gtkmm3 version is 3.20.1 in the repos.

Thanks for the heads up nonetheless!

dvzrv commented on 2016-10-03 22:16			 
@fusion809: In case you're still tracking that issue.
gtkmm3 3.20.1 installs gtkmm.h into this place: /usr/include/gtkmm-3.0/gtkmm.h
This supposedly is the same for 3.22 (according to the file list: https://www.archlinux.org/packages/testing/x86_64/gtkmm3/files/).
Is that file really not there?
This is pretty awkward and should not happen, as it's a system-wide include. Have you rebooted?

Sachiko commented on 2016-10-13 06:16			 
@dvzrv: as per @fusion809's issue, gtkmm3 is indeed installed in the correct area, however, that file fails to show up even after a reboot. A complete system reinstall does not fix the problem either.

And based on his output of his command he is building it via makepkg -sri which should pull in the required dependencies, so it isn't a question of if the package is installed. I'm scratching my head as well on this one for sure as grub-customizer was my easy way of setting grub up.

EDIT: Seems my complaint was short lived. The mirrors I was using apparently weren't in sync so they didn't have the latest GTK3 yet. Switched mirrors, updated system, and everything works.

PhotonX commented on 2016-11-08 16:35			 
I have the same problem with gtkmm.h. It is present:

$ locate gtkmm.h
/usr/include/gtkmm-3.0/gtkmm.h

but isn't found during compilation (same error as reported by fusion809). What can be done here?

grub-customizer 5.0.6-1  (2016-05-11 22:55)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: An unknown error has occurred. Exiting...
Unable to read PKGBUILD

Don’t use sudo with yaourt!

Package was built fine on my side.

[fademind@manjaro ~]$ yaourt -G grub-customizer
==> Pobieranie źródeł grub-customizer
x .SRCINFO
x PKGBUILD
x grub-customizer.install
x grub.cfg
[fademind@manjaro ~]$ cd grub-customizer/
[fademind@manjaro grub-customizer]$ makepkg -src
==> Tworzę pakiet: grub-customizer 5.0.6-1 (sob, 7 sty 2017, 13:54:02 CET)
==> Sprawdzanie zależności potrzebnych do uruchomienia...
==> Instaluję brakujące zależności...
rozwiązywanie zależności…
szukanie sprzecznych pakietów...

Pakiety (1) gtkmm3-3.22.0-1

Do pobrania:         1,31 MiB
Do zainstalowania:  10,31 MiB

:: Kontynuować instalację? [T/n] 
:: Pobieranie pakietów…
 gtkmm3-3.22.0-1-x86_64                  1345,7 KiB   742K/s 00:02 [####################################] 100%
(1/1) sprawdzanie kluczy w bazie                                   [####################################] 100%
(1/1) sprawdzanie spójności pakietów                               [####################################] 100%
(1/1) wczytywanie listy plików                                     [####################################] 100%
(1/1) sprawdzanie konfliktów plików                                [####################################] 100%
(1/1) sprawdzanie dostępnego miejsca na dysku                      [####################################] 100%
:: Przetwarzanie zmian pakietu... 
(1/1) instalowanie gtkmm3                                          [####################################] 100%
==> Sprawdzanie zależności potrzebnych do budowy...
==> Pobieranie źródeł...
  -> Pobieram grub-customizer_5.0.6.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  506k  100  506k    0     0   228k      0  0:00:02  0:00:02 --:--:--  551k
  -> Znaleziono grub.cfg
==> Sprawdzam pliki source za pomocą md5sums...
    grub-customizer_5.0.6.tar.gz ... Zgadza się
    grub.cfg ... Zgadza się
==> Rozpakowywanie źródeł...
  -> Rozpakowywanie grub-customizer_5.0.6.tar.gz za pomocą bsdtar
==> Wchodzę do środowiska fakeroot...
==> Zaczynam package()...
==> Starting make...
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'gtkmm-3.0'
--   Found gtkmm-3.0, version 3.22.0
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.50.2
-- Checking for module 'openssl'
--   Found openssl, version 1.0.2j
-- Checking for module 'libarchive'
--   Found libarchive, version 3.2.2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fademind/grub-customizer/src/grub-customizer-5.0.6
Scanning dependencies of target grubcfg-proxy
Scanning dependencies of target grub-customizer
[ 12%] Building CXX object CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o
[ 25%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o
[ 75%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o
[ 75%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkApplication.cpp.o
[ 75%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o
[ 75%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o
[ 87%] Linking CXX executable grubcfg-proxy
[ 87%] Built target grubcfg-proxy
[100%] Linking CXX executable grub-customizer
[100%] Built target grub-customizer
[ 25%] Built target grubcfg-proxy
[100%] Built target grub-customizer
Install the project...
-- Install configuration: ""
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/polkit-1/actions/net.launchpad.danielrichter2007.pkexec.grub-customizer.policy
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/lib/grub-customizer/grubcfg-proxy
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/bin/grub-customizer
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/man/man1/grub-customizer.1.gz
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/de/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/bg/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/el/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/gl/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/hr/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/pl/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/pt_BR/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ru/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/tr/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/uk/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/it/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/es/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/fr/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/zh_CN/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/zh_TW/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/cs/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/cy/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/hu/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/sk/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ast/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/kk/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/nl/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ca/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ar/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/vi/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/fi/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/lt/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/bs/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/et/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/eu/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/en_GB/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ja/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ko/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/pt/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/locale/ta/LC_MESSAGES/grub-customizer.mo
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/applications/grub-customizer.desktop
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/16x16/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/22x22/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/24x24/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/32x32/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/48x48/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/64x64/apps/grub-customizer.png
-- Installing: /home/fademind/grub-customizer/pkg/grub-customizer/usr/share/icons/hicolor/128x128/apps/grub-customizer.png
==> Modifying grub-customizer.desktop file...
==> Installing custom config to: /etc/grub-customizer/grub.cfg
==> Installing changelog to: /usr/share/doc/grub-customizer/CHANGELOG
==> Sprzątam instalację...
  -> Usuwam libtool plików...
  -> Usuwam niechciane pliki...
  -> Usuwanie statycznych plików bibliotek
  -> Wyrzucam niepotrzebne symbole z binariów i bibliotek
  -> Kompresuję strony man oraz info...
==> Sprawdzanie problemów pakowania...
==> Tworzenie pakietu "grub-customizer"...
  -> Generuję plik .PKGINFO...
  -> Generuję plik .BUILDINFO...
  -> Dodawanie pliku install...
  -> Generowanie pliku .MTREE...
  -> Kompresuję pakiet...
==> Opuszczam środowisko fakeroot.
==> Skończyłem tworzenie: grub-customizer 5.0.6-1 (sob, 7 sty 2017, 13:54:49 CET)
==> Sprzątam...
==> Removing installed dependencies...
sprawdzanie zależności…

Pakiety (1) gtkmm3-3.22.0-1

Odzyskane miejsce na dysku:  10,31 MiB

:: Czy chcesz usunąć te pakiety? [T/n] t
:: Przetwarzanie zmian pakietu... 
(1/1) usuwanie gtkmm3                                              [####################################] 100%
[fademind@manjaro grub-customizer]$ la
razem 1,2M
drwxr-xr-x  2 fademind fademind 4,0K 07.01.2017 13:54 ./
drwx------ 41 fademind fademind 4,0K 07.01.2017 13:53 ../
-rw-r--r--  1 fademind fademind  229 12.05.2016 00:55 grub.cfg
-rw-r--r--  1 fademind fademind 598K 07.01.2017 13:54 grub-customizer-5.0.6-1-x86_64.pkg.tar.xz
-rw-r--r--  1 fademind fademind 507K 07.01.2017 13:54 grub-customizer_5.0.6.tar.gz
-rw-r--r--  1 fademind fademind  224 12.05.2016 00:55 grub-customizer.install
-rw-r--r--  1 fademind fademind 1,5K 12.05.2016 00:55 PKGBUILD
-rw-r--r--  1 fademind fademind  736 12.05.2016 00:55 .SRCINFO
[fademind@manjaro grub-customizer]$ 

Like @Strit said. NEVER CALL YAOURT AS ROOT OR VIA SUDO. You have been warned.

Hello

Thank you for your suggestion. I followed these steps 1-1 and this is what I got, but after installation I dont seem to find the Grub Custumizer on the programs…
Than I tried this and still having the Edith PKBUILD Problem

What am I doing wrong?

Clean chroot.

See: https://wiki.manjaro.org/index.php?title=Manjaro-tools

Looks like the package did build. Did you run the install command afterwards?

Hi
What does that mean exactly? I read the link, but still cant follow. Should I run the command:

buildpkg -p upower-pm-utils -c

Yes I ran

yaourt -S grub-customizer,

but I stopped at the line “==> Edit grub-customizer.install ? [Y/n] (“A” to abort)”…

Well yes, you pressed no to continiute building the package in the last question. If you had pressed yes, it would probably have started building the package.

You need to read the questions and answer them correctly. If you answer No to building the package, it will stop, because you did not want to continue.

Learn how to manually configure grub, it is much more rewarding.

To me grub is a means to an end not something i want to play around with and make look pretty. I would rather not see grub at all.

Why do you want to customise grub?

GRUB Customizer is not supported by manjaro either. So if you use it, and it somehow messes up your grub, you are on your own. :slight_smile:

1 Like

Aside from GRUB C., AUR is usually a pain in the neck for me.
Every package has some flaws.

I agree 100%, but I dont seem to find a decent guide how to do it…this is all I found till now..
All I want to do is the delete the line “memory tester” and rename the “Windows on dev/sda1…etc” to simple “Windows 7”.
If I could learn this, I would drop grub customizer right away…maybe you guys have some suggestions.

I would just leave mem test where it is, you may need it. As for re naming “Windows on dev/sda1” that is easy…just shred that partition and install manjaro…(kidding)…

If that is all you want to do…
Just manually change the grub.cfg title, save file and you’re done [1].
Remember though, whenever there’s a grub-update or update-grub, it will revert abck and you will need to change manually again.

There are other several ways to do this more…er, beautifully.
This for example.
You can put whatever you like on it.

[1] - Yes, there will be a ‘severe’ warning not to do this. As long as you know it will change back when there’s an update, it will be fine.

[edit] - in grub customizer, you will need to go to its gui to change too whenever you install a new kernel, if that is, it doesn’t mess up your boot in the first place.

So one could edit their kernel grub.cfg file, but as you say and the file says it is not recomended .

If i replaced naming text in below quote would that effectively change the menu entry in grub after “sudo update-grub”. Im not going to try it, i dont think it is needed in my opinion.

Im using bunsenlabs and below is what mine looks like now, ive edited the numerals and highlighted what i believe could be changed in with bold text?

[quote]
set linux_gfx_mode=
export linux_gfx_mode
menuentry ‘BunsenLabs GNU/Linux’ --class bunsenlabs --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-55555555555555555’ {[/quote]

Yes.

“post must be at least 5 characters” So
Yesss.

[edit]

Answer is ‘yes’.
But to be clear, change menu entry and then don’t ‘update-grub’

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark