Skip to content

Commit

Permalink
Desktop Entry is added.
Browse files Browse the repository at this point in the history
  • Loading branch information
makotoshimazu committed Mar 6, 2014
1 parent c370d9e commit 79aabaf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
weblio-popup &
```

また、Ubuntu 13.10ではLens (Superキーを押すと出てくるやつ) から"weblio popup"で検索しても起動できます。

起動したらとりあえず`Ctrl+F12`を押し、ポップアップした状態でhello、などと打ってみてください。気が済んだら、もう一度`Ctrl+F12`を押しましょう。
常駐しているアイコンをクリックし、Quitを押すと終了します。
常駐しているアイコンをクリックし、Quitを押すと終了します。


## インストール
### 環境
Expand Down
11 changes: 10 additions & 1 deletion popupDictionary.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,17 @@ RESOURCES += \
resources.qrc

# install settings

unix {
# Desktop
desktop.path = /usr/share/applications
desktop.files = ./weblio-popup.desktop
# Icon
icon.path = /usr/local/share/weblio-popup
icon.files = ./img/icon.svg
# Exec file
target.path = /usr/local/bin
# Add to a installation list
INSTALLS += desktop
INSTALLS += icon
INSTALLS += target
}
11 changes: 11 additions & 0 deletions weblio-popup.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Weblio Popup
GenericName=Dictionary
Comment=Search Words
Exec=/usr/local/bin/weblio-popup
TryExec=weblio-popup
Icon=/usr/local/share/weblio-popup/icon.svg
Type=Application
Terminal=false
Categories=Utility;TextTools;Dictionary

0 comments on commit 79aabaf

Please sign in to comment.