{"id":2454,"date":"2019-07-24T19:09:10","date_gmt":"2019-07-24T10:09:10","guid":{"rendered":"https:\/\/wp.kaz.bz\/tech\/?p=2454"},"modified":"2019-07-24T19:09:49","modified_gmt":"2019-07-24T10:09:49","slug":"debian-10-lxde-%e3%81%a7%e3%81%ae-xdg-open-%e3%81%a7url%e3%81%8c%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%a7%e9%96%8b%e3%81%91%e3%81%aa%e3%81%84%e3%80%82","status":"publish","type":"post","link":"https:\/\/wp.kaz.bz\/tech\/2019\/07\/24\/2454.html","title":{"rendered":"Debian 10 + LXDE \u3067\u306e xdg-open \u3067URL\u304c\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u3051\u306a\u3044\u3002"},"content":{"rendered":"<p>OS\u30fb\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306f \u306f\u6b63\u78ba\u306b\u306f <a href=\"https:\/\/www.proxmox.com\/en\/proxmox-ve\" class=\"ext-link\" rel=\"external nofollow\" target=\"_blank\">Proxmox VE 6.0<\/a><\/p>\n<p>[code lang=text]<br \/>\nPackage: xdg-utils<br \/>\nVersion: 1.1.3-1<br \/>\n[\/code]<\/p>\n<ul>\n<li>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u3068\u3057\u3066 LXDE \u3092\u4f7f\u3063\u3066\u3044\u308b\u72b6\u6cc1\u3067Slack\u5185\u306eURL\u7b49\u304c\u958b\u3051\u306a\u3044\uff08 \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff0bURL \u307f\u305f\u3044\u306a\u30d1\u30b9\u3092\u958b\u3053\u3046\u3068\u3059\u308b\uff09\u75c7\u72b6\u304c\u767a\u751f\u3002<\/li>\n<li><code>xdg-open [URL]<\/code> \u3092\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u540c\u69d8\u306e\u30a8\u30e9\u30fc\u3067\u30d6\u30e9\u30a6\u30b6\u3067Web\u30da\u30fc\u30b8\u3092\u8868\u793a\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3002<\/li>\n<li>xdg-open \u306f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u306e\u3067 <code>cp \/usr\/bin\/xdg-open \/usr\/local\/bin\/xdg-open<\/code> \u3068\u3057\u3066 <code>\/usr\/local\/bin\/xdg-open<\/code> \u306e\u65b9\u3092\u3044\u3058\u308a\u306a\u304c\u3089\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u7d50\u679c\u3001 open_lxde() \u3067\u5f15\u6570\u304cURL\u304b\u30d5\u30a1\u30a4\u30eb\u304b\u3092\u691c\u8a3c\u3057\u3066\u3044\u308b\u7b87\u6240\u3067URL\u3067\u3082\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u6271\u3044\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u767a\u898b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u4e0b\u3092\u4fee\u6b63\u3059\u308b\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>[code lang=bash]<br \/>\n# xdg-open 931\u884c\u76ee<br \/>\n# if pcmanfm --help &gt;\/dev\/null 2&gt;&amp;1 -a is_file_url_or_path &quot;$1&quot;; then<br \/>\n# \u2193<br \/>\n# \u2193 \uff08if \u306e\u6761\u4ef6\u5f0f\u3092 `[ \u301c ]` \u3067\u62ec\u308b\uff09<br \/>\n# \u2193<br \/>\nif [ pcmanfm --help &gt;\/dev\/null 2&gt;&amp;1 -a is_file_url_or_path &quot;$1&quot; ]; then<br \/>\n[\/code]<\/p>\n<p>\/usr\/local\/bin \u5185\u306b\u30b3\u30d4\u30fc\u3057\u305f\u3082\u306e\u3092\u4fee\u6b63\u3059\u308b\u3053\u3068\u3067 \/usr\/local\/bin \u5185\u306e\u3082\u306e\u3092\u512a\u5148\u3057\u3066\u5229\u7528\u3055\u308c\u308b\u306f\u305a\uff08\u8a73\u3057\u304f\u306f <code>which xdg-open<\/code> \u3067\uff09<br \/>\n\u5c06\u6765\u7684\u306b xdg-utils \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u66f4\u65b0\u3055\u308c\u4fee\u6b63\u3055\u308c\u305f\u969b\u306b\u524a\u9664\u3067\u304d\u308b\u3088\u3046\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OS\u30fb\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306f \u306f\u6b63\u78ba\u306b\u306f Proxmox VE 6.0 [code lang=text] Package: xdg-utils Version: 1.1.3-1 [\/code] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u3068\u3057\u3066  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[74,50],"tags":[],"class_list":["post-2454","post","type-post","status-publish","format-standard","hentry","category-debian","category-proxmoxve"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":634,"url":"https:\/\/wp.kaz.bz\/tech\/2011\/02\/03\/634.html","url_meta":{"origin":2454,"position":0},"title":"daemontools + ucspi-tcp + djbdns(dnscache) + netqmail =","author":"kaz. Suenaga","date":"2011\/02\/03","format":false,"excerpt":"\u4e00\u6c17\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6c7a\u3081\u3046\u3061\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002 \/usr\/local\/src\/djb \u3068\u304b\u306b ins\u2026","rel":"","context":"DJB","block_context":{"text":"DJB","link":"https:\/\/wp.kaz.bz\/tech\/category\/servers\/djb"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":93,"url":"https:\/\/wp.kaz.bz\/tech\/2006\/06\/12\/93.html","url_meta":{"origin":2454,"position":1},"title":"OpenSSL \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8","author":"kaz. Suenaga","date":"2006\/06\/12","format":false,"excerpt":"[code lang=text] #! \/bin\/sh # Config PACK=openssl-\u2026","rel":"","context":"OpenSSL","block_context":{"text":"OpenSSL","link":"https:\/\/wp.kaz.bz\/tech\/category\/web\/openssl"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1145,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/04\/23\/1145.html","url_meta":{"origin":2454,"position":2},"title":"ProxmoxVE\u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306e\u624b\u9806\u3002","author":"kaz. Suenaga","date":"2012\/04\/23","format":false,"excerpt":"ProxmoxVE \u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u624b\u9806\u306e\u30e1\u30e2\u3002 \u53c2\u8003\uff09 \u2026","rel":"","context":"Proxmox VE","block_context":{"text":"Proxmox VE","link":"https:\/\/wp.kaz.bz\/tech\/category\/virtualization\/proxmoxve"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4,"url":"https:\/\/wp.kaz.bz\/tech\/2009\/11\/11\/4.html","url_meta":{"origin":2454,"position":3},"title":"qmail + vpopmail\u74b0\u5883\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"kaz. Suenaga","date":"2009\/11\/11","format":false,"excerpt":"qmail + vpopmail \u306e\u74b0\u5883\u306bmailman \u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306e\u624b\u9806\u3002 v\u2026","rel":"","context":"mailman","block_context":{"text":"mailman","link":"https:\/\/wp.kaz.bz\/tech\/category\/servers\/mailman"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":103,"url":"https:\/\/wp.kaz.bz\/tech\/2006\/06\/05\/103.html","url_meta":{"origin":2454,"position":4},"title":"\/service\/v_pop3d\/run","author":"kaz. Suenaga","date":"2006\/06\/05","format":false,"excerpt":"#! \/bin\/sh HOST_FQDN=`uname -n` PATH=\"\/var\/qmail\/b\u2026","rel":"","context":"qmail \/ vpopmail","block_context":{"text":"qmail \/ vpopmail","link":"https:\/\/wp.kaz.bz\/tech\/category\/servers\/djb\/qmail-vpopmail"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":102,"url":"https:\/\/wp.kaz.bz\/tech\/2006\/06\/05\/102.html","url_meta":{"origin":2454,"position":5},"title":"\/service\/qmail\/run","author":"kaz. Suenaga","date":"2006\/06\/05","format":false,"excerpt":"#! \/bin\/sh exec env - PATH=\"\/var\/qmail\/bin:\/usr\/lo\u2026","rel":"","context":"qmail \/ vpopmail","block_context":{"text":"qmail \/ vpopmail","link":"https:\/\/wp.kaz.bz\/tech\/category\/servers\/djb\/qmail-vpopmail"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/comments?post=2454"}],"version-history":[{"count":4,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2454\/revisions"}],"predecessor-version":[{"id":2458,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2454\/revisions\/2458"}],"wp:attachment":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/media?parent=2454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/categories?post=2454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/tags?post=2454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}