fix autostart and add it to start menu
This commit is contained in:
parent
c62fff805b
commit
8711ed0187
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Name=ukui-search
|
||||
GenericName=UKUI Global Search
|
||||
GenericName[zh_CN]=全局搜索
|
||||
Comment=ukui-search
|
||||
Comment[zh_CN]=全局搜索
|
||||
Exec=/usr/bin/ukui-search -s
|
||||
Type=Application
|
||||
Icon=ukui-search
|
||||
X-UKUI-AutoRestart=true
|
||||
OnlyShowIn=UKUI
|
||||
X-UKUI-Autostart-Phase=Application
|
||||
Terminal=false
|
|
@ -4,7 +4,7 @@ GenericName=UKUI Global Search
|
|||
GenericName[zh_CN]=全局搜索
|
||||
Comment=ukui-search
|
||||
Comment[zh_CN]=全局搜索
|
||||
Exec=usr/bin/ukui-search %U
|
||||
Exec=/usr/bin/ukui-search %U
|
||||
Type=Application
|
||||
Icon=ukui-search
|
||||
X-UKUI-AutoRestart=true
|
||||
|
|
|
@ -45,10 +45,11 @@ HEADERS += \
|
|||
target.path = /usr/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
#data.path = /usr/share/applications
|
||||
data-menu.path = /usr/share/applications
|
||||
data-menu.files += ../data/ukui-search-menu.desktop
|
||||
data.path = /etc/xdg/autostart
|
||||
data.files += ../data/ukui-search.desktop
|
||||
INSTALLS += data
|
||||
INSTALLS += data data-menu
|
||||
|
||||
RESOURCES += \
|
||||
resource.qrc
|
||||
|
@ -69,6 +70,7 @@ INCLUDEPATH += $$PWD/../libsearch
|
|||
DEPENDPATH += $$PWD/../libsearch
|
||||
|
||||
DISTFILES += \
|
||||
../data/ukui-search-menu.desktop \
|
||||
translations/bo.ts \
|
||||
translations/es.qm \
|
||||
translations/zh_CN.qm
|
||||
|
|
Loading…
Reference in New Issue