Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Xdg-utilsのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Xdg-utils
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
{{Lowercase title}} [[Category:Freedesktop.org]] [[en:Xdg-utils]] [[ru:Xdg-utils]] [https://www.freedesktop.org/wiki/Software/xdg-utils/ xdg-utils] provides the official utilities for managing [[XDG MIME Applications]]. * {{man|1|xdg-desktop-menu}} - Install desktop menu items * {{man|1|xdg-desktop-icon}} - copies [[desktop entries]] to the user's desktop * {{man|1|xdg-email}} - Compose a new email in the user's preferred email client, potentially with subject and other info filled in * {{man|1|xdg-icon-resource}} - Install icon resources * {{man|1|xdg-mime}} - Query and install MIME types and associations * {{man|1|xdg-open}} - Open a file or URI in the user's preferred application * {{man|1|xdg-screensaver}} - Enable, disable, or suspend the screensaver * {{man|1|xdg-settings}} - Get or set the default web browser and URL handlers == Installation == [[Install]] the {{Pkg|xdg-utils}} package. == Usage == === xdg-mime === See {{man|1|xdg-mime}}. Determine a file's MIME type: $ xdg-mime query filetype photo.jpeg image/jpeg Determine the default application for a MIME type: $ xdg-mime query default image/jpeg gimp.desktop Change the default application for a MIME type: $ xdg-mime default feh.desktop image/jpeg === xdg-open === xdg-open is a [[resource opener]] that implements [[XDG MIME Applications]] and is used by many programs, see {{man|1|xdg-open}} for the usage. xdg-open is desktop-environment-independent in the sense that it attempts to use each environment's native default application tool. If no desktop environment is detected, MIME type detection falls back to using {{pkg|file}} which—ironically—does not implement the XDG standard. If you want xdg-open to use [[XDG MIME Applications]] without a desktop environment, you will need to [[install]] {{Pkg|perl-file-mimeinfo}} or switch to one of the [[resource opener]]s that support [[XDG MIME Applications]]. === xdg-settings === See {{man|1|xdg-settings}}. Shortcut to open all web MIME types with a single application: $ xdg-settings set default-web-browser firefox.desktop Shortcut for setting the default application for a URL scheme: $ xdg-settings set default-url-scheme-handler irc xchat.desktop
このページで使用されているテンプレート:
テンプレート:-
(
ソースを閲覧
)
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Lowercase title
(
ソースを閲覧
)
テンプレート:META Table cell
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:TranslationStatus
(
ソースを閲覧
)
Xdg-utils
に戻る。
検索
検索
Xdg-utilsのソースを表示
話題を追加