chromebook
é¢é£è¨äº æ¦è¦ åèæ å ± é¢é£è¨äº GitHub - devlights/blog-summary: ããã°ãããããåå¿é²æ¥è¨ãã®ã¾ã¨ã æ¦è¦ 以ä¸ãèªåç¨ã®ã¡ã¢ã§ãã使ãããã¨ãã«å¿ããã®ã§ããã«ã¡ã¢ã¡ã¢ããã Google Chromeã§ããã¼ã¸ã®èª¿åããªããããããã¦ç¶ºéºã«ãªãã¼ããâ¦
é¢é£è¨äº æ¦è¦ åèæ å ± é¢é£è¨äº GitHub - devlights/blog-summary: ããã°ãããããåå¿é²æ¥è¨ãã®ã¾ã¨ã æ¦è¦ 以ä¸ãèªåç¨ã®ã¡ã¢ã§ããå¿ããªããã¡ã«ã¡ã¢ã¡ã¢ããã ç§ã¯åºæ¬çã«Chromebookä¸ã§åå¼·ã¨ãããã¦ããã®ã§ãããChromebookä¸ã®Linuxã³ã³ãâ¦
é¢é£è¨äº æ¦è¦ é¢é£è¨äº GitHub - devlights/blog-summary: ããã°ãããããåå¿é²æ¥è¨ãã®ã¾ã¨ã æ¦è¦ 以ä¸ãèªåç¨ã®ã¡ã¢ã§ãããã¤ãå¿ããã®ã§ããã«ã¡ã¢ã¡ã¢ããã ä»åãChromebookã使ã£ã¦ãã人éå®ã®è©±ã§ãã Chromebookã使ã£ã¦ãã¦ããããããâ¦
é¢é£è¨äº æ¦è¦ åèæ å ± é¢é£è¨äº GitHub - devlights/blog-summary: ããã°ãããããåå¿é²æ¥è¨ãã®ã¾ã¨ã æ¦è¦ 以ä¸ãèªåç¨ã®ã¡ã¢ã§ãã teaã¨ããååã®ããã±ã¼ã¸ããã¼ã¸ã£ãããã®ãç¥ãã¾ããã tea.xyz github.com 次ä¸ä»£ã¯ãã¹ãã©ãããã©ã¼ã ãâ¦
æ¦è¦ ä»ã®ç¶æ ã§ææ°ç¶æ ã«ãã¦ãã apt ã®è¨å®ãã¡ã¤ã«ãèª¿æ´ apt update æå°ã¢ããã°ã¬ã¼ã ãã«ã¢ããã°ã¬ã¼ã åèæ å ± æ¦è¦ Debian 12 (bookworm) ã 2023-06-10 ã«ãªãªã¼ã¹ããã¾ãããã www.debian.org ç§ã¯Chromebook使ã£ã¦ãã¾ãã®ã§ãã¤ã³ã¹ãã¼â¦
æ¦è¦ æ¦è¦ ããå¿ããã®ã§ããã«èªåç¨ã¡ã¢ã¡ã¢ã Google Chromeããã§ãããã¯ãã¼ã¯ãã¼ã«ãã¼ãã¼ãã§ã¢ã¯ã»ã¹ãããå ´å㯠Shift+Alt+B ã§ãã©ã¼ã«ã¹ã移ãã¾ãã ãã®å¾ã¯ãç¢å°ãã¼ã§ç§»åãã¦ç®å½ã¦ã®ããã¯ãã¼ã¯ãé¸æã ã¡ãªã¿ã«ãä¼¼ããããªæä½ã§â¦
æ¦è¦ æ¦è¦ ãã¤ããç°å¢åæåãç´ããå¾ã§ãå¿ãã¦ããã®ã§ããã«ã¡ã¢ã¡ã¢ã Chromebookã®Linuxã³ã³ãã(debian)ã§ã¯ãpython3 ã¯æåããå ¥ã£ã¦ãã¾ãã $ python3 -V Python 3.7.3 ãªã®ã§ãããdebianãªã®ã§ãvenvã¨ãpipã¯ã¤ã³ã¹ãã¼ã«ããã¦ãã¾ããã â¦
æ¦è¦ æ¦è¦ ããå¿ããã®ã§ãããã«ã¡ã¢ã¡ã¢ã chromebookã®linux ã³ã³ãã (crostini) ã®ã¿ã¼ããã«ã¢ããªã§è²¼ãä»ãããããå ´åã以ä¸ã®ï¼ã¤ã®æ¹æ³ãããã¾ãã ãã¦ã¹ã®å³ã¯ãªãã¯ï¼ã¿ããããããæäºæ¬ã§ã¯ãªãã¯ï¼ Ctrl+Shift+v ãã¤ã Ctrl+Shift+vã®â¦
æ¦è¦ crosh ã«å ¥ã£ã¦åèµ·å ããã¯ã®ã¢ã¤ã³ã³ãå³ã¯ãªãã¯ãã¦åèµ·å æ¦è¦ croshã§ã®ããæ¹ãä½æ°ã«ããå¿ããã®ã§ãããã«ã¡ã¢ã æ®éã«ã¿ã¼ããã«ä¸ã§ exit ãã¦ãã¦ã£ã³ãã¦éãã¦ãã ããªã®ã§é§ç®ã§ãã 以ä¸ã®ï¼ã¤ã®æ¹æ³ã§åºæ¥ãã crosh ã«å ¥ã£ã¦åèµ·â¦
æ¦è¦ è¿½è¨ æ¦è¦ éã«ãVSCode ã version 1.50 㧠Linux ARM ãã«ãã追å ã«ãªãã¾ãããããã¯å¬ããï¼ ãã£ã¨ãARMã®chromebookã§æ¬å®¶ã®VSCode ã使ãã¾ããã 以ä¸ããªãªã¼ã¹ãã¼ãã«ãããã¦ããå 容ã転è¨ã VS Code is now available for both Linux Aâ¦
æ¦è¦ ãã®ã¾ã¾ãã¤ããé£çµãã¦ã¿ã 両æ¹ã« %s ã¤ãã¦ã¿ã LESSOPEN ã§ã¯ %s ã¯ä¸åãã使ããªã ã§ãã©ãããï¼ LESSCLOSEç°å¢å¤æ°ã使ã ã¾ã¨ã æ¦è¦ æè¿ãless ã³ãã³ãã«ã¤ãã¦è¨äºãã¡ããã¡ããæ¸ãã¦ã¾ãã devlights.hatenablog.com devlights.hateâ¦
æ¦è¦ GNU Source Highlight ã使ã lessãã¤ãç¨ã®ã·ã§ã«ã¹ã¯ãªãã ç°å¢å¤æ° LESSOPEN ã«è¨å® less ã® -R ãªãã·ã§ã³ãã»ããã§å¿ è¦ è£è¶³ï¼æ¯åæ¯å -X -R ã¨ãã¤ããã®é¢åããã è£è¶³ï¼lsã¨ãgrep㧠--color=always æå®ãã¦ããã¨ãã«ã使ãã æ¦è¦ ååâ¦
æ¦è¦ LESSOPENç°å¢å¤æ°ãè¨å®ãã æ¦è¦ ååãless ã³ãã³ãã«ã¤ãã¦è¨äºãæ¸ãã¾ããã devlights.hatenablog.com ã¤ãã§ãªã®ã§ãæ¥åç³»ã§ãã使ãTipsãã¡ã¢ã ä»ã®ä¸ã®ä¸ãå½ããåã®ããã« utf-8 ãªä¸çãªã®ã§ãããæªã ã« sjis ã¨ã euc-jp ãªãã¡ã¤ã«â¦
æ¦è¦ man è¦ã¦ã¿ã 試ãã¦ã¿ã å¥ã®ããæ¹ è£è¶³ï¼less 㧠ãããªãæ«å°¾ã表示ãããå ´å è£è¶³ï¼less 㧠è¡çªå·ã表示ãããå ´å è£è¶³ï¼ãã£ã¨ããããããã¦ç´ æ´ãããè¨äº æ¦è¦ ç¥ããªãã£ãã®ã§ã¡ã¢ã¡ã¢ãless 㧠tail -fã®ä»£ãããåºæ¥ãã¨ãã話ã§ãã wâ¦
æ¦è¦ æ¦è¦ ã²ãããªãã¨ã§çºè¦ãã curl ã«ã¤ãã¦ã®ããã¥ã¡ã³ããå¿ããªããã¡ã«ã¡ã¢ã¡ã¢ã GitBookã§å ¬éããã¦ãã¦ããã£ã¡ãç´°ããæ¸ããã¦ãã¾ããããªã¥ã¼ã ãåãã ec.haxx.se éå»ã®è¨äºã«ã¤ãã¦ã¯ã以ä¸ã®ãã¼ã¸ãããåç §ä¸ããã ããããåå¿é²â¦
æ¦è¦ OS ç¾å¨ã® git ã®ãã¼ã¸ã§ã³ git ã git ã§ã¯ãã¼ã³ ä»åã¤ã³ã¹ãã¼ã«ã®ãã¼ã¸ã§ã³ã®ã¿ã°ããã§ãã¯ã¢ã¦ã READMEã¨INSTALL ãèªã ä¾åã©ã¤ãã©ãªã®ç¨æ make make install ç¢ºèª åèæ å ± æ¦è¦ Chromebook ã® Linux ã³ã³ãã ã使ã£ã¦ãã¾ããããã£ã¹â¦
æ¦è¦ ãã使ãã·ã§ã¼ãã«ããã㼠便å©ãªã®ã«ããã¤ãå¿ãã¦ãã¾ã£ã¦ãã·ã§ã¼ãã«ãããã¼ åèæ å ± æ¦è¦ 以ä¸ãèªåç¨ã®ã¡ã¢ã§ãããã¤ãæéãçµã¤ã¨ããã«å¿ãã¦ãã¾ãã®ã§ããã«ã¡ã¢ã¡ã¢ã ãã使ãã·ã§ã¼ãã«ãããã¼ Ctrl+a è¡é ã«ç§»å Ctrl+e è¡æ«ã«â¦
æ¦è¦ Chromebook ã® Linux ã³ã³ãã ã«å ¥ãã¦ãã Go ãã¢ãããã¼ã ã¾ãã¯ãã¦ã³ãã¼ã 解åãã¦æå®ã®å ´æã«ç½®ã ã·ã³ããªãã¯ãªã³ã¯ãèª¿æ´ åèæ å ± ããããæ¸ç± æ¦è¦ Go 1.15 ããªãªã¼ã¹ããã¾ãããã blog.golang.org ãªãªã¼ã¹ãã¼ãã¨ãã«ã¤ãã¦ã¯â¦
æ¦è¦ uim-fepã¨uim-anthyã®ã¤ã³ã¹ãã¼ã« uim ã® è¨å® uim-fep ã®èµ·å㨠.profile ã¸èµ·åè¨å®è¿½å ãªããè¨å®ãããããã¦ããã¾ãåããªãå ´å åèæ å ± æ¦è¦ devlights.hatenablog.com devlights.hatenablog.com devlights.hatenablog.com devlights.hatenaâ¦
æ¦è¦ æ¦è¦ ç¸å¤ããã chromebook (ASUS Chromebook Flip C101PA) ãæç¨ãã¦ãã¾ãã devlights.hatenablog.com devlights.hatenablog.com devlights.hatenablog.com æ¬æ¥ããã¤ãã©ãã Linux ã®ã¿ã¼ããã«ãèµ·åãããããªãããã¤ã®éã«ãã¿ã¼ããã«ã¢ãâ¦
æ¦è¦ åæ LANGãå¤æ´ æ¥æ¬èªå ¥åã§ããããã«ãã (fcitx-anthy, fcitx-mozc) ã¿ã¼ããã«ã¢ããªã§ãæ¥æ¬èªå ¥åå¯è½ã«ãã ãã©ã³ã ã® ã¤ã³ã¹ãã¼ã« VSCode ã® ã¤ã³ã¹ãã¼ã« code-ossã®apt-line追å ã§åºãå ¬ééµã¨ã©ã¼ãè§£æ¶ è£è¶³ï¼ code-oss ã 1.45 ã«ãâ¦
æ¦è¦ åå¼·ããç°å¢ä½ã Github ã«ç»é² åå¼·ç¨ã®ãªãã¸ããªä½ã Gitpodã«ç»é²ãã Gitpodã®æ¡å¼µæ©è½ãChromeãã©ã¦ã¶ã«ã¤ã³ã¹ãã¼ã« Githubã®ãªãã¸ããªãGitpodã§éã ãã®ç°å¢ã®ã¡ãªãã ãã®ç°å¢ã®ãã¡ãªãã åè æ¦è¦ å人çã«ããå®ãåå¼·ã§ããç°å¢ãâ¦
æ¦è¦ busterã«ã¢ããã°ã¬ã¼ãåã«stretchã®ææ°çã«ãã¦ãã apt ã®è¨å®ãã¡ã¤ã« (/etc/apt/sources.list) ãèª¿æ´ ã¢ããã°ã¬ã¼ãå®è¡ ç¢ºèª ãã±ã¼ã«ã®å¤æ´ ã¿ã¼ããã«ã®ãããã¡ã¤ã«ã®å¤æ´ åèã«ããæ å ± æ¦è¦ support.google.com ã«ããéããæè¿ã® Chroâ¦
æ¦è¦ linuxï¼ãã¼ã¿çï¼ããªã³ã«ãã OSã®ç¢ºèª ããã±ã¼ã¸ãææ°ã«æ´æ° gccã¨ããã¤ã³ã¹ãã¼ã« Goã®ãã¦ã³ãã¼ã GOã®ç°å¢å¤æ°ãè¨å® go get ã§ä½¿ããã¼ã«é¡ããã¦ã³ãã¼ã git ã®è¨å® æ¥æ¬èªã®è¨å® Visual Studio Code ã¯ï¼ vim 㧠ctrl-[ ãã¦ããã¼ãã«ã¢â¦