|
|||||||
Как прописать редактор KWrite в качестве системного, чтобы его сообщения не вываливались в консоль
Время создания: 28.10.2019 09:00
Текстовые метки: linux, редактор, текст, kwrite, kate, консоль, мусор, системные сообщения, выхлоп, bash
Раздел: Компьютер - Linux - Редакторы текста - Текстовый редактор KWrite/Kate
Запись: xintrea/mytetra_syncro/master/base/1572242416pjndhdk4wj/text.html на raw.github.com
|
|||||||
|
|||||||
Вопрос: Я установил в качестве редактора по-умолчанию KWrite: export EDITOR=kwrite
"0 instead of 1 arguments to message {Развернуть блоки %1-...} supplied before conversion." Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/16x16/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/22x22/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/24x24/filesystems/" Invalid Context= "Filesytems" line for icon theme: "/usr/share/icons/nuoveXT2/32x32/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/48x48/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/64x64/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/72x72/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/96x96/filesystems/" Invalid Context= "Filesystems" line for icon theme: "/usr/share/icons/nuoveXT2/128x128/filesystems/" Invalid Context= "Stxatus" line for icon theme: "/usr/share/icons/nuoveXT2/128x128/status/" Icon theme "nuoveXT-1.6" not found. Icon theme "Tango" not found. Icon theme "crystalsvg" not found. Creating the cache for: "/misc/codeSample/ApplicationDestroyHandle/NativeHelper.java" Already in database? false First update : QDateTime(2018-08-21 11:11:20.000 MSK Qt::TimeSpec(LocalTime)) Last update : QDateTime(2018-08-21 11:11:20.000 MSK Qt::TimeSpec(LocalTime)) After the adjustment Current score : 0 First update : QDateTime(2018-08-21 11:11:20.942 MSK Qt::TimeSpec(LocalTime)) Last update : QDateTime(2018-08-21 11:11:20.000 MSK Qt::TimeSpec(LocalTime)) New score : 0 Config timer connecting... Setting the name of 0x55887bb115e0 to "org.kde.ActivityManager.ActivityTemplates" Setting the name of 0x55887bb056f0 to "org.kde.ActivityManager.RunApplication" Setting the name of 0x55887bcc9200 to "org.kde.ActivityManager.Resources.Scoring" Creating directory: "/home/xi/.local/share/kactivitymanagerd/resources/" KActivities: Database connection: "kactivities_db_resources_139653960988864_readwrite" query_only: QVariant(qlonglong, 0) journal_mode: QVariant(QString, "wal") wal_autocheckpoint: QVariant(qlonglong, 100) synchronous: QVariant(qlonglong, 1) Service started, version: 7.0.0 Cleaning up...
Решение: Делаем запускаемый файл скрипта, например /opt/script/editorRun.sh. #!/bin/bash exec kwrite "$@" > /dev/null 2> /dev/null
export EDITOR=/opt/script/editorRun.sh
|
|||||||
Так же в этом разделе:
|
|||||||
|
|||||||
|