0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LXQtでデスクトップにショートカットを作る

Last updated at Posted at 2019-02-16

環境

  • Arch linux
  • liblxqt 0.14.0-1

手順

  • すでにデスクトップエントリーが存在する場合、ドラッグアンドドロップでデスクトップにコピーする
  • 自作のシェルスクリプトなどデスクトップエントリーが存在しない場合、以下のコマンドでエントリーを作成
  • 参考: Lubuntuでデスクトップにショートカットを作る
# lxshortcutパッケージが必要
lxshortcut -o ~/Desktop/hoge.desktop

以上の操作でデスクトップにショートカットは作成できるが、最近のバージョンのLXQtではアイコンに「!」マークが表示され、クリックすると「This file 'hoge' seems to be a desktop entry. What do you want to do with it?」というダイアログが表示される(らしい)。

これを回避するには、アイコンを右クリックし「Trust this executable」にチェックを入れれば良い。

Trust this executableオプションが永続的でないため、ログアウトするとまたもとに戻ってしまう。
そこで、以下のworkaroundを紹介する。

  1. PCManFM-Qtファイルマネージャを開き、設定を開く
  2. 「挙動」タブ内の"Launch executable files without prompt"にチェックする
  3. 「!」マークは消えないが、ダイアログは表示されずショートカットからアプリケーションを実行できる

「!」マークが消せるいい方法をお待ちしております。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?