SparkyLinux Forums

Software & hardware support => Sparky applications => Topic started by: Slyvester on April 23, 2015, 03:36:14 PM

Title: Unable to launch Grub-Customizer
Post by: Slyvester on April 23, 2015, 03:36:14 PM
Hi everyone,

Everytime I try to launch grub-customizer via terminal : sudo grub-customizer,  I get no result but this weard message in terminal :

slyvester@slyvester-desktop:~$ sudo grub-customizer

(grub-customizer:1606): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19: Theming engine 'adwaita' not found

(grub-customizer:1606): Gtk-WARNING **: Invalid input string

I know I'm just a click away to the solution .. I've tried to find an answer on the web, but no dice ! Any help would be highly appreciated !
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 23, 2015, 03:55:46 PM
Did you try to launch it from menu?
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 23, 2015, 04:03:33 PM
Yes idead Pavroo. The password is requested and then ... nothing !
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 23, 2015, 04:24:17 PM
I don't know the app at all, couse I never use it.
I suggest to report it to:
https://bugs.launchpad.net/grub-customizer

Everything what you need to do with grub, can be done via a terminal emulator.
What exactly you'd like to do?
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 23, 2015, 04:27:23 PM
My grub-customizer is there somewhere - hidden I guess - because when I type : sudo leafpad /etc/default/grub in terminal, I get this :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Options avancées pour Debian GNU/Linux>Debian GNU/Linux, avec Linux 3.16-2-686"
GRUB_TIMEOUT="-1"
GRUB_DISTRIBUTOR="`lsb_release -d -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="false"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="false"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

export GRUB_COLOR_NORMAL="white/dark-gray"
export GRUB_COLOR_HIGHLIGHT="white/dark-gray"
GRUB_DISABLE_OS_PROBER="false"
GRUB_SAVEDEFAULT="false"

One thing I forget to tell you is that I use a MultiBoot with three different OS on this computer : Sparkylinux + Watt OS R8 + Lubuntu 14.04.2. I don't know if this is matters or not ...
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 23, 2015, 04:30:04 PM
It looks ok, the question is: what you need to do/change in grub settings?
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 23, 2015, 04:39:46 PM
i'm just trying to get to the Main-Screen of Grub-Customizer and get to the general settings of grub-customizer. From there I can/could tweak the different kernels of my three different OS. Check out this please : http://www.linuxcore.fr/2013/06/grub-customizer/
(see Interface de grub-customizer).

I've done this many times on other different distros and this in order to manage the kernels and the distros themselves. I'm working my way to find the path via sudo leafpad /... If you 've got an idea ?
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 23, 2015, 05:18:02 PM
Of course, I could try to change my settings via /boot/grub/grub.cfg .. Crazy, isn't it ? Now you understand why i want to use the graphical tool : Grub-Customizer, its General settings thanks to the Main Sreen.
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 23, 2015, 06:08:24 PM
Ok, I get it.
Managing all the Linux distros in grub list can be done editing the file:
/etc/grub.d/10_linux
But it is not recommended to edit it manually.
It's better to add your changes to file:
/etc/grub.d/40_custom
Anyway, the grub-customizer deb package has been built for Ubuntu not Debian and I suggest to report it to the app developer.
Title: Re: Unable to launch Grub-Customizer
Post by: GeneC on April 23, 2015, 07:08:32 PM
Grub customizer works fine here, and has for many months..?
Where did you get yours from?

Mine
gene@sparky:~$  apt-cache policy grub-customizer
grub-customizer:
  Installed: 4.0.6-0ubuntu1~ppa1u
  Candidate: 4.0.6-0ubuntu1~ppa1u
  Version table:
*** 4.0.6-0ubuntu1~ppa1u 0
        500 http://sparkylinux.org/repo/ testing/main amd64 Packages
        100 /var/lib/dpkg/status


(http://i285.photobucket.com/albums/ll58/genecharb/22_2.png)

(Deleted link.  Its in the repo).!
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 24, 2015, 03:36:54 PM
Hi GeneC,

I'm back only now because I first wanted to update & upgrade (sudo apt-get update && sudo apt-get dist-upgrade = sudo update-grub) my two other distros (Lubuntu 14.01.1 + Watt OS R-8). By the way, I tried via terminal : sudo grub-customizer which launched twice the graphical-tool on the two of them. Now I'm back to back to Sparkylinux, but again no dice. I just uninstalled & reinstalled - via Synaptic - Grub-Customizer but I still get the same message on the terminal:
slyvester@slyvester-desktop:~$ sudo grub-customizer

(grub-customizer:8609): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19: Theming engine 'adwaita' not found

(grub-customizer:8609): Gtk-WARNING **: Invalid input string

@GeneC : thanks a lot, but I've got exactly the same apt-cache policy as you ...

@Pavroo :  yes, I can manage my Linux distros in grub list by editing the file: sudo leafpad /etc/grub.d/10_linux but this is too dangerous. One mistake in that file can cause a disaster : no more boot at all !
You asked me : what you need to do/change in grub settings? Well, I kinda get to thinking that I don't need Grub-Customizer so bad.
If I really need it, I can always change the major boot from another distro Linux with : sudo os-prober. I'll be then able to launch Grub-Customizer from that new "os-prober distro". I must say that using too many diferent Linux distributions (7 or 8?) can only lead to problems. I get telling myself I should delete a few of them but ...
I was wondering Pavroo, are you the only one who takes care of SparkyLinux ? Because if it is so, let me tell you that I respect you and admire you for all the things you do. This particular SparkyLinux distribution is simply great and remains one of my beloved ones if not my favourite among all others. Thanks again to you !


Title: Re: Unable to launch Grub-Customizer
Post by: GeneC on April 24, 2015, 03:49:13 PM
Quote from: Slyvester on April 24, 2015, 03:36:54 PM
[...]
If I really need it, I can always change the major boot from another distro Linux .....

Actually this is what I do.  I  presently have a 3 distro multi-boot and have grub-customizer only on one.  I always boot from that distro, and dont need it on others.

To boot from that distro (and use its grub and grub-customizer) run this command from that distro.

sudo grub-install /dev/sda

PS:
I did not realize that  grub-customizer in the repo..  Please disregard my link...;)
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 24, 2015, 05:09:12 PM
I just tried the command : "sudo grub-install /dev/sda" but again no change because that's the way it was supposed to be. Now, you should use : sudo os-prober on any distro to make "grub-customizer" the ruler of your Multiboot from the distribution of your choice.
The only thing that still puzzles me is the version of my grub-customizer that I just reinstalled : GNU grub version 2.02 beta 2-22 ...
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 24, 2015, 05:20:11 PM
QuoteGNU grub version 2.02 beta 2-22
It's the latest version now in Debian repos.
Debian Jessie become stable tomorrow (hope so) and the beta version of Grub will be installed as default, I think.
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 25, 2015, 10:37:32 AM
Hello Pavroo,

Did you read what I wrote yesterday ? It's all about you !

QuoteI was wondering Pavroo, are you the only one who takes care of SparkyLinux ? Because if it is so, let me tell you that I respect you and admire you for all the things you do. This particular SparkyLinux distribution is simply great and remains one of my beloved ones if not my favourite among all others. Thanks again to you !
Title: Re: Unable to launch Grub-Customizer
Post by: pavroo on April 25, 2015, 01:21:55 PM
Dear Slyvester
Thank's a lot what you have wrote - it's very kind of you.

The fact is that I have started Sparky and I work full time on it so yes - I take care of Sparky the most but it's not only me.
There are a few guys not often visible on the forum like me, but it doesn't mean that they don't exist.
They get their voluntary job in a shadow, you probably never seen them.
Some of them help me fixing problems, someones keep an eye on the forums, someones manage community pages, etc., etc.
If you see me on the forums the most time, or Jesse publish my name I released Sparky, it does mean that there are not other guys in the shadow helping me and Sparky in a way they can.

Anyway I am happy that you enjoy Sparky and hope you will stay with us long.

p.s.
I've seen what you wrote before, but having overloaded head I just focused on the technical aspect of your question :)
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on April 27, 2015, 09:30:43 AM
Pavroo,

Many thanks for your friendly answer. I came to SparkyLinux very unexpectably. About a year from now I read a post from a french helper - Lancien that I greet if he should read this - on the forum of the french site "linuxmnt-fr.org" saying roughly this : " ... I installed Sparkylinux on an old portable for my wife to make sure she never gets stuck and that I never get problems with her p.c. ...". That's how I decided to install SparkyLinux, at first just to give it a try 'cause I was planning to install Debian "testing" Jessie but I never did.
QuoteAnyway I am happy that you enjoy Sparky and hope you will stay with us long.
So, don't worry now that I found SparkyLinux, I'll stick to it !
Title: Re: Unable to launch Grub-Customizer
Post by: galen on April 28, 2015, 07:03:41 PM
I use GC under xubuntu and linux lite uses a same problematic line in
/etc/default/grub
...
GRUB_DISTRIBUTOR="`lsb_release -d -s

this will cause corrupted grub menus

GRUB_DISTRIBUTOR="`lsb_release -i -s
is what ubuntu uses

check gparted to see what partition actually has the boot  flag set.
Title: Re: Unable to launch Grub-Customizer
Post by: Slyvester on May 01, 2015, 10:39:06 AM
Hi,

QuoteGRUB_DISTRIBUTOR="`lsb_release -d -s

this will cause corrupted grub menus
Many thanks Galen, but this is exactly what I've got on my all my distributions.

Sometimes strange things can happen. After a long update + a loooooong upgrade + some cleaning action, I typed in terminal  : sudo os-prober + sudo grub-customizer and ... miracle my grub-customizer showed up, back & ready for action !