Git Product home page Git Product logo

grub2-editor's Introduction

grub2-editor

A KDE Control Module for configuring the GRUB2 bootloader.

ScreenShot

Smoothly integrated in KDE System Settings, it is the central place for managing your GRUB2 configuration. Supports many GRUB2 configuration options

Features

  • Manage default boot entry
  • Manage boot timeout
  • Manage boot resolutions
  • Manage boot menu colors
  • Manage boot menu theme
  • Manage linux kernel arguments
  • Save and update the configuration files of GRUB2
  • Password protection setup(only tested on archlinux).
  • Recover GRUB2
  • Remove old entries(deb/rpm backend)
  • Create and preview GRUB2 splash images

For installation instructions see the INSTALL file.

grub2-editor's People

Contributors

cris-b avatar maz-1 avatar s8321414 avatar tpgxyz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grub2-editor's Issues

Add options to grub "Restart" , "shutdown" and "efi config"

I think it would be good to add some options to enable or disable these options.
Good job, thanks, regards

if [ ${grub_platform} == "efi" ]; then
menuentry "Menú efi" --class efi {
fwsetup
}
fi
menuentry "Reiniciar Sistema" --class restart reboot {
reboot
}
menuentry "Apagar Sistema" --class poweroff shutdown {
halt
}

release number

I was packaging it on Chakra and I saw that you are using the old verion 0.5.8 instead of a newer one (the old official pkg was 0.6.4)
I suggest to give a new version number, like 0.7 or something else.
Is up to you, maybe you want to wait and set a new version number with the first release.

Change menu order

Any way to change the order of the menus?
It would be great to be able to do it from the editor.
Thank you

Problem with compilation

[ 30%] Linking CXX shared module kcm_grub2.so
CMakeFiles/kcm_grub2.dir/convertDlg.cpp.o: In function ConvertDialog::ConvertDialog(QWidget*, QFlags<Qt::WindowType>)': convertDlg.cpp:(.text+0x4e2): undefined reference to GetMagickStealth'
CMakeFiles/kcm_grub2.dir/convertDlg.cpp.o: In function ConvertDialog::slotOkButtonClicked()': convertDlg.cpp:(.text+0x192f): undefined reference to Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
convertDlg.cpp:(.text+0x1949): undefined reference to `Magick::Geometry::aspect(bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/kcm_grub2.dir/build.make:325: src/kcm_grub2.so]

Just ask for the password only once

Currently it asks for the password when opening the module, and when saving the changes.
Would it be possible for you to only ask for the password when saving the changes?
Thanks greetings

"Appearance" tab, doesn't work correctly.

It can't see the current values and choosing some other ones, doesn't have any effect.
After restarting the have not been saved.

V.0.8.1 compiled at Devuan ASCII x64 KDE.

cmake cant do a thing

my output:

$ cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
  The OLD behavior for policy CMP0002 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
  The OLD behavior for policy CMP0054 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0063 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0064 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Error at CMakeLists.txt:15 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 0.0.11) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/kc/grub2-editor/build/CMakeFiles/CMakeOutput.log".

output log:
CMakeOutput.log

all options grayed out

Arch user, I'm booting a UEFI system using grub 2.02.beta2-6 and a version of this compiled today, but all options are grayed out. Not sure how to get log output for this, I tried running kcmshell5 grub2 but all that returns is "false"

No other boot managers set in EFI.

Optional dependencies can't be recognized.

Hi! :-)

I just compiled v.0.8.1 locally (at Devuan ASCII x64 KDE).

It couldn't recognize these packages, although they're already installed, (with the exception of QPackageKit, which is NOT installed):

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * ImageMagick  <http://www.imagemagick.org/>
     Create splash images compatible with GRUB2
   * hwinfo  <http://www.opensuse.org/>
     Retrieve list of resolutions valid in GRUB2
   * LibQApt  <https://projects.kde.org/projects/extragear/sysadmin/libqapt/>
     Remove unneeded old entries (qapt backend)
   * QPackageKit  <http://www.packagekit.org/>
     Remove unneeded old entries (qpackagekit backend)

Could not automatically resolve GRUB paths

Can you help me i try it to build but i became each Time the same error. I have search at the www but no solving there for it.

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DSYSCONF_INSTALL_DIR=/etc -DBUILD_TESTING=OFF
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/share/colorgcc/cc
-- Check for working C compiler: /usr/share/colorgcc/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/share/colorgcc/c++
-- Check for working CXX compiler: /usr/share/colorgcc/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:324 (message):
LIB_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBDIR instead.
Call Stack (most recent call first):
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:418 (_define_relative)
CMakeLists.txt:18 (include)

CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:324 (message):
SYSCONF_INSTALL_DIR is deprecated, use KDE_INSTALL_SYSCONFDIR instead.
Call Stack (most recent call first):
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:379 (_define_relative)
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:601 (_define_absolute)
CMakeLists.txt:18 (include)

-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.27.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.7")
-- Found PythonInterp: /usr/bin/python (found version "2.7.11")
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.27.0")
-- Found KF5Auth: /usr/lib/cmake/KF5Auth/KF5AuthConfig.cmake (found version "5.27.0")
-- Found KF5ConfigWidgets: /usr/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.27.0")
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.27.0")
-- Found KF5Solid: /usr/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.27.0")
-- Found KF5: success (found version "5.27.0") found components: CoreAddons I18n Auth ConfigWidgets KIO Solid
CMake Error at cmake/modules/GRUBPaths.cmake:53 (message):
Could not automatically resolve GRUB paths. Please specify all of them
manually.
Call Stack (most recent call first):
CMakeLists.txt:27 (include)

-- Configuring incomplete, errors occurred!
See also "/home/groni/Downloads/grub2-editor-0.7.0/build/CMakeFiles/CMakeOutput.log".

Many thanks in advanced

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.