luakitをGNOME環境のデフォルトアプリに設定する
luakit.desktop
を作成
echo "[Desktop Entry] Version=2012.09.13-r1-56-g16f8b89 Name=luakit Comment=Fast, small, WebKit based browser framework extensible by Lua. GenericName=Web Browser Keywords=Internet;WWW;Browser;Web;Explorer Exec=luakit %u Terminal=false X-MultipleArgs=false Type=Application Icon=luakit Categories=GNOME;GTK;Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; StartupNotify=true Actions=NewWindow;" > ~/.local/share/applications/luakit.desktop
データベースを更新
update-desktop-database ~/.local/share/applications/
GNOME環境でのデフォルトアプリを変更
gnome-control-center.real
→ "System/Details/Default Applications/Web" → luakitを選択
これでGNOMEアプリケーションでURLを選択した時などもluakitで表示される。