LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 09-12-2019, 05:44 PM   #1
madmax25
Member
 
Registered: Aug 2018
Posts: 279

Rep: Reputation: Disabled
BL4.5-32bit - How to install grub-customizer?


I just tried to install grub-cutomizer.
Not sure, if I need it, anyway, but I want to be sure, I got it when I need it.

When I tried to add the PPA, I got this message:
Quote:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 11, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in <module>
import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so: symbol _ZN9pkgSystem9LockInnerEv, version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
How can install this tool, now, please?

Last edited by madmax25; 09-13-2019 at 12:28 AM.
 
Old 09-12-2019, 07:57 PM   #2
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 345

Rep: Reputation: Disabled
i think you need to do a full update first? sudo apt update && sudo apt upgrade

I just installed grub customizer from that ppa on 32-bit a couple days ago myself without issue... but it was on bodhi 5.
 
Old 09-12-2019, 08:21 PM   #3
madmax25
Member
 
Registered: Aug 2018
Posts: 279

Original Poster
Rep: Reputation: Disabled
Sorry, it doesn't work that way for BL4.5-32bit.
Actually, I did a full update before.
 
Old 09-12-2019, 08:41 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,424

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
did you run
Quote:
sudo apt upgrade
 
Old 09-12-2019, 08:58 PM   #5
madmax25
Member
 
Registered: Aug 2018
Posts: 279

Original Poster
Rep: Reputation: Disabled
Yes, I did.
Result:
0 updated, 0 installed, 0 removed and 0 not updated.

Last edited by madmax25; 09-12-2019 at 08:59 PM.
 
Old 09-12-2019, 09:24 PM   #6
madmax25
Member
 
Registered: Aug 2018
Posts: 279

Original Poster
Rep: Reputation: Disabled
The affected device is a dual boot netbook with BL4.5 and Xubuntu 18.04.3 (both of them 32bit).
That's why I have both systems in the grub menu and two entries for the advanced options, one for Bodhi and one for Ubuntu.

After removing some erroneous installed kernels from Xubuntu, I installed and updated grub again from there.

Then I got back to Bodhi and did the same because I wanted Bodhi to be my main system on the netbook, again.

Now, everything is ok in the advanced options of the Bodhi part of the menu,
but in the according section of the Ubuntu part there are three entries referring to Bodhi.

These are:

Quote:
Bodhi Linux (16.04) (on /dev/sda5) (on /dev/sda3)
Bodhi Linux GNU/Linux, with Linux 4.15.0-60-generic (on /dev/sda5) (on /dev/sda3)
Bodhi Linux GNU/Linux, with Linux 4.15.0-60-generic (recovery mode) (on /dev/sda5) (on /dev/sda3)
Yes, these entries are really pointing to two partitions, which of course is nonsense and that's why I want to get rid of them.

To do this, I need grub-customizer, or is there a way to do without that tool?

EDIT:
I've got it!
I had to compile the tool according to this guide.
After that, I edited the launcher of grub-customizer by adding gksudo between the EXEC= and grub-customizer.
Besides that, I edited the path to the icon into
Code:
/usr/share/icons/hicolor/32x32/apps/grub-customizer.svg
(48x48 did not work properly, because it gave me the wrong icon in the Engage bar during the start of the tool.)
Finally, I reduced the height of the tool's window (with remembering and blocking position and size of this window),
because first, the edges were beyond my screen, which has only 1024x600.
Finally, I was able to remove the unwanted entries of the grub.

So, I guess, this topic is sorted out, now.

Last edited by madmax25; 09-13-2019 at 07:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BL4.5-32bit - cannot install deb madmax25 Bodhi 15 10-07-2019 05:26 AM
BL4.5-32bit - How to install latest youtube-dl, please? madmax25 Bodhi 9 09-05-2019 03:59 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: Grub Customizer 2.5.5 is available- Customize grub/Burg from a GUI interface LXer Syndicated Linux News 0 05-10-2012 09:20 PM
LXer: Grub Customizer Lets You Reorder, Add Or Remove GRUB 2 (Or BURG) Menu Entries LXer Syndicated Linux News 0 10-09-2010 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration