avatar
Добрый день! Сегодня переустановил систему, поставил Grub customizer, теперь пишет ошибка в строке 257. Где мне смотреть эту строку, и что я там должен увидеть? (Сам я новичок в этом деле). Вот файл, какой Вы просили:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ]; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

set menu_color_normal=light-green/black
set menu_color_highlight=yellow/black

if [ x$feature_default_font_path = xy ]; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
else
search --no-floppy --fs-uuid --set=root c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
else
search --no-floppy --fs-uuid --set=root c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
insmod png
set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
export theme
if [ x$feature_timeout_style = xy ]; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_menu_auto_hide ###
if [ "${boot_success}" = «1» -o "${boot_indeterminate}" = «1» ]; then
set last_boot_ok=1
else
set last_boot_ok=0
fi

# Reset boot_indeterminate after a successful boot
if [ "${boot_success}" = «1» ]; then
set boot_indeterminate=0
# Avoid boot_indeterminate causing the menu to be hidden more then once
elif [ "${boot_indeterminate}" = «1» ]; then
set boot_indeterminate=2
fi
set boot_success=0
save_env boot_success boot_indeterminate

if [ x$feature_timeout_style = xy ]; then
if [ "${menu_show_once}" ]; then
unset menu_show_once
save_env menu_show_once
set timeout_style=menu
set timeout=60
elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = «1» ]; then
set orig_timeout_style=${timeout_style}
set orig_timeout=${timeout}
if [ "${fastboot}" = «1» ]; then
# timeout_style=menu + timeout=0 avoids the countdown code keypress check
set timeout_style=menu
set timeout=0
else
set timeout_style=hidden
set timeout=1
fi
fi
fi
### END /etc/grub.d/01_menu_auto_hide ###

### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
set color_normal=light-green/black
set color_highlight=yellow/black
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux_proxy ###

### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry «Windows 10 » --class windows --class os $menuentry_id_option 'osprober-chain-54FE56A8FE568262' {
savedefault
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54FE56A8FE568262
else
search --no-floppy --fs-uuid --set=root 54FE56A8FE568262
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry «Debian Linux 9 » --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-26a8f82a-e5ca-4fb7-a607-b8cc14283adf' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 26a8f82a-e5ca-4fb7-a607-b8cc14283adf
else
search --no-floppy --fs-uuid --set=root 26a8f82a-e5ca-4fb7-a607-b8cc14283adf
fi
linux /boot/vmlinuz-4.9.0-7-amd64 root=UUID=26a8f82a-e5ca-4fb7-a607-b8cc14283adf ro quiet
initrd /boot/initrd.img-4.9.0-7-amd64
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/33_linux_proxy ###
menuentry «Manjaro Linux 18» --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c14a3c8e-4d17-4209-b28d-9d0b25ef4fad' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
else
search --no-floppy --fs-uuid --set=root c14a3c8e-4d17-4209-b28d-9d0b25ef4fad
fi
linux /boot/vmlinuz-4.19-x86_64 root=UUID=c14a3c8e-4d17-4209-b28d-9d0b25ef4fad rw quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log-priority=3 resume=UUID=7056548c-1a80-4c29-ab59-1d75c5ecfe34
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
}
### END /etc/grub.d/33_linux_proxy ###

### BEGIN /etc/grub.d/34_linux_xen ###
### END /etc/grub.d/34_linux_xen ###

### BEGIN /etc/grub.d/35_os-prober_proxy ###

# Other OS found, undo autohiding of menu unless menu_auto_hide=2
if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != «2» ]; then
set timeout_style=${orig_timeout_style}
set timeout=${orig_timeout}
fi
### END /etc/grub.d/35_os-prober_proxy ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+_proxy ###

if [ "${grub_platform}" == «pc» ]; then

fi
### END /etc/grub.d/60_memtest86+_proxy ###
0
avatar
Спасибо, но не помогло((
0
avatar
В сгенерированном файле настроек GRUB обнаружены синтаксические ошибки.
Убедитесь, что в файлах /etc/default/grub
и /etc/grub.d/* ошибки отсутствуют или пошлите сообщение об ошибке
в прикреплённым файлом /boot/grub/grub.cfg.new.
Может, все же покажете файл /boot/grub/grub.cfg.new?
0
avatar
Может кто подскажет, как составить bash скрипт.
значит, у меня есть вывод команды
xprop -spy -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}'

с id окон, который постоянно дополняется при выборе других окон. Получается как-то так:
[evgeniy@Terminator ~]$ xprop -spy -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}'
0x3e00003
0xc00003
0xc00003
0x3e00003
0x3e00003
0xc00003
0xc00003


как мне передавать этот вывод в переменную другой команды, чтобы эта продолжала выполняться? Т.е. чтобы скрипт работал для каждого нового окна?
Последний раз редактировалось
0
avatar
это просто команда, которая заменяет параметр окна _KDE_NET_WM_BLUR_BEHIND_REGION 0 на _KDE_NET_WM_BLUR_BEHIND_REGION 32c, т.е. включает блюр. Чтобы увидеть, окно должно быть прозрачным.
при вводе команды появится курсор в виде крестика, которым нужно указать на это окно.
0
avatar
Возможно вам ЭТО поможет.
0
avatar
testdisk справился, всем спасибо
0
avatar
Попробуй ddrescue. Я когда то использовал эту утилиту для восстановления диска. Ранее она работала только с HDD-дисками и CD/DVD.
0
avatar
Гугли в сторону восстановления таблицы разделов.
Либо же опять создавай MBR и разделы, но нужно это сделать так, чтобы размер разделов совпадал вплоть до сектора, и, само собой, новые разделы никак не форматировать. Но это сложный путь, так что смотри первое предложение.
0
avatar
Автор, объясни смысл первой команды:

xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0


Как её использовать, если мне надо заблюрить фон Konsole, например?
0
avatar
Да на здоровье. :) Кому что нравится.
Последний раз редактировалось
0
avatar
В KDE-GNOME стандартным считается режим когда дерево папок сверху, а устройства расположены ниже, да и перекидывать файлы, например из загрузок, в папки боковой панели удобнее (во всяком случае мне).
0
avatar
Источник- как обычно, сам Ваш вопрос. :) Вы описали как желательный один из двух имеющихся в Thunar стандартных режимов его работы.
Этим сочетанием клавиш Вы переключили боковую панель в режим отображения «Дерево» вместо режима «Закладки».
Кстати, многие (в том числе и я) именно режим «Закладки» считают стандартным, и более удобным. Ну зачем постоянно видеть всё дерево каталогов, когда в эти каталоги годами не заходишь? Всё нужное можно вытащить в «Закладки», а если вдруг понадобиться- куда угодно можно зайти через /.
Последний раз редактировалось
+1
avatar
Спасибо, сработало. не подскажите источник данной информации?
0
avatar
Ctrl+E
0
avatar
закрываю браузер и обнаруживаю потребление памяти на КДЕ всего 585 Мб (и 300 в свопе), меньше чем на 7ке, да и раньше меньше 700 не опускалось. Либо в КДЕ что-то оптимизировали, либо у меня что-то отвалилось лишнее :) Но пока всё норм.
Последний раз редактировалось
+1
avatar
Всё хорошо. Обновился в грабе опция hidden_timeout просто закомментирована
0
avatar
Ну, это же четвертый Release candidate. Такое при переходе на новую версию — не первый случай.
0
avatar
интересно, почему. это же должно в testing'е отсеиваться
0
avatar
особо там, кстати, ничего и не меняли
Спойлер!
cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=67f381f4-f43a-4c50-ba3a-bb00974ba30f"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
GRUB_HIDDEN_TIMEOUT=2
GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

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

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

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

выпилили секцию hidden_timeout, но оно работает
Спойлер!
cat /etc/default/grub.pacnew 
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet rd.udev.log-priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID=true

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

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
Последний раз редактировалось
0