Невозможно установить NotifyOSD Config в Ubuntu 18.04
Я пытаюсь установить NotifyOSD Config на Ubuntu 18.04, но получаю ошибки. Увидеть ниже. Любая помощь приветствуется.
Я следую за шагами здесь - https://launchpad.net/notifyconf
Вывод команды make:
/usr/lib/x86_64-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic aboutw.ui -o ui_aboutw.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o mainwindow.o mainwindow.cpp
mainwindow.cpp: In member function ‘void MainWindow::saveTheme(std::__cxx11::string)’:
mainwindow.cpp:203:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system(("gsettings set com.canonical.notify-osd gravity " + itos(ui->locationCombo->currentIndex() + 1)).c_str());
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mainwindow.cpp: In member function ‘void MainWindow::on_applyBut_clicked()’:
mainwindow.cpp:211:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("killall notify-osd");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
mainwindow.cpp:212:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("notify-send -u critical -i /usr/share/notifyosdconf/not.png "
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"\"Notify OSD Configuration\" \"This is how the notifications now look.\"");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o aboutw.o aboutw.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o util.o util.cpp
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. qtcolorpicker-2.6_1-opensource/src/qtcolorpicker.cpp -o qtcolorpicker.moc
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o qtcolorpicker.o qtcolorpicker-2.6_1-opensource/src/qtcolorpicker.cpp
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. aboutw.h -o moc_aboutw.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o moc_aboutw.o moc_aboutw.cpp
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. qtcolorpicker-2.6_1-opensource/src/qtcolorpicker.h -o moc_qtcolorpicker.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o moc_qtcolorpicker.o moc_qtcolorpicker.cpp
/usr/lib/x86_64-linux-gnu/qt4/bin/rcc -name res res.qrc -o qrc_res.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iqtcolorpicker-2.6_1-opensource/src -I. -I. -o qrc_res.o qrc_res.cpp
g++ -Wl,-O1 -o notifyosdconf main.o mainwindow.o aboutw.o util.o qtcolorpicker.o moc_mainwindow.o moc_aboutw.o moc_qtcolorpicker.o qrc_res.o -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
Вывод команды sudo make install:
install -m 644 -p /home/am/notifyosdconf/not.png /usr/share/notifyosdconf/
install: cannot stat '/home/am/notifyosdconf/not.png': No such file or directory
Makefile:289: recipe for target 'install_share_files' failed
make: [install_share_files] Error 1 (ignored)
install -m 644 -p /home/am/notifyosdconf/default.def /usr/share/notifyosdconf/
install: cannot stat '/home/am/notifyosdconf/default.def': No such file or directory
Makefile:289: recipe for target 'install_share_files' failed
make: [install_share_files] Error 1 (ignored)
install -m 644 -p /home/am/notifyosdconf/notifyconf.desktop /usr/share/applications/
install: cannot stat '/home/am/notifyosdconf/notifyconf.desktop': No such file or directory
Makefile:301: recipe for target 'install_desktop_entry' failed
make: [install_desktop_entry] Error 1 (ignored)
install -m 755 -p /home/am/notifyosdconf/notifyosdconf /usr/bin/
install: cannot stat '/home/am/notifyosdconf/notifyosdconf': No such file or directory
Makefile:311: recipe for target 'install_bin_app' failed
make: [install_bin_app] Error 1 (ignored)
Теперь я определенно еще новичок в Ubuntu и Linux в целом, но мне кажется, что команда ищет каталог для другого имени пользователя?? главная / ч? Мой дом / Ян. Мне просто нужно каким-то образом изменить эту команду, чтобы найти файлы?