{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/testing/feed/json/ -- and add it your reader.", "next_url": "https://matoken.org/blog/tag/testing/feed/json/?paged=2", "home_page_url": "https://matoken.org/blog/tag/testing/", "feed_url": "https://matoken.org/blog/tag/testing/feed/json/", "language": "ja", "title": "testing – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=1476", "url": "https://matoken.org/blog/2016/12/07/screenfetch-like-information-display-command-neofetch/", "title": "Screenfetch\u7684\u306a\u60c5\u5831\u8868\u793a\u30b3\u30de\u30f3\u30c9\u306eNeofetch", "content_html": "

Screenfetch\u7684\u306a\u60c5\u5831\u8868\u793a\u30b3\u30de\u30f3\u30c9\u306eNeofetch

\n

\u3088\u304f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u53d6\u5f97\u3059\u308b\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308bScreenfetch\u30b3\u30de\u30f3\u30c9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\uff0e\u30b7\u30b9\u30c6\u30e0\u306e\u60c5\u5831\u3068\u30a2\u30b9\u30ad\u30fc\u30a2\u30fc\u30c8\u3092\u7d20\u6575\u306b\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\uff0e \u3053\u308c\u306b\u306b\u305f\u3082\u306e\u3067Netfetch\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3053\u3061\u3089\u306f\u753b\u50cf\u3082\u6271\u3048\u308b\u3088\u3046\u3067\u3059\uff0e

\n\n

\u5c0e\u5165

\n

\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b\u5404\u7a2e\u74b0\u5883\u3078\u306e\u5c0e\u5165\u65b9\u6cd5\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff0e

\n\n

Debian sid/stretch\u306b\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\uff0c

\n
Neofetch is in Debian Unstable/Stretch's official repositories.
\n

\u4eca\u306fsid\u306e\u307f\u306e\u3088\u3046\u3067\u3059\uff0e

\n\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3072\u3068\u307e\u305astretch\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e

\n
$ #-- /etc/apt/sources.list.d/neofetch \u3092\u4f5c\u308b\r\n$ sudo apt edit-sources neofetch\r\n$ cat /etc/apt/sources.list.d/neofetch.list\r\ndeb http://dl.bintray.com/dawidd6/neofetch jessie main\r\n$ #-- \u9375\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\r\n$ wget "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" -O Release-neofetch.key\r\n$ gpg Release-neofetch.key\r\npub   rsa4096 2015-02-17 [SC]\r\n      8756C4F765C9AC3CB6B85D62379CE192D401AB61\r\nuid           Bintray (by JFrog) <bintray@bintray.com>\r\nsub   rsa4096 2015-02-17 [E]\r\n$ sudo apt-key add Release-neofetch.key\r\n$ rm Release-neofetch.key\r\n$ #-- pkg\u60c5\u5831\u66f4\u65b0&pkg\u5c0e\u5165\r\n$ sudo apt update\r\n$ sudo apt install neofetch
\n

\u65e9\u901f\u5b9f\u884c

\n
$ neofetch --help\r\n\r\n    NEOFETCH\r\n\r\n    USAGE: neofetch --option "value" --option "value"\r\n\r\n    NOTE: There's also a config option for each flag below.\r\n\r\n    Info:\r\n    --disable infoname          Allows you to disable an info line from appearing\r\n                                in the output.\r\n                                NOTE: You can supply multiple args. eg.\r\n                                'neofetch --disable cpu gpu disk shell'\r\n                                NOTE: The arguments must all be lowercase.\r\n    --os_arch on/off            Hide/Show OS architecture.\r\n    --speed_type type           Change the type of cpu speed to display.\r\n                                Possible values: current, min, max, bios,\r\n                                scaling_current, scaling_min, scaling_max\r\n                                NOTE: This only support Linux with cpufreq.\r\n    --cpu_shorthand type        Shorten the output of CPU\r\n                                Possible values: name, speed, tiny, on, off\r\n    --cpu_cores type            Whether or not to display the number of CPU cores\r\n                                Takes: logical, physical, off\r\n                                NOTE: 'physical' doesn't work on BSD.\r\n    --cpu_speed on/off          Hide/Show cpu speed.\r\n    --cpu_temp on/off           Hide/Show cpu temperature.\r\n                                NOTE: This only works on Linux and BSD.\r\n                                NOTE: For FreeBSD-based systems, you need to enable coretemp\r\n                                      kernel module.\r\n    --distro_shorthand on/off   Shorten the output of distro (tiny, on, off)\r\n                                NOTE: This option won't work in Windows (Cygwin)\r\n    --kernel_shorthand on/off   Shorten the output of kernel\r\n                                NOTE: This option won't work in BSDs (except PacBSD and PC-BSD)\r\n    --uptime_shorthand on/off   Shorten the output of uptime (tiny, on, off)\r\n    --refresh_rate on/off       Whether to display the refresh rate of each monitor\r\n                                Unsupported on Windows\r\n    --gpu_brand on/off          Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)\r\n    --gtk_shorthand on/off      Shorten output of gtk theme/icons\r\n    --gtk2 on/off               Enable/Disable gtk2 theme/icons output\r\n    --gtk3 on/off               Enable/Disable gtk3 theme/icons output\r\n    --shell_path on/off         Enable/Disable showing $SHELL path\r\n    --shell_version on/off      Enable/Disable showing $SHELL version\r\n    --ip_host url               Url to query for public IP\r\n    --song_shorthand on/off     Print the Artist/Title on seperate lines\r\n    --birthday_shorthand on/off Shorten the output of birthday\r\n    --birthday_time on/off      Enable/Disable showing the time in birthday output\r\n    --birthday_format format    Format the birthday output. (Uses 'date' cmd format)\r\n\r\n    Text Formatting:\r\n    --colors x x x x x x        Changes the text colors in this order:\r\n                                title, @, underline, subtitle, colon, info\r\n    --underline on/off          Enable/Disable the underline.\r\n    --underline_char char       Character to use when underlining title\r\n    --bold on/off               Enable/Disable bold text\r\n\r\n    Color Blocks:\r\n    --color_blocks on/off       Enable/Disable the color blocks\r\n    --block_width num           Width of color blocks in spaces\r\n    --block_height num          Height of color blocks in lines\r\n    --block_range start end     Range of colors to print as blocks\r\n\r\n    Bars:\r\n    --bar_char 'elapsed char' 'total char'\r\n                                Characters to use when drawing bars.\r\n    --bar_border on/off         Whether or not to surround the bar with '[]'\r\n    --bar_length num            Length in spaces to make the bars.\r\n    --bar_colors num num        Colors to make the bar.\r\n                                Set in this order: elapsed, total\r\n    --cpu_display mode          Bar mode.\r\n                                Takes: bar, infobar, barinfo, off\r\n    --memory_display mode       Bar mode.\r\n                                Takes: bar, infobar, barinfo, off\r\n    --battery_display mode      Bar mode.\r\n                                Takes: bar, infobar, barinfo, off\r\n    --disk_display mode         Bar mode.\r\n                                Takes: bar, infobar, barinfo, off\r\n\r\n    Image:\r\n    --image type                Image source. Where and what image we display.\r\n                                Possible values: wall, ascii,\r\n                                /path/to/img, /path/to/dir/, off\r\n    --size 00px | --size 00%    How to size the image.\r\n                                Possible values: auto, 00px, 00%, none\r\n    --crop_mode mode            Which crop mode to use\r\n                                Takes the values: normal, fit, fill\r\n    --crop_offset value         Change the crop offset for normal mode.\r\n                                Possible values: northwest, north, northeast,\r\n                                west, center, east, southwest, south, southeast\r\n\r\n    --xoffset px                How close the image will be to the left edge of the\r\n                                window. This only works with w3m.\r\n    --yoffset px                How close the image will be to the top edge of the\r\n                                window. This only works with w3m.\r\n    --bg_color color            Background color to display behind transparent image.\r\n                                This only works with w3m.\r\n    --gap num                   Gap between image and text.\r\n                                NOTE: --gap can take a negative value which will\r\n                                move the text closer to the left side.\r\n    --clean                     Delete cached files and thumbnails.\r\n\r\n    Ascii:\r\n    --ascii value               Where to get the ascii from, Possible values:\r\n                                distro, /path/to/ascii\r\n    --ascii_colors x x x x x x  Colors to print the ascii art\r\n    --ascii_distro distro       Which Distro's ascii art to print\r\n                                NOTE: Arch and Ubuntu have 'old' logo varients.\r\n                                NOTE: Use 'arch_old' or 'ubuntu_old' to use the old logos.\r\n                                NOTE: Ubuntu has flavor varients.\r\n                                NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME'\r\n                                or 'Ubuntu-Budgie' to use the flavors.\r\n    --ascii_logo_size           Size of ascii logo.\r\n                                Supported distros: Arch, Gentoo, Crux, OpenBSD.\r\n    --ascii_bold on/off         Whether or not to bold the ascii logo.\r\n    --logo | -L                 Hide the info text and only show the ascii logo.\r\n\r\n    Screenshot:\r\n    --scrot | -s /path/to/img   Take a screenshot, if path is left empty the screen-\r\n                                shot function will use $scrot_dir and $scrot_name.\r\n    --upload | -su /pth/t/img   Same as --scrot but uploads the scrot to a website.\r\n    --image_host                Website to upload scrots to. Takes: imgur, teknik\r\n    --scrot_cmd cmd             Screenshot program to launch\r\n\r\n    Other:\r\n    --config /path/to/config    Specify a path to a custom config file\r\n    --config none               Launch the script without a config file\r\n    --help                      Print this text and exit\r\n    --version                   Show neofetch version\r\n    -v                          Display error messages.\r\n    -vv                         Display a verbose log for error reporting.
\n

\u30aa\u30d7\u30b7\u30e7\u30f3\u7d50\u69cb\u591a\u3044\u3067\u3059\uff0e \u3068\u308a\u3042\u3048\u305a\u7d20\u3067\u5b9f\u884c\uff0e

\n

\"20161207_05:12:12-5188\"
\n

\n

\u60c5\u5831\u3082Screenfetch\u3088\u308a\u5897\u3048\u3066\u3044\u307e\u3059\uff0e

\n

\"20161207_05:12:20-9093\"
\n

\n

\u6b21\u306f\u753b\u50cf\u3092\u6307\u5b9a\u3057\u3066\u307f\u307e\u3059\uff0e\u753b\u50cf\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304b\u3063\u305f\u306e\u306725%\u306b\u7e2e\u5c0f\u3082\u3057\u3066\u3044\u307e\u3059\uff0e \u697d\u3057\u3044 :)

\n

\"20161207_05:12:35-3963\"
\n
\n\"20161207_06:12:30-16979\"
\n

\n

\u753b\u50cf\u306e\u8868\u793a\u306b\u3064\u3044\u3066\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u3046\u307e\u304f\u884c\u304f\u884c\u304b\u306a\u3044\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\u3046\u307e\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306eWiki\u3092\u53c2\u7167\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e

\n\n

\n", "content_text": "Screenfetch\u7684\u306a\u60c5\u5831\u8868\u793a\u30b3\u30de\u30f3\u30c9\u306eNeofetch\n\u3088\u304f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u53d6\u5f97\u3059\u308b\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308bScreenfetch\u30b3\u30de\u30f3\u30c9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\uff0e\u30b7\u30b9\u30c6\u30e0\u306e\u60c5\u5831\u3068\u30a2\u30b9\u30ad\u30fc\u30a2\u30fc\u30c8\u3092\u7d20\u6575\u306b\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\uff0e \u3053\u308c\u306b\u306b\u305f\u3082\u306e\u3067Netfetch\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3053\u3061\u3089\u306f\u753b\u50cf\u3082\u6271\u3048\u308b\u3088\u3046\u3067\u3059\uff0e\n\ndylanaraps/neofetch: A fast, highly customizable system info script that supports Linux, MacOS, iOS, BSD, Solaris, Android, Haiku, GNU Hurd and Windows (Cygwin/Windows 10 Linux subsystem)\n\n\u5c0e\u5165\n\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b\u5404\u7a2e\u74b0\u5883\u3078\u306e\u5c0e\u5165\u65b9\u6cd5\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff0e\n\nInstallation \u00b7 dylanaraps/neofetch Wiki\n\nDebian sid/stretch\u306b\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\uff0c\nNeofetch is in Debian Unstable/Stretch's official repositories.\n\u4eca\u306fsid\u306e\u307f\u306e\u3088\u3046\u3067\u3059\uff0e\n\nDebian — \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — neofetch\n\n\u3068\u3044\u3046\u3053\u3068\u3067\u3072\u3068\u307e\u305astretch\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\n$ #-- /etc/apt/sources.list.d/neofetch \u3092\u4f5c\u308b\r\n$ sudo apt edit-sources neofetch\r\n$ cat /etc/apt/sources.list.d/neofetch.list\r\ndeb http://dl.bintray.com/dawidd6/neofetch jessie main\r\n$ #-- \u9375\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\r\n$ wget "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" -O Release-neofetch.key\r\n$ gpg Release-neofetch.key\r\npub rsa4096 2015-02-17 [SC]\r\n 8756C4F765C9AC3CB6B85D62379CE192D401AB61\r\nuid Bintray (by JFrog) <bintray@bintray.com>\r\nsub rsa4096 2015-02-17 [E]\r\n$ sudo apt-key add Release-neofetch.key\r\n$ rm Release-neofetch.key\r\n$ #-- pkg\u60c5\u5831\u66f4\u65b0&pkg\u5c0e\u5165\r\n$ sudo apt update\r\n$ sudo apt install neofetch\n\u65e9\u901f\u5b9f\u884c\n$ neofetch --help\r\n\r\n NEOFETCH\r\n\r\n USAGE: neofetch --option "value" --option "value"\r\n\r\n NOTE: There's also a config option for each flag below.\r\n\r\n Info:\r\n --disable infoname Allows you to disable an info line from appearing\r\n in the output.\r\n NOTE: You can supply multiple args. eg.\r\n 'neofetch --disable cpu gpu disk shell'\r\n NOTE: The arguments must all be lowercase.\r\n --os_arch on/off Hide/Show OS architecture.\r\n --speed_type type Change the type of cpu speed to display.\r\n Possible values: current, min, max, bios,\r\n scaling_current, scaling_min, scaling_max\r\n NOTE: This only support Linux with cpufreq.\r\n --cpu_shorthand type Shorten the output of CPU\r\n Possible values: name, speed, tiny, on, off\r\n --cpu_cores type Whether or not to display the number of CPU cores\r\n Takes: logical, physical, off\r\n NOTE: 'physical' doesn't work on BSD.\r\n --cpu_speed on/off Hide/Show cpu speed.\r\n --cpu_temp on/off Hide/Show cpu temperature.\r\n NOTE: This only works on Linux and BSD.\r\n NOTE: For FreeBSD-based systems, you need to enable coretemp\r\n kernel module.\r\n --distro_shorthand on/off Shorten the output of distro (tiny, on, off)\r\n NOTE: This option won't work in Windows (Cygwin)\r\n --kernel_shorthand on/off Shorten the output of kernel\r\n NOTE: This option won't work in BSDs (except PacBSD and PC-BSD)\r\n --uptime_shorthand on/off Shorten the output of uptime (tiny, on, off)\r\n --refresh_rate on/off Whether to display the refresh rate of each monitor\r\n Unsupported on Windows\r\n --gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)\r\n --gtk_shorthand on/off Shorten output of gtk theme/icons\r\n --gtk2 on/off Enable/Disable gtk2 theme/icons output\r\n --gtk3 on/off Enable/Disable gtk3 theme/icons output\r\n --shell_path on/off Enable/Disable showing $SHELL path\r\n --shell_version on/off Enable/Disable showing $SHELL version\r\n --ip_host url Url to query for public IP\r\n --song_shorthand on/off Print the Artist/Title on seperate lines\r\n --birthday_shorthand on/off Shorten the output of birthday\r\n --birthday_time on/off Enable/Disable showing the time in birthday output\r\n --birthday_format format Format the birthday output. (Uses 'date' cmd format)\r\n\r\n Text Formatting:\r\n --colors x x x x x x Changes the text colors in this order:\r\n title, @, underline, subtitle, colon, info\r\n --underline on/off Enable/Disable the underline.\r\n --underline_char char Character to use when underlining title\r\n --bold on/off Enable/Disable bold text\r\n\r\n Color Blocks:\r\n --color_blocks on/off Enable/Disable the color blocks\r\n --block_width num Width of color blocks in spaces\r\n --block_height num Height of color blocks in lines\r\n --block_range start end Range of colors to print as blocks\r\n\r\n Bars:\r\n --bar_char 'elapsed char' 'total char'\r\n Characters to use when drawing bars.\r\n --bar_border on/off Whether or not to surround the bar with '[]'\r\n --bar_length num Length in spaces to make the bars.\r\n --bar_colors num num Colors to make the bar.\r\n Set in this order: elapsed, total\r\n --cpu_display mode Bar mode.\r\n Takes: bar, infobar, barinfo, off\r\n --memory_display mode Bar mode.\r\n Takes: bar, infobar, barinfo, off\r\n --battery_display mode Bar mode.\r\n Takes: bar, infobar, barinfo, off\r\n --disk_display mode Bar mode.\r\n Takes: bar, infobar, barinfo, off\r\n\r\n Image:\r\n --image type Image source. Where and what image we display.\r\n Possible values: wall, ascii,\r\n /path/to/img, /path/to/dir/, off\r\n --size 00px | --size 00% How to size the image.\r\n Possible values: auto, 00px, 00%, none\r\n --crop_mode mode Which crop mode to use\r\n Takes the values: normal, fit, fill\r\n --crop_offset value Change the crop offset for normal mode.\r\n Possible values: northwest, north, northeast,\r\n west, center, east, southwest, south, southeast\r\n\r\n --xoffset px How close the image will be to the left edge of the\r\n window. This only works with w3m.\r\n --yoffset px How close the image will be to the top edge of the\r\n window. This only works with w3m.\r\n --bg_color color Background color to display behind transparent image.\r\n This only works with w3m.\r\n --gap num Gap between image and text.\r\n NOTE: --gap can take a negative value which will\r\n move the text closer to the left side.\r\n --clean Delete cached files and thumbnails.\r\n\r\n Ascii:\r\n --ascii value Where to get the ascii from, Possible values:\r\n distro, /path/to/ascii\r\n --ascii_colors x x x x x x Colors to print the ascii art\r\n --ascii_distro distro Which Distro's ascii art to print\r\n NOTE: Arch and Ubuntu have 'old' logo varients.\r\n NOTE: Use 'arch_old' or 'ubuntu_old' to use the old logos.\r\n NOTE: Ubuntu has flavor varients.\r\n NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME'\r\n or 'Ubuntu-Budgie' to use the flavors.\r\n --ascii_logo_size Size of ascii logo.\r\n Supported distros: Arch, Gentoo, Crux, OpenBSD.\r\n --ascii_bold on/off Whether or not to bold the ascii logo.\r\n --logo | -L Hide the info text and only show the ascii logo.\r\n\r\n Screenshot:\r\n --scrot | -s /path/to/img Take a screenshot, if path is left empty the screen-\r\n shot function will use $scrot_dir and $scrot_name.\r\n --upload | -su /pth/t/img Same as --scrot but uploads the scrot to a website.\r\n --image_host Website to upload scrots to. Takes: imgur, teknik\r\n --scrot_cmd cmd Screenshot program to launch\r\n\r\n Other:\r\n --config /path/to/config Specify a path to a custom config file\r\n --config none Launch the script without a config file\r\n --help Print this text and exit\r\n --version Show neofetch version\r\n -v Display error messages.\r\n -vv Display a verbose log for error reporting.\n\u30aa\u30d7\u30b7\u30e7\u30f3\u7d50\u69cb\u591a\u3044\u3067\u3059\uff0e \u3068\u308a\u3042\u3048\u305a\u7d20\u3067\u5b9f\u884c\uff0e\n\n\n\u60c5\u5831\u3082Screenfetch\u3088\u308a\u5897\u3048\u3066\u3044\u307e\u3059\uff0e\n\n\n\u6b21\u306f\u753b\u50cf\u3092\u6307\u5b9a\u3057\u3066\u307f\u307e\u3059\uff0e\u753b\u50cf\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304b\u3063\u305f\u306e\u306725%\u306b\u7e2e\u5c0f\u3082\u3057\u3066\u3044\u307e\u3059\uff0e \u697d\u3057\u3044 :)\n\n\n\n\n\u753b\u50cf\u306e\u8868\u793a\u306b\u3064\u3044\u3066\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u3046\u307e\u304f\u884c\u304f\u884c\u304b\u306a\u3044\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\u3046\u307e\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306eWiki\u3092\u53c2\u7167\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\n\nImages in the terminal \u00b7 dylanaraps/neofetch Wiki", "date_published": "2016-12-07T06:27:09+09:00", "date_modified": "2016-12-07T06:27:09+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "neofetch", "screenfetch", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1394", "url": "https://matoken.org/blog/2016/06/17/want-the-android-terminal-to-the-touch-pad-instead-of-linux-blink-of-bluetooth-use/", "title": "Android\u7aef\u672b\u3092Linux\u306e\u30bf\u30c3\u30c1\u30d1\u30c3\u30c9\u66ff\u308f\u308a\u306b\u3057\u305f\u3044(Bluetooth\u5229\u7528\u306eBlink)", "content_html": "
\n
\n
\n
\n

\u6700\u8fd1\u307e\u305f\u30dd\u30a4\u30f3\u30c6\u30a3\u30f3\u30b0\u30c7\u30d0\u30a4\u30b9\u306bApple Wireless Trackpad\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u6301\u3061\u904b\u3073\u306b\u306f\u5c11\u3057\u5d69\u5f35\u308a\u307e\u3059\uff0e\u30de\u30a6\u30b9\u3092\u6301\u3061\u904b\u3076\u306e\u3082\u304b\u3055\u3070\u308a\u307e\u3059\uff0e
\nUbuntu Touch\u3067HDMI\u63a5\u7d9a\u6642\u306b\u30bf\u30c3\u30c1\u30c7\u30d0\u30a4\u30b9\u306b\u306a\u308b\u3068\u3044\u3046\u306e\u3092\u898b\u3066Android\u7aef\u672b\u3092\u30bf\u30c3\u30c1\u30c7\u30d0\u30a4\u30b9\u306b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u306e\u3067\u306f?\u305d\u308c\u306a\u3089\u8377\u7269\u5897\u3048\u7121\u3044\u3057\u3044\u3044\u304b\u3082\u3068\u601d\u3063\u3066\u5c11\u3057\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

Bluetooth\u5229\u7528\u306eBlink

\n
\n\n
\n

Blink\u306fBluetooth\u63a5\u7d9a\u304b\u3064PC\u5074\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u52d5\u304b\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u5148\u305aBluetooth\u30da\u30a2\u30ea\u30f3\u30b0\u3092\u3057\u3066\u304a\u304d\uff0cPC\u5074\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e

\n
\n
\n
    \n
  • \n

    \u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165

    \n
  • \n
\n
\n
\n
\n
$ sudo apt install bluez python-bluez xdotoolsudo apt-get install bluez python-bluez xdotool
\n
\n
\n
\n
    \n
  • \n

    \u30c7\u30fc\u30e2\u30f3\u306e\u5c0e\u5165

    \n
  • \n
\n
\n
\n
\n
$ git clone https://github.com/drpain/blink-server.git ~/.blink
\n
\n
\n
\n

\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u8d77\u52d5\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u70b9\u3067\u306eDebian stretch testing amd64\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e

\n
\n
\n
\n
$ sudo ~/.blink/bluetooth_server.py\r\nTraceback (most recent call last):\r\n  File \"/home/mk/.blink/bluetooth_server.py\", line 25, in <module>\r\n    profiles         = [ SERIAL_PORT_PROFILE ]\r\n  File \"/usr/lib/python2.7/dist-packages/bluetooth/bluez.py\", line 176, in advertise_service\r\n    raise BluetoothError (str (e))\r\nbluetooth.btcommon.BluetoothError: (2, 'No such file or directory')
\n
\n
\n
\n

Guihub\u306eHELP\u3092\u53c2\u8003\u306b*/etc/bluetooth/main.conf*\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
diff --git a/bluetooth/main.conf b/bluetooth/main.conf\r\nindex 372fd8c..2f7cc4a 100644\r\n--- a/bluetooth/main.conf\r\n+++ b/bluetooth/main.conf\r\n@@ -64,6 +64,9 @@\r\n # 'false'.\r\n #FastConnectable = false\r\n\r\n+# \"drpain/blink-server: This is the server you would need to be able to run the Blink Android Application.\" https://github.com/drpain/blink-server\r\n+DisablePlugins = pnat\r\n+\r\n #[Policy]\r\n #\r\n # The ReconnectUUIDs defines the set of remote services that should try
\n
\n
\n
\n

\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\u306bbluetoothd\u3092\u518d\u8d77\u52d5\u3057\u3066\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
$ sudo service bluetooth restart
\n
\n
\n
\n

\u30b5\u30fc\u30d0\u306f\u8981root\u306e\u3088\u3046\u3067\u3059\uff0e
\n\u3053\u306e\u72b6\u614b\u3067Android\u5074\u304b\u3089\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u3092\u9078\u629e\u3057\u3066\u63a5\u7d9a\u3059\u308c\u3070ok\uff0e

\n
\n
\n
\n
$ sudo ~/.blink/bluetooth_server.py\r\nREADY FOR CONNECTIONS, RFCOMM channel 1\r\n('INBOUND CONNECTION ', ('68:76:4F:3B:D1:E0', 1))\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":null,\"y\":null}]\r\n['xdotool', 'mousemove_relative', '--', 'None', 'None']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":-1,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '--', '-1', '0']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":0,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '0', '0']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":-1,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '--', '-1', '0']
\n
\n
\n
\n

\u4e0a\u306e\u65b9\u306e\u30e2\u30fc\u30c9\u5207\u66ff\u30b9\u30a4\u30c3\u30c1\u3092\u30bf\u30c3\u30d7\u3057\u3066\u898f\u5b9a\u306e\u300cSwipe Area\u300d\u304b\u3089\u300cMouse\u300d\u306b\u3057\u307e\u3059\uff0e\u300cMouse Area\u300d\u3067\u64cd\u4f5c\u3059\u308b\u3068xdotool\u306e\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u3064\u3064\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n

\"27629912281
\n\"27094267013

\n
\n
\n

\u64cd\u4f5c\u306f\u5c11\u3057\u89e3\u308a\u3065\u3089\u304f\u3066\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e

\n
\n
\n
    \n
  • \n

    \u30bf\u30c3\u30d7→\u5de6\u30af\u30ea\u30c3\u30af

    \n
  • \n
  • \n

    \u30bf\u30c3\u30d7, \u30db\u30fc\u30eb\u30c9, \u30ea\u30ea\u30fc\u30b9 → \u53f3\u30af\u30ea\u30c3\u30af

    \n
  • \n
\n
\n
\n

\u4e2d\u30af\u30ea\u30c3\u30af\u3084\u30c9\u30e9\u30c3\u30b0\u306f\u591a\u5206\u672a\u5b9f\u88c5\u3067\u4f7f\u3048\u307e\u305b\u3093\uff0e
\n\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\u306f\u3061\u3089\u3064\u304d\u307e\u3059\u304c\u3068\u308a\u3042\u3048\u305a\u4f7f\u3048\u308b\u611f\u3058\u3067\u3059\uff0e

\n
\n
\n

\u3067\u3082\u5c0e\u5165\u306b\u8981\u8a2d\u5b9a\u5909\u66f4&\u8981root\u306a\u306e\u304c\u9762\u5012\u3067\u3059\u306d\uff0e

\n
\n
\n
\n
\n

\n", "content_text": "\u6700\u8fd1\u307e\u305f\u30dd\u30a4\u30f3\u30c6\u30a3\u30f3\u30b0\u30c7\u30d0\u30a4\u30b9\u306bApple Wireless Trackpad\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u6301\u3061\u904b\u3073\u306b\u306f\u5c11\u3057\u5d69\u5f35\u308a\u307e\u3059\uff0e\u30de\u30a6\u30b9\u3092\u6301\u3061\u904b\u3076\u306e\u3082\u304b\u3055\u3070\u308a\u307e\u3059\uff0e\nUbuntu Touch\u3067HDMI\u63a5\u7d9a\u6642\u306b\u30bf\u30c3\u30c1\u30c7\u30d0\u30a4\u30b9\u306b\u306a\u308b\u3068\u3044\u3046\u306e\u3092\u898b\u3066Android\u7aef\u672b\u3092\u30bf\u30c3\u30c1\u30c7\u30d0\u30a4\u30b9\u306b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u306e\u3067\u306f?\u305d\u308c\u306a\u3089\u8377\u7269\u5897\u3048\u7121\u3044\u3057\u3044\u3044\u304b\u3082\u3068\u601d\u3063\u3066\u5c11\u3057\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\nBluetooth\u5229\u7528\u306eBlink\n\n\n\n\nBlink Linux Remote Control – Google Play \u306e Android \u30a2\u30d7\u30ea\n\n\ndrpain/blink-server: This is the server you would need to be able to run the Blink Android Application.\n\n\n\n\nBlink\u306fBluetooth\u63a5\u7d9a\u304b\u3064PC\u5074\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u52d5\u304b\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\n\u5148\u305aBluetooth\u30da\u30a2\u30ea\u30f3\u30b0\u3092\u3057\u3066\u304a\u304d\uff0cPC\u5074\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e\n\n\n\n\n\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\n\n\n\n\n\n$ sudo apt install bluez python-bluez xdotoolsudo apt-get install bluez python-bluez xdotool\n\n\n\n\n\n\u30c7\u30fc\u30e2\u30f3\u306e\u5c0e\u5165\n\n\n\n\n\n$ git clone https://github.com/drpain/blink-server.git ~/.blink\n\n\n\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u8d77\u52d5\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u70b9\u3067\u306eDebian stretch testing amd64\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e\n\n\n\n$ sudo ~/.blink/bluetooth_server.py\r\nTraceback (most recent call last):\r\n File \"/home/mk/.blink/bluetooth_server.py\", line 25, in <module>\r\n profiles = [ SERIAL_PORT_PROFILE ]\r\n File \"/usr/lib/python2.7/dist-packages/bluetooth/bluez.py\", line 176, in advertise_service\r\n raise BluetoothError (str (e))\r\nbluetooth.btcommon.BluetoothError: (2, 'No such file or directory')\n\n\n\nGuihub\u306eHELP\u3092\u53c2\u8003\u306b*/etc/bluetooth/main.conf*\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\uff0e\n\n\n\ndiff --git a/bluetooth/main.conf b/bluetooth/main.conf\r\nindex 372fd8c..2f7cc4a 100644\r\n--- a/bluetooth/main.conf\r\n+++ b/bluetooth/main.conf\r\n@@ -64,6 +64,9 @@\r\n # 'false'.\r\n #FastConnectable = false\r\n\r\n+# \"drpain/blink-server: This is the server you would need to be able to run the Blink Android Application.\" https://github.com/drpain/blink-server\r\n+DisablePlugins = pnat\r\n+\r\n #[Policy]\r\n #\r\n # The ReconnectUUIDs defines the set of remote services that should try\n\n\n\n\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\u306bbluetoothd\u3092\u518d\u8d77\u52d5\u3057\u3066\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\uff0e\n\n\n\n$ sudo service bluetooth restart\n\n\n\n\u30b5\u30fc\u30d0\u306f\u8981root\u306e\u3088\u3046\u3067\u3059\uff0e\n\u3053\u306e\u72b6\u614b\u3067Android\u5074\u304b\u3089\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u3092\u9078\u629e\u3057\u3066\u63a5\u7d9a\u3059\u308c\u3070ok\uff0e\n\n\n\n$ sudo ~/.blink/bluetooth_server.py\r\nREADY FOR CONNECTIONS, RFCOMM channel 1\r\n('INBOUND CONNECTION ', ('68:76:4F:3B:D1:E0', 1))\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":null,\"y\":null}]\r\n['xdotool', 'mousemove_relative', '--', 'None', 'None']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":-1,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '--', '-1', '0']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":0,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '0', '0']\r\nCOMMAND RECEIVED [{\"action\":\"mouse-move\",\"x\":-1,\"y\":0}]\r\n['xdotool', 'mousemove_relative', '--', '-1', '0']\n\n\n\n\u4e0a\u306e\u65b9\u306e\u30e2\u30fc\u30c9\u5207\u66ff\u30b9\u30a4\u30c3\u30c1\u3092\u30bf\u30c3\u30d7\u3057\u3066\u898f\u5b9a\u306e\u300cSwipe Area\u300d\u304b\u3089\u300cMouse\u300d\u306b\u3057\u307e\u3059\uff0e\u300cMouse Area\u300d\u3067\u64cd\u4f5c\u3059\u308b\u3068xdotool\u306e\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u3064\u3064\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0e\n\n\n\n\n\n\n\u64cd\u4f5c\u306f\u5c11\u3057\u89e3\u308a\u3065\u3089\u304f\u3066\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e\n\n\n\n\n\u30bf\u30c3\u30d7→\u5de6\u30af\u30ea\u30c3\u30af\n\n\n\u30bf\u30c3\u30d7, \u30db\u30fc\u30eb\u30c9, \u30ea\u30ea\u30fc\u30b9 → \u53f3\u30af\u30ea\u30c3\u30af\n\n\n\n\n\u4e2d\u30af\u30ea\u30c3\u30af\u3084\u30c9\u30e9\u30c3\u30b0\u306f\u591a\u5206\u672a\u5b9f\u88c5\u3067\u4f7f\u3048\u307e\u305b\u3093\uff0e\n\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\u306f\u3061\u3089\u3064\u304d\u307e\u3059\u304c\u3068\u308a\u3042\u3048\u305a\u4f7f\u3048\u308b\u611f\u3058\u3067\u3059\uff0e\n\n\n\u3067\u3082\u5c0e\u5165\u306b\u8981\u8a2d\u5b9a\u5909\u66f4&\u8981root\u306a\u306e\u304c\u9762\u5012\u3067\u3059\u306d\uff0e", "date_published": "2016-06-17T22:36:25+09:00", "date_modified": "2016-06-17T22:36:25+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Android", "Debian", "Linux", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1390", "url": "https://matoken.org/blog/2016/06/17/to-set-the-apple-wireless-trackpad-at-awesomes/", "title": "awesome\u3068\u304b\u3067Apple Wireless Trackpad\u3092\u8a2d\u5b9a\u3059\u308b", "content_html": "
\n
\n

Bluetooth\u63a5\u7d9a\u306eApple Wireless Trackpad\u3067\u3059\u304c\uff0cGnome\u3068\u304b\u3060\u3068Bluetooth\u3067\u30da\u30a2\u30ea\u30f3\u30b0\u3057\u305f\u5f8c\u3053\u3093\u306a\u611f\u3058\u3067GUI\u3067\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c

\n
\n
\n

\"27082898093
\n\"27082898303
\n\"27414891970

\n
\n
\n

awesome\u3060\u3068\u52b9\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u30da\u30a2\u30ea\u30f3\u30b0\u3057\u305f\u5f8c\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\uff0c2\u672c\u6307\u30b9\u30af\u30ed\u30fc\u30eb\uff0c\u53f3\u30af\u30ea\u30c3\u30af\u306f\u306a\u3069\u306f\u52d5\u4f5c\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u4e00\u756a\u5229\u7528\u3059\u308b\u5de6\u30af\u30ea\u30c3\u30af\u304c\u52d5\u4f5c\u3057\u307e\u305b\u3093\uff0e

\n
\n
\n

\u3053\u3044\u3064\u306fDynaptics driver\u7528\u306e\u30b3\u30de\u30f3\u30c9\u306esynclient\u3092\u4f7f\u3063\u3066\u8a2d\u5b9a\u5185\u5bb9\u306e\u78ba\u8a8d\u3068\u30a2\u30c9\u30db\u30c3\u30af\u306a\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e
\n\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408 xserver-xorg-input-synaptics pkg\u3092\u5c0e\u5165\u3057\u3066\u304f\u3060\u3055\u3044\uff0e
\n-l option\u3067\u8a2d\u5b9a\u9805\u76ee\u306e\u78ba\u8a8d\u304c\u51fa\u6765\u307e\u3059\uff0e

\n
\n
\n
\n
$ synclient -l\r\nParameter settings:\r\n    LeftEdge                = -2393\r\n    RightEdge               = 2651\r\n    TopEdge                 = -2030\r\n    BottomEdge              = 2139\r\n    FingerLow               = 70\r\n    FingerHigh              = 75\r\n    MaxTapTime              = 180\r\n    MaxTapMove              = 346\r\n    MaxDoubleTapTime        = 100\r\n    SingleTapTimeout        = 180\r\n    ClickTime               = 100\r\n    EmulateMidButtonTime    = 0\r\n    EmulateTwoFingerMinZ    = 100\r\n    EmulateTwoFingerMinW    = 50\r\n    VertScrollDelta         = 157\r\n    HorizScrollDelta        = 157\r\n    VertEdgeScroll          = 0\r\n    HorizEdgeScroll         = 0\r\n    CornerCoasting          = 0\r\n    VertTwoFingerScroll     = 1\r\n    HorizTwoFingerScroll    = 1\r\n    MinSpeed                = 1\r\n    MaxSpeed                = 1.75\r\n    AccelFactor             = 0.0253743\r\n    TouchpadOff             = 0\r\n    LockedDrags             = 0\r\n    LockedDragTimeout       = 5000\r\n    RTCornerButton          = 0\r\n    RBCornerButton          = 0\r\n    LTCornerButton          = 0\r\n    LBCornerButton          = 0\r\n    TapButton1              = 0\r\n    TapButton2              = 2\r\n    TapButton3              = 3\r\n    ClickFinger1            = 1\r\n    ClickFinger2            = 3\r\n    ClickFinger3            = 2\r\n    CircularScrolling       = 1\r\n    CircScrollDelta         = 0.1\r\n    CircScrollTrigger       = 0\r\n    CircularPad             = 0\r\n    PalmDetect              = 1\r\n    PalmMinWidth            = 10\r\n    PalmMinZ                = 200\r\n    CoastingSpeed           = 50\r\n    CoastingFriction        = 50\r\n    PressureMotionMinZ      = 30\r\n    PressureMotionMaxZ      = 160\r\n    PressureMotionMinFactor = 1\r\n    PressureMotionMaxFactor = 1\r\n    GrabEventDevice         = 0\r\n    TapAndDragGesture       = 1\r\n    AreaLeftEdge            = 0\r\n    AreaRightEdge           = 0\r\n    AreaTopEdge             = 0\r\n    AreaBottomEdge          = 0\r\n    HorizHysteresis         = 4\r\n    VertHysteresis          = 4\r\n    ClickPad                = 0\r\n    RightButtonAreaLeft     = 0\r\n    RightButtonAreaRight    = 0\r\n    RightButtonAreaTop      = 0\r\n    RightButtonAreaBottom   = 0\r\n    MiddleButtonAreaLeft    = 0\r\n    MiddleButtonAreaRight   = 0\r\n    MiddleButtonAreaTop     = 0\r\n    MiddleButtonAreaBottom  = 0
\n
\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u30bf\u30c3\u30d7\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u307f\u307e\u3059\uff0e\u3053\u308c\u3067\u30bf\u30c3\u30d7\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u8a2d\u5b9a\u9805\u76ee\u306f\u5f53\u305f\u308a\u3067\u3059\uff0e

\n
\n
\n
\n
$ synclient TapButton1=1\r\n$ synclient -l|grep TapButton1\r\n    TapButton1              = 1
\n
\n
\n
\n

\u8a2d\u5b9a\u9805\u76ee\u304c\u5224\u3063\u305f\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e
\n\u4eca\u56de\u306f /etc/X11/xorg.conf.d/21-apple-touchpad.conf \u306b\u3057\u307e\u3057\u305f\uff0e
\n\u3068\u308a\u3042\u3048\u305a\u30bf\u30c3\u30d7\u306e\u8a2d\u5b9a\u3060\u3051\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\uff0e
\n\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f\u304c\u3067\u304d\u305f\u3089X\u306e\u518d\u8d77\u52d5\u3092\u884c\u3044\u307e\u3059\uff0eawesome\u306e\u5834\u5408 Mod4 + Shift + q \u3068\u304b\u3067\u4e00\u65e6X\u3092\u7d42\u4e86\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u76f4\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
Section \"InputClass\"\r\n    Identifier \"touchpad\"\r\n    Driver \"synaptics\"\r\n    MatchIsTouchpad \"on\"\r\n        Option \"TapButton1\" \"1\" # 1\u672c\u6307\u30bf\u30c3\u30d7\u3092\u5de6\u30af\u30ea\u30c3\u30af\u306b\r\nEndSection
\n
\n
\n
\n

\u4ed6\u306e\u8a2d\u5b9a\u9805\u76ee\u3082\u540c\u69d8\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\uff0e
\n\u73fe\u5728\u3053\u3093\u306a\u611f\u3058\u306b\u3057\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
Section \"InputClass\"\r\n    Identifier \"touchpad\"\r\n    Driver \"synaptics\"\r\n    MatchIsTouchpad \"on\"\r\n        Option \"TapButton1\" \"1\" # 1\u672c\u6307\u30bf\u30c3\u30d7\u3092\u5de6\u30af\u30ea\u30c3\u30af\u306b\r\n        Option \"TapButton2\" \"3\" # 2\u672c\u6307\u30bf\u30c3\u30d7\u3092\u53f3\u30af\u30ea\u30c3\u30af\u306b\r\n        Option \"TapButton3\" \"2\" # 3\u672c\u6307\u30bf\u30c3\u30d7\u3092\u4e2d\u30af\u30ea\u30c3\u30af\u306b\r\n        Option \"VertTwoFingerScroll\" \"on\"       # \u7e26\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u6709\u52b9\r\n        Option \"HorizTwoFingerScroll\" \"on\"      # \u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u6709\u52b9\r\n        Option \"PalmDetect\" \"1\" # \u624b\u306e\u3072\u3089\u691c\u51fa\r\nEndSection
\n
\n
\n
\n

\u4eca\u56deDebian stretch testing amd64\u3067\u3059\u304c\u4ed6\u306e\u74b0\u5883\u3067\u3082\u540c\u69d8\u306b\u884c\u3051\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
$ screenfetch\r\n         _,met$$$$$gg.           mk@x220\r\n      ,g$$$$$$$$$$$$$$$P.        OS: Debian testing stretch\r\n    ,g$$P\"\"       \"\"\"Y$$.\".      Kernel: x86_64 Linux 4.5.0-2-amd64\r\n   ,$$P'              `$$$.      Uptime: 1d 12h 8m\r\n  ',$$P       ,ggs.     `$$b:    Packages: 4379\r\n  `d$$'     ,$P\"'   .    $$$     Shell: bash 4.3.42\r\n   $$P      d$'     ,    $$P     Resolution: 1366x768\r\n   $$:      $$.   -    ,d$$'     WM: Awesome\r\n   $$\\;      Y$b._   _,d$P'      WM Theme: awesome\r\n   Y$$.    `.`\"Y$$$$P\"'          CPU: Intel Core i5-2540M CPU @ 3.3GHz\r\n   `$$b      \"-.__               GPU: Mesa DRI Intel(R) Sandybridge Mobile\r\n    `Y$$                         RAM: 4288MiB / 15934MiB\r\n     `Y$$.\r\n       `$$b.\r\n         `Y$$b.\r\n            `\"Y$b._\r\n                `\"\"\"\"
\n
\n
\n
\n\n
\n
\n

\n", "content_text": "Bluetooth\u63a5\u7d9a\u306eApple Wireless Trackpad\u3067\u3059\u304c\uff0cGnome\u3068\u304b\u3060\u3068Bluetooth\u3067\u30da\u30a2\u30ea\u30f3\u30b0\u3057\u305f\u5f8c\u3053\u3093\u306a\u611f\u3058\u3067GUI\u3067\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c\n\n\n\n\n\n\n\nawesome\u3060\u3068\u52b9\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u30da\u30a2\u30ea\u30f3\u30b0\u3057\u305f\u5f8c\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\uff0c2\u672c\u6307\u30b9\u30af\u30ed\u30fc\u30eb\uff0c\u53f3\u30af\u30ea\u30c3\u30af\u306f\u306a\u3069\u306f\u52d5\u4f5c\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u4e00\u756a\u5229\u7528\u3059\u308b\u5de6\u30af\u30ea\u30c3\u30af\u304c\u52d5\u4f5c\u3057\u307e\u305b\u3093\uff0e\n\n\n\u3053\u3044\u3064\u306fDynaptics driver\u7528\u306e\u30b3\u30de\u30f3\u30c9\u306esynclient\u3092\u4f7f\u3063\u3066\u8a2d\u5b9a\u5185\u5bb9\u306e\u78ba\u8a8d\u3068\u30a2\u30c9\u30db\u30c3\u30af\u306a\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e\n\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408 xserver-xorg-input-synaptics pkg\u3092\u5c0e\u5165\u3057\u3066\u304f\u3060\u3055\u3044\uff0e\n-l option\u3067\u8a2d\u5b9a\u9805\u76ee\u306e\u78ba\u8a8d\u304c\u51fa\u6765\u307e\u3059\uff0e\n\n\n\n$ synclient -l\r\nParameter settings:\r\n LeftEdge = -2393\r\n RightEdge = 2651\r\n TopEdge = -2030\r\n BottomEdge = 2139\r\n FingerLow = 70\r\n FingerHigh = 75\r\n MaxTapTime = 180\r\n MaxTapMove = 346\r\n MaxDoubleTapTime = 100\r\n SingleTapTimeout = 180\r\n ClickTime = 100\r\n EmulateMidButtonTime = 0\r\n EmulateTwoFingerMinZ = 100\r\n EmulateTwoFingerMinW = 50\r\n VertScrollDelta = 157\r\n HorizScrollDelta = 157\r\n VertEdgeScroll = 0\r\n HorizEdgeScroll = 0\r\n CornerCoasting = 0\r\n VertTwoFingerScroll = 1\r\n HorizTwoFingerScroll = 1\r\n MinSpeed = 1\r\n MaxSpeed = 1.75\r\n AccelFactor = 0.0253743\r\n TouchpadOff = 0\r\n LockedDrags = 0\r\n LockedDragTimeout = 5000\r\n RTCornerButton = 0\r\n RBCornerButton = 0\r\n LTCornerButton = 0\r\n LBCornerButton = 0\r\n TapButton1 = 0\r\n TapButton2 = 2\r\n TapButton3 = 3\r\n ClickFinger1 = 1\r\n ClickFinger2 = 3\r\n ClickFinger3 = 2\r\n CircularScrolling = 1\r\n CircScrollDelta = 0.1\r\n CircScrollTrigger = 0\r\n CircularPad = 0\r\n PalmDetect = 1\r\n PalmMinWidth = 10\r\n PalmMinZ = 200\r\n CoastingSpeed = 50\r\n CoastingFriction = 50\r\n PressureMotionMinZ = 30\r\n PressureMotionMaxZ = 160\r\n PressureMotionMinFactor = 1\r\n PressureMotionMaxFactor = 1\r\n GrabEventDevice = 0\r\n TapAndDragGesture = 1\r\n AreaLeftEdge = 0\r\n AreaRightEdge = 0\r\n AreaTopEdge = 0\r\n AreaBottomEdge = 0\r\n HorizHysteresis = 4\r\n VertHysteresis = 4\r\n ClickPad = 0\r\n RightButtonAreaLeft = 0\r\n RightButtonAreaRight = 0\r\n RightButtonAreaTop = 0\r\n RightButtonAreaBottom = 0\r\n MiddleButtonAreaLeft = 0\r\n MiddleButtonAreaRight = 0\r\n MiddleButtonAreaTop = 0\r\n MiddleButtonAreaBottom = 0\n\n\n\n\u3068\u308a\u3042\u3048\u305a\u30bf\u30c3\u30d7\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u307f\u307e\u3059\uff0e\u3053\u308c\u3067\u30bf\u30c3\u30d7\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u8a2d\u5b9a\u9805\u76ee\u306f\u5f53\u305f\u308a\u3067\u3059\uff0e\n\n\n\n$ synclient TapButton1=1\r\n$ synclient -l|grep TapButton1\r\n TapButton1 = 1\n\n\n\n\u8a2d\u5b9a\u9805\u76ee\u304c\u5224\u3063\u305f\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e\n\u4eca\u56de\u306f /etc/X11/xorg.conf.d/21-apple-touchpad.conf \u306b\u3057\u307e\u3057\u305f\uff0e\n\u3068\u308a\u3042\u3048\u305a\u30bf\u30c3\u30d7\u306e\u8a2d\u5b9a\u3060\u3051\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\uff0e\n\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f\u304c\u3067\u304d\u305f\u3089X\u306e\u518d\u8d77\u52d5\u3092\u884c\u3044\u307e\u3059\uff0eawesome\u306e\u5834\u5408 Mod4 + Shift + q \u3068\u304b\u3067\u4e00\u65e6X\u3092\u7d42\u4e86\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u76f4\u3057\u307e\u3059\uff0e\n\n\n\nSection \"InputClass\"\r\n Identifier \"touchpad\"\r\n Driver \"synaptics\"\r\n MatchIsTouchpad \"on\"\r\n Option \"TapButton1\" \"1\" # 1\u672c\u6307\u30bf\u30c3\u30d7\u3092\u5de6\u30af\u30ea\u30c3\u30af\u306b\r\nEndSection\n\n\n\n\u4ed6\u306e\u8a2d\u5b9a\u9805\u76ee\u3082\u540c\u69d8\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\uff0e\n\u73fe\u5728\u3053\u3093\u306a\u611f\u3058\u306b\u3057\u3066\u3044\u307e\u3059\uff0e\n\n\n\nSection \"InputClass\"\r\n Identifier \"touchpad\"\r\n Driver \"synaptics\"\r\n MatchIsTouchpad \"on\"\r\n Option \"TapButton1\" \"1\" # 1\u672c\u6307\u30bf\u30c3\u30d7\u3092\u5de6\u30af\u30ea\u30c3\u30af\u306b\r\n Option \"TapButton2\" \"3\" # 2\u672c\u6307\u30bf\u30c3\u30d7\u3092\u53f3\u30af\u30ea\u30c3\u30af\u306b\r\n Option \"TapButton3\" \"2\" # 3\u672c\u6307\u30bf\u30c3\u30d7\u3092\u4e2d\u30af\u30ea\u30c3\u30af\u306b\r\n Option \"VertTwoFingerScroll\" \"on\" # \u7e26\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u6709\u52b9\r\n Option \"HorizTwoFingerScroll\" \"on\" # \u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u6709\u52b9\r\n Option \"PalmDetect\" \"1\" # \u624b\u306e\u3072\u3089\u691c\u51fa\r\nEndSection\n\n\n\n\u4eca\u56deDebian stretch testing amd64\u3067\u3059\u304c\u4ed6\u306e\u74b0\u5883\u3067\u3082\u540c\u69d8\u306b\u884c\u3051\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\n$ screenfetch\r\n _,met$$$$$gg. mk@x220\r\n ,g$$$$$$$$$$$$$$$P. OS: Debian testing stretch\r\n ,g$$P\"\" \"\"\"Y$$.\". Kernel: x86_64 Linux 4.5.0-2-amd64\r\n ,$$P' `$$$. Uptime: 1d 12h 8m\r\n ',$$P ,ggs. `$$b: Packages: 4379\r\n `d$$' ,$P\"' . $$$ Shell: bash 4.3.42\r\n $$P d$' , $$P Resolution: 1366x768\r\n $$: $$. - ,d$$' WM: Awesome\r\n $$\\; Y$b._ _,d$P' WM Theme: awesome\r\n Y$$. `.`\"Y$$$$P\"' CPU: Intel Core i5-2540M CPU @ 3.3GHz\r\n `$$b \"-.__ GPU: Mesa DRI Intel(R) Sandybridge Mobile\r\n `Y$$ RAM: 4288MiB / 15934MiB\r\n `Y$$.\r\n `$$b.\r\n `Y$$b.\r\n `\"Y$b._\r\n `\"\"\"\"\n\n\n\n\n\n\u53c2\u8003URL\n\n\n\nSynapticsTouchpad – Debian Wiki\n\n\nTouchpad Synaptics – ArchWiki", "date_published": "2016-06-17T22:31:36+09:00", "date_modified": "2016-06-17T22:36:05+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "awesome", "Debian", "Linux", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1376", "url": "https://matoken.org/blog/2016/06/01/try-hiptext/", "title": "\u753b\u50cf\u3084\u52d5\u753b\u3092text\u306b\u5909\u63db\u3059\u308bhiptext\u3092\u8a66\u3059", "content_html": "
\n
\n
\n\n
\n

\u985e\u4f3c\u306e\u3082\u306e\u3067libcaca\u3068\u304b\u304c\u3042\u308a\u307e\u3059\u304c\uff0c

\n
\n
\n
\n
\n

Turn images into text better than caca/aalib

\n
\n
\n
\n
\n

\u3068\u306e\u3053\u3068\u3067\u3082\u3063\u3068\u3044\u3044\u3082\u306e\u3089\u3057\u3044\u3067\u3059\uff0e
\nTexttop[1]\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u8208\u5473\u3092\u6301\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u305d\u306e\u307e\u307e\u3067\u306fBuild\u51fa\u6765\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3067\u3059\uff0e

\n
\n
\n
\n
\n

build

\n
\n
\n

README\u3067\u306f\u3053\u306e\u8fba\u304c\u5fc5\u8981\u3068\u306e\u3053\u3068\u3067\u3059\uff0e

\n
\n
\n
\n
sudo apt-get install build-essential libpng12-dev libjpeg-dev \\\r\n    libfreetype6-dev libgif-dev ragel libavformat-dev libavcodec-dev \\\r\n    libswscale-dev libgflags-dev libgoogle-glog-dev
\n
\n
\n
\n

Debian stretch testing\u3067\u306f\u3053\u3093\u306a\u611f\u3058?

\n
\n
\n
\n
$ sudo apt-get install build-essential libpng-dev libjpeg-dev \\\r\n      libfreetype6-dev libgif-dev ragel libavformat-dev libavcodec-dev \\\r\n      libswscale-dev libgflags-dev libgoogle-glog-dev
\n
\n
\n
\n

\u5f8c\u306fmake\u3059\u308b\u3060\u3051\u306a\u3093\u3067\u3059\u304c\uff0c\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\uff0e\u65b0\u3057\u3044libav\u306b\u8ffd\u5f93\u3067\u304d\u3066\u306a\u3044\u611f\u3058?

\n
\n
\n
\n
g++ -g -O3 -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD  -march=native -c -o movie.o movie.cc\r\nmovie.cc: In member function \u2018void Movie::PrepareRGB(int, int)\u2019:\r\nmovie.cc:56:42: error: \u2018PIX_FMT_RGB24\u2019 was not declared in this scope\r\n                       width_, height_, PIX_FMT_RGB24, SWS_FAST_BILINEAR,\r\n                                          ^\r\nIn file included from graphic.h:10:0,\r\n                 from movie.h:9,\r\n                 from movie.cc:4:\r\nmovie.cc:64:38: error: \u2018avcodec_alloc_frame\u2019 was not declared in this scope\r\n CHECK(frame_ = avcodec_alloc_frame());\r\n                                      ^\r\nmovie.cc:66:19: warning: \u2018int avpicture_get_size(AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n   int rgb_bytes = avpicture_get_size(PIX_FMT_RGB24, width_, height_);\r\n                   ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here\r\n int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);\r\n     ^\r\nmovie.cc:66:19: warning: \u2018int avpicture_get_size(AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n   int rgb_bytes = avpicture_get_size(PIX_FMT_RGB24, width_, height_);\r\n                   ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here\r\n int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);\r\n     ^\r\nmovie.cc:69:14: warning: \u2018int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n   int prep = avpicture_fill(reinterpret_cast<AVPicture*>(frame_rgb_),\r\n              ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here\r\n int avpicture_fill(AVPicture *picture, const uint8_t *ptr,\r\n     ^\r\nmovie.cc:69:14: warning: \u2018int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n   int prep = avpicture_fill(reinterpret_cast<AVPicture*>(frame_rgb_),\r\n              ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here\r\n int avpicture_fill(AVPicture *picture, const uint8_t *ptr,\r\n     ^\r\nmovie.cc: In member function \u2018Graphic Movie::Next()\u2019:\r\nmovie.cc:94:5: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n     av_free_packet(&packet);\r\n     ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n      ^\r\nmovie.cc:94:5: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n     av_free_packet(&packet);\r\n     ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n      ^\r\nmovie.cc:94:27: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n     av_free_packet(&packet);\r\n                           ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n                 from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n      ^\r\n<\u30d3\u30eb\u30c8\u30a4\u30f3>: \u30bf\u30fc\u30b2\u30c3\u30c8 'movie.o' \u306e\u30ec\u30b7\u30d4\u3067\u5931\u6557\u3057\u307e\u3057\u305f\r\nmake: *** [movie.o] \u30a8\u30e9\u30fc 1
\n
\n
\n
\n

\u3067\u3082\u4ee5\u4e0b\u306ePR\u3092\u53cd\u6620\u3057\u305f\u3089\u901a\u308a\u307e\u3057\u305f :)

\n
\n\n
\n
\n
\n

\u8a66\u3057\u3066\u307f\u308b

\n
\n
\n

\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\uff0cballs.jpg, obama.jpg \u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e
\n\u3046\u307e\u304f\u52d5\u3044\u3066\u3044\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n

\"47418\"

\n
\n
\n

\u3067\u3082.png\u306f\u3046\u307e\u304f\u52d5\u304b\u306a\u3044?

\n
\n
\n
\n
$ ./hiptext ~/Downloads/Tux.png\r\nF0601 11:01:16.713266 30721 png.cc:35] Check failed: type == PNG_COLOR_TYPE_RGB || type == PNG_COLOR_TYPE_RGBA png bad type: /home/mk/Downloads/Tux.png\r\n*** Check failure stack trace: ***\r\n    @     0x7fa48d3c013d  google::LogMessage::Fail()\r\n    @     0x7fa48d3c1fa3  google::LogMessage::SendToLog()\r\n    @     0x7fa48d3bfccb  google::LogMessage::Flush()\r\n    @     0x7fa48d3c298e  google::LogMessageFatal::~LogMessageFatal()\r\n    @           0x41859f  LoadPNG()\r\n    @           0x403fa8  main\r\n    @     0x7fa489e59610  __libc_start_main\r\n    @           0x40a229  _start\r\n    @              (nil)  (unknown)\r\n\u4e2d\u6b62\r\n$ convert ~/Downloads/Tux.png ./Tux.jpg\r\n$ ./hiptext Tux.jpg
\n
\n
\n
\n

`.jpg`\u306b\u5909\u63db\u3057\u305f\u3089\u3044\u3051\u3066\u308b\u611f\u3058\u3067\u3059\u304c\u306a\u3093\u304b\u6b20\u3051\u3066\u307e\u3059\uff0e

\n
\n
\n

\"26780171563

\n
\n
\n

\u52d5\u753b\u518d\u751f\u3082\u3044\u3051\u307e\u3059\uff0e\u518d\u751f\u306e\u307f\u3067\u4e00\u6642\u5b9a\u4f4d\u306a\u3069\u306e\u64cd\u4f5c\u306f\u51fa\u6765\u306a\u3044\u611f\u3058?

\n
\n\n
\n

\u4eca\u306e\u3068\u3053\u308dlibcaca\u3084\u52d5\u753b\u3067\u306fvlc\u3084mplayer\u306a\u3093\u304b\u306e\u307b\u3046\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5c0e\u5165\u3067\u304d\u308b\u306e\u3067\u304a\u624b\u8efd\u305d\u3046\uff0e

\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u6b21\u306fTexttop\u3092\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
\n
\n
\n
\n1. tombh/texttop: A fully interactive X Linux desktop rendered in TTY and streamable over SSH\n
\n
\n

\n", "content_text": "jart/hiptext: Turn images into text better than caca/aalib\n\n\n\n\n\u985e\u4f3c\u306e\u3082\u306e\u3067libcaca\u3068\u304b\u304c\u3042\u308a\u307e\u3059\u304c\uff0c\n\n\n\n\nTurn images into text better than caca/aalib\n\n\n\n\n\u3068\u306e\u3053\u3068\u3067\u3082\u3063\u3068\u3044\u3044\u3082\u306e\u3089\u3057\u3044\u3067\u3059\uff0e\nTexttop[1]\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u8208\u5473\u3092\u6301\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u305d\u306e\u307e\u307e\u3067\u306fBuild\u51fa\u6765\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3067\u3059\uff0e\n\n\n\n\nbuild\n\n\nREADME\u3067\u306f\u3053\u306e\u8fba\u304c\u5fc5\u8981\u3068\u306e\u3053\u3068\u3067\u3059\uff0e\n\n\n\nsudo apt-get install build-essential libpng12-dev libjpeg-dev \\\r\n libfreetype6-dev libgif-dev ragel libavformat-dev libavcodec-dev \\\r\n libswscale-dev libgflags-dev libgoogle-glog-dev\n\n\n\nDebian stretch testing\u3067\u306f\u3053\u3093\u306a\u611f\u3058?\n\n\n\n$ sudo apt-get install build-essential libpng-dev libjpeg-dev \\\r\n libfreetype6-dev libgif-dev ragel libavformat-dev libavcodec-dev \\\r\n libswscale-dev libgflags-dev libgoogle-glog-dev\n\n\n\n\u5f8c\u306fmake\u3059\u308b\u3060\u3051\u306a\u3093\u3067\u3059\u304c\uff0c\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\uff0e\u65b0\u3057\u3044libav\u306b\u8ffd\u5f93\u3067\u304d\u3066\u306a\u3044\u611f\u3058?\n\n\n\ng++ -g -O3 -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -march=native -c -o movie.o movie.cc\r\nmovie.cc: In member function \u2018void Movie::PrepareRGB(int, int)\u2019:\r\nmovie.cc:56:42: error: \u2018PIX_FMT_RGB24\u2019 was not declared in this scope\r\n width_, height_, PIX_FMT_RGB24, SWS_FAST_BILINEAR,\r\n ^\r\nIn file included from graphic.h:10:0,\r\n from movie.h:9,\r\n from movie.cc:4:\r\nmovie.cc:64:38: error: \u2018avcodec_alloc_frame\u2019 was not declared in this scope\r\n CHECK(frame_ = avcodec_alloc_frame());\r\n ^\r\nmovie.cc:66:19: warning: \u2018int avpicture_get_size(AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n int rgb_bytes = avpicture_get_size(PIX_FMT_RGB24, width_, height_);\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here\r\n int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);\r\n ^\r\nmovie.cc:66:19: warning: \u2018int avpicture_get_size(AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n int rgb_bytes = avpicture_get_size(PIX_FMT_RGB24, width_, height_);\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here\r\n int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);\r\n ^\r\nmovie.cc:69:14: warning: \u2018int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n int prep = avpicture_fill(reinterpret_cast<AVPicture*>(frame_rgb_),\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here\r\n int avpicture_fill(AVPicture *picture, const uint8_t *ptr,\r\n ^\r\nmovie.cc:69:14: warning: \u2018int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)\u2019 is deprecated [-Wdeprecated-declarations]\r\n int prep = avpicture_fill(reinterpret_cast<AVPicture*>(frame_rgb_),\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here\r\n int avpicture_fill(AVPicture *picture, const uint8_t *ptr,\r\n ^\r\nmovie.cc: In member function \u2018Graphic Movie::Next()\u2019:\r\nmovie.cc:94:5: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n av_free_packet(&packet);\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n ^\r\nmovie.cc:94:5: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n av_free_packet(&packet);\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n ^\r\nmovie.cc:94:27: warning: \u2018void av_free_packet(AVPacket*)\u2019 is deprecated [-Wdeprecated-declarations]\r\n av_free_packet(&packet);\r\n ^\r\nIn file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:318:0,\r\n from movie.cc:10:\r\n/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here\r\n void av_free_packet(AVPacket *pkt);\r\n ^\r\n<\u30d3\u30eb\u30c8\u30a4\u30f3>: \u30bf\u30fc\u30b2\u30c3\u30c8 'movie.o' \u306e\u30ec\u30b7\u30d4\u3067\u5931\u6557\u3057\u307e\u3057\u305f\r\nmake: *** [movie.o] \u30a8\u30e9\u30fc 1\n\n\n\n\u3067\u3082\u4ee5\u4e0b\u306ePR\u3092\u53cd\u6620\u3057\u305f\u3089\u901a\u308a\u307e\u3057\u305f :)\n\n\n\n\nFfmpeg improvements by tombh \u00b7 Pull Request #27 \u00b7 jart/hiptext\n\n\n\n\n\n\n\u8a66\u3057\u3066\u307f\u308b\n\n\n\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\uff0cballs.jpg, obama.jpg \u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\u3046\u307e\u304f\u52d5\u3044\u3066\u3044\u305d\u3046\u3067\u3059\uff0e\n\n\n\n\n\n\u3067\u3082.png\u306f\u3046\u307e\u304f\u52d5\u304b\u306a\u3044?\n\n\n\n$ ./hiptext ~/Downloads/Tux.png\r\nF0601 11:01:16.713266 30721 png.cc:35] Check failed: type == PNG_COLOR_TYPE_RGB || type == PNG_COLOR_TYPE_RGBA png bad type: /home/mk/Downloads/Tux.png\r\n*** Check failure stack trace: ***\r\n @ 0x7fa48d3c013d google::LogMessage::Fail()\r\n @ 0x7fa48d3c1fa3 google::LogMessage::SendToLog()\r\n @ 0x7fa48d3bfccb google::LogMessage::Flush()\r\n @ 0x7fa48d3c298e google::LogMessageFatal::~LogMessageFatal()\r\n @ 0x41859f LoadPNG()\r\n @ 0x403fa8 main\r\n @ 0x7fa489e59610 __libc_start_main\r\n @ 0x40a229 _start\r\n @ (nil) (unknown)\r\n\u4e2d\u6b62\r\n$ convert ~/Downloads/Tux.png ./Tux.jpg\r\n$ ./hiptext Tux.jpg\n\n\n\n`.jpg`\u306b\u5909\u63db\u3057\u305f\u3089\u3044\u3051\u3066\u308b\u611f\u3058\u3067\u3059\u304c\u306a\u3093\u304b\u6b20\u3051\u3066\u307e\u3059\uff0e\n\n\n\n\n\n\u52d5\u753b\u518d\u751f\u3082\u3044\u3051\u307e\u3059\uff0e\u518d\u751f\u306e\u307f\u3067\u4e00\u6642\u5b9a\u4f4d\u306a\u3069\u306e\u64cd\u4f5c\u306f\u51fa\u6765\u306a\u3044\u611f\u3058?\n\n\n\n\u300c\u3075\u3089\u3044\u3093\u3050\u3046\u3043\u3063\u3061 \u3077\u3061\u300d\u3000\uff03\uff11 – YouTube\u3088\u308a\n\n\n\u4eca\u306e\u3068\u3053\u308dlibcaca\u3084\u52d5\u753b\u3067\u306fvlc\u3084mplayer\u306a\u3093\u304b\u306e\u307b\u3046\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5c0e\u5165\u3067\u304d\u308b\u306e\u3067\u304a\u624b\u8efd\u305d\u3046\uff0e\n\n\n\u3068\u308a\u3042\u3048\u305a\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u6b21\u306fTexttop\u3092\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\n\n\n\n\n1. tombh/texttop: A fully interactive X Linux desktop rendered in TTY and streamable over SSH", "date_published": "2016-06-01T13:26:52+09:00", "date_modified": "2016-06-01T13:26:52+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "ascii", "Debian", "Linux", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1366", "url": "https://matoken.org/blog/2016/05/25/samba-write-only-share/", "title": "\u66f8\u304d\u8fbc\u307f\u5c02\u7528\u307d\u3044samba\u5171\u6709\u3092\u4f5c\u308b", "content_html": "
\n
\n

\u66f8\u304d\u8fbc\u307f\u5c02\u7528\u306e\u5171\u6709

\n
\n
\n

samba\u3067\u30c7\u30fc\u30bf\u306e\u63d0\u51fa\u5c02\u7528\u307f\u305f\u3044\u306a\u5171\u6709\u304c\u4f5c\u308c\u306a\u3044\u304b\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

samba\u30b5\u30fc\u30d0 \u306e /etc/samba/smb.conf \u3092\u7de8\u96c6\u3057\u3066 write-only \u3068\u3044\u3046\u5171\u6709\u3092\u4f5c\u6210\uff0e

\n
\n
\n
\n
[write-only]\r\n  # \u5171\u6709\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u5148\r\n  path = /export/data/write-only\r\n  # \u5171\u6709\u304c\u898b\u3048\u308b\u3088\u3046\u306b\r\n  browseable = yes\r\n  # \u30b2\u30b9\u30c8\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\r\n  guest ok = yes\r\n  guest only = yes\r\n  # \u66f8\u304d\u8fbc\u307f\u53ef\u80fd\r\n  writable = Yes\r\n  # \u30b2\u30b9\u30c8\u3067\u66f8\u304d\u8fbc\u3080\u3068 nobody \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4fdd\u5b58\u3055\u308c\u308b\r\n  guest account = nobody\r\n  # umask\u3092 0333 \u306b\r\n  create mask = 0333\r\n  directory mask = 0333\r\n  # \u8aad\u307f\u8fbc\u307f\u6a29\u306e\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u3048\u306a\u304f\u3059\u308b\r\n  hide unreadable = Yes
\n
\n
\n
\n
\n
\n

samba \u306e\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b

\n
\n
\n
\n
$ sudo service samba reload
\n
\n
\n
\n
\n
\n

\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u304b\u3089\u5171\u6709\u306b\u63a5\u7d9a\u3057\u3066\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b

\n
\n
\n

gvfs-mount \u3067 mount \u3057\u3066\uff0c\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u3092\u78ba\u8a8d\uff0e

\n
\n
\n
\n
$ gvfs-mount smb://192.168.1.102/write-only\r\n$ mount|grep gvfs\r\ngvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)\r\nclient$ $ ls -la /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/\r\n\u5408\u8a08 0\r\ndrwx------ 1 mk mk 0  5\u6708 25 19:13 .\r\ndr-x------ 3 mk mk 0  5\u6708 21 05:54 ..
\n
\n
\n
\n

\u66f8\u304d\u8fbc\u3093\u3067\u307f\u308b

\n
\n
\n
\n
$ echo hoge > /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge
\n
\n
\n
\n

\u66f8\u304d\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u306f\u898b\u3048\u306a\u3044

\n
\n
\n
\n
$ ls -la /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/\r\n\u5408\u8a08 0\r\ndrwx------ 1 mk mk 0  5\u6708 25 19:24 .\r\ndr-x------ 3 mk mk 0  5\u6708 21 05:54 ..\r\n$ cat /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge\r\n$ cat: '/run/user/1000/gvfs/smb-share:server=192.168.1.102,share=write-only/hoge': \u8a31\u53ef\u304c\u3042\u308a\u307e\u305b\u3093
\n
\n
\n
\n

server\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u898b\u3048\u308b

\n
\n
\n
\n
$ ls -lA /export/data/write-only\r\n\u5408\u8a08 4\r\n--wx-w---- 1 nobody nogroup 5  5\u6708 25 19:24 hoge\r\n$ sudo cat /export/data/write-only/hoge\r\nhoge
\n
\n
\n
\n

\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u540c\u540d\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u4e0a\u66f8\u304d\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3082\u306a\u304f\u66f8\u304d\u8fbc\u3081\u308b

\n
\n
\n
\n
$ echo fuga > /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge
\n
\n
\n
\n

\u30b5\u30fc\u30d0\u3067\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d

\n
\n
\n
\n
$ sudo cat /export/data/write-only/hoge\r\nfuga
\n
\n
\n
\n
\n
\n

\u53c2\u8003URL

\n\n
\n
\n
\n\n
\n


\n

\n

\n
\n


\n

\n

\n
\n", "content_text": "\u66f8\u304d\u8fbc\u307f\u5c02\u7528\u306e\u5171\u6709\n\n\nsamba\u3067\u30c7\u30fc\u30bf\u306e\u63d0\u51fa\u5c02\u7528\u307f\u305f\u3044\u306a\u5171\u6709\u304c\u4f5c\u308c\u306a\u3044\u304b\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\nsamba\u30b5\u30fc\u30d0 \u306e /etc/samba/smb.conf \u3092\u7de8\u96c6\u3057\u3066 write-only \u3068\u3044\u3046\u5171\u6709\u3092\u4f5c\u6210\uff0e\n\n\n\n[write-only]\r\n # \u5171\u6709\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u5148\r\n path = /export/data/write-only\r\n # \u5171\u6709\u304c\u898b\u3048\u308b\u3088\u3046\u306b\r\n browseable = yes\r\n # \u30b2\u30b9\u30c8\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\r\n guest ok = yes\r\n guest only = yes\r\n # \u66f8\u304d\u8fbc\u307f\u53ef\u80fd\r\n writable = Yes\r\n # \u30b2\u30b9\u30c8\u3067\u66f8\u304d\u8fbc\u3080\u3068 nobody \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4fdd\u5b58\u3055\u308c\u308b\r\n guest account = nobody\r\n # umask\u3092 0333 \u306b\r\n create mask = 0333\r\n directory mask = 0333\r\n # \u8aad\u307f\u8fbc\u307f\u6a29\u306e\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u3048\u306a\u304f\u3059\u308b\r\n hide unreadable = Yes\n\n\n\n\n\nsamba \u306e\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\n\n\n\n$ sudo service samba reload\n\n\n\n\n\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u304b\u3089\u5171\u6709\u306b\u63a5\u7d9a\u3057\u3066\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\n\n\ngvfs-mount \u3067 mount \u3057\u3066\uff0c\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u3092\u78ba\u8a8d\uff0e\n\n\n\n$ gvfs-mount smb://192.168.1.102/write-only\r\n$ mount|grep gvfs\r\ngvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)\r\nclient$ $ ls -la /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/\r\n\u5408\u8a08 0\r\ndrwx------ 1 mk mk 0 5\u6708 25 19:13 .\r\ndr-x------ 3 mk mk 0 5\u6708 21 05:54 ..\n\n\n\n\u66f8\u304d\u8fbc\u3093\u3067\u307f\u308b\n\n\n\n$ echo hoge > /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge\n\n\n\n\u66f8\u304d\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u306f\u898b\u3048\u306a\u3044\n\n\n\n$ ls -la /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/\r\n\u5408\u8a08 0\r\ndrwx------ 1 mk mk 0 5\u6708 25 19:24 .\r\ndr-x------ 3 mk mk 0 5\u6708 21 05:54 ..\r\n$ cat /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge\r\n$ cat: '/run/user/1000/gvfs/smb-share:server=192.168.1.102,share=write-only/hoge': \u8a31\u53ef\u304c\u3042\u308a\u307e\u305b\u3093\n\n\n\nserver\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u898b\u3048\u308b\n\n\n\n$ ls -lA /export/data/write-only\r\n\u5408\u8a08 4\r\n--wx-w---- 1 nobody nogroup 5 5\u6708 25 19:24 hoge\r\n$ sudo cat /export/data/write-only/hoge\r\nhoge\n\n\n\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u540c\u540d\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u4e0a\u66f8\u304d\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3082\u306a\u304f\u66f8\u304d\u8fbc\u3081\u308b\n\n\n\n$ echo fuga > /run/user/1000/gvfs/smb-share\\:server\\=192.168.1.102\\,share\\=write-only/hoge\n\n\n\n\u30b5\u30fc\u30d0\u3067\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\n\n\n\n$ sudo cat /export/data/write-only/hoge\r\nfuga\n\n\n\n\n\n\u53c2\u8003URL\n\n\n\n\n\n[Samba] How to create a write-only share?\n\n\n\n\nDropbox \u306e\u65b0\u6a5f\u80fd\u306efile requests \u3092\u8a66\u3059 | matoken's meme", "date_published": "2016-05-25T21:47:19+09:00", "date_modified": "2016-05-25T22:13:07+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "samba", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1288", "url": "https://matoken.org/blog/2016/03/20/window-transparent-set-in-xcompmgr-of-composite-manager/", "title": "\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306eXcompmgr\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u900f\u904e\u8a2d\u5b9a", "content_html": "

\n

\u4e45\u3005\u306bMATE\u74b0\u5883\u3092\u4f7f\u3063\u3066\u307f\u3066\u3044\u307e\u3059\uff0e
\nawesome\u3060\u3068\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u914d\u7f6e\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u7c21\u5358\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4e26\u3079\u5909\u3048\u3066\u52d5\u753b\u3092\u898b\u306a\u304c\u3089\u5225\u306e\u3053\u3068\u3092\u3059\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u7c21\u5358\u306b\u51fa\u6765\u307e\u3057\u305f\uff0e\u3057\u304b\u3057MATE\u3067\u540c\u3058\u3053\u3068\u3092\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u9762\u5012\uff0e\u4ee5\u524d\u306fGnome\u7aef\u672b\u3067\u80cc\u666f\u3092\u900f\u904e\u3055\u305b\u3066\u3044\u307e\u3057\u305f\u304c\u3053\u306e\u6a5f\u80fd\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e

\n\n

Gnome\u7aef\u672b\u304b\u3089\u7121\u304f\u306a\u3063\u305f\u5f8c\u3082MATE\u7aef\u672b\u306b\u306f\u900f\u904e\u6a5f\u80fd\u304c\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3053\u3061\u3089\u304b\u3089\u3082\u3044\u3064\u306e\u9593\u306b\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u3082\u3046\u5fa9\u6d3b\u3059\u308b\u3053\u3068\u306f\u7121\u3055\u305d\u3046\u306a\u306e\u3067\u4ed6\u306e\u7aef\u672b\u30a2\u30d7\u30ea\u3092\u5e7e\u3064\u304b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u64ec\u4f3c\u900f\u904e\u3057\u304b\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0e

\n

\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56de\u306fXcompmgr\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n\n

\u524d\u63d0

\n

xorg\u3067Composite, RENDER \u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u3042\u308a\u307e\u3059\uff0e\u4ee5\u4e0bOK\u306e\u4f8b\uff0e

\n
$ xdpyinfo | grep -i "render\\|composite"
    Composite
    RENDER
\n

\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165

\n

\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306excompmgr\u3068\uff0c\u900f\u904e\u306e\u8a2d\u5b9a\u3092\u3059\u308btransset\u306e\u542b\u307e\u308c\u305fx11-apps\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e

\n
$ sudo apt install xcompmgr x11-apps
\n

\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u8d77\u52d5

\n
$ xcompmgr -c &
\n

\u3068\u304b

\n
$ xcompmgr -cf &
\n

\u3068\u304b

\n
$ xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
\n

\u3068\u304b\u304a\u597d\u307f\u3067\uff0e

\n

transset\u3067\u306e\u900f\u904e

\n

xcompmgr\u304c\u8d77\u52d5\u3057\u305f\u72b6\u614b\u3067transset\u3092\u4f7f\u3046\u3068\u30a6\u30a3\u30c9\u30a6\u3092\u900f\u904e\u3055\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\uff0e
\n\u5f15\u6570\u306b\u306f0~1\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e0\u304c\u5b8c\u5168\u306b\u900f\u660e\uff0e1\u304c\u4e0d\u900f\u660e\u3067\u3059\uff0e

\n
$ transset 0.6
\n

\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c+\u30de\u30fc\u30af\u306b\u306a\u308a\uff0c\u30af\u30ea\u30c3\u30af\u3057\u305f\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u900f\u904e\u3055\u308c\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306f\u30d6\u30e9\u30a6\u30b6\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u30cb\u30b3\u751f\u3092\u518d\u751f\u3057\u305f\u4e0a\u306b\u900f\u904e\u8a2d\u5b9a\u3057\u305fMATE\u7aef\u672b\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\uff0e

\n

\"Screenshot

\n

\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a

\n

\u6bce\u56de\u624b\u52d5\u3067\u8d77\u52d5&\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3053\u3093\u306a\u611f\u3058\u3067\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3092\u3057\u307e\u3059\uff0e
\n\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306f\u300c\u30b7\u30b9\u30c6\u30e0\u300d->\u300c\u8a2d\u5b9a\u300d>\u300c\u30e6\u30fc\u30b6\u5411\u3051\u300d->\u300c\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\uff0e

\n

\"Screenshot

\n

MATE\u7aef\u672b\u306e\u900f\u904e\u8a2d\u5b9a\u306f~/.bashrc\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066bash\u8d77\u52d5\u6642\u306bMATE\u7aef\u672b\u3060\u3063\u305f\u3089transset\u3092\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\uff0esleep\u3092\u4ed8\u3051\u306a\u3044\u3068\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0esleep\u306e\u5024\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n
$ tail -4 ~/.bashrc
case "$COLORTERM" in
    mate-terminal) sleep 0.3 && transset -a 0.6 > /dev/null;;
esac\ufeff
 
\n

\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u8a2d\u5b9a

\n

MATE\u7aef\u672b\u3060\u3051\u3092\u900f\u904e\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3053\u3053\u307e\u3067\u306e\u8a2d\u5b9a\u3067\u5927\u4e08\u592b\u3067\u3059\u304c\uff0c\u4ed6\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u900f\u904e\u5ea6\u3092\u5909\u66f4\u3059\u308b\u306e\u306b\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u8a2d\u5b9a\u3092\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e

\n

\u300c\u30b7\u30b9\u30c6\u30e0\u300d->\u300c\u8a2d\u5b9a\u300d->\u300c\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u300d->\u300c\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u300d\u3067transset\u3092\u767b\u9332\u3057\u3066\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e

\n

\u3053\u3053\u3067\u8a2d\u5b9a\u3057\u305ftransset\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f-a\u306f\u30a2\u30af\u30c6\u30a3\u30d6\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6307\u5b9a\uff0c--inc/--dec\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\uff0c\u30c7\u30af\u30ea\u30e1\u30f3\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\uff0e

\n

\"Screenshot\"Screenshot

\n

\"Screenshot

\n

\u3053\u308c\u3067\u672a\u8a2d\u5b9a\u306e\u30a2\u30d7\u30ea\u3067\u900f\u904e\u3055\u305b\u305f\u308a\uff0c\u3061\u3087\u3063\u3068\u900f\u904e\u5ea6\u3092\u8abf\u6574\u3057\u305f\u3044\u3068\u884c\u3063\u305f\u6642\u306b\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3067\u3059\u3050\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)

\n

\"Screenshot

\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n

\n", "content_text": "\u4e45\u3005\u306bMATE\u74b0\u5883\u3092\u4f7f\u3063\u3066\u307f\u3066\u3044\u307e\u3059\uff0e\nawesome\u3060\u3068\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u914d\u7f6e\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u7c21\u5358\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4e26\u3079\u5909\u3048\u3066\u52d5\u753b\u3092\u898b\u306a\u304c\u3089\u5225\u306e\u3053\u3068\u3092\u3059\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u7c21\u5358\u306b\u51fa\u6765\u307e\u3057\u305f\uff0e\u3057\u304b\u3057MATE\u3067\u540c\u3058\u3053\u3068\u3092\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u9762\u5012\uff0e\u4ee5\u524d\u306fGnome\u7aef\u672b\u3067\u80cc\u666f\u3092\u900f\u904e\u3055\u305b\u3066\u3044\u307e\u3057\u305f\u304c\u3053\u306e\u6a5f\u80fd\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\n\nBug 695371 \u2013 Transparent option disappears in 3.7.x\n\nGnome\u7aef\u672b\u304b\u3089\u7121\u304f\u306a\u3063\u305f\u5f8c\u3082MATE\u7aef\u672b\u306b\u306f\u900f\u904e\u6a5f\u80fd\u304c\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3053\u3061\u3089\u304b\u3089\u3082\u3044\u3064\u306e\u9593\u306b\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u3082\u3046\u5fa9\u6d3b\u3059\u308b\u3053\u3068\u306f\u7121\u3055\u305d\u3046\u306a\u306e\u3067\u4ed6\u306e\u7aef\u672b\u30a2\u30d7\u30ea\u3092\u5e7e\u3064\u304b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u64ec\u4f3c\u900f\u904e\u3057\u304b\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0e\n\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56de\u306fXcompmgr\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\nxorg/app/xcompmgr – Compositing manager using RENDER\n\n\u524d\u63d0\nxorg\u3067Composite, RENDER \u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u3042\u308a\u307e\u3059\uff0e\u4ee5\u4e0bOK\u306e\u4f8b\uff0e\n$ xdpyinfo | grep -i "render\\|composite"    Composite    RENDER\n\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\n\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306excompmgr\u3068\uff0c\u900f\u904e\u306e\u8a2d\u5b9a\u3092\u3059\u308btransset\u306e\u542b\u307e\u308c\u305fx11-apps\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e\n$ sudo apt install xcompmgr x11-apps\n\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u8d77\u52d5\n$ xcompmgr -c &\n\u3068\u304b\n$ xcompmgr -cf &\n\u3068\u304b\n$ xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &\n\u3068\u304b\u304a\u597d\u307f\u3067\uff0e\ntransset\u3067\u306e\u900f\u904e\nxcompmgr\u304c\u8d77\u52d5\u3057\u305f\u72b6\u614b\u3067transset\u3092\u4f7f\u3046\u3068\u30a6\u30a3\u30c9\u30a6\u3092\u900f\u904e\u3055\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\uff0e\n\u5f15\u6570\u306b\u306f0~1\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e0\u304c\u5b8c\u5168\u306b\u900f\u660e\uff0e1\u304c\u4e0d\u900f\u660e\u3067\u3059\uff0e\n$ transset 0.6\n\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c+\u30de\u30fc\u30af\u306b\u306a\u308a\uff0c\u30af\u30ea\u30c3\u30af\u3057\u305f\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u900f\u904e\u3055\u308c\u307e\u3059\uff0e\n\u4ee5\u4e0b\u306f\u30d6\u30e9\u30a6\u30b6\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u30cb\u30b3\u751f\u3092\u518d\u751f\u3057\u305f\u4e0a\u306b\u900f\u904e\u8a2d\u5b9a\u3057\u305fMATE\u7aef\u672b\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\uff0e\n\n\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\n\u6bce\u56de\u624b\u52d5\u3067\u8d77\u52d5&\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3053\u3093\u306a\u611f\u3058\u3067\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3092\u3057\u307e\u3059\uff0e\n\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306f\u300c\u30b7\u30b9\u30c6\u30e0\u300d->\u300c\u8a2d\u5b9a\u300d>\u300c\u30e6\u30fc\u30b6\u5411\u3051\u300d->\u300c\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\uff0e\n\nMATE\u7aef\u672b\u306e\u900f\u904e\u8a2d\u5b9a\u306f~/.bashrc\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066bash\u8d77\u52d5\u6642\u306bMATE\u7aef\u672b\u3060\u3063\u305f\u3089transset\u3092\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\uff0esleep\u3092\u4ed8\u3051\u306a\u3044\u3068\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0esleep\u306e\u5024\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n$ tail -4 ~/.bashrccase "$COLORTERM" in    mate-terminal) sleep 0.3 && transset -a 0.6 > /dev/null;;esac\ufeff \n\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u8a2d\u5b9a\nMATE\u7aef\u672b\u3060\u3051\u3092\u900f\u904e\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3053\u3053\u307e\u3067\u306e\u8a2d\u5b9a\u3067\u5927\u4e08\u592b\u3067\u3059\u304c\uff0c\u4ed6\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u900f\u904e\u5ea6\u3092\u5909\u66f4\u3059\u308b\u306e\u306b\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u8a2d\u5b9a\u3092\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e\n\u300c\u30b7\u30b9\u30c6\u30e0\u300d->\u300c\u8a2d\u5b9a\u300d->\u300c\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u300d->\u300c\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u300d\u3067transset\u3092\u767b\u9332\u3057\u3066\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e\n\u3053\u3053\u3067\u8a2d\u5b9a\u3057\u305ftransset\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f-a\u306f\u30a2\u30af\u30c6\u30a3\u30d6\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6307\u5b9a\uff0c--inc/--dec\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\uff0c\u30c7\u30af\u30ea\u30e1\u30f3\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\uff0e\n\n\n\u3053\u308c\u3067\u672a\u8a2d\u5b9a\u306e\u30a2\u30d7\u30ea\u3067\u900f\u904e\u3055\u305b\u305f\u308a\uff0c\u3061\u3087\u3063\u3068\u900f\u904e\u5ea6\u3092\u8abf\u6574\u3057\u305f\u3044\u3068\u884c\u3063\u305f\u6642\u306b\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3067\u3059\u3050\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)", "date_published": "2016-03-20T08:03:09+09:00", "date_modified": "2016-03-20T09:05:43+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "stretch", "testing", "xorg" ] }, { "id": "http://matoken.org/blog/?p=1278", "url": "https://matoken.org/blog/2016/03/09/try-the-automatically-recorded-me-turned-into-further-podcast-by-radicast-the-radiko/", "title": "Radiko\u3092\u81ea\u52d5\u7684\u306b\u9332\u97f3\u3057\u3066Podcast\u5316\u3057\u3066\u304f\u308c\u308bradicast\u3092\u8a66\u3059", "content_html": "

\n

Radiko\u3092\u81ea\u52d5\u7684\u306b\u9332\u97f3\u3057\u3066Podcast\u5316\u3057\u3066\u304f\u308c\u308bradicast\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e

\n\n

\u6614\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u9332\u97f3\u3057\u305f\u308a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u4ed5\u69d8\u304c\u5909\u308f\u3063\u3066\u9332\u97f3\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u5bfe\u5fdc\u3068\u3044\u3046\u306e\u304c\u9762\u5012\u3067\u6700\u8fd1\u306f\u9332\u97f3\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u305f\u307e\u306b\u805e\u304f\u3068\u304d\u306fAndroid\u306eRaziko\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e\u3067\u3082radicast\u306a\u3089\u304a\u624b\u8efd\u306b\u52d5\u304b\u305b\u3066Podcast\u3068\u3057\u3066\u6271\u3048\u308b\u306e\u3067\u4fbf\u5229\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n\n

\u8a66\u3057\u305f\u74b0\u5883\u306fUbuntu 14.04 amd64/Debian stretch testing amd64/Rasbian jessie\u3067\u3059\u304c\uff0cUbuntu\u74b0\u5883\u3067\u306f\u9332\u97f3\u958b\u59cb\u6642\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30a2\u30c0\u30f3\u30d7\u3057\u3066\u3057\u307e\u3046\u3088\u3046\u3067\u3046\u307e\u304f\u884c\u3063\u3066\u3044\u307e\u305b\u3093 :-(

\n
2016/03/09 05:20:00 [radiko] start record
2016/03/09 05:20:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf
2016/03/09 05:20:04 [radiko] POST https://radiko.jp/v2/api/auth1_fms
Segmentation fault (\u30b3\u30a2\u30c0\u30f3\u30d7)
\n

docker\u3067\u3082\u52d5\u304d\u307e\u3059\u304c\uff0c\u4eca\u56de\u306f\u5b9f\u6a5f\u3067\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\uff0e

\n\n

\u5fc5\u8981\u306apkg\u306e\u5c0e\u5165

\n
$ sudo apt install libav-tools swftools rtmpdump golang-go
\n

\u203bDebian stretch\u306e\u5834\u5408\u306flibav-tools\u306e\u4ee3\u308f\u308a\u306bffmpeg\u3092\u5c0e\u5165\uff0e

\n

go get\u3067\u5c0e\u5165

\n
$ GOPATH=~/usr/local/go go get github.com/soh335/radicast
\n

\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u305f\uff0e

\n
$ ~/usr/local/go/bin/radicast -h
Usage of /home/mk/usr/local/go/bin/radicast:
  -bitrate string
        bitrate (default "64k")
  -buffer int
        buffer for recording (default 60)
  -config string
        path of config.json (default "config.json")
  -converter string
        ffmpeg or avconv. If not set this option, radicast search its automatically.
  -host string
        host (default "0.0.0.0")
  -output string
        output (default "output")
  -port string
        port (default "3355")
  -setup
        initialize json configuration
  -title string
        title (default "radicast")
\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210

\n

--setup\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30b9\u30b1\u30eb\u30c8\u30f3\u3092\u4f5c\u6210\u3057\u3066\uff0c

\n
$ ~/usr/local/go/bin/radicast --setup > ~/usr/local/go/etc/radicast.json
$ cat ~/usr/local/go/etc/radicast.json
{
  "HOUSOU-DAIGAKU": [],
  "MBC": [],
  "RN1": [],
  "RN2": []
}
\n

\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306bcron\u5f62\u5f0f\u3067\u8a2d\u5b9a\u3057\u307e\u3059\uff0ecrontab\u3068\u9055\u3044\u79d2\u5358\u4f4d\u307e\u3067\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e

\n\n

\u4f8b\u3048\u3070"0 0 7 * * MON-FRI" \u3060\u3068\u6708\u66dc\u304b\u3089\u91d1\u66dc\u306e07:00:00\u306e\u756a\u7d44\u3092\u9332\u97f3\u3068\u306a\u308a\u307e\u3059\uff0e
\n\u9332\u97f3\u505c\u6b62\u306f\u81ea\u52d5\u7684\u306b\u3055\u308c\u308b\u3088\u3046\u3067\u3059\uff0e

\n
$ cat ~/usr/local/go/etc/radicast.json
{
  "HOUSOU-DAIGAKU": [],
  "MBC": [
    "0 0 5 * * MON-FRI",
    "0 10 5 * * MON-FRI",
    "0 0 7 * * MON-FRI"
  ],
  "RN1": [],
  "RN2": []
}
\n

\u5b9f\u884c

\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\uff0e

\n
$ ~/usr/local/go/bin/radicast -config=$HOME/usr/local/go/etc/radicast.json
2016/03/09 05:00:12 [radicast] station:MBC spec:0 0 5 * * MON-FRI
2016/03/09 05:00:12 [radicast] station:MBC spec:0 10 5 * * MON-FRI
2016/03/09 05:00:12 [radicast] station:MBC spec:0 0 7 * * MON-FRI
2016/03/09 05:00:12 [radicast] start new cron
2016/03/09 05:00:12 [server] start 0.0.0.0:3355
\n

\u6307\u5b9a\u6642\u523b\u306b\u306a\u308b\u3068\uff0c\u756a\u7d44\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u9332\u97f3\u304c\u59cb\u307e\u308a\uff0c\u756a\u7d44\u7d42\u4e86\u6642\u306b\u9332\u97f3\u304c\u7d42\u4e86\u3057\u3066\u6b21\u306e\u30b8\u30e7\u30d6\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\uff0e

\n
2016/03/09 06:30:00 [radiko] start record
2016/03/09 06:30:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf
2016/03/09 06:30:04 [radiko] POST https://radiko.jp/v2/api/auth1_fms
2016/03/09 06:30:05 [radiko] POST https://radiko.jp/v2/api/auth2_fms
2016/03/09 06:30:06 [radiko] GET http://radiko.jp/v2/api/program/today?area_id=JP46
2016/03/09 06:30:07 [radiko] start recording \u30e2\u30fc\u30cb\u30f3\u30b0\u30fb\u30b9\u30de\u30a4\u30eb
2016/03/09 06:30:07 [radiko] rtmpdump command: /usr/bin/rtmpdump --live --quiet -r rtmpe://f-radiko.smartstream.ne.jp --playpath simul-stream.stream --app MBC/_definst_ -W http://radiko.jp/player/swf/player_3.0.0.01.swf -C S:"" -C S:"" -C S:"" -C S:J_Rb9kLWN2Cb5XlcGqQjfw --stop 1853 -o -
2016/03/09 06:30:07 [radiko] converter command: /usr/bin/ffmpeg -y -i - -vn -acodec libmp3lame -ar 44100 -ab 64k -ac 2 /tmp/radiko240330221/radiko_0.mp3
\n

\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306boutput\u4ee5\u4e0b\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\uff0e

\n
$ find output -ls
  6724248      0 drwxr-xr-x   1 mk       mk             36  3\u6708  9 05:55 output
  6724778      0 drwxr-xr-x   1 mk       mk             44  3\u6708  9 05:55 output/20160309053000_MBC
  6724327  10168 -rw-r--r--   1 mk       mk       10409132  3\u6708  9 05:55 output/20160309053000_MBC/podcast.mp3
  6724779      4 -rw-r--r--   1 mk       mk            650  3\u6708  9 05:55 output/20160309053000_MBC/podcast.xml
\n

\u9332\u97f3\u4e2d\u306e\u30c6\u30f3\u30dd\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u306f/tmp\u4ee5\u4e0b\u306b\u4f5c\u3089\u308c\u307e\u3059\uff0e

\n
$ ls -lA /tmp/radiko077215706/
\u5408\u8a08 5184
-rw-r--r-- 1 mk mk 5223512  3\u6708  9 07:10 radiko_0.mp3
\n

\u9332\u97f3\u3057\u305f\u30c7\u30fc\u30bf\u306fPodcast\u3068\u3057\u3066\u914d\u4fe1\u3055\u308c\u307e\u3059\uff0e\u3053\u306eURL\u306f\u898f\u5b9a\u5024\u3067\u306flocalhost\u304b\u3089\u3057\u304b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\uff0e\u3053\u306eURL\u3092Podcast Aggregator\u306b\u6307\u5b9a\u3057\u3066\u3042\u3052\u308b\u3068\u666e\u901a\u306bPodcast\u3068\u3057\u3066\u6271\u3048\u307e\u3059 :)

\n
$ xmllint http://localhost:3355/rss
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
        <title>radicast</title>
        <itunes:owner/>
        <itunes:image/>
        <itunes:category/>
        <item>
            <title>\u751f\u5cf6\u30d2\u30ed\u30b7\u306e\u304a\u306f\u3088\u3046\u4e00\u76f4\u7dda (2016-03-09 05:30:00 +0900 JST)</title>
            <itunes:author>\u751f\u5cf6\u30d2\u30ed\u30b7</itunes:author>
            <itunes:summary>\u3000&lt;br /&gt;&lt;A href="http://www.mbc.co.jp/radio/" target="_blank"&gt;&lt;img src="http://www.mbc.co.jp/radio/radiko/bn/mbcradio_pr1410.png" alt="MBCradio" /&gt;&lt;/A&gt;&lt;br /&gt;&lt;br /&gt;twitter\u30cf\u30c3\u30b7\u30e5\u30bf\u30b0\u306f\u300c&lt;a href="http://twitter.com/#!/search/%23mbc1107"&gt;#mbc1107&lt;/a&gt;\u300d</itunes:summary>
            <itunes:image/>
            <enclosure url="http://localhost:3355/podcast/20160309053000_MBC.mp3" length="10409132" type="audio/mpeg"/>
            <pubDate>Wed, 9 Mar 2016 05:55:45 +0900</pubDate>
        </item>
    </channel>
</rss>
\n

Podcast Aggregator\u3068\u3053\u306e\u30b5\u30fc\u30d0\u304c\u5225\u306e\u5834\u5408\u4ee5\u4e0b\u306e\u3088\u3046\u306b-host\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u5272\u308a\u5f53\u3066\u305fip\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e

\n
$ ~/usr/local/go/bin/radicast -config=$HOME/usr/local/go/etc/radicast.json -host 192.168.2.203
  :
2016/03/09 07:42:34 [server] start 192.168.2.203:3355
\n

proxy

\n

\u306f\u4f7f\u3048\u306a\u3044\u611f\u3058\u304b\u306a?

\n
$ w3m -dump http://radiko.jp/area
document.write('<span class="JP46">KAGOSHIMA JAPAN</span>');
$ tsocks w3m -dump http://radiko.jp/area
document.write('<span class="JP13">TOKYO JAPAN</span>');
$ ALL_PROXY=socks5h://localhost:8080 ~/usr/local/go/bin/radicast -setup
2016/03/09 07:56:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf
2016/03/09 07:56:01 [radiko] POST https://radiko.jp/v2/api/auth1_fms
2016/03/09 07:56:02 [radiko] POST https://radiko.jp/v2/api/auth2_fms
2016/03/09 07:56:02 [radiko] GET http://radiko.jp/v2/api/program/today?area_id=JP46
{
  "HOUSOU-DAIGAKU": [],
  "MBC": [],
  "RN1": [],
  "RN2": []
}
$ tsocks ~/usr/local/go/bin/radicast -setup
   :
  "MBC": [],
   :
$ tsocks ~/usr/local/go/bin/radicast -setup
   :
  "MBC": [],
   :
$ ALL_PROXY=http://localhost:8080 ~/usr/local/go/bin/radicast -setup
   :
  "MBC": [],
   :
\n

\n", "content_text": "Radiko\u3092\u81ea\u52d5\u7684\u306b\u9332\u97f3\u3057\u3066Podcast\u5316\u3057\u3066\u304f\u308c\u308bradicast\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\n\nradicast \u3068\u3044\u3046\u306e\u3092\u66f8\u3044\u305f – soh335 memo\nsoh335/radicast: recording radiko and serving rss for podcast\n\n\u6614\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u9332\u97f3\u3057\u305f\u308a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u4ed5\u69d8\u304c\u5909\u308f\u3063\u3066\u9332\u97f3\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u5bfe\u5fdc\u3068\u3044\u3046\u306e\u304c\u9762\u5012\u3067\u6700\u8fd1\u306f\u9332\u97f3\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u305f\u307e\u306b\u805e\u304f\u3068\u304d\u306fAndroid\u306eRaziko\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e\u3067\u3082radicast\u306a\u3089\u304a\u624b\u8efd\u306b\u52d5\u304b\u305b\u3066Podcast\u3068\u3057\u3066\u6271\u3048\u308b\u306e\u3067\u4fbf\u5229\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\u30b3\u30f3\u30bd\u30fc\u30eb\u3067 radiko \u518d\u751f\uff0c\u4e88\u7d04\u9332\u97f3 – matoken\u2019s meme -hatena-\nradiko \u4e88\u7d04\u9332\u97f3&aac, mp3 \u5909\u63db – matoken\u2019s meme -hatena-\n\n\u8a66\u3057\u305f\u74b0\u5883\u306fUbuntu 14.04 amd64/Debian stretch testing amd64/Rasbian jessie\u3067\u3059\u304c\uff0cUbuntu\u74b0\u5883\u3067\u306f\u9332\u97f3\u958b\u59cb\u6642\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30a2\u30c0\u30f3\u30d7\u3057\u3066\u3057\u307e\u3046\u3088\u3046\u3067\u3046\u307e\u304f\u884c\u3063\u3066\u3044\u307e\u305b\u3093 :-(\n2016/03/09 05:20:00 [radiko] start record2016/03/09 05:20:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf2016/03/09 05:20:04 [radiko] POST https://radiko.jp/v2/api/auth1_fmsSegmentation fault (\u30b3\u30a2\u30c0\u30f3\u30d7)\ndocker\u3067\u3082\u52d5\u304d\u307e\u3059\u304c\uff0c\u4eca\u56de\u306f\u5b9f\u6a5f\u3067\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\uff0e\n\nradiko \u3092\u9332\u97f3\u3057\u305f\u308a\u3059\u308b radicast \u3092 docker \u3067\u52d5\u304b\u3059 – soh335 memo\n\n\u5fc5\u8981\u306apkg\u306e\u5c0e\u5165\n$ sudo apt install libav-tools swftools rtmpdump golang-go\n\u203bDebian stretch\u306e\u5834\u5408\u306flibav-tools\u306e\u4ee3\u308f\u308a\u306bffmpeg\u3092\u5c0e\u5165\uff0e\ngo get\u3067\u5c0e\u5165\n$ GOPATH=~/usr/local/go go get github.com/soh335/radicast\n\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u305f\uff0e\n$ ~/usr/local/go/bin/radicast -hUsage of /home/mk/usr/local/go/bin/radicast:  -bitrate string        bitrate (default "64k")  -buffer int        buffer for recording (default 60)  -config string        path of config.json (default "config.json")  -converter string        ffmpeg or avconv. If not set this option, radicast search its automatically.  -host string        host (default "0.0.0.0")  -output string        output (default "output")  -port string        port (default "3355")  -setup        initialize json configuration  -title string        title (default "radicast")\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\n--setup\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30b9\u30b1\u30eb\u30c8\u30f3\u3092\u4f5c\u6210\u3057\u3066\uff0c\n$ ~/usr/local/go/bin/radicast --setup > ~/usr/local/go/etc/radicast.json$ cat ~/usr/local/go/etc/radicast.json{  "HOUSOU-DAIGAKU": [],  "MBC": [],  "RN1": [],  "RN2": []}\n\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306bcron\u5f62\u5f0f\u3067\u8a2d\u5b9a\u3057\u307e\u3059\uff0ecrontab\u3068\u9055\u3044\u79d2\u5358\u4f4d\u307e\u3067\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\n\ncron – GoDoc\n\n\u4f8b\u3048\u3070"0 0 7 * * MON-FRI" \u3060\u3068\u6708\u66dc\u304b\u3089\u91d1\u66dc\u306e07:00:00\u306e\u756a\u7d44\u3092\u9332\u97f3\u3068\u306a\u308a\u307e\u3059\uff0e\n\u9332\u97f3\u505c\u6b62\u306f\u81ea\u52d5\u7684\u306b\u3055\u308c\u308b\u3088\u3046\u3067\u3059\uff0e\n$ cat ~/usr/local/go/etc/radicast.json{  "HOUSOU-DAIGAKU": [],  "MBC": [    "0 0 5 * * MON-FRI",    "0 10 5 * * MON-FRI",    "0 0 7 * * MON-FRI"  ],  "RN1": [],  "RN2": []}\n\u5b9f\u884c\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\uff0e\n$ ~/usr/local/go/bin/radicast -config=$HOME/usr/local/go/etc/radicast.json2016/03/09 05:00:12 [radicast] station:MBC spec:0 0 5 * * MON-FRI2016/03/09 05:00:12 [radicast] station:MBC spec:0 10 5 * * MON-FRI2016/03/09 05:00:12 [radicast] station:MBC spec:0 0 7 * * MON-FRI2016/03/09 05:00:12 [radicast] start new cron2016/03/09 05:00:12 [server] start 0.0.0.0:3355\n\u6307\u5b9a\u6642\u523b\u306b\u306a\u308b\u3068\uff0c\u756a\u7d44\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u9332\u97f3\u304c\u59cb\u307e\u308a\uff0c\u756a\u7d44\u7d42\u4e86\u6642\u306b\u9332\u97f3\u304c\u7d42\u4e86\u3057\u3066\u6b21\u306e\u30b8\u30e7\u30d6\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\uff0e\n2016/03/09 06:30:00 [radiko] start record2016/03/09 06:30:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf2016/03/09 06:30:04 [radiko] POST https://radiko.jp/v2/api/auth1_fms2016/03/09 06:30:05 [radiko] POST https://radiko.jp/v2/api/auth2_fms2016/03/09 06:30:06 [radiko] GET http://radiko.jp/v2/api/program/today?area_id=JP462016/03/09 06:30:07 [radiko] start recording \u30e2\u30fc\u30cb\u30f3\u30b0\u30fb\u30b9\u30de\u30a4\u30eb2016/03/09 06:30:07 [radiko] rtmpdump command: /usr/bin/rtmpdump --live --quiet -r rtmpe://f-radiko.smartstream.ne.jp --playpath simul-stream.stream --app MBC/_definst_ -W http://radiko.jp/player/swf/player_3.0.0.01.swf -C S:"" -C S:"" -C S:"" -C S:J_Rb9kLWN2Cb5XlcGqQjfw --stop 1853 -o -2016/03/09 06:30:07 [radiko] converter command: /usr/bin/ffmpeg -y -i - -vn -acodec libmp3lame -ar 44100 -ab 64k -ac 2 /tmp/radiko240330221/radiko_0.mp3\n\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306boutput\u4ee5\u4e0b\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\n$ find output -ls  6724248      0 drwxr-xr-x   1 mk       mk             36  3\u6708  9 05:55 output  6724778      0 drwxr-xr-x   1 mk       mk             44  3\u6708  9 05:55 output/20160309053000_MBC  6724327  10168 -rw-r--r--   1 mk       mk       10409132  3\u6708  9 05:55 output/20160309053000_MBC/podcast.mp3  6724779      4 -rw-r--r--   1 mk       mk            650  3\u6708  9 05:55 output/20160309053000_MBC/podcast.xml\n\u9332\u97f3\u4e2d\u306e\u30c6\u30f3\u30dd\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u306f/tmp\u4ee5\u4e0b\u306b\u4f5c\u3089\u308c\u307e\u3059\uff0e\n$ ls -lA /tmp/radiko077215706/\u5408\u8a08 5184-rw-r--r-- 1 mk mk 5223512  3\u6708  9 07:10 radiko_0.mp3\n\u9332\u97f3\u3057\u305f\u30c7\u30fc\u30bf\u306fPodcast\u3068\u3057\u3066\u914d\u4fe1\u3055\u308c\u307e\u3059\uff0e\u3053\u306eURL\u306f\u898f\u5b9a\u5024\u3067\u306flocalhost\u304b\u3089\u3057\u304b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\uff0e\u3053\u306eURL\u3092Podcast Aggregator\u306b\u6307\u5b9a\u3057\u3066\u3042\u3052\u308b\u3068\u666e\u901a\u306bPodcast\u3068\u3057\u3066\u6271\u3048\u307e\u3059 :)\n$ xmllint http://localhost:3355/rss<?xml version="1.0" encoding="UTF-8"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">    <channel>        <title>radicast</title>        <itunes:owner/>        <itunes:image/>        <itunes:category/>        <item>            <title>\u751f\u5cf6\u30d2\u30ed\u30b7\u306e\u304a\u306f\u3088\u3046\u4e00\u76f4\u7dda (2016-03-09 05:30:00 +0900 JST)</title>            <itunes:author>\u751f\u5cf6\u30d2\u30ed\u30b7</itunes:author>            <itunes:summary>\u3000&lt;br /&gt;&lt;A href="http://www.mbc.co.jp/radio/" target="_blank"&gt;&lt;img src="http://www.mbc.co.jp/radio/radiko/bn/mbcradio_pr1410.png" alt="MBCradio" /&gt;&lt;/A&gt;&lt;br /&gt;&lt;br /&gt;twitter\u30cf\u30c3\u30b7\u30e5\u30bf\u30b0\u306f\u300c&lt;a href="http://twitter.com/#!/search/%23mbc1107"&gt;#mbc1107&lt;/a&gt;\u300d</itunes:summary>            <itunes:image/>            <enclosure url="http://localhost:3355/podcast/20160309053000_MBC.mp3" length="10409132" type="audio/mpeg"/>            <pubDate>Wed, 9 Mar 2016 05:55:45 +0900</pubDate>        </item>    </channel></rss>\nPodcast Aggregator\u3068\u3053\u306e\u30b5\u30fc\u30d0\u304c\u5225\u306e\u5834\u5408\u4ee5\u4e0b\u306e\u3088\u3046\u306b-host\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u5272\u308a\u5f53\u3066\u305fip\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e\n$ ~/usr/local/go/bin/radicast -config=$HOME/usr/local/go/etc/radicast.json -host 192.168.2.203  :2016/03/09 07:42:34 [server] start 192.168.2.203:3355\nproxy\n\u306f\u4f7f\u3048\u306a\u3044\u611f\u3058\u304b\u306a?\n$ w3m -dump http://radiko.jp/areadocument.write('<span class="JP46">KAGOSHIMA JAPAN</span>');$ tsocks w3m -dump http://radiko.jp/areadocument.write('<span class="JP13">TOKYO JAPAN</span>');$ ALL_PROXY=socks5h://localhost:8080 ~/usr/local/go/bin/radicast -setup2016/03/09 07:56:00 [radiko] GET http://radiko.jp/player/swf/player_3.0.0.01.swf2016/03/09 07:56:01 [radiko] POST https://radiko.jp/v2/api/auth1_fms2016/03/09 07:56:02 [radiko] POST https://radiko.jp/v2/api/auth2_fms2016/03/09 07:56:02 [radiko] GET http://radiko.jp/v2/api/program/today?area_id=JP46{  "HOUSOU-DAIGAKU": [],  "MBC": [],  "RN1": [],  "RN2": []}$ tsocks ~/usr/local/go/bin/radicast -setup   :  "MBC": [],   :$ tsocks ~/usr/local/go/bin/radicast -setup   :  "MBC": [],   :$ ALL_PROXY=http://localhost:8080 ~/usr/local/go/bin/radicast -setup   :  "MBC": [],   :", "date_published": "2016-03-09T08:26:15+09:00", "date_modified": "2016-03-09T08:26:15+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "podcast", "Rasbian_jessie", "RaspberryPi", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1226", "url": "https://matoken.org/blog/2016/02/26/troubled-the-synchronization-of-owncloud-is-stuck/", "title": "ownCloud\u306e\u540c\u671f\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u56f0\u308b", "content_html": "

\n

ownCloud\u3092\u4fbf\u5229\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u3075\u3068\u6c17\u3065\u304f\u3068\u540c\u671f\u3055\u308c\u3066\u3044\u306a\u3044\uff0e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u898b\u308b\u3068\u6700\u5f8c\u306e\u540c\u671f\u304c8\u6642\u9593\u524d\uff0e\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30a2\u30a4\u30b3\u30f3\u306f!\u30de\u30fc\u30af\u304c\u4ed8\u3044\u3066\u300c\u4e0d\u660e\u306a\u72b6\u614b\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\uff0e

\n

\"20160226_19:02:52-398\"

\n

\u30ed\u30b0\u3092\u898b\u3066\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\uff0e

\n

Web\u3084Android\u305d\u3057\u3066\u5225\u306eLinux\u30de\u30b7\u30f3\u306f\u554f\u984c\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u306f\u591a\u5206\u3053\u306e\u7aef\u672b\u306e\u554f\u984c\uff0e
\n\u554f\u984c\u306e\u74b0\u5883\u306fDebian stretch testing amd64\u306eowncloud 7.0.12~dfsg-2\u3067\u3059\uff0e

\n

\u4e00\u65e6ownCloud\u3092\u7d42\u4e86\u3057\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u9000\u907f\uff08\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u306f\u305d\u306e\u307e\u307e\uff09\u3057\u3066\u8a2d\u5b9a\u3092\u4f5c\u308a\u306a\u304a\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
$ mv ./.local/share/data/ownCloud ./.local/share/data/ownCloud-backup
$ owncloud --logwindow
\n

\u3068\u308a\u3042\u3048\u305a\u540c\u671f\u51fa\u6765\u305f\u3088\u3046\u3067\u3059\uff0e

\n

\n", "content_text": "ownCloud\u3092\u4fbf\u5229\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u3075\u3068\u6c17\u3065\u304f\u3068\u540c\u671f\u3055\u308c\u3066\u3044\u306a\u3044\uff0e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u898b\u308b\u3068\u6700\u5f8c\u306e\u540c\u671f\u304c8\u6642\u9593\u524d\uff0e\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30a2\u30a4\u30b3\u30f3\u306f!\u30de\u30fc\u30af\u304c\u4ed8\u3044\u3066\u300c\u4e0d\u660e\u306a\u72b6\u614b\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\n\n\u30ed\u30b0\u3092\u898b\u3066\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\uff0e\nWeb\u3084Android\u305d\u3057\u3066\u5225\u306eLinux\u30de\u30b7\u30f3\u306f\u554f\u984c\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u306f\u591a\u5206\u3053\u306e\u7aef\u672b\u306e\u554f\u984c\uff0e\n\u554f\u984c\u306e\u74b0\u5883\u306fDebian stretch testing amd64\u306eowncloud 7.0.12~dfsg-2\u3067\u3059\uff0e\n\u4e00\u65e6ownCloud\u3092\u7d42\u4e86\u3057\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u9000\u907f\uff08\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u306f\u305d\u306e\u307e\u307e\uff09\u3057\u3066\u8a2d\u5b9a\u3092\u4f5c\u308a\u306a\u304a\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n$ mv ./.local/share/data/ownCloud ./.local/share/data/ownCloud-backup$ owncloud --logwindow\n\u3068\u308a\u3042\u3048\u305a\u540c\u671f\u51fa\u6765\u305f\u3088\u3046\u3067\u3059\uff0e", "date_published": "2016-02-26T20:21:51+09:00", "date_modified": "2016-02-26T20:21:51+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "ownCloud", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1207", "url": "https://matoken.org/blog/2016/02/24/try-mkusb-to-make-such-as-a-boot-usb-memory/", "title": "\u30d6\u30fc\u30c8USB\u30e1\u30e2\u30ea\u306a\u3069\u3092\u4f5c\u308bmkusb\u3092\u8a66\u3057\u3066\u307f\u308b", "content_html": "

\n

USB\u30e1\u30e2\u30ea\u306a\u3069\u306biso\u3092\u66f8\u304d\u8fbc\u3093\u3067\u8d77\u52d5\u30c7\u30d0\u30a4\u30b9\u3092\u4f5c\u308c\u308b\u3068\u3066\u3082\u4fbf\u5229\u306aUNetbootin\u3068\u3044\u3046\u30c4\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u3057\u304b\u3057\uff0cDebian jessie/stretch\u306b\u5165\u3063\u3066\u3044\u307e\u305b\u3093\uff0e

\n\n

\u306a\u3093\u3067\u3060\u308d\u3046\u3068BTS\u3092\u898b\u308b\u3068\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u30d0\u30b0\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e(UEFI\u74b0\u5883\u3067NG?)

\n\n

\u3056\u3056\u3063\u3068\u773a\u3081\u3066\u3044\u3066mkusb\u3068\u3044\u3046\u540c\u3058\u3088\u3046\u306a\u30c4\u30fc\u30eb\u304c\u3042\u308b\u306e\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n\n

\u74b0\u5883

\n

Debian stretch testing amd64\u3067\u3059\uff0e

\n
$ screenfetch
         _,met$$$$$gg.           mk@x220
      ,g$$$$$$$$$$$$$$$P.        OS: Debian testing-updates sid
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.3.0-1-amd64
   ,$$P'              `$$$.      Uptime: 9h 7m
  ',$$P       ,ggs.     `$$b:    Packages: 3622
  `d$$'     ,$P"'   .    $$$     Shell: bash 4.3.42
   $$P      d$'     ,    $$P     Resolution: 1366x768
   $$:      $$.   -    ,d$$'     WM: Awesome
   $$\\;      Y$b._   _,d$P'      WM Theme: awesome
   Y$$.    `.`"Y$$$$P"'          CPU: Intel Core i5-2540M CPU @ 3.3GHz
   `$$b      "-.__               GPU: Mesa DRI Intel(R) Sandybridge Mobile
    `Y$$                         RAM: 9768MiB / 15934MiB
     `Y$$.                      
       `$$b.                    
         `Y$$b.                 
            `"Y$b._             
                `""""           
 
\n

Ubuntu\u306fppa\u304c\u3042\u308a\u307e\u3059\uff0eDebian\u306fUbuntu\u306eppa\u304c\u4f7f\u3048\u307e\u3059\uff0e\u4ed6\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u5c0e\u5165\u30b9\u30af\u30ea\u30d7\u30c8( mkusb-installer )\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff0e

\n

\u5c0e\u5165(ppa)

\n

source.list\u3092\u767b\u9332\u3057\u307e\u3059\uff0eapt edit-sources\u30b3\u30de\u30f3\u30c9\u3067deb http://ppa.launchpad.net/mkusb/ppa/ubuntu trusty main\u3092\u767b\u9332\u3057\u307e\u3059\uff0e

\n
$ sudo apt edit-sources mkusb
$ sudo chmod +r /etc/apt/sources.list.d/mkusb.list
$ cat /etc/apt/sources.list.d/mkusb.list
# "mkusb/install-to-debian - Community Help Wiki"
https://help.ubuntu.com/community/mkusb/install-to-debian
deb http://ppa.launchpad.net/mkusb/ppa/ubuntu trusty main
\n\n
$ gpg --keyserver keyserver.ubuntu.com --recv-keys 54B8C8AC
gpg: \u937554B8C8AC\u3092hkp\u304b\u3089\u30b5\u30fc\u30d0keyserver.ubuntu.com\u306b\u8981\u6c42
gpg: \u937554B8C8AC: \u516c\u958b\u9375"Launchpad PPA for MKUSB"\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305f
gpg:           \u51e6\u7406\u6570\u306e\u5408\u8a08: 1
gpg:             \u30a4\u30f3\u30dd\u30fc\u30c8: 1  (RSA: 1)
$ gpg --fingerprint 54B8C8AC
pub   4096R/54B8C8AC 2014-08-14
 \u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8 = 29D7 6ADA 2D15 A87B F4C6  8B82 3729 8274 54B8 C8AC
uid                  Launchpad PPA for MKUSB
 
$ gpg -a --export 54B8C8AC | sudo apt-key add -
OK
$ apt-key list|grep -A1 54B8C8AC
pub   4096R/54B8C8AC 2014-08-14
uid                  Launchpad PPA for MKUSB
\n

\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u306e\u66f4\u65b0\u3068mkusb\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165

\n
$ sudo apt update
$ sudo apt install mkusb mkusb-nox
$ dpkg -L mkusb
/.
/usr
/usr/share
/usr/share/mkusb
/usr/share/mkusb/mkusb-start
/usr/share/mkusb/restore
/usr/share/mkusb/mkusb-st2
/usr/share/mkusb/usb-pack_efi.tar.gz
/usr/share/mkusb/grub.cfg
/usr/share/mkusb/maybe-problems.txt
/usr/share/mkusb/backup
/usr/share/icons
/usr/share/icons/mkusb.svg
/usr/share/icons/hicolor
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/mkusb.svg
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/mkusb.png
/usr/share/doc
/usr/share/doc/mkusb
/usr/share/doc/mkusb/README.Debian
/usr/share/doc/mkusb/copyright
/usr/share/doc/mkusb/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/mkusb.8.gz
/usr/share/applications
/usr/share/applications/mkusb.desktop
/usr/sbin
/usr/sbin/mkusb
$ dpkg -L mkusb-nox
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/mkusb-nox
/usr/share/doc/mkusb-nox/copyright
/usr/share/doc/mkusb-nox/changelog.Debian.gz
/usr/sbin
/usr/sbin/mkusb-nox
\n

\u5b9f\u884c\u4f8b

\n

\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u8d77\u52d5\u3059\u308b\u304b\uff0c

\n
$ sudo -H /usr/sbin/mkusb
\n

\u306e\u3088\u3046\u306b\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\uff0e\u66f8\u304d\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5f15\u6570\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\uff0e\u30a4\u30e1\u30fc\u30b8\u306b\u306f.gz\u3084.xz\u3082\u6307\u5b9a\u53ef\u80fd\u306a\u306e\u3067\u5c55\u958b\u306e\u624b\u9593\u304c\u7701\u3051\u307e\u3059\uff0e

\n
$ sudo -H /usr/sbin/mkusb ./alpine-3.3.1-x86_64.iso
\n

\u30b9\u30d7\u30e9\u30c3\u30b7\u30e5\u304c\u51fa\u3066\uff0c

\n

\"20160224_06:02:32-32496\"
\n\"20160224_06:02:36-32565\"

\n

\u30e1\u30cb\u30e5\u30fc\u304c\u51fa\u3066\u304d\u307e\u3059\uff0eclone\u3084wipe\u3082\u53ef\u80fd\u3067\u3059\uff0e
\n\"20160224_06:02:45-32658\"

\n

\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\uff0e\u9593\u9055\u3048\u308b\u3068\u3068\u3066\u3082\u60b2\u3057\u3044\u3053\u3068\u306b\u306a\u308a\u307e\u3059\uff0e\u3061\u306a\u307f\u306bSD Card\u30b9\u30ed\u30c3\u30c8\u306e/dev/mmcblk0\u306f\u691c\u51fa\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\uff0eUSB-SD\u30a2\u30c0\u30d7\u30bf\u7d4c\u7531\u3060\u3068\u51fa\u3066\u304d\u307e\u3057\u305f\uff0e
\n\"20160224_06:02:26-868\"
\n\"20160224_06:02:43-1237\"

\n

\u78ba\u8a8d\u753b\u9762\u3067\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u300cGo\u300d\u30dc\u30bf\u30f3\u3067\u66f8\u304d\u8fbc\u307f\u304c\u59cb\u307e\u308a\u307e\u3059\uff0e
\n\"20160224_06:02:05-2732\"
\n\"20160224_06:02:13-2827\"
\n\"20160224_06:02:17-2960\"

\n

\u5b9f\u884c\u4f8b(nox)

\n

mkusb-nox\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u7aef\u672b\u3067\u5229\u7528\u3067\u304d\u307e\u3059\uff0enox\u7248\u3067\u306f\u8907\u6570\u306eUSB\u30e1\u30e2\u30ea\u304c\u3042\u308b\u5834\u5408\u306e\u9078\u629e\u65b9\u6cd5\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u66f8\u304d\u8fbc\u3080\u30c7\u30d0\u30a4\u30b9\u3060\u3051\u3092\u5dee\u3057\u8fbc\u3080\u3088\u3046\u306b\u3059\u308b\u3057\u304b\u7121\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
$ sudo /usr/sbin/mkusb-nox ./alpine-3.3.1-x86_64.iso
The iso file SHOULD BE loop mounted on a temporary file READ-ONLY:
mount: /dev/loop0 is write-protected, mounting read-only
disk_name_type=label
default grsec|label grsec| _found_ in iso-file
default grsec|label grsec| _found_ in /dev/sdb
 Final checkpoint
Install to /dev/sdb? (y/n)
y
pv "alpine-3.3.1-x86_64.iso"| dd of=/dev/sdb bs=4096 ...
  82MiB 0:00:00 [ 205MiB/s] [========================================================================================================================>] 100%            
20992+0 records in
20992+0 records out
85983232 bytes (86 MB) copied, 4.84297 s, 17.8 MB/s
syncing the drive ...
The default grsec|label grsec| USB device is re-cloned  :-)
\n

\u554f\u984c\u306a\u304f\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u306fUNetbootin\u306e\u65b9\u304c\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30db\u30fc\u30e0\u3060\u3057\u4f7f\u3044\u3084\u3059\u305d\u3046\u3067\u3059\uff0e\u72b6\u6cc1\u306b\u3088\u308a\u4f7f\u3044\u5206\u3051\u308b\u306e\u304c\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
\n\n
\n", "content_text": "USB\u30e1\u30e2\u30ea\u306a\u3069\u306biso\u3092\u66f8\u304d\u8fbc\u3093\u3067\u8d77\u52d5\u30c7\u30d0\u30a4\u30b9\u3092\u4f5c\u308c\u308b\u3068\u3066\u3082\u4fbf\u5229\u306aUNetbootin\u3068\u3044\u3046\u30c4\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\uff0e\n\u3057\u304b\u3057\uff0cDebian jessie/stretch\u306b\u5165\u3063\u3066\u3044\u307e\u305b\u3093\uff0e\n\nDebian \u2013 sid \u306e unetbootin \u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u95a2\u3059\u308b\u8a73\u7d30\n\n\u306a\u3093\u3067\u3060\u308d\u3046\u3068BTS\u3092\u898b\u308b\u3068\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u30d0\u30b0\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e(UEFI\u74b0\u5883\u3067NG?)\n\n#775689 – Do NOT use unetbootin for Debian CD images – Debian Bug report logs\n\n\u3056\u3056\u3063\u3068\u773a\u3081\u3066\u3044\u3066mkusb\u3068\u3044\u3046\u540c\u3058\u3088\u3046\u306a\u30c4\u30fc\u30eb\u304c\u3042\u308b\u306e\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\nmkusb – Community Help Wiki\n\n\u74b0\u5883\nDebian stretch testing amd64\u3067\u3059\uff0e\n$ screenfetch         _,met$$$$$gg.           mk@x220      ,g$$$$$$$$$$$$$$$P.        OS: Debian testing-updates sid    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.3.0-1-amd64   ,$$P'              `$$$.      Uptime: 9h 7m  ',$$P       ,ggs.     `$$b:    Packages: 3622  `d$$'     ,$P"'   .    $$$     Shell: bash 4.3.42   $$P      d$'     ,    $$P     Resolution: 1366x768   $$:      $$.   -    ,d$$'     WM: Awesome   $$\\;      Y$b._   _,d$P'      WM Theme: awesome   Y$$.    `.`"Y$$$$P"'          CPU: Intel Core i5-2540M CPU @ 3.3GHz   `$$b      "-.__               GPU: Mesa DRI Intel(R) Sandybridge Mobile    `Y$$                         RAM: 9768MiB / 15934MiB     `Y$$.                             `$$b.                             `Y$$b.                             `"Y$b._                             `""""            \nUbuntu\u306fppa\u304c\u3042\u308a\u307e\u3059\uff0eDebian\u306fUbuntu\u306eppa\u304c\u4f7f\u3048\u307e\u3059\uff0e\u4ed6\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u5c0e\u5165\u30b9\u30af\u30ea\u30d7\u30c8( mkusb-installer )\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\n\u5c0e\u5165(ppa)\nsource.list\u3092\u767b\u9332\u3057\u307e\u3059\uff0eapt edit-sources\u30b3\u30de\u30f3\u30c9\u3067deb http://ppa.launchpad.net/mkusb/ppa/ubuntu trusty main\u3092\u767b\u9332\u3057\u307e\u3059\uff0e\n$ sudo apt edit-sources mkusb$ sudo chmod +r /etc/apt/sources.list.d/mkusb.list$ cat /etc/apt/sources.list.d/mkusb.list# "mkusb/install-to-debian - Community Help Wiki"# https://help.ubuntu.com/community/mkusb/install-to-debiandeb http://ppa.launchpad.net/mkusb/ppa/ubuntu trusty main\n\nMKUSB PPA : \u201cMKUSB\u201d team\n\u3092\u53c2\u8003\u306bapy-key add\u3059\u308b\uff0e\n\n$ gpg --keyserver keyserver.ubuntu.com --recv-keys 54B8C8ACgpg: \u937554B8C8AC\u3092hkp\u304b\u3089\u30b5\u30fc\u30d0keyserver.ubuntu.com\u306b\u8981\u6c42gpg: \u937554B8C8AC: \u516c\u958b\u9375"Launchpad PPA for MKUSB"\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305fgpg:           \u51e6\u7406\u6570\u306e\u5408\u8a08: 1gpg:             \u30a4\u30f3\u30dd\u30fc\u30c8: 1  (RSA: 1)$ gpg --fingerprint 54B8C8ACpub   4096R/54B8C8AC 2014-08-14 \u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8 = 29D7 6ADA 2D15 A87B F4C6  8B82 3729 8274 54B8 C8ACuid                  Launchpad PPA for MKUSB $ gpg -a --export 54B8C8AC | sudo apt-key add -OK$ apt-key list|grep -A1 54B8C8ACpub   4096R/54B8C8AC 2014-08-14uid                  Launchpad PPA for MKUSB\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u306e\u66f4\u65b0\u3068mkusb\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\n$ sudo apt update$ sudo apt install mkusb mkusb-nox$ dpkg -L mkusb/./usr/usr/share/usr/share/mkusb/usr/share/mkusb/mkusb-start/usr/share/mkusb/restore/usr/share/mkusb/mkusb-st2/usr/share/mkusb/usb-pack_efi.tar.gz/usr/share/mkusb/grub.cfg/usr/share/mkusb/maybe-problems.txt/usr/share/mkusb/backup/usr/share/icons/usr/share/icons/mkusb.svg/usr/share/icons/hicolor/usr/share/icons/hicolor/scalable/usr/share/icons/hicolor/scalable/apps/usr/share/icons/hicolor/scalable/apps/mkusb.svg/usr/share/icons/hicolor/48x48/usr/share/icons/hicolor/48x48/apps/usr/share/icons/hicolor/48x48/apps/mkusb.png/usr/share/doc/usr/share/doc/mkusb/usr/share/doc/mkusb/README.Debian/usr/share/doc/mkusb/copyright/usr/share/doc/mkusb/changelog.Debian.gz/usr/share/man/usr/share/man/man8/usr/share/man/man8/mkusb.8.gz/usr/share/applications/usr/share/applications/mkusb.desktop/usr/sbin/usr/sbin/mkusb$ dpkg -L mkusb-nox/./usr/usr/share/usr/share/doc/usr/share/doc/mkusb-nox/usr/share/doc/mkusb-nox/copyright/usr/share/doc/mkusb-nox/changelog.Debian.gz/usr/sbin/usr/sbin/mkusb-nox\n\u5b9f\u884c\u4f8b\n\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u8d77\u52d5\u3059\u308b\u304b\uff0c\n$ sudo -H /usr/sbin/mkusb\n\u306e\u3088\u3046\u306b\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\uff0e\u66f8\u304d\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5f15\u6570\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\uff0e\u30a4\u30e1\u30fc\u30b8\u306b\u306f.gz\u3084.xz\u3082\u6307\u5b9a\u53ef\u80fd\u306a\u306e\u3067\u5c55\u958b\u306e\u624b\u9593\u304c\u7701\u3051\u307e\u3059\uff0e\n$ sudo -H /usr/sbin/mkusb ./alpine-3.3.1-x86_64.iso\n\u30b9\u30d7\u30e9\u30c3\u30b7\u30e5\u304c\u51fa\u3066\uff0c\n\n\n\u30e1\u30cb\u30e5\u30fc\u304c\u51fa\u3066\u304d\u307e\u3059\uff0eclone\u3084wipe\u3082\u53ef\u80fd\u3067\u3059\uff0e\n\n\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\uff0e\u9593\u9055\u3048\u308b\u3068\u3068\u3066\u3082\u60b2\u3057\u3044\u3053\u3068\u306b\u306a\u308a\u307e\u3059\uff0e\u3061\u306a\u307f\u306bSD Card\u30b9\u30ed\u30c3\u30c8\u306e/dev/mmcblk0\u306f\u691c\u51fa\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\uff0eUSB-SD\u30a2\u30c0\u30d7\u30bf\u7d4c\u7531\u3060\u3068\u51fa\u3066\u304d\u307e\u3057\u305f\uff0e\n\n\n\u78ba\u8a8d\u753b\u9762\u3067\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u300cGo\u300d\u30dc\u30bf\u30f3\u3067\u66f8\u304d\u8fbc\u307f\u304c\u59cb\u307e\u308a\u307e\u3059\uff0e\n\n\n\n\u5b9f\u884c\u4f8b(nox)\nmkusb-nox\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u7aef\u672b\u3067\u5229\u7528\u3067\u304d\u307e\u3059\uff0enox\u7248\u3067\u306f\u8907\u6570\u306eUSB\u30e1\u30e2\u30ea\u304c\u3042\u308b\u5834\u5408\u306e\u9078\u629e\u65b9\u6cd5\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u66f8\u304d\u8fbc\u3080\u30c7\u30d0\u30a4\u30b9\u3060\u3051\u3092\u5dee\u3057\u8fbc\u3080\u3088\u3046\u306b\u3059\u308b\u3057\u304b\u7121\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n$ sudo /usr/sbin/mkusb-nox ./alpine-3.3.1-x86_64.isoThe iso file SHOULD BE loop mounted on a temporary file READ-ONLY:mount: /dev/loop0 is write-protected, mounting read-onlydisk_name_type=labeldefault grsec|label grsec| _found_ in iso-filedefault grsec|label grsec| _found_ in /dev/sdb Final checkpointInstall to /dev/sdb? (y/n)ypv "alpine-3.3.1-x86_64.iso"| dd of=/dev/sdb bs=4096 ...  82MiB 0:00:00 [ 205MiB/s] [========================================================================================================================>] 100%            20992+0 records in20992+0 records out85983232 bytes (86 MB) copied, 4.84297 s, 17.8 MB/ssyncing the drive ...The default grsec|label grsec| USB device is re-cloned  :-)\n\u554f\u984c\u306a\u304f\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u306fUNetbootin\u306e\u65b9\u304c\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30db\u30fc\u30e0\u3060\u3057\u4f7f\u3044\u3084\u3059\u305d\u3046\u3067\u3059\uff0e\u72b6\u6cc1\u306b\u3088\u308a\u4f7f\u3044\u5206\u3051\u308b\u306e\u304c\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e", "date_published": "2016-02-24T09:03:35+09:00", "date_modified": "2016-02-24T09:04:24+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "stretch", "testing", "Ubuntu" ] }, { "id": "http://matoken.org/blog/?p=1191", "url": "https://matoken.org/blog/2016/02/19/try-podget-of-podcast-aggregator-downloader-that-specializes-in-cron/", "title": "cron\u306b\u7279\u5316\u3057\u305fPodcast\u30a2\u30b0\u30ea\u30b2\u30fc\u30bf/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0\u306epodget\u3092\u8a66\u3059", "content_html": "

\n

\u5148\u65e5\u8a66\u3057\u305fpodracer\u306f\u4f55\u6c17\u306b10\u5e74\u524d\u306e\u30bd\u30d5\u30c8\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3082\u3055\u308c\u3066\u3044\u306a\u3044\u3057\uff0c\u8d77\u52d5\u4e2d\u306b\u5f37\u5236\u7d42\u4e86\u3059\u308b\u3068\u30b4\u30df\u304c\u6b8b\u3063\u3066\u6b21\u304b\u3089\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u305f\u308a\u3068\u304b\u3068\u304b\u7d50\u69cb\u4e0d\u6e80\u70b9\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\uff0e

\n\n

\u4eca\u306f\u524d\u51e6\u7406\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\uff0c

\n
if [ $(pgrep podracer) ] ; then
  echo 'running podracer.'
  exit -1
fi
 
echo run podracer
if [ -f ~/.podracer/tempsub ] ; then
  rm ~/.podracer/tempsub
  echo 'rm tempsub'
fi
\n

\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u3082\u3053\u3093\u306a\u611f\u3058\u3067\u5225\u306b\u4f5c\u3063\u3066\u307e\u3059\uff0e

\n
cd ~/podcasts
PODCASTLIST=($(cd ~/podcasts ; find . -mmin -$LISTTIME -type f -print0 | xargs -0n1 file | grep -i audio | cut -f1 -d:))
if [ ${#PODCASTLIST[@]} -eq 0 ] ; then
  echo 'podcast not found.'
  exit -1;
fi
 
echo num = ${#PODCASTLIST[@]}
ls -1tr ${PODCASTLIST[@]} > ~/podcasts/todayspodcast.m3u
\n

\u5f8c\u8005\u306fDebian\u306e\u65b9\u306b\u306f\u30d0\u30b0\u5831\u544a\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u97f3\u6c99\u6c70\u304c\u306a\u3044\u611f\u3058\u3067\u3059\uff0e

\n

\u4ed6\u306b\u306a\u3044\u304b\u306a\u30fc\u3068\u63a2\u3057\u3066(apt-cache search podcast)podget\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e

\n
$ apt show podget | grep -A99 Description:
 
Description: cron \u7528\u306b\u6700\u9069\u5316\u3055\u308c\u305f Podcast \u30a2\u30b0\u30ea\u30b2\u30fc\u30bf/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0
 Podget \u306f\u30b7\u30f3\u30d7\u30eb\u306a podcast \u30a2\u30b0\u30ea\u30b2\u30fc\u30bf\u3067\u3042\u308a\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30b0\u30e9\u30f3\u30c9\u30b8\u30e7\u30d6
 (\u3059\u306a\u308f\u3061 cron) \u3068\u3057\u3066\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002RSS \u304a\u3088\u3073 XML \u30d5\u30a3\u30fc\u30c9
 \u304b\u3089\u306e podcast \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30bd\u30fc\u30c8\u3057\u3066\u30d5\u30a9\u30eb\u30c0\u3084\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306b\u683c\u7d0d\u3001
 iTunes PCAST \u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073 OPML \u30ea\u30b9\u30c8\u304b\u3089\u306e URL \u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3001M3U \u304a\u3088\u3073 ASX
 \u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u81ea\u52d5\u751f\u6210\u3001\u305d\u3057\u3066\u53e4\u304f\u306a\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u81ea\u52d5\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u306e\u30b5\u30dd\u30fc\u30c8
 \u304c\u7279\u5fb4\u3067\u3059\u3002\u307e\u305f\u3001MS Windows \u30b5\u30fc\u30d0\u4e0a\u306b\u30db\u30b9\u30c8\u3055\u308c\u305f podcast \u306e UTF-16 \u81ea\u52d5\u5909\u63db\u3082
 \u7279\u5fb4\u3067\u3059\u3002
 podget \u3092\u4e00\u65e6\u8d77\u52d5\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092 $HOME/.podget \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb
 \u3057\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002
\n

cron\u306b\u7279\u5316\u3057\u3066\u3044\u3066\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e

\n

\u5c0e\u5165

\n

Debian stretch testing/Rasbian jessie/Ubuntu 14.04 \u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e

\n
$ sudo apt install podget
\n

\u521d\u671f\u5316

\n
$ podget -h
 
Usage /usr/bin/podget [options]
 
    -c --config <FILE>           Name of configuration file.
    -C --cleanup                 Skip downloading and only run cleanup loop.
    --cleanup_simulate           Skip downloading and simulate running
                                 cleanup loop.
                                 Display files to be deleted.
    --cleanup_days               Number of days to retain files.  Anything
                                 older will be removed.
    -d --dir_config <DIRECTORY>  Directory that configuration files are
                                 stored in.
    -f --force                   Force download of items from each feed even
                                 if they have already been downloaded.
    --import_opml <FILE or URL>  Import servers from OPML file or
                                 HTTP/FTP URL.
    --import_pcast <FILE or URL> Import servers from iTunes PCAST file or
                                 HTTP/FTP URL.
    -l --library <DIRECTORY>     Directory to store downloaded files in.
    -p --playlist-asx            In addition to the default M3U playlist,
                                 create an ASX Playlist.
    -r --recent <count>          Download only the <count> newest items from
                                 each feed.
    --serverlist <list>          Serverlist to use.
    -s --silent                  Run silently (for cron jobs).
    --verbosity <LEVEL>          Set verbosity level (0-4).
    -v                           Set verbosity to level 1.
    -vv                          Set verbosity to level 2.
    -vvv                         Set verbosity to level 3.
    -vvvv                        Set verbosity to level 4.
    -h --help                    Display help.
\n

\u521d\u56de\u8d77\u52d5\u6642\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u5f15\u6570\u7121\u3057\u3067\u5b9f\u884c\u3059\u308b\u3068\u521d\u671f\u8a2d\u5b9a\u306e\u4e2d\u306epodcast\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u3067--cleanup_simulate\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e
\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u898f\u5b9a\u5024\u3067\u306f~/.podget\u4ee5\u4e0b\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e

\n
$ podget --cleanup_simulate
$ ls -lA ~/.podget
\u5408\u8a08 8
-rw-rw-r-- 1 mk mk 3652  2\u6708 19 05:34 podgetrc
-rw-rw-r-- 1 mk mk 1131  2\u6708 19 05:34 serverlist
\n\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f

\n

\u304a\u597d\u307f\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e~/podgetrc\u3092\u7de8\u96c6\u3057\u307e\u3059\uff0e\u79c1\u306f\u4ee5\u4e0b\u306e\u8fba\u308a\u3092\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\uff0e

\n

\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b

\n
# Directory to store logs in
dir_log=/home/mk/POD/LOG
\n

\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u5e74\u6708\u65e5\u306e\u5f62\u5f0f\u3092\u66f8\u304d\u63db\u3048

\n
# Date format for new playlist names
date_format=+%Y-%m-%d
\n

Podcast\u306e\u53d6\u5f97\u6570\u30923\u3064\u306b

\n
# Most Recent
# 0  == download all new items.
# 1+ == download only the <count> most recent
most_recent=3
\n

\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u306e\u4f5c\u6210

\n

\u53d6\u5f97\u3059\u308bPodcast\u3092~/.podget/serverlist\u306b\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\uff0e

\n

\u66f8\u5f0f\u306f\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067

\n
\n

URL \u30ab\u30c6\u30b4\u30ea\u30fc \u756a\u7d44\u540d

\n
\n

\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0epodget\u3092\u5b9f\u884c\u3057\u305f\u6642\u306b
\n\u30ab\u30c6\u30b4\u30ea\u30fc/\u756a\u7d44\u540d/\u756a\u7d44\u3068\u3044\u3046\u3075\u3046\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u6398\u3089\u308c\u307e\u3059\uff0e
\n\u5177\u4f53\u7684\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\uff0e

\n
http://feeds.feedburner.com/weblogs/csc tech \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba
http://feeds.backspace.fm/backspacefm tech backspace.fm
http://www.joqr.co.jp/science-podcast/index.xml science \u65e5\u7acb\u30cf\u30a4\u30c6\u30af\u30d7\u30ec\u30bc\u30f3\u30c4 \u5927\u6751\u6b63\u6a39\u306e\u30b5\u30a4\u30a8\u30f3\u30b9\u30ad\u30c3\u30ba
http://www.tbsradio.jp/life/rss.xml etc \u6587\u5316\u7cfb\u30c8\u30fc\u30af\u30e9\u30b8\u30aa Life
http://www.tbsradio.jp/cycle-r/index.xml bike \u30df\u30e9\u30af\u30eb\u30fb\u30b5\u30a4\u30af\u30eb\u30fb\u30e9\u30a4\u30d5
http://sokoani.com/feed anime \u305d\u3053\u3042\u306b
  :
\n

\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3089\u306e\u79fb\u884c\u3067OPML\u30d5\u30a1\u30a4\u30eb\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u304c\u53ef\u80fd\u306a\u5834\u5408\u306f\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3084URL\u3092\u5143\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\u203b\u672a\u78ba\u8a8d

\n
$ podget --import_opml <FILE or URL>
\n

\u82e5\u3057\u304f\u306fPCAST\u5f62\u5f0f(iTunes\u5411\u3051?)\u3082\u540c\u69d8\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\u203b\u672a\u78ba\u8a8d

\n
$ podget --import_pcast <FILE or URL>
\n

OPML\u66f8\u304d\u51fa\u3057\u306e\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\uff0e\u4f46\u3057\u3053\u306e\u6a5f\u80fd\u306f
\nUbuntu 14.04\u306e0.6.9\u306b\u306f\u306a\u304f\uff0c
\nRasbian jessie\u306e0.7.3\uff0c
\nDebian stretch\u306e0.7.9\u306b\u306f\u5b58\u5728\u3057\u307e\u3057\u305f\uff0e

\n
$ podget --export_opml /tmp/podcast.opml
podget
 
Session file not found.  Creating podget.22189 .
 
Export serverlist to OPML file: /tmp/podcast.opml
 
Closing session and removing lock file.
$ head /tmp/podcast.opml
<?xml version="1.0" encoding="utf-8" ?>
<opml version="1.0">
<head/>
<body>
<outline text="tech"><outline text="\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba" type="rss" xmlUrl="http://feeds.feedburner.com/weblogs/csc" /></outline>
<outline text="tech"><outline text="backspace.fm" type="rss" xmlUrl="http://feeds.backspace.fm/backspacefm" /></outline>
<outline text="science"><outline text="\u65e5\u7acb\u30cf\u30a4\u30c6\u30af\u30d7\u30ec\u30bc\u30f3\u30c4 \u5927\u6751\u6b63\u6a39\u306e\u30b5\u30a4\u30a8\u30f3\u30b9\u30ad\u30c3\u30ba" type="rss" xmlUrl="http://www.joqr.co.jp/science-podcast/index.xml" /></outline>
<outline text="etc"><outline text="\u6587\u5316\u7cfb\u30c8\u30fc\u30af\u30e9\u30b8\u30aa Life" type="rss" xmlUrl="http://www.tbsradio.jp/life/rss.xml" /></outline>
<outline text="bike"><outline text="\u30df\u30e9\u30af\u30eb\u30fb\u30b5\u30a4\u30af\u30eb\u30fb\u30e9\u30a4\u30d5" type="rss" xmlUrl="http://www.tbsradio.jp/cycle-r/index.xml" /></outline>
<outline text="anime"><outline text="\u305d\u3053\u3042\u306b" type="rss" xmlUrl="http://sokoani.com/feed" /></outline>
\n

\u5b9f\u884c

\n

\u3068\u308a\u3042\u3048\u305a\u5f15\u6570\u7121\u3057\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067Podcast\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e

\n
$ podget
-------------------------------------------------
Category: anime         Name: \u305d\u3053\u3042\u306b
Downloading feed index from http://sokoani.com/feed
2016-02-19 07:37:15 URL:http://sokoani.com/feed [673868] -> "-" [1]
 
Downloading 0_s413.mp3 from http://sokoani.com/podpress_trac/feed/9818/0/
 :
 :
\n

Podcast\u306f\u898f\u5b9a\u5024\u3067\u306f~/POD\u4ee5\u4e0b\u306b\u30ab\u30c6\u30b4\u30ea/\u756a\u7d44\u540d/\u756a\u7d44\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u3067\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e

\n
$ find ~/POD -type f | tail -3
/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160216.mp3
/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160202.mp3
/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160209.mp3
\n

\u307e\u305f\uff0c~/POD/*.m3u\u3068\u30b9\u30c6\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u3082\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u3053\u308c\u306f\u5b9f\u884c\u5358\u4f4d\u3067\u4f5c\u3089\u308c\u308b\u306e\u304b\u306a?

\n
$ ls -l ~/POD/*.m3u
-rw-rw-r-- 1 mk mk  946  2\u6708 19 07:14 /home/mk/POD/New-2016-02-19.m3u
-rw-rw-r-- 1 mk mk 1924  2\u6708 19 07:50 /home/mk/POD/New-2016-02-19.r2.m3u
\n

\u3046\u307e\u304f\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306a\u3089-s\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066cron\u306b\u767b\u9332\u3057\u3066\u3042\u3052\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u6bce\u66423\u5206\u306bpodget\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\uff0e

\n
$ crontab -e
$ crontab -l | tail -2
# get podcast
3 * * * *       podget -s
\n

podracer\u306fPodcast\u3092\u756a\u7d44\u95a2\u4fc2\u306a\u304f\u5b9f\u884c\u65e5\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u3066Podcast\u756a\u7d44\u3092\u63a2\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4e0d\u4fbf\u3067\u3057\u305f\u304cpodget\u3060\u3068\u30ab\u30c6\u30b4\u30ea\u3068\u756a\u7d44\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5206\u304b\u308c\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\uff0e
\n\u3057\u3070\u3089\u304f\u4f75\u7528\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\n", "content_text": "\u5148\u65e5\u8a66\u3057\u305fpodracer\u306f\u4f55\u6c17\u306b10\u5e74\u524d\u306e\u30bd\u30d5\u30c8\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3082\u3055\u308c\u3066\u3044\u306a\u3044\u3057\uff0c\u8d77\u52d5\u4e2d\u306b\u5f37\u5236\u7d42\u4e86\u3059\u308b\u3068\u30b4\u30df\u304c\u6b8b\u3063\u3066\u6b21\u304b\u3089\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u305f\u308a\u3068\u304b\u3068\u304b\u7d50\u69cb\u4e0d\u6e80\u70b9\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\uff0e\n\nCLI \u306a podcast aggregator/downloader \u306a podracer \u3092\u8a66\u3057\u3066\u307f\u308b | matoken\u2019s meme\n\n\u4eca\u306f\u524d\u51e6\u7406\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\uff0c\nif [ $(pgrep podracer) ] ; then  echo 'running podracer.'  exit -1fi echo run podracerif [ -f ~/.podracer/tempsub ] ; then  rm ~/.podracer/tempsub  echo 'rm tempsub'fi\n\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u3082\u3053\u3093\u306a\u611f\u3058\u3067\u5225\u306b\u4f5c\u3063\u3066\u307e\u3059\uff0e\ncd ~/podcastsPODCASTLIST=($(cd ~/podcasts ; find . -mmin -$LISTTIME -type f -print0 | xargs -0n1 file | grep -i audio | cut -f1 -d:))if [ ${#PODCASTLIST[@]} -eq 0 ] ; then  echo 'podcast not found.'  exit -1;fi echo num = ${#PODCASTLIST[@]}ls -1tr ${PODCASTLIST[@]} > ~/podcasts/todayspodcast.m3u\n\u5f8c\u8005\u306fDebian\u306e\u65b9\u306b\u306f\u30d0\u30b0\u5831\u544a\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u97f3\u6c99\u6c70\u304c\u306a\u3044\u611f\u3058\u3067\u3059\uff0e\n\u4ed6\u306b\u306a\u3044\u304b\u306a\u30fc\u3068\u63a2\u3057\u3066(apt-cache search podcast)podget\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\n$ apt show podget | grep -A99 Description: Description: cron \u7528\u306b\u6700\u9069\u5316\u3055\u308c\u305f Podcast \u30a2\u30b0\u30ea\u30b2\u30fc\u30bf/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0 Podget \u306f\u30b7\u30f3\u30d7\u30eb\u306a podcast \u30a2\u30b0\u30ea\u30b2\u30fc\u30bf\u3067\u3042\u308a\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30b0\u30e9\u30f3\u30c9\u30b8\u30e7\u30d6 (\u3059\u306a\u308f\u3061 cron) \u3068\u3057\u3066\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002RSS \u304a\u3088\u3073 XML \u30d5\u30a3\u30fc\u30c9 \u304b\u3089\u306e podcast \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30bd\u30fc\u30c8\u3057\u3066\u30d5\u30a9\u30eb\u30c0\u3084\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306b\u683c\u7d0d\u3001 iTunes PCAST \u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073 OPML \u30ea\u30b9\u30c8\u304b\u3089\u306e URL \u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3001M3U \u304a\u3088\u3073 ASX \u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u81ea\u52d5\u751f\u6210\u3001\u305d\u3057\u3066\u53e4\u304f\u306a\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u81ea\u52d5\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u306e\u30b5\u30dd\u30fc\u30c8 \u304c\u7279\u5fb4\u3067\u3059\u3002\u307e\u305f\u3001MS Windows \u30b5\u30fc\u30d0\u4e0a\u306b\u30db\u30b9\u30c8\u3055\u308c\u305f podcast \u306e UTF-16 \u81ea\u52d5\u5909\u63db\u3082 \u7279\u5fb4\u3067\u3059\u3002 podget \u3092\u4e00\u65e6\u8d77\u52d5\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092 $HOME/.podget \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u3057\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002\ncron\u306b\u7279\u5316\u3057\u3066\u3044\u3066\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\u5c0e\u5165\nDebian stretch testing/Rasbian jessie/Ubuntu 14.04 \u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e\n$ sudo apt install podget\n\u521d\u671f\u5316\n$ podget -h Usage /usr/bin/podget [options]     -c --config <FILE>           Name of configuration file.    -C --cleanup                 Skip downloading and only run cleanup loop.    --cleanup_simulate           Skip downloading and simulate running                                 cleanup loop.                                 Display files to be deleted.    --cleanup_days               Number of days to retain files.  Anything                                 older will be removed.    -d --dir_config <DIRECTORY>  Directory that configuration files are                                 stored in.    -f --force                   Force download of items from each feed even                                 if they have already been downloaded.    --import_opml <FILE or URL>  Import servers from OPML file or                                 HTTP/FTP URL.    --import_pcast <FILE or URL> Import servers from iTunes PCAST file or                                 HTTP/FTP URL.    -l --library <DIRECTORY>     Directory to store downloaded files in.    -p --playlist-asx            In addition to the default M3U playlist,                                 create an ASX Playlist.    -r --recent <count>          Download only the <count> newest items from                                 each feed.    --serverlist <list>          Serverlist to use.    -s --silent                  Run silently (for cron jobs).    --verbosity <LEVEL>          Set verbosity level (0-4).    -v                           Set verbosity to level 1.    -vv                          Set verbosity to level 2.    -vvv                         Set verbosity to level 3.    -vvvv                        Set verbosity to level 4.    -h --help                    Display help.\n\u521d\u56de\u8d77\u52d5\u6642\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u5f15\u6570\u7121\u3057\u3067\u5b9f\u884c\u3059\u308b\u3068\u521d\u671f\u8a2d\u5b9a\u306e\u4e2d\u306epodcast\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u3067--cleanup_simulate\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u898f\u5b9a\u5024\u3067\u306f~/.podget\u4ee5\u4e0b\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\n$ podget --cleanup_simulate$ ls -lA ~/.podget\u5408\u8a08 8-rw-rw-r-- 1 mk mk 3652  2\u6708 19 05:34 podgetrc-rw-rw-r-- 1 mk mk 1131  2\u6708 19 05:34 serverlist\n\npodgetrc : \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\nserverlist : podcast\u306e\u30ea\u30b9\u30c8\n\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f\n\u304a\u597d\u307f\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e~/podgetrc\u3092\u7de8\u96c6\u3057\u307e\u3059\uff0e\u79c1\u306f\u4ee5\u4e0b\u306e\u8fba\u308a\u3092\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\uff0e\n\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b\n# Directory to store logs indir_log=/home/mk/POD/LOG\n\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u5e74\u6708\u65e5\u306e\u5f62\u5f0f\u3092\u66f8\u304d\u63db\u3048\n# Date format for new playlist namesdate_format=+%Y-%m-%d\nPodcast\u306e\u53d6\u5f97\u6570\u30923\u3064\u306b\n# Most Recent# 0  == download all new items.# 1+ == download only the <count> most recentmost_recent=3\n\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u306e\u4f5c\u6210\n\u53d6\u5f97\u3059\u308bPodcast\u3092~/.podget/serverlist\u306b\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\uff0e\n\u66f8\u5f0f\u306f\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\n\nURL \u30ab\u30c6\u30b4\u30ea\u30fc \u756a\u7d44\u540d\n\n\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0epodget\u3092\u5b9f\u884c\u3057\u305f\u6642\u306b\n\u30ab\u30c6\u30b4\u30ea\u30fc/\u756a\u7d44\u540d/\u756a\u7d44\u3068\u3044\u3046\u3075\u3046\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u6398\u3089\u308c\u307e\u3059\uff0e\n\u5177\u4f53\u7684\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\uff0e\nhttp://feeds.feedburner.com/weblogs/csc tech \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30bahttp://feeds.backspace.fm/backspacefm tech backspace.fmhttp://www.joqr.co.jp/science-podcast/index.xml science \u65e5\u7acb\u30cf\u30a4\u30c6\u30af\u30d7\u30ec\u30bc\u30f3\u30c4 \u5927\u6751\u6b63\u6a39\u306e\u30b5\u30a4\u30a8\u30f3\u30b9\u30ad\u30c3\u30bahttp://www.tbsradio.jp/life/rss.xml etc \u6587\u5316\u7cfb\u30c8\u30fc\u30af\u30e9\u30b8\u30aa Lifehttp://www.tbsradio.jp/cycle-r/index.xml bike \u30df\u30e9\u30af\u30eb\u30fb\u30b5\u30a4\u30af\u30eb\u30fb\u30e9\u30a4\u30d5http://sokoani.com/feed anime \u305d\u3053\u3042\u306b  :\n\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3089\u306e\u79fb\u884c\u3067OPML\u30d5\u30a1\u30a4\u30eb\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u304c\u53ef\u80fd\u306a\u5834\u5408\u306f\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3084URL\u3092\u5143\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\u203b\u672a\u78ba\u8a8d\n$ podget --import_opml <FILE or URL>\n\u82e5\u3057\u304f\u306fPCAST\u5f62\u5f0f(iTunes\u5411\u3051?)\u3082\u540c\u69d8\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\u203b\u672a\u78ba\u8a8d\n$ podget --import_pcast <FILE or URL>\nOPML\u66f8\u304d\u51fa\u3057\u306e\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\uff0e\u4f46\u3057\u3053\u306e\u6a5f\u80fd\u306f\nUbuntu 14.04\u306e0.6.9\u306b\u306f\u306a\u304f\uff0c\nRasbian jessie\u306e0.7.3\uff0c\nDebian stretch\u306e0.7.9\u306b\u306f\u5b58\u5728\u3057\u307e\u3057\u305f\uff0e\n$ podget --export_opml /tmp/podcast.opmlpodget Session file not found.  Creating podget.22189 . Export serverlist to OPML file: /tmp/podcast.opml Closing session and removing lock file.$ head /tmp/podcast.opml<?xml version="1.0" encoding="utf-8" ?><opml version="1.0"><head/><body><outline text="tech"><outline text="\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba" type="rss" xmlUrl="http://feeds.feedburner.com/weblogs/csc" /></outline><outline text="tech"><outline text="backspace.fm" type="rss" xmlUrl="http://feeds.backspace.fm/backspacefm" /></outline><outline text="science"><outline text="\u65e5\u7acb\u30cf\u30a4\u30c6\u30af\u30d7\u30ec\u30bc\u30f3\u30c4 \u5927\u6751\u6b63\u6a39\u306e\u30b5\u30a4\u30a8\u30f3\u30b9\u30ad\u30c3\u30ba" type="rss" xmlUrl="http://www.joqr.co.jp/science-podcast/index.xml" /></outline><outline text="etc"><outline text="\u6587\u5316\u7cfb\u30c8\u30fc\u30af\u30e9\u30b8\u30aa Life" type="rss" xmlUrl="http://www.tbsradio.jp/life/rss.xml" /></outline><outline text="bike"><outline text="\u30df\u30e9\u30af\u30eb\u30fb\u30b5\u30a4\u30af\u30eb\u30fb\u30e9\u30a4\u30d5" type="rss" xmlUrl="http://www.tbsradio.jp/cycle-r/index.xml" /></outline><outline text="anime"><outline text="\u305d\u3053\u3042\u306b" type="rss" xmlUrl="http://sokoani.com/feed" /></outline>\n\u5b9f\u884c\n\u3068\u308a\u3042\u3048\u305a\u5f15\u6570\u7121\u3057\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067Podcast\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e\n$ podget-------------------------------------------------Category: anime         Name: \u305d\u3053\u3042\u306bDownloading feed index from http://sokoani.com/feed2016-02-19 07:37:15 URL:http://sokoani.com/feed [673868] -> "-" [1] Downloading 0_s413.mp3 from http://sokoani.com/podpress_trac/feed/9818/0/ : :\nPodcast\u306f\u898f\u5b9a\u5024\u3067\u306f~/POD\u4ee5\u4e0b\u306b\u30ab\u30c6\u30b4\u30ea/\u756a\u7d44\u540d/\u756a\u7d44\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u3067\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e\n$ find ~/POD -type f | tail -3/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160216.mp3/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160202.mp3/home/mk/POD/etc/JUNK \u4f0a\u96c6\u9662\u5149 \u6df1\u591c\u306e\u99ac\u9e7f\u529b/files_20160209.mp3\n\u307e\u305f\uff0c~/POD/*.m3u\u3068\u30b9\u30c6\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u3082\u4f5c\u6210\u3055\u308c\u307e\u3059\uff0e\u3053\u308c\u306f\u5b9f\u884c\u5358\u4f4d\u3067\u4f5c\u3089\u308c\u308b\u306e\u304b\u306a?\n$ ls -l ~/POD/*.m3u-rw-rw-r-- 1 mk mk  946  2\u6708 19 07:14 /home/mk/POD/New-2016-02-19.m3u-rw-rw-r-- 1 mk mk 1924  2\u6708 19 07:50 /home/mk/POD/New-2016-02-19.r2.m3u\n\u3046\u307e\u304f\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306a\u3089-s\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066cron\u306b\u767b\u9332\u3057\u3066\u3042\u3052\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u6bce\u66423\u5206\u306bpodget\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\uff0e\n$ crontab -e$ crontab -l | tail -2# get podcast3 * * * *       podget -s\npodracer\u306fPodcast\u3092\u756a\u7d44\u95a2\u4fc2\u306a\u304f\u5b9f\u884c\u65e5\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u3066Podcast\u756a\u7d44\u3092\u63a2\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4e0d\u4fbf\u3067\u3057\u305f\u304cpodget\u3060\u3068\u30ab\u30c6\u30b4\u30ea\u3068\u756a\u7d44\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5206\u304b\u308c\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\uff0e\n\u3057\u3070\u3089\u304f\u4f75\u7528\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e", "date_published": "2016-02-19T08:01:18+09:00", "date_modified": "2016-02-19T08:01:18+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "podcast", "Rasbian_jessie", "stretch", "testing", "Ubuntu14.04", "trusty(14.04)", "Ubuntu" ] }, { "id": "http://matoken.org/blog/?p=1184", "url": "https://matoken.org/blog/2016/02/17/to-enter-the-emoticons-mozce-and-mojione-picker-2/", "title": "\u7d75\u6587\u5b57\u3092\u5165\u529b\u3059\u308b-Mozc&emojione-picker-", "content_html": "

\n

Linux\u74b0\u5883\u3067\u306e\u7d75\u6587\u5b57\u5165\u529b\u65b9\u6cd5\u3067\u3059\uff0e\u65b0\u3057\u3044\u65b9\u6cd5\u3092\u77e5\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\uff0e

\n

Mozc\u5229\u7528

\n

\u3053\u308c\u307e\u3067\u306f\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\uff0eMozc\u306e\u8a2d\u5b9a\u3067\u300cUnicode 6 \u7d75\u6587\u5b57\u5909\u63db\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3068\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e

\n

\"20160216_23:02:52-2121\"/

\n

\u300c\u3048\u3082\u3058\u300d\u3068\u304b\u300c\u306d\u3053\u300d\u3068\u304b\u5165\u529b\u3057\u3066\u5909\u63db\u51fa\u6765\u307e\u3059\uff0e

\n

\"20160217_07:02:28-3105\"/

\n

\u8f9e\u66f8\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\uff0e

\n

\"20160217_07:02:07-5247\"/

\n

emojione-picker for Ubuntu

\n\n

\u4eca\u56de\u77e5\u3063\u305fUbuntu\u5411\u3051\u306e\u7d75\u6587\u5b57\u30d4\u30c3\u30ab\u30fc\u3067\u3059\uff0e\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30d0\u30fc\u306b\u5e38\u99d0\u3057\u3066\u5165\u529b\u3057\u305f\u3044\u7d75\u6587\u5b57\u3092\u9078\u3093\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u7d75\u6587\u5b57\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u308a\u4ed8\u3051\u3067\u5165\u529b\u3067\u304d\u307e\u3059\uff0e

\n

\"20160217_07:02:45-12768\"/

\n

\u30c1\u30ad\u30f3\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u3068\u3053\u308d\uff0e

\n

\"20160217_07:02:11-16960\"/

\n

\u3044\u3061\u3044\u3061\u30e1\u30cb\u30e5\u30fc\u3092\u8fbf\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u304c\uff0cRecent\u306b\u6700\u8fd1\u4f7f\u3063\u305f\u7d75\u6587\u5b57\u304c\u5165\u308b\u306e\u3067\u3088\u304f\u4f7f\u3046\u3082\u306e\u306f\u3053\u3053\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\uff0e

\n

\"20160217_07:02:42-17641\"/

\n

Debian stretch testing \u3078\u306e\u5c0e\u5165\u4f8b

\n

Ubuntu\u7528\u3067\u3059\u304cstretch\u306b\u3082\u5165\u308a\u307e\u3057\u305f\uff0e\u3061\u306a\u307f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u3066\u5c0e\u5165\u3057\u306a\u304f\u3066\u3082\u3068\u308a\u3042\u3048\u305a\u52d5\u304b\u3059\u3060\u3051\u306a\u3089git clone\u3057\u305f\u5f8ccd emojione-picker-ubuntu ; ./emojione-picker\u3068\u304b\u3067\u3082\u52d5\u304d\u307e\u3057\u305f\uff0e

\n
$ sudo apt install equivsequivs gir1.2-rsvg-2.0
$ git clone https://github.com/gentakojima/emojione-picker-ubuntu.git
$ cd emojione-picker-ubuntu
$ equivs-build debian_package.ctl
$ sudo dpkg -i emojione-picker_0.1_all.deb
\n

\u3068\u3044\u3046\u611f\u3058\u3067Linux\u74b0\u5883\u3067\u3082\u7d50\u69cb\u5feb\u9069\u306b\u7d75\u6587\u5b57\u304c\u5165\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e\u3057\u304b\u3057\u7d75\u6587\u5b57\u306f\u697d\u3057\u3044\u306e\u3067\u3059\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u898b\u3048\u65b9\u304c\u5927\u5e45\u306b\u5909\u308f\u308b\u306e\u3067\u610f\u56f3\u3057\u305f\u3088\u3046\u306b\u4f1d\u308f\u3063\u3066\u3044\u308b\u304b\u3068\u304b\u304c\u4e0d\u5b89\u3067\u3082\u3042\u308a\u307e\u3059\u2026\u2026\uff0e

\n
\n\u985e?

\n
\u5bff\u53f8blog\u304c\u66f8\u3051\u306a\u304f\u3066\u5d4c\u3063\u305f\u8a71(MySQL/\u7d75\u6587\u5b57\u5bfe\u5fdc) from Kenichiro MATOHARA
\n
\n
\n
\n", "content_text": "Linux\u74b0\u5883\u3067\u306e\u7d75\u6587\u5b57\u5165\u529b\u65b9\u6cd5\u3067\u3059\uff0e\u65b0\u3057\u3044\u65b9\u6cd5\u3092\u77e5\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\uff0e\nMozc\u5229\u7528\n\u3053\u308c\u307e\u3067\u306f\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\uff0eMozc\u306e\u8a2d\u5b9a\u3067\u300cUnicode 6 \u7d75\u6587\u5b57\u5909\u63db\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3068\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\u300c\u3048\u3082\u3058\u300d\u3068\u304b\u300c\u306d\u3053\u300d\u3068\u304b\u5165\u529b\u3057\u3066\u5909\u63db\u51fa\u6765\u307e\u3059\uff0e\n\n\u8f9e\u66f8\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\uff0e\n\nemojione-picker for Ubuntu\n\ngentakojima/emojione-picker-ubuntu: Emoji picker for Ubuntu based on icons by Emojione\n\n\u4eca\u56de\u77e5\u3063\u305fUbuntu\u5411\u3051\u306e\u7d75\u6587\u5b57\u30d4\u30c3\u30ab\u30fc\u3067\u3059\uff0e\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30d0\u30fc\u306b\u5e38\u99d0\u3057\u3066\u5165\u529b\u3057\u305f\u3044\u7d75\u6587\u5b57\u3092\u9078\u3093\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u7d75\u6587\u5b57\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u308a\u4ed8\u3051\u3067\u5165\u529b\u3067\u304d\u307e\u3059\uff0e\n\n\u30c1\u30ad\u30f3\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u3068\u3053\u308d\uff0e\n\n\u3044\u3061\u3044\u3061\u30e1\u30cb\u30e5\u30fc\u3092\u8fbf\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u304c\uff0cRecent\u306b\u6700\u8fd1\u4f7f\u3063\u305f\u7d75\u6587\u5b57\u304c\u5165\u308b\u306e\u3067\u3088\u304f\u4f7f\u3046\u3082\u306e\u306f\u3053\u3053\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\uff0e\n\nDebian stretch testing \u3078\u306e\u5c0e\u5165\u4f8b\nUbuntu\u7528\u3067\u3059\u304cstretch\u306b\u3082\u5165\u308a\u307e\u3057\u305f\uff0e\u3061\u306a\u307f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u3066\u5c0e\u5165\u3057\u306a\u304f\u3066\u3082\u3068\u308a\u3042\u3048\u305a\u52d5\u304b\u3059\u3060\u3051\u306a\u3089git clone\u3057\u305f\u5f8ccd emojione-picker-ubuntu ; ./emojione-picker\u3068\u304b\u3067\u3082\u52d5\u304d\u307e\u3057\u305f\uff0e\n$ sudo apt install equivsequivs gir1.2-rsvg-2.0$ git clone https://github.com/gentakojima/emojione-picker-ubuntu.git$ cd emojione-picker-ubuntu$ equivs-build debian_package.ctl$ sudo dpkg -i emojione-picker_0.1_all.deb\n\u3068\u3044\u3046\u611f\u3058\u3067Linux\u74b0\u5883\u3067\u3082\u7d50\u69cb\u5feb\u9069\u306b\u7d75\u6587\u5b57\u304c\u5165\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e\u3057\u304b\u3057\u7d75\u6587\u5b57\u306f\u697d\u3057\u3044\u306e\u3067\u3059\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u898b\u3048\u65b9\u304c\u5927\u5e45\u306b\u5909\u308f\u308b\u306e\u3067\u610f\u56f3\u3057\u305f\u3088\u3046\u306b\u4f1d\u308f\u3063\u3066\u3044\u308b\u304b\u3068\u304b\u304c\u4e0d\u5b89\u3067\u3082\u3042\u308a\u307e\u3059\u2026\u2026\uff0e\n\n\u985e?\n \u5bff\u53f8blog\u304c\u66f8\u3051\u306a\u304f\u3066\u5d4c\u3063\u305f\u8a71(MySQL/\u7d75\u6587\u5b57\u5bfe\u5fdc) from Kenichiro MATOHARA", "date_published": "2016-02-17T07:55:08+09:00", "date_modified": "2016-02-17T07:55:08+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "emoji", "Linux", "stretch", "testing", "Ubuntu" ] }, { "id": "http://matoken.org/blog/?p=1184", "url": "https://matoken.org/blog/2016/02/17/to-enter-the-emoticons-mozce-and-mojione-picker/", "title": "\u7d75\u6587\u5b57\u3092\u5165\u529b\u3059\u308b-Mozc&emojione-picker-", "content_html": "

\n

Linux\u74b0\u5883\u3067\u306e\u7d75\u6587\u5b57\u5165\u529b\u65b9\u6cd5\u3067\u3059\uff0e\u65b0\u3057\u3044\u65b9\u6cd5\u3092\u77e5\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\uff0e

\n

Mozc\u5229\u7528

\n

\u3053\u308c\u307e\u3067\u306f\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\uff0eMozc\u306e\u8a2d\u5b9a\u3067\u300cUnicode 6 \u7d75\u6587\u5b57\u5909\u63db\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3068\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e

\n

\"20160216_23:02:52-2121\"

\n

\u300c\u3048\u3082\u3058\u300d\u3068\u304b\u300c\u306d\u3053\u300d\u3068\u304b\u5165\u529b\u3057\u3066\u5909\u63db\u51fa\u6765\u307e\u3059\uff0e

\n

\"20160217_07:02:28-3105\"

\n

\u8f9e\u66f8\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\uff0e

\n

\"20160217_07:02:07-5247\"

\n

emojione-picker for Ubuntu

\n\n

\u4eca\u56de\u77e5\u3063\u305fUbuntu\u5411\u3051\u306e\u7d75\u6587\u5b57\u30d4\u30c3\u30ab\u30fc\u3067\u3059\uff0e\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30d0\u30fc\u306b\u5e38\u99d0\u3057\u3066\u5165\u529b\u3057\u305f\u3044\u7d75\u6587\u5b57\u3092\u9078\u3093\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u7d75\u6587\u5b57\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u308a\u4ed8\u3051\u3067\u5165\u529b\u3067\u304d\u307e\u3059\uff0e

\n

\"20160217_07:02:45-12768\"

\n

\u30c1\u30ad\u30f3\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u3068\u3053\u308d\uff0e

\n

\"20160217_07:02:11-16960\"

\n

\u3044\u3061\u3044\u3061\u30e1\u30cb\u30e5\u30fc\u3092\u8fbf\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u304c\uff0cRecent\u306b\u6700\u8fd1\u4f7f\u3063\u305f\u7d75\u6587\u5b57\u304c\u5165\u308b\u306e\u3067\u3088\u304f\u4f7f\u3046\u3082\u306e\u306f\u3053\u3053\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\uff0e

\n

\"20160217_07:02:42-17641\"

\n

Debian stretch testing \u3078\u306e\u5c0e\u5165\u4f8b

\n

Ubuntu\u7528\u3067\u3059\u304cstretch\u306b\u3082\u5165\u308a\u307e\u3057\u305f\uff0e\u3061\u306a\u307f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u3066\u5c0e\u5165\u3057\u306a\u304f\u3066\u3082\u3068\u308a\u3042\u3048\u305a\u52d5\u304b\u3059\u3060\u3051\u306a\u3089git clone\u3057\u305f\u5f8ccd emojione-picker-ubuntu ; ./emojione-picker\u3068\u304b\u3067\u3082\u52d5\u304d\u307e\u3057\u305f\uff0e

\n
$ sudo apt install equivsequivs gir1.2-rsvg-2.0
$ git clone https://github.com/gentakojima/emojione-picker-ubuntu.git
$ cd emojione-picker-ubuntu
$ equivs-build debian_package.ctl
$ sudo dpkg -i emojione-picker_0.1_all.deb
\n

\u3068\u3044\u3046\u611f\u3058\u3067Linux\u74b0\u5883\u3067\u3082\u7d50\u69cb\u5feb\u9069\u306b\u7d75\u6587\u5b57\u304c\u5165\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e\u3057\u304b\u3057\u7d75\u6587\u5b57\u306f\u697d\u3057\u3044\u306e\u3067\u3059\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u898b\u3048\u65b9\u304c\u5927\u5e45\u306b\u5909\u308f\u308b\u306e\u3067\u610f\u56f3\u3057\u305f\u3088\u3046\u306b\u4f1d\u308f\u3063\u3066\u3044\u308b\u304b\u3068\u304b\u304c\u4e0d\u5b89\u3067\u3082\u3042\u308a\u307e\u3059\u2026\u2026\uff0e

\n
\n\u985e?
\n

\n
\u5bff\u53f8blog\u304c\u66f8\u3051\u306a\u304f\u3066\u5d4c\u3063\u305f\u8a71(MySQL/\u7d75\u6587\u5b57\u5bfe\u5fdc) from Kenichiro MATOHARA
\n
\n
\n\n
\n", "content_text": "Linux\u74b0\u5883\u3067\u306e\u7d75\u6587\u5b57\u5165\u529b\u65b9\u6cd5\u3067\u3059\uff0e\u65b0\u3057\u3044\u65b9\u6cd5\u3092\u77e5\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\uff0e\nMozc\u5229\u7528\n\u3053\u308c\u307e\u3067\u306f\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\uff0eMozc\u306e\u8a2d\u5b9a\u3067\u300cUnicode 6 \u7d75\u6587\u5b57\u5909\u63db\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3068\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\u300c\u3048\u3082\u3058\u300d\u3068\u304b\u300c\u306d\u3053\u300d\u3068\u304b\u5165\u529b\u3057\u3066\u5909\u63db\u51fa\u6765\u307e\u3059\uff0e\n\n\u8f9e\u66f8\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\uff0e\n\nemojione-picker for Ubuntu\n\ngentakojima/emojione-picker-ubuntu: Emoji picker for Ubuntu based on icons by Emojione\n\n\u4eca\u56de\u77e5\u3063\u305fUbuntu\u5411\u3051\u306e\u7d75\u6587\u5b57\u30d4\u30c3\u30ab\u30fc\u3067\u3059\uff0e\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30d0\u30fc\u306b\u5e38\u99d0\u3057\u3066\u5165\u529b\u3057\u305f\u3044\u7d75\u6587\u5b57\u3092\u9078\u3093\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u7d75\u6587\u5b57\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u308a\u4ed8\u3051\u3067\u5165\u529b\u3067\u304d\u307e\u3059\uff0e\n\n\u30c1\u30ad\u30f3\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u3068\u3053\u308d\uff0e\n\n\u3044\u3061\u3044\u3061\u30e1\u30cb\u30e5\u30fc\u3092\u8fbf\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u304c\uff0cRecent\u306b\u6700\u8fd1\u4f7f\u3063\u305f\u7d75\u6587\u5b57\u304c\u5165\u308b\u306e\u3067\u3088\u304f\u4f7f\u3046\u3082\u306e\u306f\u3053\u3053\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\uff0e\n\nDebian stretch testing \u3078\u306e\u5c0e\u5165\u4f8b\nUbuntu\u7528\u3067\u3059\u304cstretch\u306b\u3082\u5165\u308a\u307e\u3057\u305f\uff0e\u3061\u306a\u307f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u3066\u5c0e\u5165\u3057\u306a\u304f\u3066\u3082\u3068\u308a\u3042\u3048\u305a\u52d5\u304b\u3059\u3060\u3051\u306a\u3089git clone\u3057\u305f\u5f8ccd emojione-picker-ubuntu ; ./emojione-picker\u3068\u304b\u3067\u3082\u52d5\u304d\u307e\u3057\u305f\uff0e\n$ sudo apt install equivsequivs gir1.2-rsvg-2.0$ git clone https://github.com/gentakojima/emojione-picker-ubuntu.git$ cd emojione-picker-ubuntu$ equivs-build debian_package.ctl$ sudo dpkg -i emojione-picker_0.1_all.deb\n\u3068\u3044\u3046\u611f\u3058\u3067Linux\u74b0\u5883\u3067\u3082\u7d50\u69cb\u5feb\u9069\u306b\u7d75\u6587\u5b57\u304c\u5165\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e\u3057\u304b\u3057\u7d75\u6587\u5b57\u306f\u697d\u3057\u3044\u306e\u3067\u3059\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u898b\u3048\u65b9\u304c\u5927\u5e45\u306b\u5909\u308f\u308b\u306e\u3067\u610f\u56f3\u3057\u305f\u3088\u3046\u306b\u4f1d\u308f\u3063\u3066\u3044\u308b\u304b\u3068\u304b\u304c\u4e0d\u5b89\u3067\u3082\u3042\u308a\u307e\u3059\u2026\u2026\uff0e\n\n\u985e?\n \n \u5bff\u53f8blog\u304c\u66f8\u3051\u306a\u304f\u3066\u5d4c\u3063\u305f\u8a71(MySQL/\u7d75\u6587\u5b57\u5bfe\u5fdc) from Kenichiro MATOHARA", "date_published": "2016-02-17T07:55:08+09:00", "date_modified": "2016-02-17T08:14:50+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "emoji", "Linux", "stretch", "testing", "Ubuntu" ] }, { "id": "http://matoken.org/blog/?p=1180", "url": "https://matoken.org/blog/2016/02/17/try-out-the-output-of-the-ls-has-changed-in-gnu-coreutils-8-25/", "title": "GNU Coreutils 8.25\u3067ls\u306e\u51fa\u529b\u304c\u5909\u308f\u3063\u305f\u306e\u3092\u8a66\u3057\u3066\u307f\u308b", "content_html": "

\n

Debuan\u306eML\u3067\u77e5\u3063\u305f\u306e\u3067\u3059\u304c\uff0cCoreutils 8.25\u306els\u306e\u51fa\u529b\u7d50\u679c\u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3059\uff0e

\n\n

\u3053\u306e\u5909\u66f4\u306fls\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fscript\u306a\u3069\u304c\u5f71\u97ff\u3092\u53d7\u3051\u305d\u3046\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u7aef\u672b\u3067\u306e\u307f\u306e\u5909\u66f4\u306e\u3088\u3046\u3067\u4e00\u5b89\u5fc3\uff0e
\nDebian stretch testing\u3067\u3061\u3087\u3063\u3068\u8a66\u3057\u306b\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\nDebian jessie/Ubuntu 14.04\u4ee5\u964d\u3082\u540c\u3058\u624b\u9806\u3067\u884c\u3051\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\u958b\u767a\u74b0\u5883\u306e\u5c0e\u5165

\n
$ sudo apt install build-essential
$ sudo apt build-dep coreutils
\n

Coreutils 8.25\u306e\u5165\u624b\u3068\u7f72\u540d\u78ba\u8a8d

\n
$ wget ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz.sig
$ gpg --verify coreutils-8.25.tar.xz.sig
gpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'coreutils-8.25.tar.xz'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059
gpg: 2016\u5e7401\u670820\u65e5 20\u664217\u520646\u79d2 JST\u306bRSA\u9375ID 306037D9\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d
gpg: "P\u00e1draig Brady <P@draigBrady.com>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d
gpg:                 \u5225\u540d"P\u00e1draig Brady <pixelbeat@gnu.org>"
gpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!
gpg:       \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002
\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: 6C37 DC12 121A 5006 BC1D  B804 DF6F D971 3060 37D9
\n

\u5c55\u958b\u3068\u30d3\u30eb\u30c9

\n
$ tar xf coreutils-8.25.tar.xz
$ cd coreutils-8.25
$ ./configure --prefix=$HOME/usr/local
$ make
\n

\u7aef\u672b\u3067\u306els\u306e\u52d5\u4f5c\u6bd4\u8f03

\n

\u4eca\u30d1\u30b9\u306e\u901a\u3063\u3066\u3044\u308b\u306e\u306f8.24\u3067\uff0csrc/ls\u304c8.25

\n
$ ls --version
ls (GNU coreutils) 8.24
Copyright (C) 2015 Free Software Foundation, Inc.
\u30e9\u30a4\u30bb\u30f3\u30b9 GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 
\u4f5c\u8005 Richard M. Stallman \u304a\u3088\u3073 David MacKenzie\u3002
$ src/ls --version
ls (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 
Written by Richard M. Stallman and David MacKenzie.
\n

\u30b9\u30da\u30fc\u30b9\u306e\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066ls\u3092\u5b9f\u884c\u3059\u308b\u30688.25\u306els\u3067\u306f'\u3067\u62ec\u3089\u308c\u308b\uff0e

\n
$ touch /tmp/hoge\\ fuga
$ ls /tmp/hoge\\ fuga
/tmp/hoge fuga
$ src/ls /tmp/hoge\\ fuga
'/tmp/hoge fuga'
\n

\u65e5\u672c\u8a9e\u306f\u5927\u4e08\u592b\u3060\u304c\uff0c\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u6587\u5b57\u3082\u62ec\u3089\u308c\u308b\uff0e

\n
$ touch /tmp/\u65e5\u672c\u8a9e /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?
$ src/ls /tmp/\u65e5\u672c\u8a9e /tmp/\u4ed6\u306e\u8a18\u53f7\\?
'/tmp/\u4ed6\u306e\u8a18\u53f7?'  /tmp/\u65e5\u672c\u8a9e
\n

\u30d1\u30a4\u30d7\u3067\u306e\u52d5\u4f5c\u78ba\u8a8d

\n

\u30d1\u30a4\u30d7\u3092\u901a\u308b\u3068\u3053\u308c\u307e\u3067\u3069\u304a\u308a\u306e\u52d5\u4f5c

\n
$ src/ls /tmp/hoge\\ fuga | cat
/tmp/hoge fuga
\n

\u306a\u306e\u3067\uff0cxargs\u306a\u3069\u3067\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u308c\u307e\u3067\u3069\u304a\u308a

\n
$ src/ls /tmp/hoge\\ fuga | xargs cat
cat: /tmp/hoge: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093
cat: fuga: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093
$ src/ls /tmp/hoge\\ fuga | xargs -I{} cat "{}"
\n

\u56de\u907f\u65b9\u6cd5x3

\n
$ src/ls --quoting-style=literal /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?
/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?
$ src/ls -N /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?
/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?
$ QUOTING_STYLE=literal src/ls /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?
/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?
\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u307e\u3067\u3068\u540c\u3058\u52d5\u4f5c\u3092\u3055\u305b\u305f\u3044\u5834\u5408\u306fQUOTING_STYLE=literal\u3092\u8a2d\u5b9a\u3057\u305f\u308als -N\u306ealias\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u3044\u3044\u307f\u305f\u3044\u3067\u3059\uff0e

\n
$ echo 'export QUOTING_STYLE=literal' >> ~/.bashrc
\n

or

\n
$ echo "alias ls='ls -N'" >> ~/.bashrc~/.bashrc
\n

\uff03\u3068\u3053\u308d\u3067Coreutils 8.25\u3067\u307e\u305f\u30b3\u30de\u30f3\u30c9\u304c\u4e00\u3064\u5897\u3048\u3066\u3044\u307e\u3057\u305f\uff0e\u4eca\u56de\u306f\u899a\u3048\u3084\u3059\u3044\u3051\u3069

\n
\n

** New commands

\n

base32 is added to complement the existing base64 command,
\nand encodes and decodes printable text as per RFC 4648.

\n
\n

\uff1c\u8ffd\u8a18\uff1e

\n\n

Debian\u3067\u306fSeverity: serious(\u91cd\u8981\u5ea6:\u6df1\u523b)\u3068\u306a\u3063\u3066sid\u306e8.25-2\u3067no_ls_quoting.patch\u304c\u5165\u3063\u3066revert\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e

\n
$ bin/ls --version|head -1
ls (GNU coreutils) 8.25
$ bin/ls /tmp/hoge\\ fuga 
/tmp/hoge fuga
\n
$ cat patches/no_ls_quoting.patch
Description: revert inconsistent ls quoting
 This is a revert of upstream commit 109b9220cead6e979d22d16327c4d9f8350431cc.
 Info changed to reflect current upstream intentions.
 
Bug-Debian: https://bugs.debian.org/813164
 
--- coreutils-8.25.orig/NEWS
+++ coreutils-8.25/NEWS
@@ -71,9 +71,6 @@ GNU coreutils NEWS
   df now prefers sources towards the root of a device when
   eliding duplicate bind mounted entries.
 
-  ls now quotes file names unambiguously and appropriate for use in a shell,
-  when outputting to a terminal.
-
   join, sort, uniq with --zero-terminated, now treat '\\n' as a field delimiter.
 
 ** Improvements
--- coreutils-8.25.orig/doc/coreutils.texi
+++ coreutils-8.25/doc/coreutils.texi
@@ -7750,8 +7750,8 @@ this"} in the default C locale.  This lo
 
 You can specify the default value of the @option{--quoting-style} option
 with the environment variable @env{QUOTING_STYLE}@.  If that environment
-variable is not set, the default value is @samp{shell-escape} when the
-output is a terminal, and @samp{literal} otherwise.
+variable is not set, the default value is @samp{literal}, but this
+default may change to @samp{shell-escape} in a future version of this package.
 
 @item --show-control-chars
 @opindex --show-control-chars
--- coreutils-8.25.orig/src/ls.c
+++ coreutils-8.25/src/ls.c
@@ -1581,7 +1581,6 @@ decode_switches (int argc, char **argv)
       if (isatty (STDOUT_FILENO))
         {
           format = many_per_line;
-          set_quoting_style (NULL, shell_escape_quoting_style);
           /* See description of qmark_funny_chars, above.  */
           qmark_funny_chars = true;
         }
\n

\uff1c\uff0f\u8ffd\u8a18\uff1e

\n
\n\n
\n", "content_text": "Debuan\u306eML\u3067\u77e5\u3063\u305f\u306e\u3067\u3059\u304c\uff0cCoreutils 8.25\u306els\u306e\u51fa\u529b\u7d50\u679c\u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3059\uff0e\n\n[DNG] Coreutils 8.25 ls output\nCoreutils – GNU core utilities\n\ncoreutils-8.25 released [stable]\nbroken ls in coreutils 8.25\nRe: broken ls in coreutils 8.25\n\n\nThe reasons we changed the default was:\n\nIt only happens when outputting to terminals\nIt disambiguates the output for users\nOutput can be pasted back in the shell for further processing\nUsers can get back to the old format by adding -N to their ls alias\n\n\n\n\n\u3053\u306e\u5909\u66f4\u306fls\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fscript\u306a\u3069\u304c\u5f71\u97ff\u3092\u53d7\u3051\u305d\u3046\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u7aef\u672b\u3067\u306e\u307f\u306e\u5909\u66f4\u306e\u3088\u3046\u3067\u4e00\u5b89\u5fc3\uff0e\nDebian stretch testing\u3067\u3061\u3087\u3063\u3068\u8a66\u3057\u306b\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\nDebian jessie/Ubuntu 14.04\u4ee5\u964d\u3082\u540c\u3058\u624b\u9806\u3067\u884c\u3051\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n\u958b\u767a\u74b0\u5883\u306e\u5c0e\u5165\n$ sudo apt install build-essential$ sudo apt build-dep coreutils\nCoreutils 8.25\u306e\u5165\u624b\u3068\u7f72\u540d\u78ba\u8a8d\n$ wget ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz.sig$ gpg --verify coreutils-8.25.tar.xz.siggpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'coreutils-8.25.tar.xz'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059gpg: 2016\u5e7401\u670820\u65e5 20\u664217\u520646\u79d2 JST\u306bRSA\u9375ID 306037D9\u3067\u65bd\u3055\u308c\u305f\u7f72\u540dgpg: "P\u00e1draig Brady <P@draigBrady.com>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540dgpg:                 \u5225\u540d"P\u00e1draig Brady <pixelbeat@gnu.org>"gpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!gpg:       \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: 6C37 DC12 121A 5006 BC1D  B804 DF6F D971 3060 37D9\n\u5c55\u958b\u3068\u30d3\u30eb\u30c9\n$ tar xf coreutils-8.25.tar.xz$ cd coreutils-8.25$ ./configure --prefix=$HOME/usr/local$ make\n\u7aef\u672b\u3067\u306els\u306e\u52d5\u4f5c\u6bd4\u8f03\n\u4eca\u30d1\u30b9\u306e\u901a\u3063\u3066\u3044\u308b\u306e\u306f8.24\u3067\uff0csrc/ls\u304c8.25\n$ ls --versionls (GNU coreutils) 8.24Copyright (C) 2015 Free Software Foundation, Inc.\u30e9\u30a4\u30bb\u30f3\u30b9 GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. \u4f5c\u8005 Richard M. Stallman \u304a\u3088\u3073 David MacKenzie\u3002$ src/ls --versionls (GNU coreutils) 8.25Copyright (C) 2016 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie.\n\u30b9\u30da\u30fc\u30b9\u306e\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066ls\u3092\u5b9f\u884c\u3059\u308b\u30688.25\u306els\u3067\u306f'\u3067\u62ec\u3089\u308c\u308b\uff0e\n$ touch /tmp/hoge\\ fuga$ ls /tmp/hoge\\ fuga/tmp/hoge fuga$ src/ls /tmp/hoge\\ fuga'/tmp/hoge fuga'\n\u65e5\u672c\u8a9e\u306f\u5927\u4e08\u592b\u3060\u304c\uff0c\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u6587\u5b57\u3082\u62ec\u3089\u308c\u308b\uff0e\n$ touch /tmp/\u65e5\u672c\u8a9e /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?$ src/ls /tmp/\u65e5\u672c\u8a9e /tmp/\u4ed6\u306e\u8a18\u53f7\\?'/tmp/\u4ed6\u306e\u8a18\u53f7?'  /tmp/\u65e5\u672c\u8a9e\n\u30d1\u30a4\u30d7\u3067\u306e\u52d5\u4f5c\u78ba\u8a8d\n\u30d1\u30a4\u30d7\u3092\u901a\u308b\u3068\u3053\u308c\u307e\u3067\u3069\u304a\u308a\u306e\u52d5\u4f5c\n$ src/ls /tmp/hoge\\ fuga | cat/tmp/hoge fuga\n\u306a\u306e\u3067\uff0cxargs\u306a\u3069\u3067\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u308c\u307e\u3067\u3069\u304a\u308a\n$ src/ls /tmp/hoge\\ fuga | xargs catcat: /tmp/hoge: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093cat: fuga: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093$ src/ls /tmp/hoge\\ fuga | xargs -I{} cat "{}"\n\u56de\u907f\u65b9\u6cd5x3\n$ src/ls --quoting-style=literal /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?$ src/ls -N /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?$ QUOTING_STYLE=literal src/ls /tmp/hoge\\ fuga /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7\\?/tmp/hoge fuga  /tmp/\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u5fc5\u8981\u306a\u8a18\u53f7?\n\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u307e\u3067\u3068\u540c\u3058\u52d5\u4f5c\u3092\u3055\u305b\u305f\u3044\u5834\u5408\u306fQUOTING_STYLE=literal\u3092\u8a2d\u5b9a\u3057\u305f\u308als -N\u306ealias\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u3044\u3044\u307f\u305f\u3044\u3067\u3059\uff0e\n$ echo 'export QUOTING_STYLE=literal' >> ~/.bashrc\nor\n$ echo "alias ls='ls -N'" >> ~/.bashrc~/.bashrc\n\uff03\u3068\u3053\u308d\u3067Coreutils 8.25\u3067\u307e\u305f\u30b3\u30de\u30f3\u30c9\u304c\u4e00\u3064\u5897\u3048\u3066\u3044\u307e\u3057\u305f\uff0e\u4eca\u56de\u306f\u899a\u3048\u3084\u3059\u3044\u3051\u3069\n\n** New commands\nbase32 is added to complement the existing base64 command,\nand encodes and decodes printable text as per RFC 4648.\n\n\uff1c\u8ffd\u8a18\uff1e\n\n#813164 – coreutils: ls suddenly quotes output – Debian Bug report logs\n\nDebian\u3067\u306fSeverity: serious(\u91cd\u8981\u5ea6:\u6df1\u523b)\u3068\u306a\u3063\u3066sid\u306e8.25-2\u3067no_ls_quoting.patch\u304c\u5165\u3063\u3066revert\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e\n$ bin/ls --version|head -1ls (GNU coreutils) 8.25$ bin/ls /tmp/hoge\\ fuga /tmp/hoge fuga\n$ cat patches/no_ls_quoting.patchDescription: revert inconsistent ls quoting This is a revert of upstream commit 109b9220cead6e979d22d16327c4d9f8350431cc. Info changed to reflect current upstream intentions. Bug-Debian: https://bugs.debian.org/813164 --- coreutils-8.25.orig/NEWS+++ coreutils-8.25/NEWS@@ -71,9 +71,6 @@ GNU coreutils NEWS   df now prefers sources towards the root of a device when   eliding duplicate bind mounted entries. -  ls now quotes file names unambiguously and appropriate for use in a shell,-  when outputting to a terminal.-   join, sort, uniq with --zero-terminated, now treat '\\n' as a field delimiter.  ** Improvements--- coreutils-8.25.orig/doc/coreutils.texi+++ coreutils-8.25/doc/coreutils.texi@@ -7750,8 +7750,8 @@ this"} in the default C locale.  This lo  You can specify the default value of the @option{--quoting-style} option with the environment variable @env{QUOTING_STYLE}@.  If that environment-variable is not set, the default value is @samp{shell-escape} when the-output is a terminal, and @samp{literal} otherwise.+variable is not set, the default value is @samp{literal}, but this+default may change to @samp{shell-escape} in a future version of this package.  @item --show-control-chars @opindex --show-control-chars--- coreutils-8.25.orig/src/ls.c+++ coreutils-8.25/src/ls.c@@ -1581,7 +1581,6 @@ decode_switches (int argc, char **argv)       if (isatty (STDOUT_FILENO))         {           format = many_per_line;-          set_quoting_style (NULL, shell_escape_quoting_style);           /* See description of qmark_funny_chars, above.  */           qmark_funny_chars = true;         }\n\uff1c\uff0f\u8ffd\u8a18\uff1e", "date_published": "2016-02-17T01:15:40+09:00", "date_modified": "2016-02-17T06:41:37+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "shell", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1174", "url": "https://matoken.org/blog/2016/02/16/do-not-want-to-see-the-user-at-the-time-of-login-in-gdm3-and-lightdm/", "title": "gdm3\u3068lightdm\u3067\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u30e6\u30fc\u30b6\u3092\u8868\u793a\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b", "content_html": "

\n

gdm3

\n

\u5148\u305a\u306fgdm3\u304b\u3089\uff0e
\n\u74b0\u5883\u306f\uff0cDebian stretch testing gdm3 3.18.0-2\u3067\u3059\uff0e

\n

/etc/gdm3/greeter.dconf-defaults\u3092\u7de8\u96c6\u3057\u3066\uff0c[org/gnome/login-screen]\u30bb\u30af\u30b7\u30e7\u30f3\u306edisable-user-list=true\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\uff0e

\n
\n
[org/gnome/login-screen]\r\ndisable-user-list=true\r\n
\n
\n

\u305d\u306e\u5f8cgdm3\u3092\u518d\u8d77\u52d5\uff0e

\n
\n
$ sudo systemctl stop gdm\r\n$ sudo systemctl start gdm\r\n
\n
\n

\uff03\u521d\u3081/etc/gdm3/greeter.dconf-defaults\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306a\u306e\u304b\u3068\u601d\u3063\u3066/etc/gdm3/greeter.dconf\u306b\u30b3\u30d4\u30fc\u3057\u3066\u7de8\u96c6\u3057\u3066\u53cd\u6620\u3055\u308c\u306a\u3044\u306a\u30fc\u3068\u3084\u3063\u3066\u3044\u307e\u3057\u305forz

\n

LightDM

\n

LightDM\u306e\u5834\u5408\uff0e
\n\u74b0\u5883\u306f\uff0cDebian stretch testing lightdm 1.16.6-1\u3067\u3059\uff0e

\n

/etc/lightdm/lightdm.conf\u306e[LightDM]\u30bb\u30af\u30b7\u30e7\u30f3\u306egreeter-hide-users=true\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\uff0e

\n
\n
greeter-hide-users=true\r\n
\n
\n

--show-config\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e

\n
\n
$ /usr/sbin/lightdm --show-config\r\n   [Seat:*]\r\nA  greeter-session=lightdm-greeter\r\nA  greeter-hide-users=true\r\nA  session-wrapper=/etc/X11/Xsession\r\nB  user-session=kde-plasma-kf5\r\n\r\n   [LightDM]\r\nC  greeter-hide-users=True\r\nC  allow-guest=False\r\n\r\n   [XDMCPServer]\r\nC  enabled=true\r\n\r\nSources:\r\nA  /usr/share/lightdm/lightdm.conf.d/01_debian.conf\r\nB  /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf\r\nC  /etc/lightdm/lightdm.conf\r\n
\n
\n

\u305d\u306e\u5f8cLightDM\u306e\u518d\u8d77\u52d5\uff0e

\n
\n
$ sudo systemctl stop lightdm\r\n$ sudo systemctl start lightdm\r\n
\n
\n

\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u5207\u308a\u66ff\u3048

\n

dpkg-reconfigure\u306b\u5c0e\u5165\u6e08\u307f\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d(\u3069\u308c\u3067\u3082)\u3092\u4ed8\u3051\u3066\u8d77\u52d5\u3059\u308b\u3068\uff0c\u5c0e\u5165\u6e08\u307f\u306e\u30c7\u30a3\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u9078\u629e\u3067\u304d\u307e\u3059\uff0e

\n
\n
$ sudo dpkg-reconfigure gdm3\r\n \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 gdm3 \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \r\n \u2502 \u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u3068\u306f\u3001X Window System \u4e0a\u3067\u306e\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306a\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3082\u306e\u3067\u3059\u3002                                                                  \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502 \u3072\u3068\u3064\u306e X \u30b5\u30fc\u30d0\u3092\u7ba1\u7406\u3067\u304d\u308b\u306e\u306f\u3072\u3068\u3064\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u3060\u3051\u3067\u3059\u304c\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8907\u6570\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3069\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd   \u2502  \r\n \u2502 \u30fc\u30b8\u30e3\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8d77\u52d5\u3055\u305b\u308b\u304b\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002                                                                                                                  \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502 \u7570\u306a\u308b\u30b5\u30fc\u30d0\u3092\u62c5\u5f53\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u8907\u6570\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30b5\u30fc\u30d0\u306f\u540c\u6642\u306b\u52d5\u4f5c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001/etc/init.d \u306b\u3042\u308b\u5404\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u521d\u671f\u5316\u30b9\u30af  \u2502  \r\n \u2502 \u30ea\u30d7\u30c8\u3092\u7de8\u96c6\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30c1\u30a7\u30c3\u30af\u3092\u7121\u52b9\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002                                                                                    \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3:                                                                                                                               \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502                                                                              gdm3                                                                                 \u2502  \r\n \u2502                                                                              lightdm                                                                              \u2502  \r\n \u2502                                                                              sddm                                                                                 \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2502                                                                              <\u4e86\u89e3>                                                                               \u2502  \r\n \u2502                                                                                                                                                                   \u2502  \r\n \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \r\n
\n
\n

\n
Linux \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u8003\u3048\u3066\u307f\u308b from Kenichiro MATOHARA
\n
\n\n
\n", "content_text": "gdm3\n\u5148\u305a\u306fgdm3\u304b\u3089\uff0e\n\u74b0\u5883\u306f\uff0cDebian stretch testing gdm3 3.18.0-2\u3067\u3059\uff0e\n/etc/gdm3/greeter.dconf-defaults\u3092\u7de8\u96c6\u3057\u3066\uff0c[org/gnome/login-screen]\u30bb\u30af\u30b7\u30e7\u30f3\u306edisable-user-list=true\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\uff0e\n\n[org/gnome/login-screen]\r\ndisable-user-list=true\r\n\n\n\u305d\u306e\u5f8cgdm3\u3092\u518d\u8d77\u52d5\uff0e\n\n$ sudo systemctl stop gdm\r\n$ sudo systemctl start gdm\r\n\n\n\uff03\u521d\u3081/etc/gdm3/greeter.dconf-defaults\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306a\u306e\u304b\u3068\u601d\u3063\u3066/etc/gdm3/greeter.dconf\u306b\u30b3\u30d4\u30fc\u3057\u3066\u7de8\u96c6\u3057\u3066\u53cd\u6620\u3055\u308c\u306a\u3044\u306a\u30fc\u3068\u3084\u3063\u3066\u3044\u307e\u3057\u305forz\nLightDM\nLightDM\u306e\u5834\u5408\uff0e\n\u74b0\u5883\u306f\uff0cDebian stretch testing lightdm 1.16.6-1\u3067\u3059\uff0e\n/etc/lightdm/lightdm.conf\u306e[LightDM]\u30bb\u30af\u30b7\u30e7\u30f3\u306egreeter-hide-users=true\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\uff0e\n\ngreeter-hide-users=true\r\n\n\n--show-config\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n\n$ /usr/sbin/lightdm --show-config\r\n [Seat:*]\r\nA greeter-session=lightdm-greeter\r\nA greeter-hide-users=true\r\nA session-wrapper=/etc/X11/Xsession\r\nB user-session=kde-plasma-kf5\r\n\r\n [LightDM]\r\nC greeter-hide-users=True\r\nC allow-guest=False\r\n\r\n [XDMCPServer]\r\nC enabled=true\r\n\r\nSources:\r\nA /usr/share/lightdm/lightdm.conf.d/01_debian.conf\r\nB /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf\r\nC /etc/lightdm/lightdm.conf\r\n\n\n\u305d\u306e\u5f8cLightDM\u306e\u518d\u8d77\u52d5\uff0e\n\n$ sudo systemctl stop lightdm\r\n$ sudo systemctl start lightdm\r\n\n\n\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u5207\u308a\u66ff\u3048\ndpkg-reconfigure\u306b\u5c0e\u5165\u6e08\u307f\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d(\u3069\u308c\u3067\u3082)\u3092\u4ed8\u3051\u3066\u8d77\u52d5\u3059\u308b\u3068\uff0c\u5c0e\u5165\u6e08\u307f\u306e\u30c7\u30a3\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u9078\u629e\u3067\u304d\u307e\u3059\uff0e\n\n$ sudo dpkg-reconfigure gdm3\r\n \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 gdm3 \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \r\n \u2502 \u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u3068\u306f\u3001X Window System \u4e0a\u3067\u306e\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306a\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3082\u306e\u3067\u3059\u3002 \u2502 \r\n \u2502 \u2502 \r\n \u2502 \u3072\u3068\u3064\u306e X \u30b5\u30fc\u30d0\u3092\u7ba1\u7406\u3067\u304d\u308b\u306e\u306f\u3072\u3068\u3064\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u3060\u3051\u3067\u3059\u304c\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8907\u6570\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3069\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd \u2502 \r\n \u2502 \u30fc\u30b8\u30e3\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8d77\u52d5\u3055\u305b\u308b\u304b\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002 \u2502 \r\n \u2502 \u2502 \r\n \u2502 \u7570\u306a\u308b\u30b5\u30fc\u30d0\u3092\u62c5\u5f53\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u8907\u6570\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30b5\u30fc\u30d0\u306f\u540c\u6642\u306b\u52d5\u4f5c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001/etc/init.d \u306b\u3042\u308b\u5404\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u521d\u671f\u5316\u30b9\u30af \u2502 \r\n \u2502 \u30ea\u30d7\u30c8\u3092\u7de8\u96c6\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30c1\u30a7\u30c3\u30af\u3092\u7121\u52b9\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002 \u2502 \r\n \u2502 \u2502 \r\n \u2502 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3: \u2502 \r\n \u2502 \u2502 \r\n \u2502 gdm3 \u2502 \r\n \u2502 lightdm \u2502 \r\n \u2502 sddm \u2502 \r\n \u2502 \u2502 \r\n \u2502 \u2502 \r\n \u2502 <\u4e86\u89e3> \u2502 \r\n \u2502 \u2502 \r\n \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \r\n\n\n \n Linux \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u8003\u3048\u3066\u307f\u308b from Kenichiro MATOHARA", "date_published": "2016-02-16T20:32:58+09:00", "date_modified": "2016-02-16T22:23:58+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "gdm3", "lightdm", "Linux", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1140", "url": "https://matoken.org/blog/2016/02/11/use-care-to-health-by-changing-the-color-temperature-automatically-blue-light-cut/", "title": "\u8272\u6e29\u5ea6\u3092\u81ea\u52d5\u7684\u306b\u5909\u66f4\u3057\u3066\u5065\u5eb7\u306b\u6c17\u3092\u4f7f\u3046(\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u30ab\u30c3\u30c8)", "content_html": "

\n

backspace.fm\u3067\u30c9\u30ea\u30ad\u30f3\u3055\u3093\u304cf.lux\u304c\u3044\u3044\u3068\u8a00\u3063\u3066\u3044\u308b\u306e\u3092\u805e\u3044\u3066\u4ee5\u524dLinux\u74b0\u5883\u3067\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u30ab\u30c3\u30c8\u7cfb\u306e\u30a2\u30d7\u30ea\u3092\u5c11\u3057\u8a66\u3057\u305f\u306e\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\uff0e

\n\n

\u305d\u306e\u6642\u306fdebian\u3067f.lux\u306f\u81ea\u5206\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3059\u308b\u306e\u304c\u9762\u5012\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u7528\u610f\u3055\u308c\u3066\u3044\u308bgnome-shell-extension-redshift\u3068redshift\u3092\u8a66\u3057\u3066\u307f\u305f\u306e\u3067\u3057\u305f\uff0ef.lux\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3089\u3057\u3044\u3057\uff0e
\n\u3053\u308c\u3089\u306ff.lux\u3068\u540c\u3058\u3088\u3046\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u60c5\u5831\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\uff0c\u7aef\u672b\u306e\u5834\u6240\u306e\u592a\u967d\u306e\u4f4d\u7f6e\u306b\u3088\u308a\u8272\u6e29\u5ea6\u3092\u5909\u5316\u3055\u305b\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\uff0e\u591c\u306f\u8272\u6e29\u5ea6\u3092\u4f4e\u304f\u3057\u3066\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u3092\u8efd\u6e1b\u3055\u305b\u307e\u3059\uff0e\u3053\u308c\u306b\u3088\u308a\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u3092\u7761\u7720\u524d\u306b\u53d7\u3051\u308b\u91cf\u304c\u6e1b\u3063\u3066\u5bdd\u3064\u304d\u3084\u3059\u304f\u306a\u3063\u305f\u308a\u7761\u7720\u306e\u8cea\u304c\u826f\u304f\u306a\u308b\u304b\u3082\u3068\u3044\u3046\u52b9\u679c\u3092\u671f\u5f85\u3057\u3066\u3044\u307e\u3059\uff0e
\n\u3057\u304b\u3057\uff0cgnome-shell-extension-redshift\u306f\u3046\u307e\u304f\u6709\u52b9\u306b\u306a\u3089\u305a\uff0credshift\u306f\u4f4d\u7f6e\u60c5\u5831\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u3066\u624b\u52d5\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u305f\u306e\u3067\u3057\u305f\uff0e

\n\n

\u4eca\u56de\u3082debian\u74b0\u5883\u3067redshift-gtk\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3053\u308c\u306f\u5b9f\u4f53\u306fredshift\u3067\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u306b\u5e38\u99d0\u3059\u308b\u3082\u306e\u3067\u3059\uff0e\u4e00\u6642\u7684\u306bon/off\u3059\u308b\u3053\u3068\u3082\u7c21\u5358\u306b\u51fa\u6765\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\uff0e

\n

\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u306b\u96fb\u7403\u3068\u6708\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30fc\u30cb\u30e5\u30fc\u304c\uff0e
\n\"20160211_06:02:18-13459\"

\n

\u753b\u50cf\u7de8\u96c6\u306a\u3069\u3067\u4e00\u6642\u7684\u306b\u6a5f\u80fd\u3092\u5207\u308a\u305f\u3044\u5834\u5408\u306a\u3069\u30b5\u30b9\u30da\u30f3\u30c9\u3059\u308b\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\uff0e
\n\"20160211_06:02:31-13554\"

\n

\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u8868\u793a\uff0e\u671d6\u6642\u9803\u306a\u306e\u3067\u8272\u6e29\u5ea6\u304c\u3060\u3093\u3060\u3093\u9ad8\u304f\u306a\u3063\u3066\u3044\u304f\u3068\u3053\u308d\u3067\u3059\uff0e
\n\"20160211_06:02:28-4511\"

\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210

\n

\u898f\u5b9a\u5024\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3082\u3060\u3044\u305f\u3044\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\uff0c\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u304b\u3063\u305f\u308a\u4f4d\u7f6e\u60c5\u5831\u304c\u8aa4\u3063\u305f\u5834\u6240\u306e\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306a\u3069\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e
\nredshift\u3092\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u5834\u5408\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6307\u5b9a\u3067\u304d\u307e\u3059\u304c\uff0credshift-gtk\u306e\u5834\u5408\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u6307\u5b9a\u53ef\u80fd\u3067\u3059\uff0e
\n\u5834\u6240\u306f~/.config/redshift.conf\u3067\u3059\uff0e;\u4ee5\u964d\u306f\u30b3\u30e1\u30f3\u30c8\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3088\u3046\u3067\u3059\uff0e

\n

\u30e1\u30a4\u30f3\u3068\u306a\u308b[redshift]\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u8aac\u660e\u3067\u3059\uff0e

\n\n
$ redshift -m list
Available adjustment methods:
  drm
  randr
  vidmode
  dummy
 
Specify colon-separated options with `-m METHOD:OPTIONS'.
Try `-m METHOD:help' for help.
\n\n
$ redshift -l list
Available location providers:
  geoclue2
  manual
 
Specify colon-separated options with`-l PROVIDER:OPTIONS'.
Try `-l PROVIDER:help' for help.
\n

adjustment-method\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u305d\u308c\u305e\u308c\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u53ef\u80fd\u3067\u3059\uff0e
\n\u5185\u5bb9\u306f$ redshift -m randr:help\u306e\u3088\u3046\u306b\u30e1\u30bd\u30c3\u30c9\u540d:help\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e

\n
[redshift]
 :
adjustment-method=randr
 :
[randr]
screen=1
\n

location-provider\u3092manual\u306b\u3057\u305f\u5834\u5408[manual]\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u7def\u5ea6\u7d4c\u5ea6\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e\u5ea6.\u5206\u306e\u307f\u3067\u79d2\u307e\u3067\u6307\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306f\u9e7f\u5150\u5cf6\u770c\u306e\u5834\u5408\u3067\u3059\uff0e

\n
[manual]
lat=31.33
lon=130.33
\n\n

\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e

\n
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=3600
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature
transition=1
; Set the screen brightness. Default is 1.0
;brightness=0.9
; It is also possible to use different settings for day and night since version 1.8.
brightness-day=0.9
brightness-night=0.7
; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values
; The location provider settings are in a different section.
location-provider=manual
 
; Set the adjustment-method: 'drm', 'randr', 'vidmode', 'dummy'
; type 'redshift -m list' to see all possible values
; The adjustment method settings are in a different section.
adjustment-method=randr
 
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 0.
; Note that the numbering starts from 0, so this is actually the second screen.
[randr]
screen=0
 
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; e.g. 'redshift -l manual:help'
[manual]
; kagoshima, japan
lat=31.33
lon=130.33
\n

\u554f\u984c\u70b9?

\n

redshift\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3082\u3053\u308c\u3067\u7ba1\u7406\u3055\u308c\u307e\u3059\uff0e\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u3082\u3059\u3050\u306bredshift\u306e\u8a2d\u5b9a\u306b\u623b\u308a\u307e\u3059\uff0e\u30d0\u30c3\u30c6\u30ea\u30fc\u99c6\u52d5\u4e2d\u3067\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3092\u4e0b\u3052\u3066\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u6301\u3061\u3092\u826f\u304f\u3057\u3088\u3046\u3068\u3044\u3046\u3088\u3046\u306a\u5834\u5408\u306f\u56f0\u308a\u307e\u3059\uff0e\u3068\u308a\u3042\u3048\u305aredshift\u3082\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3082\u624b\u52d5\u8a2d\u5b9a\u3057\u3066\u56de\u907f\u3057\u3066\u3044\u307e\u3059\uff0e

\n

redshift-gtk\u3092\u7d42\u4e86\u3057\u305f\u72b6\u614b\u3067\u624b\u52d5\u8a2d\u5b9a

\n
$ redshift -O 3500
$ xrandr --output LVDS1 --brightness 0.3
\n

\u305d\u308c\u3068\u591c\u3075\u304b\u3057\u3055\u3093\u306e\u305f\u3081\u306b\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u30ab\u30c3\u30c8\u306e\u6642\u9593\u3092\u305a\u3089\u3059\u6a5f\u80fd\u306f\u306a\u3044\u304b\u306a\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u3053\u308c\u306f\u4f4d\u7f6e\u60c5\u5831\u3092manual\u3067\u8a2d\u5b9a\u3057\u3066\u6642\u5dee\u306e\u3042\u308b\u5834\u6240\u3092\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3089\u5b9f\u73fe\u3067\u304d\u305d\u3046\u3067\u3059\uff0e

\n
\n\n
\n", "content_text": "backspace.fm\u3067\u30c9\u30ea\u30ad\u30f3\u3055\u3093\u304cf.lux\u304c\u3044\u3044\u3068\u8a00\u3063\u3066\u3044\u308b\u306e\u3092\u805e\u3044\u3066\u4ee5\u524dLinux\u74b0\u5883\u3067\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u30ab\u30c3\u30c8\u7cfb\u306e\u30a2\u30d7\u30ea\u3092\u5c11\u3057\u8a66\u3057\u305f\u306e\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\uff0e\n\nLatest Episodes \u2013 backspace.fm\nf.lux: software to make your life better\n\n\u305d\u306e\u6642\u306fdebian\u3067f.lux\u306f\u81ea\u5206\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3059\u308b\u306e\u304c\u9762\u5012\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u7528\u610f\u3055\u308c\u3066\u3044\u308bgnome-shell-extension-redshift\u3068redshift\u3092\u8a66\u3057\u3066\u307f\u305f\u306e\u3067\u3057\u305f\uff0ef.lux\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3089\u3057\u3044\u3057\uff0e\n\u3053\u308c\u3089\u306ff.lux\u3068\u540c\u3058\u3088\u3046\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u60c5\u5831\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\uff0c\u7aef\u672b\u306e\u5834\u6240\u306e\u592a\u967d\u306e\u4f4d\u7f6e\u306b\u3088\u308a\u8272\u6e29\u5ea6\u3092\u5909\u5316\u3055\u305b\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\uff0e\u591c\u306f\u8272\u6e29\u5ea6\u3092\u4f4e\u304f\u3057\u3066\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u3092\u8efd\u6e1b\u3055\u305b\u307e\u3059\uff0e\u3053\u308c\u306b\u3088\u308a\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u3092\u7761\u7720\u524d\u306b\u53d7\u3051\u308b\u91cf\u304c\u6e1b\u3063\u3066\u5bdd\u3064\u304d\u3084\u3059\u304f\u306a\u3063\u305f\u308a\u7761\u7720\u306e\u8cea\u304c\u826f\u304f\u306a\u308b\u304b\u3082\u3068\u3044\u3046\u52b9\u679c\u3092\u671f\u5f85\u3057\u3066\u3044\u307e\u3059\uff0e\n\u3057\u304b\u3057\uff0cgnome-shell-extension-redshift\u306f\u3046\u307e\u304f\u6709\u52b9\u306b\u306a\u3089\u305a\uff0credshift\u306f\u4f4d\u7f6e\u60c5\u5831\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u3066\u624b\u52d5\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u305f\u306e\u3067\u3057\u305f\uff0e\n\nLinux \u3067\u8272\u6e29\u5ea6\u5909\u66f4\u306e\u66f8\u304d\u304b\u3051\u30e1\u30e2.md\n\n\u4eca\u56de\u3082debian\u74b0\u5883\u3067redshift-gtk\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3053\u308c\u306f\u5b9f\u4f53\u306fredshift\u3067\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u306b\u5e38\u99d0\u3059\u308b\u3082\u306e\u3067\u3059\uff0e\u4e00\u6642\u7684\u306bon/off\u3059\u308b\u3053\u3068\u3082\u7c21\u5358\u306b\u51fa\u6765\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\uff0e\n\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u306b\u96fb\u7403\u3068\u6708\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30fc\u30cb\u30e5\u30fc\u304c\uff0e\n\n\u753b\u50cf\u7de8\u96c6\u306a\u3069\u3067\u4e00\u6642\u7684\u306b\u6a5f\u80fd\u3092\u5207\u308a\u305f\u3044\u5834\u5408\u306a\u3069\u30b5\u30b9\u30da\u30f3\u30c9\u3059\u308b\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\uff0e\n\n\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u8868\u793a\uff0e\u671d6\u6642\u9803\u306a\u306e\u3067\u8272\u6e29\u5ea6\u304c\u3060\u3093\u3060\u3093\u9ad8\u304f\u306a\u3063\u3066\u3044\u304f\u3068\u3053\u308d\u3067\u3059\uff0e\n\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\n\u898f\u5b9a\u5024\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3082\u3060\u3044\u305f\u3044\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\uff0c\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u304b\u3063\u305f\u308a\u4f4d\u7f6e\u60c5\u5831\u304c\u8aa4\u3063\u305f\u5834\u6240\u306e\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306a\u3069\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e\nredshift\u3092\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u5834\u5408\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6307\u5b9a\u3067\u304d\u307e\u3059\u304c\uff0credshift-gtk\u306e\u5834\u5408\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u6307\u5b9a\u53ef\u80fd\u3067\u3059\uff0e\n\u5834\u6240\u306f~/.config/redshift.conf\u3067\u3059\uff0e;\u4ee5\u964d\u306f\u30b3\u30e1\u30f3\u30c8\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3088\u3046\u3067\u3059\uff0e\n\u30e1\u30a4\u30f3\u3068\u306a\u308b[redshift]\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u8aac\u660e\u3067\u3059\uff0e\n\ntemp-day : \u663c\u9593\u306e\u8272\u6e29\u5ea6\uff0c\u898f\u5b9a\u5024\u306f5500\ntemp-night : \u591c\u9593\u306e\u8272\u6e29\u5ea6\uff0c\u898f\u5b9a\u5024\u306f3700\ntransition : \u30b9\u30e0\u30fc\u30ba\u306a\u9077\u79fb\u306e\u7121\u52b9\u6709\u52b9\u306e\u8a2d\u5b9a(0 or 1)\nbrightness-day : \u663c\u9593\u306e\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u8a2d\u5b9a(0.1~1.0)\nbrightness-night : \u591c\u9593\u306e\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u8a2d\u5b9a(0.1~1.0)\ngamma : \u30ac\u30f3\u30de\u5024\u306e\u8a2d\u5b9a(0.1~10.0)\nadjustment-method : \u8abf\u6574\u65b9\u6cd5\u306e\u9078\u629e\n\n$ redshift -m listAvailable adjustment methods:  drm  randr  vidmode  dummy Specify colon-separated options with `-m METHOD:OPTIONS'.Try `-m METHOD:help' for help.\n\nlocation-provider : \u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u6307\u5b9a\uff0elist\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\u73fe\u5728\u306fgeoclue2\u3068manual\u304c\u9078\u3079\u308b\u3088\u3046\u3067\u3059\uff0e\n\n$ redshift -l listAvailable location providers:  geoclue2  manual Specify colon-separated options with`-l PROVIDER:OPTIONS'.Try `-l PROVIDER:help' for help.\nadjustment-method\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u305d\u308c\u305e\u308c\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u53ef\u80fd\u3067\u3059\uff0e\n\u5185\u5bb9\u306f$ redshift -m randr:help\u306e\u3088\u3046\u306b\u30e1\u30bd\u30c3\u30c9\u540d:help\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n[redshift] :adjustment-method=randr :[randr]screen=1\nlocation-provider\u3092manual\u306b\u3057\u305f\u5834\u5408[manual]\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u7def\u5ea6\u7d4c\u5ea6\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e\u5ea6.\u5206\u306e\u307f\u3067\u79d2\u307e\u3067\u6307\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e\n\u4ee5\u4e0b\u306f\u9e7f\u5150\u5cf6\u770c\u306e\u5834\u5408\u3067\u3059\uff0e\n[manual]lat=31.33lon=130.33\n\n\u90fd\u9053\u5e9c\u770c\u5e81\u306e\u7d4c\u5ea6\u7def\u5ea6\n\n\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e\n; Global settings for redshift[redshift]; Set the day and night screen temperaturestemp-day=5700temp-night=3600; Enable/Disable a smooth transition between day and night; 0 will cause a direct change from day to night screen temperature.; 1 will gradually increase or decrease the screen temperaturetransition=1; Set the screen brightness. Default is 1.0;brightness=0.9; It is also possible to use different settings for day and night since version 1.8.brightness-day=0.9brightness-night=0.7; Set the screen gamma (for all colors, or each color channel individually)gamma=0.8;gamma=0.8:0.7:0.8; Set the location-provider: 'geoclue2', 'manual'; type 'redshift -l list' to see possible values; The location provider settings are in a different section.location-provider=manual ; Set the adjustment-method: 'drm', 'randr', 'vidmode', 'dummy'; type 'redshift -m list' to see all possible values; The adjustment method settings are in a different section.adjustment-method=randr ; Configuration of the adjustment-method; type 'redshift -m METHOD:help' to see the settings; ex: 'redshift -m randr:help'; In this example, randr is configured to adjust screen 0.; Note that the numbering starts from 0, so this is actually the second screen.[randr]screen=0 ; Configuration of the location-provider:; type 'redshift -l PROVIDER:help' to see the settings; e.g. 'redshift -l manual:help'[manual]; kagoshima, japanlat=31.33lon=130.33\n\u554f\u984c\u70b9?\nredshift\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3082\u3053\u308c\u3067\u7ba1\u7406\u3055\u308c\u307e\u3059\uff0e\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u3082\u3059\u3050\u306bredshift\u306e\u8a2d\u5b9a\u306b\u623b\u308a\u307e\u3059\uff0e\u30d0\u30c3\u30c6\u30ea\u30fc\u99c6\u52d5\u4e2d\u3067\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3092\u4e0b\u3052\u3066\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u6301\u3061\u3092\u826f\u304f\u3057\u3088\u3046\u3068\u3044\u3046\u3088\u3046\u306a\u5834\u5408\u306f\u56f0\u308a\u307e\u3059\uff0e\u3068\u308a\u3042\u3048\u305aredshift\u3082\u30d6\u30e9\u30a4\u30c8\u30cd\u30b9\u3082\u624b\u52d5\u8a2d\u5b9a\u3057\u3066\u56de\u907f\u3057\u3066\u3044\u307e\u3059\uff0e\nredshift-gtk\u3092\u7d42\u4e86\u3057\u305f\u72b6\u614b\u3067\u624b\u52d5\u8a2d\u5b9a\n$ redshift -O 3500$ xrandr --output LVDS1 --brightness 0.3\n\u305d\u308c\u3068\u591c\u3075\u304b\u3057\u3055\u3093\u306e\u305f\u3081\u306b\u30d6\u30eb\u30fc\u30e9\u30a4\u30c8\u30ab\u30c3\u30c8\u306e\u6642\u9593\u3092\u305a\u3089\u3059\u6a5f\u80fd\u306f\u306a\u3044\u304b\u306a\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u3053\u308c\u306f\u4f4d\u7f6e\u60c5\u5831\u3092manual\u3067\u8a2d\u5b9a\u3057\u3066\u6642\u5dee\u306e\u3042\u308b\u5834\u6240\u3092\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3089\u5b9f\u73fe\u3067\u304d\u305d\u3046\u3067\u3059\uff0e", "date_published": "2016-02-11T19:06:23+09:00", "date_modified": "2016-02-11T19:10:24+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "stretch", "testing" ] }, { "id": "http://matoken.org/blog/?p=1129", "url": "https://matoken.org/blog/2016/02/09/two-of-how-to-send-attachments-with-e-mail-in-the-mail-command/", "title": "\u30b3\u30de\u30f3\u30c9\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4ed8\u304d\u30e1\u30fc\u30eb\u3092\u9001\u308b2\u3064\u306e\u65b9\u6cd5", "content_html": "

\n

Google+\u3067mail\u30b3\u30de\u30f3\u30c9\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4ed8\u304d\u30e1\u30fc\u30eb\u3092\u9001\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u65b9\u306e\u6295\u7a3f\u306e\u30b3\u30e1\u30f3\u30c8\u306bbase64\u3067\u30c7\u30b3\u30fc\u30c9\u3057\u3066\u9001\u308bscript\u3092\u4f7f\u3063\u3066\u307e\u3059\u3068\u304b\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u3053\u308cperl4\u3067cgi\u5168\u76db\u306a\u5927\u6614\u304b\u3089\u3084\u3063\u3066\u308b\u624b\u6cd5\u306a\u306e\u3067\u697d\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u306f\u3068\u601d\u3044\u63a2\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n

Debian stretch testing\u306es-nail\u3092\u4f7f\u3046

\n

Debian stretch testing/sid \u3067\u306fmail\u30b3\u30de\u30f3\u30c9\u304cbsd-mailx\u304b\u3089s-nail\u306b\u5909\u308f\u3063\u3066\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
 -a file     Attach the given file to the message.  The same filename conventions as described in the section COMMANDS apply: shell word expansion is
             restricted to the tilde \u2018~\u2019 and variables.  Shall file not be accessible but contain a \u2018=\u2019 character, then anything after the \u2018=\u2019 is assumed to
             specify the input character set and anything before \u2018=\u2019 the filename: this is the only option to specify the input character set (and don't per\u2010
             form any character set conversion) for text attachments from the command line, not using the ~@ tilde escape command.
\n

\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3048\u307e\u3057\u305f\uff0e

\n
$ echo 'attach test(binary)' | mail -s "attach test mail" -a ./text.xz matoken@gmail.com
\n

\uff03\u306f\u3058\u3081.zip\u3092\u9001\u308d\u3046\u3068\u3057\u3066gmail\u30b5\u30fc\u30d0\u306b\u5f3e\u304b\u308c\u307e\u3057\u305f\uff0e\u305d\u3046\u3044\u3048\u3070\u305d\u3046\u3060\u3063\u305f\u2026\u2026
\n\uff03\uff03sendmail: 552 5.7.0 content and attachment content guidelines. xu1sm1469539pab.31 - gsmtp

\n

\u666e\u901a\u306b\u30e1\u30fc\u30eb\u9001\u308b\u306e\u306b\u52a0\u3048\u3066-a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u611f\u3058\u3067\u3059\uff0e
\n\u30aa\u30d7\u30b7\u30e7\u30f3\u3067SMTP\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\u3082\u51fa\u6765\u308b\u3088\u3046\u306a\u306e\u3067MTA\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u5834\u5408\u3067\u3082\u5358\u4f53\u3067\u4f7f\u3048\u305d\u3046\u3067\u3059\uff0e

\n\n

Debian jessie\u3067biabam\u3092\u4f7f\u3046

\n

s-nail\u306fstretch testing\u304b\u3089\u3067jessie\u306b\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u4ee3\u308f\u308a\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u306fbsd-mailx\u3067\u3059\uff0eman\u3092\u3061\u3087\u3063\u3068\u898b\u305f\u611f\u3058\u3067\u306f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u306f\u8f09\u3063\u3066\u3044\u306a\u3055\u305d\u3046\uff0e\u3067\u3082\u304d\u3063\u3068\u4fbf\u5229\u306a\u4f55\u304b\u304c\u3042\u308b\u306e\u3067\u306f?\u3068apt-cache search mail attach\u3068\u304b\u3057\u3066\u63a2\u3057\u3066\u307f\u308b\u3068biabam\u3068\u3044\u3046bash script\u88fd\u306e\u3082\u306e\u3092\u767a\u898b\uff0e\u5c0f\u3055\u3044\u3057\u826f\u3055\u305d\u3046\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n

biabam – bash attachment mailer

\n
\n

\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3048\u307e\u3057\u305f\uff0e

\n
$ sudo apt install biabam
$ echo 'attach test' | biabam ./test.xz -s "attach test from jessie" matoken@gmail.com
\n\n

\u3061\u306a\u307f\u306bmail\u30b3\u30de\u30f3\u30c9\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u65b9\u6cd5\u3092\u691c\u7d22\u3059\u308b\u3068\u5927\u62b5mutt\u4f7f\u3046\u4f8b\u304c\u51fa\u3066\u304d\u307e\u3059\u304c\uff0cmutt\u3092\u65e2\u306b\u8a2d\u5b9a\u6e08\u307f\u306e\u4eba\u3067\u306a\u3044\u3068\u6577\u5c45\u304c\u9ad8\u3044\u3068\u601d\u3044\u307e\u3059\uff0e\u305d\u3046\u3044\u3046\u5834\u5408\u306b\u4eca\u56de\u306e\u65b9\u6cd5\u306f\u3044\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\u3057\u304b\u3057\u6050\u3089\u304f\u591a\u56fd\u8a00\u8a9e\u5bfe\u5fdc\u306f\u3057\u3066\u5c45\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u65e5\u672c\u8a9e\u3092Subject\u3084BODY\u306b\u4f7f\u3046\u5834\u5408\u306f\u7d20\u76f4\u306bScript\u3092\u66f8\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u2026\u2026\uff0e
\n\u5b9a\u5f62\u306a\u3089\u9069\u5f53\u306aMUA\u3067\u30e1\u30fc\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u6d41\u3057\u8fbc\u3093\u3067mail\u30b3\u30de\u30f3\u30c9\u306b\u6295\u3052\u308b\u3088\u3046\u306b\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u306d\uff0e

\n
\n
\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n
\n
\n
\n", "content_text": "Google+\u3067mail\u30b3\u30de\u30f3\u30c9\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4ed8\u304d\u30e1\u30fc\u30eb\u3092\u9001\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u65b9\u306e\u6295\u7a3f\u306e\u30b3\u30e1\u30f3\u30c8\u306bbase64\u3067\u30c7\u30b3\u30fc\u30c9\u3057\u3066\u9001\u308bscript\u3092\u4f7f\u3063\u3066\u307e\u3059\u3068\u304b\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u3053\u308cperl4\u3067cgi\u5168\u76db\u306a\u5927\u6614\u304b\u3089\u3084\u3063\u3066\u308b\u624b\u6cd5\u306a\u306e\u3067\u697d\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u306f\u3068\u601d\u3044\u63a2\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\nDebian stretch testing\u306es-nail\u3092\u4f7f\u3046\nDebian stretch testing/sid \u3067\u306fmail\u30b3\u30de\u30f3\u30c9\u304cbsd-mailx\u304b\u3089s-nail\u306b\u5909\u308f\u3063\u3066\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\n\n -a file     Attach the given file to the message.  The same filename conventions as described in the section COMMANDS apply: shell word expansion is             restricted to the tilde \u2018~\u2019 and variables.  Shall file not be accessible but contain a \u2018=\u2019 character, then anything after the \u2018=\u2019 is assumed to             specify the input character set and anything before \u2018=\u2019 the filename: this is the only option to specify the input character set (and don't per\u2010             form any character set conversion) for text attachments from the command line, not using the ~@ tilde escape command.\n\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3048\u307e\u3057\u305f\uff0e\n$ echo 'attach test(binary)' | mail -s "attach test mail" -a ./text.xz matoken@gmail.com\n\uff03\u306f\u3058\u3081.zip\u3092\u9001\u308d\u3046\u3068\u3057\u3066gmail\u30b5\u30fc\u30d0\u306b\u5f3e\u304b\u308c\u307e\u3057\u305f\uff0e\u305d\u3046\u3044\u3048\u3070\u305d\u3046\u3060\u3063\u305f\u2026\u2026\n\uff03\uff03sendmail: 552 5.7.0 content and attachment content guidelines. xu1sm1469539pab.31 - gsmtp\n\u666e\u901a\u306b\u30e1\u30fc\u30eb\u9001\u308b\u306e\u306b\u52a0\u3048\u3066-a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u611f\u3058\u3067\u3059\uff0e\n\u30aa\u30d7\u30b7\u30e7\u30f3\u3067SMTP\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\u3082\u51fa\u6765\u308b\u3088\u3046\u306a\u306e\u3067MTA\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u5834\u5408\u3067\u3082\u5358\u4f53\u3067\u4f7f\u3048\u305d\u3046\u3067\u3059\uff0e\n\nDebian Package Tracking System – s-nail\n\nDebian jessie\u3067biabam\u3092\u4f7f\u3046\ns-nail\u306fstretch testing\u304b\u3089\u3067jessie\u306b\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u4ee3\u308f\u308a\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u306fbsd-mailx\u3067\u3059\uff0eman\u3092\u3061\u3087\u3063\u3068\u898b\u305f\u611f\u3058\u3067\u306f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u306f\u8f09\u3063\u3066\u3044\u306a\u3055\u305d\u3046\uff0e\u3067\u3082\u304d\u3063\u3068\u4fbf\u5229\u306a\u4f55\u304b\u304c\u3042\u308b\u306e\u3067\u306f?\u3068apt-cache search mail attach\u3068\u304b\u3057\u3066\u63a2\u3057\u3066\u307f\u308b\u3068biabam\u3068\u3044\u3046bash script\u88fd\u306e\u3082\u306e\u3092\u767a\u898b\uff0e\u5c0f\u3055\u3044\u3057\u826f\u3055\u305d\u3046\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\nbiabam – bash attachment mailer\n\n\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3048\u307e\u3057\u305f\uff0e\n$ sudo apt install biabam$ echo 'attach test' | biabam ./test.xz -s "attach test from jessie" matoken@gmail.com\n\nDebian Package Tracking System – biabam\n\uff0313\u5e74\u4f4d\u524d(!)\u304b\u3089\u3042\u308b\u307f\u305f\u3044\uff0e\n\n\u3061\u306a\u307f\u306bmail\u30b3\u30de\u30f3\u30c9\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u65b9\u6cd5\u3092\u691c\u7d22\u3059\u308b\u3068\u5927\u62b5mutt\u4f7f\u3046\u4f8b\u304c\u51fa\u3066\u304d\u307e\u3059\u304c\uff0cmutt\u3092\u65e2\u306b\u8a2d\u5b9a\u6e08\u307f\u306e\u4eba\u3067\u306a\u3044\u3068\u6577\u5c45\u304c\u9ad8\u3044\u3068\u601d\u3044\u307e\u3059\uff0e\u305d\u3046\u3044\u3046\u5834\u5408\u306b\u4eca\u56de\u306e\u65b9\u6cd5\u306f\u3044\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e\n\u3057\u304b\u3057\u6050\u3089\u304f\u591a\u56fd\u8a00\u8a9e\u5bfe\u5fdc\u306f\u3057\u3066\u5c45\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u65e5\u672c\u8a9e\u3092Subject\u3084BODY\u306b\u4f7f\u3046\u5834\u5408\u306f\u7d20\u76f4\u306bScript\u3092\u66f8\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u2026\u2026\uff0e\n\u5b9a\u5f62\u306a\u3089\u9069\u5f53\u306aMUA\u3067\u30e1\u30fc\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u6d41\u3057\u8fbc\u3093\u3067mail\u30b3\u30de\u30f3\u30c9\u306b\u6295\u3052\u308b\u3088\u3046\u306b\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u306d\uff0e", "date_published": "2016-02-09T12:17:43+09:00", "date_modified": "2016-02-09T14:12:41+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Jessie", "Linux", "mail", "stretch", "testing", "jessie" ] }, { "id": "http://matoken.org/blog/?p=1125", "url": "https://matoken.org/blog/2016/02/09/tails-install-package-is-convenient-to-the-introduction-of-tails/", "title": "Tails\u306e\u5c0e\u5165\u306btails-install\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u4fbf\u5229", "content_html": "

\u624b\u5143\u306eUSB\u30e1\u30e2\u30ea\u306b\u5c0e\u5165\u3057\u3066\u3042\u308bTails\u3092\u6700\u65b0\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u7acb\u3061\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3064\u3064\u5c0e\u5165\u30da\u30fc\u30b8\u3092\u898b\u3066\u307f\u308b\u3068\u65b0\u3057\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e

\n\n

\u3053\u308c\u307e\u3067\u306fiso\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3057\u305f\u5f8cUSB\u30e1\u30e2\u30ea\u305d\u306e1\u306b\u5c0e\u5165\uff0e\u305d\u306e\u5f8cUSB\u30e1\u30e2\u30ea\u305d\u306e1\u304b\u3089\u8d77\u52d5\u3057\u305fTails\u304b\u3089\u904b\u7528\u3057\u305f\u3044USB\u30e1\u30e2\u30ea\u305d\u306e2\u306b\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\uff0e
\n\uff08USB\u30e1\u30e2\u30ea\u305d\u306e1\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306a\u3069\u304c\u51fa\u6765\u306a\u304b\u3063\u305f\u306f\u305a\uff09

\n

\u6b21\u306e\u30da\u30fc\u30b8\u304c\u305d\u306e\u65b9\u6cd5\u306e\u89e3\u8aac\u30da\u30fc\u30b8\u3067\u3059\uff0e

\n\n

\u3057\u304b\u3057\uff0cDebian\u3068Ubuntu\u5411\u3051\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\u3053\u308c\u3092\u5229\u7528\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306eUSB\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u306a\u304fiso\u30d5\u30a1\u30a4\u30eb\u304b\u3089USB\u30e1\u30e2\u30ea\u306b\u5c0e\u5165\u3059\u308b\u3060\u3051\u3067OK\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e

\n\n

\u3053\u308c\u306f\u4fbf\u5229\u3068\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n

Tails\u306e\u5165\u624b

\n

\u6b21\u306e\u30da\u30fc\u30b8\u304b\u3089\u5165\u624b\u51fa\u6765\u307e\u3059\uff0e\u79c1\u306fbittorrent\u7d4c\u7531\u3067\u5165\u624b\u3057\u307e\u3057\u305f\uff0e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u5b8c\u4e86\u306b1\u6642\u9593\u3068\u5c11\u3057\u639b\u304b\u308a\u307e\u3057\u305f\uff0e

\n\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u6e08\u3093\u3060\u3089\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e
\n\u516c\u958b\u9375\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306e\u4e0b\u306eTails signing key\u3068\u3044\u3046\u753b\u50cf\u304b\u3089\u5165\u624b\u3057\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\uff0e

\n
$ wget -qO - https://tails.boum.org/tails-signing.key | gpg --import /dev/stdin
gpg: \u937558ACD84F: \u516c\u958b\u9375"Tails developers (offline long-term identity key) <tails@boum.org>"\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305f
gpg:           \u51e6\u7406\u6570\u306e\u5408\u8a08: 1
gpg:             \u30a4\u30f3\u30dd\u30fc\u30c8: 1  (RSA: 1)
gpg: \u6700\u5c0f\u306e\u300c\u3042\u308b\u7a0b\u5ea6\u306e\u4fe1\u7528\u300d3\u3001\u6700\u5c0f\u306e\u300c\u5168\u9762\u7684\u4fe1\u7528\u300d1\u3001PGP\u4fe1\u7528\u30e2\u30c7\u30eb
gpg: \u6df1\u3055: 0  \u6709\u52b9\u6027:  15  \u7f72\u540d:  53  \u4fe1\u7528: 0-, 0q, 0n, 0m, 0f, 15u
gpg: \u6df1\u3055: 1  \u6709\u52b9\u6027:  53  \u7f72\u540d:  60  \u4fe1\u7528: 53-, 0q, 0n, 0m, 0f, 0u
gpg: \u6b21\u56de\u306e\u4fe1\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u691c\u67fb\u306f\u30012016-02-19\u3067\u3059
\n

\u305d\u306e\u5f8c\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e

\n
$ gpg --verify tails-i386-2.0.iso.sig
gpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'tails-i386-2.0.iso'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059
gpg: 2016\u5e7401\u670826\u65e5 09\u664207\u520615\u79d2 JST\u306bRSA\u9375ID 752A3DB6\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d
gpg: "Tails developers (offline long-term identity key) <tails@boum.org>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d
gpg:                 \u5225\u540d"Tails developers <tails@boum.org>"
gpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!
gpg:       \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002
\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: A490 D0F4 D311 A415 3E2B  B7CA DBB8 02B2 58AC D84F
\u526f\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: BA2C 222F 44AC 00ED 9899  3893 98FE C6BC 752A 3DB6
\n

tails-installer\u306e\u5c0e\u5165

\n

tails-installer\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0etails-installer\u30d1\u30c3\u30b1\u30fc\u30b8\u306fDebian\u3067\u306fjessie-backports\u4ee5\u964d\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff0e

\n\n

jessie\u3067backports\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u4eba\u306f\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3057\u3066\u4e0b\u3055\u3044\uff0e

\n\n

\u4eca\u56de\u306fstretch(testing)\u306a\u306e\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\u3060\u3051\u3067\u3059\uff0e

\n
$ sudo apt install tails-installer
\n

tails-installertails-installer\u3092\u4f7f\u3063\u305fTails\u306e\u5c0e\u5165

\n

\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3084\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089tails-installer-launcher\u3092\u5b9f\u884c\u3057\u307e\u3059\uff0e\u3061\u306a\u307f\u306bawesome wm\u74b0\u5883\u3060\u3068\u8a8d\u8a3c\u304c\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e

\n

\uff1c\u8131\u7dda\uff1e

\n
\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f: `/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1`\u3002
\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u30ed\u30b0\u306f  '/tmp/tails-installer-ddjZmh' \u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002
Tails installation failed!
\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f: `/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1`\u3002
\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u30ed\u30b0\u306f  '/tmp/tails-installer-ddjZmh' \u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002
\n

\u3053\u306e\u30ed\u30b0\u3092\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0esyslinux\u5b9f\u884c\u6642\u306b/dev/tty\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e

\n
/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
\n

\u7aef\u672b\u304b\u3089\u5b9f\u884c\u3059\u308b\u3068\u8a8d\u8a3c\u304c\u8d70\u308a\u307e\u3057\u305f\uff0e\u591a\u5206\u4e0a\u306e\u30a8\u30e9\u30fc\u306f\u3053\u306e\u8a8d\u8a3c\u3092\u547c\u307c\u3046\u3068\u3057\u3066\u3069\u3053\u306b\u547c\u3079\u3070\u3044\u3044\u306e\u304b\u89e3\u3089\u306a\u304b\u3063\u305f\u3093\u3067\u3057\u3087\u3046\u306d\uff0e

\n
$ LANG=C tails-installer-launcher
    :
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/syslinux' as the super user
Authenticating as: KenichiroMATOHARA,,, (mk)
Password:
==== AUTHENTICATION FAILED ===
\n

\u3057\u304b\u30573\u56de\u307b\u3069\u8a66\u3057\u307e\u3057\u305f\u304c\u3053\u3053\u306e\u8a8d\u8a3c\u3082\u6b63\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3082\u5931\u6557\u3057\u3066\u3057\u307e\u3046\u3088\u3046\u2026\u2026\uff0e

\n

\uff1c\uff0f\u8131\u7dda\uff1e

\n

\u3068\u308a\u3042\u3048\u305apolicykit\u306e\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u3044\u308bGnome\u306a\u3069\u306e\u74b0\u5883\u3067\u306f\u554f\u984c\u306a\u3044&policykit\u304c\u52d5\u304b\u306a\u3044\u5834\u5408\u306f`gksudo`\u7d4c\u7531\u3067\u5b9f\u884c\u3059\u308c\u3070OK\u3067\u3059\uff0e

\n
$ gksudo tails-installer-launcher
\n

Install\u3068Upgrade\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0eInstall\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u306f\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u306f\u6d88\u3055\u308c\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\uff0eUpgrade\u3092\u9078\u629e\u3059\u308b\u3068\u65e2\u306b\u6301\u3063\u3066\u3044\u308bTails\u306e\u30e1\u30c7\u30a3\u30a2\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u51fa\u6765\u307e\u3059\uff0e

\n

\"20160209_05:02:03-18344\"

\n

\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u305fiso\u30d5\u30a1\u30a4\u30eb\u3068\u5c0e\u5165\u5148\u306e\u30c7\u30d0\u30a4\u30b9(USB\u30e1\u30e2\u30ea\u7b49)\u3092\u6307\u5b9a\u3057\u3066Install Tails\u3092\u9078\u629e\u3057\u307e\u3059\uff0e

\n

\"20160209_05:02:22-18509\"

\n

\u78ba\u8a8d\u753b\u9762\u304c\u51fa\u3066\uff0cOK\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u521d\u671f\u5316\u3084\u5c55\u958b\u304c\u59cb\u307e\u308a\u307e\u3059\uff0e\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\uff0e

\n

\"20160209_05:02:28-18561\"

\n

\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u5b8c\u4e86\u3067\u3059\uff0e

\n

\"20160209_06:02:51-24618\"

\n

UNetbootin\u4e26\u306b\u304a\u624b\u8efd\u3067\u3059\uff0eDebian/Ubuntu\u3068Tails\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u65b9\u306b\u304a\u3059\u3059\u3081\u3067\u3059 :)
\n\uff03\u305d\u3046\u3044\u3048\u3070UNetbootin\u306fjessie\u4ee5\u964d\u304b\u3089\u5c45\u306a\u304f\u306a\u3063\u3066\u308b\uff0e > Debian Package Tracking System – unetbootin

\n\n
\n
\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n


\n

\n

\n
\n
\n
\n\n
\n", "content_text": "\u624b\u5143\u306eUSB\u30e1\u30e2\u30ea\u306b\u5c0e\u5165\u3057\u3066\u3042\u308bTails\u3092\u6700\u65b0\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u7acb\u3061\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3064\u3064\u5c0e\u5165\u30da\u30fc\u30b8\u3092\u898b\u3066\u307f\u308b\u3068\u65b0\u3057\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\n\nTails – Privacy for anyone anywhere\n\nTails – Which operating system are you installing Tails from?\n\n\n\n\u3053\u308c\u307e\u3067\u306fiso\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3057\u305f\u5f8cUSB\u30e1\u30e2\u30ea\u305d\u306e1\u306b\u5c0e\u5165\uff0e\u305d\u306e\u5f8cUSB\u30e1\u30e2\u30ea\u305d\u306e1\u304b\u3089\u8d77\u52d5\u3057\u305fTails\u304b\u3089\u904b\u7528\u3057\u305f\u3044USB\u30e1\u30e2\u30ea\u305d\u306e2\u306b\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\n\uff08USB\u30e1\u30e2\u30ea\u305d\u306e1\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306a\u3069\u304c\u51fa\u6765\u306a\u304b\u3063\u305f\u306f\u305a\uff09\n\u6b21\u306e\u30da\u30fc\u30b8\u304c\u305d\u306e\u65b9\u6cd5\u306e\u89e3\u8aac\u30da\u30fc\u30b8\u3067\u3059\uff0e\n\nTails – Other Linux (Red Hat, Fedora, etc.)\n\n\u3057\u304b\u3057\uff0cDebian\u3068Ubuntu\u5411\u3051\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\u3053\u308c\u3092\u5229\u7528\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306eUSB\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u306a\u304fiso\u30d5\u30a1\u30a4\u30eb\u304b\u3089USB\u30e1\u30e2\u30ea\u306b\u5c0e\u5165\u3059\u308b\u3060\u3051\u3067OK\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\n\nTails – Install from Debian or Ubuntu\nTails – Installing Tails on a USB stick from Debian or Ubuntu\nTails – Tails Installer\n\n\u3053\u308c\u306f\u4fbf\u5229\u3068\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\nTails\u306e\u5165\u624b\n\u6b21\u306e\u30da\u30fc\u30b8\u304b\u3089\u5165\u624b\u51fa\u6765\u307e\u3059\uff0e\u79c1\u306fbittorrent\u7d4c\u7531\u3067\u5165\u624b\u3057\u307e\u3057\u305f\uff0e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u5b8c\u4e86\u306b1\u6642\u9593\u3068\u5c11\u3057\u639b\u304b\u308a\u307e\u3057\u305f\uff0e\n\nTails – Download, verify and install\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u6e08\u3093\u3060\u3089\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e\n\u516c\u958b\u9375\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306e\u4e0b\u306eTails signing key\u3068\u3044\u3046\u753b\u50cf\u304b\u3089\u5165\u624b\u3057\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\uff0e\n$ wget -qO - https://tails.boum.org/tails-signing.key | gpg --import /dev/stdingpg: \u937558ACD84F: \u516c\u958b\u9375"Tails developers (offline long-term identity key) <tails@boum.org>"\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305fgpg:           \u51e6\u7406\u6570\u306e\u5408\u8a08: 1gpg:             \u30a4\u30f3\u30dd\u30fc\u30c8: 1  (RSA: 1)gpg: \u6700\u5c0f\u306e\u300c\u3042\u308b\u7a0b\u5ea6\u306e\u4fe1\u7528\u300d3\u3001\u6700\u5c0f\u306e\u300c\u5168\u9762\u7684\u4fe1\u7528\u300d1\u3001PGP\u4fe1\u7528\u30e2\u30c7\u30ebgpg: \u6df1\u3055: 0  \u6709\u52b9\u6027:  15  \u7f72\u540d:  53  \u4fe1\u7528: 0-, 0q, 0n, 0m, 0f, 15ugpg: \u6df1\u3055: 1  \u6709\u52b9\u6027:  53  \u7f72\u540d:  60  \u4fe1\u7528: 53-, 0q, 0n, 0m, 0f, 0ugpg: \u6b21\u56de\u306e\u4fe1\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u691c\u67fb\u306f\u30012016-02-19\u3067\u3059\n\u305d\u306e\u5f8c\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u307e\u3059\uff0e\n$ gpg --verify tails-i386-2.0.iso.siggpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'tails-i386-2.0.iso'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059gpg: 2016\u5e7401\u670826\u65e5 09\u664207\u520615\u79d2 JST\u306bRSA\u9375ID 752A3DB6\u3067\u65bd\u3055\u308c\u305f\u7f72\u540dgpg: "Tails developers (offline long-term identity key) <tails@boum.org>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540dgpg:                 \u5225\u540d"Tails developers <tails@boum.org>"gpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!gpg:       \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: A490 D0F4 D311 A415 3E2B  B7CA DBB8 02B2 58AC D84F\u526f\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: BA2C 222F 44AC 00ED 9899  3893 98FE C6BC 752A 3DB6\ntails-installer\u306e\u5c0e\u5165\ntails-installer\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0etails-installer\u30d1\u30c3\u30b1\u30fc\u30b8\u306fDebian\u3067\u306fjessie-backports\u4ee5\u964d\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\n\nDebian Package Tracking System – tails-installer\n\njessie\u3067backports\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u4eba\u306f\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3057\u3066\u4e0b\u3055\u3044\uff0e\n\nDebian Backports\n\nInstructions\n\n\n\n\u4eca\u56de\u306fstretch(testing)\u306a\u306e\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\u3060\u3051\u3067\u3059\uff0e\n$ sudo apt install tails-installer\ntails-installertails-installer\u3092\u4f7f\u3063\u305fTails\u306e\u5c0e\u5165\n\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3084\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089tails-installer-launcher\u3092\u5b9f\u884c\u3057\u307e\u3059\uff0e\u3061\u306a\u307f\u306bawesome wm\u74b0\u5883\u3060\u3068\u8a8d\u8a3c\u304c\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\uff1c\u8131\u7dda\uff1e\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f: `/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1`\u3002\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u30ed\u30b0\u306f  '/tmp/tails-installer-ddjZmh' \u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002Tails installation failed!\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f: `/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1`\u3002\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u30ed\u30b0\u306f  '/tmp/tails-installer-ddjZmh' \u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\n\u3053\u306e\u30ed\u30b0\u3092\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0esyslinux\u5b9f\u884c\u6642\u306b/dev/tty\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n/usr/bin/pkexec /usr/bin/syslinux  -d syslinux /dev/sdb1Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address\n\u7aef\u672b\u304b\u3089\u5b9f\u884c\u3059\u308b\u3068\u8a8d\u8a3c\u304c\u8d70\u308a\u307e\u3057\u305f\uff0e\u591a\u5206\u4e0a\u306e\u30a8\u30e9\u30fc\u306f\u3053\u306e\u8a8d\u8a3c\u3092\u547c\u307c\u3046\u3068\u3057\u3066\u3069\u3053\u306b\u547c\u3079\u3070\u3044\u3044\u306e\u304b\u89e3\u3089\u306a\u304b\u3063\u305f\u3093\u3067\u3057\u3087\u3046\u306d\uff0e\n$ LANG=C tails-installer-launcher    :==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===Authentication is needed to run `/usr/bin/syslinux' as the super userAuthenticating as: KenichiroMATOHARA,,, (mk)Password:==== AUTHENTICATION FAILED ===\n\u3057\u304b\u30573\u56de\u307b\u3069\u8a66\u3057\u307e\u3057\u305f\u304c\u3053\u3053\u306e\u8a8d\u8a3c\u3082\u6b63\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3082\u5931\u6557\u3057\u3066\u3057\u307e\u3046\u3088\u3046\u2026\u2026\uff0e\n\uff1c\uff0f\u8131\u7dda\uff1e\n\u3068\u308a\u3042\u3048\u305apolicykit\u306e\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u3044\u308bGnome\u306a\u3069\u306e\u74b0\u5883\u3067\u306f\u554f\u984c\u306a\u3044&policykit\u304c\u52d5\u304b\u306a\u3044\u5834\u5408\u306f`gksudo`\u7d4c\u7531\u3067\u5b9f\u884c\u3059\u308c\u3070OK\u3067\u3059\uff0e\n$ gksudo tails-installer-launcher\nInstall\u3068Upgrade\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0eInstall\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u306f\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u306f\u6d88\u3055\u308c\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\uff0eUpgrade\u3092\u9078\u629e\u3059\u308b\u3068\u65e2\u306b\u6301\u3063\u3066\u3044\u308bTails\u306e\u30e1\u30c7\u30a3\u30a2\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u51fa\u6765\u307e\u3059\uff0e\n\n\u7f72\u540d\u78ba\u8a8d\u3092\u3057\u305fiso\u30d5\u30a1\u30a4\u30eb\u3068\u5c0e\u5165\u5148\u306e\u30c7\u30d0\u30a4\u30b9(USB\u30e1\u30e2\u30ea\u7b49)\u3092\u6307\u5b9a\u3057\u3066Install Tails\u3092\u9078\u629e\u3057\u307e\u3059\uff0e\n\n\u78ba\u8a8d\u753b\u9762\u304c\u51fa\u3066\uff0cOK\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u521d\u671f\u5316\u3084\u5c55\u958b\u304c\u59cb\u307e\u308a\u307e\u3059\uff0e\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\uff0e\n\n\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u5b8c\u4e86\u3067\u3059\uff0e\n\nUNetbootin\u4e26\u306b\u304a\u624b\u8efd\u3067\u3059\uff0eDebian/Ubuntu\u3068Tails\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u65b9\u306b\u304a\u3059\u3059\u3081\u3067\u3059 :)\n\uff03\u305d\u3046\u3044\u3048\u3070UNetbootin\u306fjessie\u4ee5\u964d\u304b\u3089\u5c45\u306a\u304f\u306a\u3063\u3066\u308b\uff0e > Debian Package Tracking System – unetbootin\n\nDebian Package Tracking System – tails-installer\n\n#814190 – tails-installer: tails installer fails to authentication – Debian Bug report logs\n\nBits from Debian – Tails installer is now in Debian", "date_published": "2016-02-09T08:51:42+09:00", "date_modified": "2016-02-12T08:59:53+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "stretch", "Tails", "testing" ] }, { "id": "http://matoken.org/blog/?p=1086", "url": "https://matoken.org/blog/2016/01/28/debian-of-steam-does-not-start-up/", "title": "Debian \u306e Steam \u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u8abf\u3079\u308b", "content_html": "

\n

Debian stretch testing amd64 \u3067 steam:i386 \u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5c0e\u5165\u3057\u305f Steam \u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e

\n

\u7aef\u672b\u3067\u76f4\u306b\u53e9\u304f\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u6012\u3089\u308c\u3066\u3044\u307e\u3057\u305f\uff0e

\n
$ steam
find: The relative path '~/usr/local/bin' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH
\n

PATH \u304b\u3089 ~/usr/local/bin \u3092\u629c\u304f\u3068OK
\nPATH \u3092 /home/user/usr/local/bin \u3068\u3057\u3066\u3082OK
\n\u3066\u3053\u3068\u3067 ~/.profile \u306e ~ \u3092 $HOME \u306b\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\uff0e

\n
- PATH="~/usr/local/bin:$PATH"
+ PATH="$HOME/usr/local/bin:$PATH"
\n

\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n

Steam \u3067\u306f\u6700\u8fd1\u306f Unturned \u3068\u304b\u3067\u904a\u3093\u3067\u3044\u307e\u3059\uff0e\u6700\u8fd1\u306f Linux \u3067\u52d5\u304f\u30b2\u30fc\u30e0\u3082\u5897\u3048\u3066\u5b09\u3057\u3044\u3067\u3059 :)

\n\n

\n

\n", "content_text": "Debian stretch testing amd64 \u3067 steam:i386 \u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5c0e\u5165\u3057\u305f Steam \u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\n\u7aef\u672b\u3067\u76f4\u306b\u53e9\u304f\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u6012\u3089\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\n$ steamfind: The relative path '~/usr/local/bin' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH\nPATH \u304b\u3089 ~/usr/local/bin \u3092\u629c\u304f\u3068OK\nPATH \u3092 /home/user/usr/local/bin \u3068\u3057\u3066\u3082OK\n\u3066\u3053\u3068\u3067 ~/.profile \u306e ~ \u3092 $HOME \u306b\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\uff0e\n- PATH="~/usr/local/bin:$PATH"+ PATH="$HOME/usr/local/bin:$PATH"\n\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\nSteam \u3067\u306f\u6700\u8fd1\u306f Unturned \u3068\u304b\u3067\u904a\u3093\u3067\u3044\u307e\u3059\uff0e\u6700\u8fd1\u306f Linux \u3067\u52d5\u304f\u30b2\u30fc\u30e0\u3082\u5897\u3048\u3066\u5b09\u3057\u3044\u3067\u3059 :)\n\nSteam \u3078\u3088\u3046\u3053\u305d\n\nSteam \u30b3\u30df\u30e5\u30cb\u30c6\u30a3 :: matoken", "date_published": "2016-01-28T22:16:58+09:00", "date_modified": "2016-01-29T17:36:11+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "game", "steam", "stretch", "testing", "Linux" ] }, { "id": "http://matoken.org/blog/?p=1080", "url": "https://matoken.org/blog/2016/01/28/try-the-cli-of-podcat-aggregator-downloader-of-podracer/", "title": "CLI \u306a podcast aggregator/downloader \u306a podracer \u3092\u8a66\u3057\u3066\u307f\u308b", "content_html": "

\n

podcast aggregator \u306b rhythmbox \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u305f\u307e\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u306e\u306b\u4f55\u5ea6\u3084\u3063\u3066\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u305f\u308a NotePC \u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3067\u5bb9\u91cf\u306e\u554f\u984c\u3067\u53e4\u3044\u306e\u3092\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u306b\u6301\u3063\u3066\u884c\u3063\u305f\u308a\u3068\u3044\u3063\u305f\u51e6\u7406\u304c\u9762\u5012\u3067\u3059\uff0e
\nCIL \u3067\u52d5\u304f\u3082\u306e\u304c\u3042\u308c\u3070\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3067\u5165\u624b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u65b0\u3057\u3044\u7269\u3060\u3051\u624b\u5143\u306b or \u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u7d4c\u7531\u3067\u8996\u8074\u3059\u308b\u3088\u3046\u306b\u3057\u3089\u4fbf\u5229\u304b\u3082\u3068\u3044\u3046\u3053\u3068\u3067 CLI \u3067\u52d5\u304f podcast aggregator \u304c\u7121\u3044\u304b\u63a2\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
$ apt-cache search podcast aggregator
gpodder - podcast client and feed aggregator
podracer - podcast aggregator/downloader
\n

gpodder \u306f GUI \u3068 CLI \u306e\u30bb\u30c3\u30c8\u3067\uff0cpodracer \u306f CLI \u306e\u307f\u306e\u3088\u3046\u3067\u3059\uff0e\u4eca\u56de\u306f podracer \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e

\n

\u5c0e\u5165

\n

\u5c0e\u5165\u306f apt \u4e00\u767a\u3067\u3059\uff0e

\n
$ sudo apt install podracer
\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f

\n

~/.podracer/subscriptions \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u5165\u624b\u3057\u305f\u3044\u30d5\u30a3\u30fc\u30c9\u3092\uff11\u30d5\u30a3\u30fc\u30c9\uff11\u884c\u3067\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e# \u884c\u306f\u30b3\u30e1\u30f3\u30c8\u306b\u306a\u308b\u3088\u3046\u3067\u3059\uff0e

\n
# \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba
http://feeds.feedburner.com/weblogs/csc
# backspace.fm
http://feeds.backspace.fm/backspacefm
\uff1a
\n

\u5b9f\u884c

\n

podracer \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\uff0c~/.podracer/subscriptions \u304b\u3089podcast \u3092\u30c0\u30a6\u30f3\u30c9\u30fc\u30c9\u3057\u3066\u304f\u308c\u307e\u3059\uff0e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u7d42\u4e86\u3057\u307e\u3059\uff0e

\n
$ podracer
\n

\u521d\u56de\u5b9f\u884c\u6642\u306b\u306f\u904e\u53bb\u306e\u3082\u306e\u3082\u5165\u624b\u3059\u308b\u306e\u3067\u6642\u9593\u304c\u639b\u304b\u308b\u3067\u3057\u3087\u3046\uff0e\u7279\u306b\u753b\u9762\u306b\u306f\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb( ~/.podracer/podcast.log ) \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\uff0e

\n
$ tail -f ~/.podracer/podcast.log
\n

\u53d6\u5f97\u3057\u305f podcast \u306f ~/podcasts \u4ee5\u4e0b\u306e\u65e5\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4e0b\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e\u3053\u306e\u65e5\u4ed8\u306f\u5b9f\u884c\u65e5\u6642\u3067\u3059\uff0e

\n
$ ls ~/podcasts
2016-01-27  2016-01-28
$ ls -lA ~/podcasts/2016-01-28
\u5408\u8a08 59408
-rw-r--r-- 1 mk mk        0  1\u6708 28 14:03 2016-01-28-podcasts.m3u
-rw-r--r-- 1 mk mk 60833627  1\u6708 28 14:02 jlEV91AshKrq
$ file  ~/podcasts/2016-01-28/*
/home/mk/podcasts/2016-01-28/2016-01-28-podcasts.m3u: empty
/home/mk/podcasts/2016-01-28/jlEV91AshKrq:            Audio file with ID3 version 2.3.0
\n

\u5f8c\u306f\u5404\u7a2e\u30d7\u30ec\u30a4\u30e4\u30fc\u3067\u518d\u751f\u3067\u304d\u307e\u3059\uff0e

\n
$ mplayer ~/podcasts/2016-01-28/jlEV91AshKrq
\n

\u30d5\u30a1\u30a4\u30eb\u540d\u306f podcast \u63d0\u4f9b\u8005\u306e\u7269\u306e\u307e\u307e\u3067\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u683c\u7d0d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u540d\u524d\u304c\u885d\u7a81\u3057\u305f\u3089\u591a\u5206\u65b0\u3057\u3044\u65b9\u3067\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u305d\u308c\u3068\u3053\u306e\u307e\u307e\u3067\u306f\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u306e podcast \u306a\u306e\u304b\u3068\u304b\u308f\u304b\u3089\u306a\u3044\u3067\u3059\u306d\uff0e\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u7279\u306b\u7121\u3044\u3088\u3046\u306a\u306e\u3067\u6ca2\u5c71\u306e podcast \u3092\u4fdd\u7ba1\u3057\u3088\u3046\u3068\u3044\u3046\u7528\u9014\u3067\u4f7f\u3046\u306e\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e
\n\u6bce\u65e5\u5b9f\u884c\u3057\u3066\u4eca\u65e5\u306e\u5206\u3092\u307e\u3068\u3081\u3066\u518d\u751f\u3057\u3066\u6d88\u3057\u3066\u3068\u3044\u3046\u3088\u3046\u306b\u4f7f\u3046\u611f\u3058\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n

\u8ffd\u8a18)\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u4e0d\u5177\u5408?

\n

podracer \u5b9f\u884c\u6642\u306b 2016-01-28-podcasts.m3u \u306e\u3088\u3046\u306a\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u304c\u4f5c\u3089\u308c\u307e\u3059\u304c\uff0cmp3/ogg/m4a/m4b \u4ee5\u5916\u306e\u62e1\u5f35\u5b50\u306f\u767b\u9332\u3055\u308c\u307e\u305b\u3093\uff0e\u3053\u3093\u306a\u611f\u3058\u3067\u4f5c\u308a\u76f4\u3059\u3068\u826f\u3055\u305d\u3046\uff0e

\n
$ ls -1A ~/podcasts/2016-01-28 | grep -v \\.m3u$ > ~/podcasts/2016-01-28/2016-01-28-podcasts.m3u
\n

\u3053\u306e\u65b9\u304c\u3044\u3044\u304b\u306a

\n
$ ls -1A ~/podcasts/`date +%F` | grep -v \\.m3u$ > ~/podcasts/`date +%F`/`date +%F`-podcasts.m3u
\n

podracer \u81ea\u4f53\u3092\u4fee\u6b63\u3057\u3066\u3082\u3044\u3044\u304b\u3082\uff0e\u96d1\u3044\u3051\u3069\u3053\u3093\u306a\u3068\u304b\uff0e
\n\u3053\u308c\u3060\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306a\u3069\u3082\u542b\u307e\u308c\u3066\u3057\u307e\u3046\uff0e

\n
$ diff -u /usr/bin/podracer podracer
--- /usr/bin/podracer   2015-07-04 22:39:26.000000000 +0900
+++ podracer    2016-01-28 18:34:40.317391930 +0900
@@ -415,10 +415,7 @@
                then
                (
                cd "$poddir"
-               find . -name \\*.mp3 > "$m3u"
-               find . -name \\*.ogg  >> "$m3u"
-               find . -name \\*.m4a  >> "$m3u"
-               find . -name \\*.m4b  >> "$m3u"
+               find . -name \\* -type f | grep -v "$m3u" > "$m3u"
                )
        fi
 fi
\n

\u8ffd\u8a182)
\n\u4e0a\u306e\u4fee\u6b63\u3060\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306a\u3069\u3082\u767b\u9332\u3055\u308c\u3066\u3057\u307e\u3046\uff0e
\n\u4ee5\u4e0b\u306f\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3092 file command \u3067\u8abf\u3079\u3066 audio \u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u5165\u3063\u3066\u3044\u305f\u3089\u767b\u9332\u3059\u308b\u3082\u306e\uff0e

\n
$ diff -u /usr/bin/podracer ./podracer
--- /usr/bin/podracer   2015-07-04 22:39:26.000000000 +0900
+++ ./podracer  2016-01-28 19:12:31.980446668 +0900
@@ -419,6 +419,7 @@
                find . -name \\*.ogg  >> "$m3u"
                find . -name \\*.m4a  >> "$m3u"
                find . -name \\*.m4b  >> "$m3u"
+               find . | egrep -v "\\.mp3$|\\.ogg$|\\.m4a$|\\.m4b$" | xargs file | grep -i audio | cut -f1 -d: >> "$m3u"
                )
        fi
 fi
\n\n

\n", "content_text": "podcast aggregator \u306b rhythmbox \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u305f\u307e\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u306e\u306b\u4f55\u5ea6\u3084\u3063\u3066\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u305f\u308a NotePC \u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3067\u5bb9\u91cf\u306e\u554f\u984c\u3067\u53e4\u3044\u306e\u3092\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u306b\u6301\u3063\u3066\u884c\u3063\u305f\u308a\u3068\u3044\u3063\u305f\u51e6\u7406\u304c\u9762\u5012\u3067\u3059\uff0e\nCIL \u3067\u52d5\u304f\u3082\u306e\u304c\u3042\u308c\u3070\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3067\u5165\u624b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u65b0\u3057\u3044\u7269\u3060\u3051\u624b\u5143\u306b or \u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u7d4c\u7531\u3067\u8996\u8074\u3059\u308b\u3088\u3046\u306b\u3057\u3089\u4fbf\u5229\u304b\u3082\u3068\u3044\u3046\u3053\u3068\u3067 CLI \u3067\u52d5\u304f podcast aggregator \u304c\u7121\u3044\u304b\u63a2\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n$ apt-cache search podcast aggregatorgpodder - podcast client and feed aggregatorpodracer - podcast aggregator/downloader\ngpodder \u306f GUI \u3068 CLI \u306e\u30bb\u30c3\u30c8\u3067\uff0cpodracer \u306f CLI \u306e\u307f\u306e\u3088\u3046\u3067\u3059\uff0e\u4eca\u56de\u306f podracer \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\u5c0e\u5165\n\u5c0e\u5165\u306f apt \u4e00\u767a\u3067\u3059\uff0e\n$ sudo apt install podracer\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7528\u610f\n~/.podracer/subscriptions \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u5165\u624b\u3057\u305f\u3044\u30d5\u30a3\u30fc\u30c9\u3092\uff11\u30d5\u30a3\u30fc\u30c9\uff11\u884c\u3067\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e# \u884c\u306f\u30b3\u30e1\u30f3\u30c8\u306b\u306a\u308b\u3088\u3046\u3067\u3059\uff0e\n# \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30bahttp://feeds.feedburner.com/weblogs/csc# backspace.fmhttp://feeds.backspace.fm/backspacefm\uff1a\n\u5b9f\u884c\npodracer \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\uff0c~/.podracer/subscriptions \u304b\u3089podcast \u3092\u30c0\u30a6\u30f3\u30c9\u30fc\u30c9\u3057\u3066\u304f\u308c\u307e\u3059\uff0e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u7d42\u4e86\u3057\u307e\u3059\uff0e\n$ podracer\n\u521d\u56de\u5b9f\u884c\u6642\u306b\u306f\u904e\u53bb\u306e\u3082\u306e\u3082\u5165\u624b\u3059\u308b\u306e\u3067\u6642\u9593\u304c\u639b\u304b\u308b\u3067\u3057\u3087\u3046\uff0e\u7279\u306b\u753b\u9762\u306b\u306f\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb( ~/.podracer/podcast.log ) \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\uff0e\n$ tail -f ~/.podracer/podcast.log\n\u53d6\u5f97\u3057\u305f podcast \u306f ~/podcasts \u4ee5\u4e0b\u306e\u65e5\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4e0b\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e\u3053\u306e\u65e5\u4ed8\u306f\u5b9f\u884c\u65e5\u6642\u3067\u3059\uff0e\n$ ls ~/podcasts2016-01-27  2016-01-28$ ls -lA ~/podcasts/2016-01-28\u5408\u8a08 59408-rw-r--r-- 1 mk mk        0  1\u6708 28 14:03 2016-01-28-podcasts.m3u-rw-r--r-- 1 mk mk 60833627  1\u6708 28 14:02 jlEV91AshKrq$ file  ~/podcasts/2016-01-28/*/home/mk/podcasts/2016-01-28/2016-01-28-podcasts.m3u: empty/home/mk/podcasts/2016-01-28/jlEV91AshKrq:            Audio file with ID3 version 2.3.0\n\u5f8c\u306f\u5404\u7a2e\u30d7\u30ec\u30a4\u30e4\u30fc\u3067\u518d\u751f\u3067\u304d\u307e\u3059\uff0e\n$ mplayer ~/podcasts/2016-01-28/jlEV91AshKrq\n\u30d5\u30a1\u30a4\u30eb\u540d\u306f podcast \u63d0\u4f9b\u8005\u306e\u7269\u306e\u307e\u307e\u3067\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u683c\u7d0d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u540d\u524d\u304c\u885d\u7a81\u3057\u305f\u3089\u591a\u5206\u65b0\u3057\u3044\u65b9\u3067\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u305d\u308c\u3068\u3053\u306e\u307e\u307e\u3067\u306f\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u306e podcast \u306a\u306e\u304b\u3068\u304b\u308f\u304b\u3089\u306a\u3044\u3067\u3059\u306d\uff0e\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u7279\u306b\u7121\u3044\u3088\u3046\u306a\u306e\u3067\u6ca2\u5c71\u306e podcast \u3092\u4fdd\u7ba1\u3057\u3088\u3046\u3068\u3044\u3046\u7528\u9014\u3067\u4f7f\u3046\u306e\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\u6bce\u65e5\u5b9f\u884c\u3057\u3066\u4eca\u65e5\u306e\u5206\u3092\u307e\u3068\u3081\u3066\u518d\u751f\u3057\u3066\u6d88\u3057\u3066\u3068\u3044\u3046\u3088\u3046\u306b\u4f7f\u3046\u611f\u3058\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\u8ffd\u8a18)\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u306e\u4e0d\u5177\u5408?\npodracer \u5b9f\u884c\u6642\u306b 2016-01-28-podcasts.m3u \u306e\u3088\u3046\u306a\u30d7\u30ec\u30a4\u30ea\u30b9\u30c8\u304c\u4f5c\u3089\u308c\u307e\u3059\u304c\uff0cmp3/ogg/m4a/m4b \u4ee5\u5916\u306e\u62e1\u5f35\u5b50\u306f\u767b\u9332\u3055\u308c\u307e\u305b\u3093\uff0e\u3053\u3093\u306a\u611f\u3058\u3067\u4f5c\u308a\u76f4\u3059\u3068\u826f\u3055\u305d\u3046\uff0e\n$ ls -1A ~/podcasts/2016-01-28 | grep -v \\.m3u$ > ~/podcasts/2016-01-28/2016-01-28-podcasts.m3u\n\u3053\u306e\u65b9\u304c\u3044\u3044\u304b\u306a\n$ ls -1A ~/podcasts/`date +%F` | grep -v \\.m3u$ > ~/podcasts/`date +%F`/`date +%F`-podcasts.m3u\npodracer \u81ea\u4f53\u3092\u4fee\u6b63\u3057\u3066\u3082\u3044\u3044\u304b\u3082\uff0e\u96d1\u3044\u3051\u3069\u3053\u3093\u306a\u3068\u304b\uff0e\n\u3053\u308c\u3060\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306a\u3069\u3082\u542b\u307e\u308c\u3066\u3057\u307e\u3046\uff0e\n$ diff -u /usr/bin/podracer podracer--- /usr/bin/podracer   2015-07-04 22:39:26.000000000 +0900+++ podracer    2016-01-28 18:34:40.317391930 +0900@@ -415,10 +415,7 @@                then                (                cd "$poddir"-               find . -name \\*.mp3 > "$m3u"-               find . -name \\*.ogg  >> "$m3u"-               find . -name \\*.m4a  >> "$m3u"-               find . -name \\*.m4b  >> "$m3u"+               find . -name \\* -type f | grep -v "$m3u" > "$m3u"                )        fi fi\n\u8ffd\u8a182)\n\u4e0a\u306e\u4fee\u6b63\u3060\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306a\u3069\u3082\u767b\u9332\u3055\u308c\u3066\u3057\u307e\u3046\uff0e\n\u4ee5\u4e0b\u306f\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3092 file command \u3067\u8abf\u3079\u3066 audio \u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u5165\u3063\u3066\u3044\u305f\u3089\u767b\u9332\u3059\u308b\u3082\u306e\uff0e\n$ diff -u /usr/bin/podracer ./podracer--- /usr/bin/podracer   2015-07-04 22:39:26.000000000 +0900+++ ./podracer  2016-01-28 19:12:31.980446668 +0900@@ -419,6 +419,7 @@                find . -name \\*.ogg  >> "$m3u"                find . -name \\*.m4a  >> "$m3u"                find . -name \\*.m4b  >> "$m3u"+               find . | egrep -v "\\.mp3$|\\.ogg$|\\.m4a$|\\.m4b$" | xargs file | grep -i audio | cut -f1 -d: >> "$m3u"                )        fi fi\n\nPodracer / Bugs\nBugs in package podracer (version 1.4-3) in unstable \u2013 Debian Bug report logs\n\n#812980 – podracer: .mp3/.ogg/.m4a/.m4b than the extension of the file will not be registered in the play list. – Debian Bug report logs", "date_published": "2016-01-28T14:42:30+09:00", "date_modified": "2016-01-28T21:52:40+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "CLI", "Debian", "podcast", "stretch", "testing", "Linux" ] }, { "id": "http://matoken.org/blog/?p=1071", "url": "https://matoken.org/blog/2016/01/18/i-tried-playing-around-with-awk-made-3d-shooter-game-awkaster/", "title": "awk \u88fd 3D\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u30b2\u30fc\u30e0 awkaster \u3067\u904a\u3093\u3067\u307f\u305f", "content_html": "

awk \u88fd 3D\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u30b2\u30fc\u30e0\u304c\u3042\u308b\u3068\u805e\u3044\u3066\u904a\u3093\u3067\u307f\u307e\u3057\u305f\uff0e

\n\n

\u904a\u3076\u306b\u306f GNU awk 4.0.0 \u4ee5\u4e0a\u304c\u5fc5\u8981\u3067\u3059\uff0eDebian \u3060\u3068 gawk \u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\uff0e\u3068\u308a\u3042\u3048\u305a\u904a\u3093\u3067\u307f\u308b\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3067\uff0e

\n
$ sudo apt install gawk
$ wget https://raw.githubusercontent.com/TheMozg/awk-raycaster/master/awkaster.awk
$ awk -f ./awkaster.awk
\n

\u64cd\u4f5c\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e

\n\n

\u4ee5\u4e0b\u306f\u904a\u3093\u3067\u3044\u308b\u69d8\u5b50\u3067\u3059\uff0e

\n

\"asciicast\"

\n

3D\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u3044\u3046\u3068\u30b9\u30bf\u30fc\u30d5\u30a9\u30c3\u30af\u30b9\u3092\u601d\u3044\u6d6e\u304b\u3079\u305f\u306e\u3067\u3059\u304c\uff0c\u5358\u7d14\u306a 3D RPG \u7684\u306a\u611f\u3058\u3067\u3059\uff0eWolfenstein 3D \u3068 doom \u306b\u89e6\u767a\u3055\u308c\u305f\u305d\u3046\u3067\u3059\uff0eWolfenstein 3DWolfenstein 3D\u3000\u306f\u77e5\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u78ba\u304b\u306b doom \u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\uff0e
\n\u30bf\u30fc\u30f3\u5236?\u306a\u306e\u3067\u6575\u306e\u8d64\u7403\u304c\u51fa\u3066\u304d\u3066\u3082\u614c\u3066\u305a\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0e

\n

\u6575\u306b\u89e6\u308c\u308b\u3068HP\u304c\u6e1b\u3063\u3066\u3044\u3063\u30660\u306b\u306a\u308b\u3068\u30b2\u30fc\u30e0\u30aa\u30fc\u30d0\u30fc\u3067\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\uff0e

\n
GAME OVER! YOU LOSE!
Credits: Fedor 'TheMozg' Kalugin
https://github.com/TheMozg/awk-raycaster
Gameplay testing - Alex 'Yakojo' & Danya 'bogych97'
Go away!
\n

\u3046\u307e\u3044\u3053\u3068\u30a8\u30ec\u30d9\u30fc\u30bf\u30fc\u306b\u5230\u7740\u3057\u3066 X \u3092\u62bc\u3059\u3068\u30b2\u30fc\u30e0\u30af\u30ea\u30a2\u3067\u3059\uff0e
\n\u4f46\u3057 ELEVATOR COMING \u304c 0 \u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\u3053\u308c\u306f\u521d\u3081 1000 \u30671\u64cd\u4f5c\u30671\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u3055\u308c\u307e\u3059\uff0e\u30b4\u30fc\u30eb\u306e\u30a8\u30ec\u30d9\u30fc\u30bf\u30fc\u306e\u5834\u6240\u306f\u898b\u305f\u76ee\u308f\u304b\u308a\u307e\u305b\u3093
\n\u6575\u304c\u6ca2\u5c71\u5c45\u308b\u3068\u3053\u308d\u306e\u8fba\u308a\u306b\u3042\u308b\u306e\u3067\u63a2\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\uff0e
\n(\u79c1\u306f\u5224\u3093\u306a\u304f\u3066\u7d50\u5c40 source \u8aad\u3093\u3067\u30af\u30ea\u30a2\u3057\u307e\u3057\u305forz)

\n
YOU WIN! YOUR SCORE: 4900
Credits: Fedor 'TheMozg' Kalugin
https://github.com/TheMozg/awk-raycaster
Gameplay testing - Alex 'Yakojo' & Danya 'bogych97'
Go away!
\n

\u3061\u306a\u307f\u306b\u305d\u3053\u305d\u3053\u5e83\u3044\u9818\u57df\u304c\u5fc5\u8981\u3067\u3059\uff0e\u9818\u57df\u304c\u72ed\u3044\u3068\u753b\u9762\u306b\u53ce\u307e\u308a\u304d\u3089\u305a\u305a\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5c0f\u3055\u304f\u3059\u308b\u306a\u3069\u3057\u3066\u5217\u3068\u884c\u3092\u78ba\u4fdd\u3057\u307e\u3057\u3087\u3046\uff0e
\nGNU screen \u4e0a\u3067\u3082 Rasbian jessie \u4e0a\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304d\u307e\u3057\u305f\uff0e

\n

\u6614\u3053\u3093\u306a3D\u8ff7\u8def\u3068\u304b\u3092\u30dd\u30b1\u30b3\u30f3BASIC \u3067\u4f5c\u3063\u3066\u3044\u305f\u306e\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\uff0e\u6700\u8fd1\u306e\u30de\u30a4\u30b3\u30f3\u3084Raspberry Pi \u3067\u3053\u3046\u3044\u3046\u30b2\u30fc\u30e0\u3092\u4f5c\u3063\u3066\u307f\u308b\u306e\u3082\u697d\u3057\u305d\u3046\u3067\u3059\u306d :)
\n(Arduboy \u3068\u304b POCKETC.H.I.P. \u3068\u304b )

\n", "content_text": "awk \u88fd 3D\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u30b2\u30fc\u30e0\u304c\u3042\u308b\u3068\u805e\u3044\u3066\u904a\u3093\u3067\u307f\u307e\u3057\u305f\uff0e\n\nTheMozg/awk-raycaster\n\nShow HN: 3D shooter in your terminal using raycasting in Awk | Hacker News\n\n\n\n\u904a\u3076\u306b\u306f GNU awk 4.0.0 \u4ee5\u4e0a\u304c\u5fc5\u8981\u3067\u3059\uff0eDebian \u3060\u3068 gawk \u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\uff0e\u3068\u308a\u3042\u3048\u305a\u904a\u3093\u3067\u307f\u308b\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3067\uff0e\n$ sudo apt install gawk$ wget https://raw.githubusercontent.com/TheMozg/awk-raycaster/master/awkaster.awk$ awk -f ./awkaster.awk\n\u64cd\u4f5c\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e\n\n1234 \u753b\u9762\u8868\u793a\u5207\u308a\u66ff\u3048\nWASD \u79fb\u52d5\nJL \u56de\u8ee2(16\u56de\u30671\u56de\u8ee2)/Shift\u3092\u62bc\u3057\u306a\u304c\u3089\u3067\u9ad8\u901f\u56de\u8ee2(8\u56de\u30671\u56de\u8ee2)\nSPACE \u653b\u6483\nX \u30a8\u30ec\u30d9\u30fc\u30bf\u30fc\u306b\u4e57\u308b\uff08\u30b2\u30fc\u30e0\u30af\u30ea\u30a2\uff09\nQ \u7d42\u4e86\n\n\u4ee5\u4e0b\u306f\u904a\u3093\u3067\u3044\u308b\u69d8\u5b50\u3067\u3059\uff0e\n\n3D\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u3044\u3046\u3068\u30b9\u30bf\u30fc\u30d5\u30a9\u30c3\u30af\u30b9\u3092\u601d\u3044\u6d6e\u304b\u3079\u305f\u306e\u3067\u3059\u304c\uff0c\u5358\u7d14\u306a 3D RPG \u7684\u306a\u611f\u3058\u3067\u3059\uff0eWolfenstein 3D \u3068 doom \u306b\u89e6\u767a\u3055\u308c\u305f\u305d\u3046\u3067\u3059\uff0eWolfenstein 3DWolfenstein 3D\u3000\u306f\u77e5\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u78ba\u304b\u306b doom \u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\uff0e\n\u30bf\u30fc\u30f3\u5236?\u306a\u306e\u3067\u6575\u306e\u8d64\u7403\u304c\u51fa\u3066\u304d\u3066\u3082\u614c\u3066\u305a\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0e\n\u6575\u306b\u89e6\u308c\u308b\u3068HP\u304c\u6e1b\u3063\u3066\u3044\u3063\u30660\u306b\u306a\u308b\u3068\u30b2\u30fc\u30e0\u30aa\u30fc\u30d0\u30fc\u3067\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\uff0e\nGAME OVER! YOU LOSE!Credits: Fedor 'TheMozg' Kaluginhttps://github.com/TheMozg/awk-raycasterGameplay testing - Alex 'Yakojo' & Danya 'bogych97'Go away!\n\u3046\u307e\u3044\u3053\u3068\u30a8\u30ec\u30d9\u30fc\u30bf\u30fc\u306b\u5230\u7740\u3057\u3066 X \u3092\u62bc\u3059\u3068\u30b2\u30fc\u30e0\u30af\u30ea\u30a2\u3067\u3059\uff0e\n\u4f46\u3057 ELEVATOR COMING \u304c 0 \u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\u3053\u308c\u306f\u521d\u3081 1000 \u30671\u64cd\u4f5c\u30671\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u3055\u308c\u307e\u3059\uff0e\u30b4\u30fc\u30eb\u306e\u30a8\u30ec\u30d9\u30fc\u30bf\u30fc\u306e\u5834\u6240\u306f\u898b\u305f\u76ee\u308f\u304b\u308a\u307e\u305b\u3093\n\u6575\u304c\u6ca2\u5c71\u5c45\u308b\u3068\u3053\u308d\u306e\u8fba\u308a\u306b\u3042\u308b\u306e\u3067\u63a2\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\uff0e\n(\u79c1\u306f\u5224\u3093\u306a\u304f\u3066\u7d50\u5c40 source \u8aad\u3093\u3067\u30af\u30ea\u30a2\u3057\u307e\u3057\u305forz)\nYOU WIN! YOUR SCORE: 4900Credits: Fedor 'TheMozg' Kaluginhttps://github.com/TheMozg/awk-raycasterGameplay testing - Alex 'Yakojo' & Danya 'bogych97'Go away!\n\u3061\u306a\u307f\u306b\u305d\u3053\u305d\u3053\u5e83\u3044\u9818\u57df\u304c\u5fc5\u8981\u3067\u3059\uff0e\u9818\u57df\u304c\u72ed\u3044\u3068\u753b\u9762\u306b\u53ce\u307e\u308a\u304d\u3089\u305a\u305a\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5c0f\u3055\u304f\u3059\u308b\u306a\u3069\u3057\u3066\u5217\u3068\u884c\u3092\u78ba\u4fdd\u3057\u307e\u3057\u3087\u3046\uff0e\nGNU screen \u4e0a\u3067\u3082 Rasbian jessie \u4e0a\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304d\u307e\u3057\u305f\uff0e\n\u6614\u3053\u3093\u306a3D\u8ff7\u8def\u3068\u304b\u3092\u30dd\u30b1\u30b3\u30f3BASIC \u3067\u4f5c\u3063\u3066\u3044\u305f\u306e\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\uff0e\u6700\u8fd1\u306e\u30de\u30a4\u30b3\u30f3\u3084Raspberry Pi \u3067\u3053\u3046\u3044\u3046\u30b2\u30fc\u30e0\u3092\u4f5c\u3063\u3066\u307f\u308b\u306e\u3082\u697d\u3057\u305d\u3046\u3067\u3059\u306d :)\n(Arduboy \u3068\u304b POCKETC.H.I.P. \u3068\u304b )", "date_published": "2016-01-18T20:19:36+09:00", "date_modified": "2016-01-18T20:24:29+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Linux", "Rasbian", "RaspberryPi", "stretch", "testing", "Rasbian_jessie", "Raspberry Pi", "Squeeze" ] } ] }