ãã¹ã¯ãããç°å¢æ§ç¯ã®ç·Žç¿ãšããŠãå æ¥ãã³ãŒããŒããŒã ãçºè¡šããã Linux Mint 17.1 Rebecca ã Ubuntu Server ã«å ¥ããŠã¿ãã
Ubuntu Serve ã®ã€ã¡ãŒãžãããŠã³ããŒããããä»å㯠Ubuntu 14.04.1 LTS Server (32-bit) ã䜿çšã32-bit ç㯠Alternative downloads ã®ããŒãžã«çœ®ããŠããã500 MB çšåºŠãªã®ã§è»œããæŽã«è»œã Minimal CD çãäœæ¥æ¹æ³ã¯ã»ãŒåãããã€ã³ã¹ããŒã«ã¯ã»ãŒã¬ã€ãéãã§è¿œå ããã±ãŒãžã®ã€ã³ã¹ããŒã«ã¯ OpenSSH ã®ã¿è¡ããUbuntu ã®ã€ã³ã¹ããŒã«ãçµäºããŠåèµ·åãããã³ã³ãœãŒã«ã§ãã°ã€ã³ã㊠/etc/apt/sources.list
ã« Linux Mint ã®ãªããžããªãè¿œå ããã
deb http://packages.linuxmint.com rebecca main upstream import deb http://extra.linuxmint.com rebecca main
/etc/apt/preferences
ãäœæãããªããžããªã®åªå
é äœãå€æŽããããããè¡ããªããš mintsources
ãš software-properties-gtk
ãªã©ãè¡çªã㊠mint-meta-cinnamon
ãã€ã³ã¹ããŒã«ã§ããªããLinux Mint æ¬æ¥ã®ãªããžããªèšå®ã¯ /etc/apt/preferences.d/official-package-repositories.pref
ã§èšå®ããŠããã
Package: * Pin: release o=linuxmint Pin-Priority: 700 Package: * Pin: origin packages.linuxmint.com Pin-Priority: 700 Package: * Pin: release o=Ubuntu Pin-Priority: 500
ã¢ããããŒããå®è¡ããlinuxmint-keyring
ãã Linux Mint ãµãŒãã®å
¬ééµãååŸããããããè¡ããªããš NO_PUBKEY ãšã©ãŒã«ãªãã
sudo aptitude update
sudo aptitude install linuxmint-keyring
å床ã¢ããããŒããå®è¡ããNO_PUBKEY ãšã©ãŒãåºãªãããšã確èªããŠã¢ããã°ã¬ãŒããå®è¡ããã
sudo aptitude update sudo aptitude upgrade
Cinnamon ãã¹ã¯ãããç°å¢ã®ã€ã³ã¹ããŒã«
ãŸã㯠xorg
ãš libglib2.0-bin
ãäœæ¥äžã«æ°ã¥ãããã© libglib2.0-bin
ãç¡ããš Mint-X ã®ã¢ã€ã³ã³ãçæåºæ¥ãã«ãšã©ãŒã«ãªãã£ãœãïŒ
sudo aptitude install xorg libglib2.0-bin
Linux Mint Cinnamon ã®ã¡ã¿ããã±ãŒãžãã€ã³ã¹ããŒã«ãããMint ãšããŠèµ·åããããŒã«ã¯ããã ãã§ã»ãŒæããmdm
ãš mint-mdm-themes
ã¯ã»ããã«ãªã£ãŠããªããããªã®ã§å¥éæå®ã
sudo aptitude install mint-meta-cinnamon mdm mint-mdm-themes
èªåã䜿ã£ãŠããã®ã¯ NVIDIA ã®ã°ã©ãã£ãã¯ã«ãŒããªã®ã§ãã©ã€ãã APT ã§ã€ã³ã¹ããŒã«ããŠããŸããããã§ãã°ã€ã³ããŠãããã©ã€ããããŒãžã£ãéãæéãçãããRADEON ãš Intel ã¯æå ã«ç©ããªãã®ã§ããããããªãã
sudo aptitude nvidia-331
åèµ·åããã°åæã« mdm ãç«ã¡äžããã¯ãã
sudo reboot
OS æ å ±ã®ä¿®æ£
Welcome Screen ã§ç¢ºèªãããšè¡šèšã Xfce çã«ãªã£ãŠããã®ã§ /etc/linuxmint/info
å
ã® Xfce ã«ãªã£ãŠããéšåã Cinnamon ã«ä¿®æ£ãããURL ã«é¢ããŠã¯ä»ã®ãšãã Rebecca çšã®ããŒãžã¯ååšããªããGRUB_TITLE ã¯ããŒã¹ã Ubuntu Server ãªã®ã§ããã§å€æŽããŠãå€åæå³ã¯ãªãã
ELEASE=17.1 CODENAME=rebecca EDITION="Cinnamon 32-bit" DESCRIPTION="Linux Mint 17.1 Rebecca" DESKTOP=Cinnamon TOOLKIT=GTK NEW_FEATURES_URL=http://www.linuxmint.com/rel_rebecca_cinnamon_whatsnew.php RELEASE_NOTES_URL=http://www.linuxmint.com/rel_rebecca_cinnamon.php USER_GUIDE_URL=help:linuxmint GRUB_TITLE=Linux Mint 17.1 Cinnamon 32-bit
ãã©ã³ãã®ã€ã³ã¹ããŒã«
UI çšãšæ¥æ¬èªçšãã©ã³ããã€ã³ã¹ããŒã«ããããã®èŸºã¯å¥œã¿ã§ã
wget https://www.google.com/get/noto/pkgs/NotoSansCJKJP-hinted.zip mkdir -p ~/.local/share/fonts/Noto unzip NotoSansCJKJP-hinted.zip -d ~/.local/share/fonts/Noto wget --content-disposition http://www.fontsquirrel.com/fonts/download/cousine mkdir -p ~/.local/share/fonts/Cousine unzip cousine.zip -d ~/.local/share/fonts/Cousine sudo aptitude install fonts-ipafont fonts-ipaexfont fonts-vlgothic fonts-roboto
fontconfig ã®èšå®ãå€æŽããã~/.config/fontconfig/fonts.conf
ã§äœæãããš GUI ã§ãã³ãã£ã³ã°èšå®ãè¡ã£ãæã«äžæžããããïŒãããªæ°ãããã®ã§ãã£ã¬ã¯ããªã«è¿œå ãconf.d
ã«çœ®ããã¡ã€ã«ã¯å
é ã« 10-
ã®ãããªçªå·ãã€ããŠããªããšèªã¿èŸŒãŸããªãã
mkdir -p ~/.config/fontconfig/conf.d vi ~/.config/fontconfig/conf.d/10-alias.conf
ãã€ã alias ã ãã©ä»å㯠match ã§èšå®ãããmode="prepend"
ã«ããªããšäžæžãããŠãããªããããèšå®ã¯æ°ç§åŸã«åæ ãããïŒã¿ãŒããã«ãèµ·åããŠããã°ãã©ã³ããå€ããã®ããããã¯ãïŒãã©ã®ãã©ã³ããå²ãåœãã£ãŠããã㯠fc-match
ã§ç¢ºèªã§ããã
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- alias ã§èšå®ããå Žå --> <!-- <alias> <family>sans-serif</family> <prefer> <family>Roboto</family> <family>Noto Sans CJK JP</family> </prefer> </alias> <alias> <family>serif</family> <prefer> <family>IPAexMincho</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Cousine</family> <family>VL Gothic</family> </prefer> </alias> --> <!-- match ã§èšå®ããå Žå --> <match target="pattern"> <test qual="any" name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Roboto</string> <string>Noto Sans CJK JP</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>IPAexMincho</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>monospace</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Cousine</string> <string>VL Gothic</string> </edit> </match> </fontconfig>
ã¡ã¢ïŒalias
ã® prefer
ã¯åãaccept
ã¯åŸãdefault
ã¯æåŸãedit
ã® assign
ã¯ãã®èŠçŽ ãprepend
ã¯åãappend
ã¯åŸã
ã¡ã¢ïŒuim-toolbar-gtk
ãªã©ãå®è¡ãããšäžæ£ãªè¡ã«é¢ããã¡ãã»ãŒãžãåŸãããšãã§ããã
ã¡ã¢ïŒbinding
ã same
ã ãš alternatives ã§èšå®ãããŠãããã©ã³ãã«åªå
床ãè² ããããããstrong
ãããããã
ããŒããã©ã³ãã®å€æŽ
Zuikitwo-Dark-Cinnamon ã®å Žåãã·ã¹ãã ã«ååšããããŒãã®å Žå㯠~/.theme
ã«ã³ããŒã㊠cinnamon.css
ãç·šéãããfontconfig ãšã¯éãå³æåæ ã§ã¯ãªãã®ã§ç·šéãããä»ã®ããŒãã«åãæ¿ããŠå
ã«æ»ãã
### ããã¯ã¢ãã ### cp ~/.themes/Zukitwo-Dark-Cinnamon/cinnamon/cinnamon.css{,.default} ### 眮æ ### sed -i '/font-family:/s/Droid Sans/Roboto/' ~/.themes/Zukitwo-Dark-Cinnamon/cinnamon/cinnamon.css
ãã¹ã¯ããããã©ã³ãã®å€æŽ
ãã¹ã¯ããã㯠nemo ã管çããŠããã®ã§ã¹ããŒããå€æŽãããGUI ã§æäœããå Žå㯠dconf-editor
ãå°å
¥ãããšè¯ãã
### çŸåšã®å€ãååŸ ### gsettings get org.nemo.desktop font ### å€ãèšå® ### gsettings set org.nemo.desktop font 'Roboto 10'
ãã¹ã¯ãããã¢ã€ã³ã³ãé衚瀺ã«ããå Žåã
gsettings set org.nemo.desktop show-desktop-icons false
Google Chrome ã®ã€ã³ã¹ããŒã«
mint-meta-cinnamon
ã§ã¯ Firefox ã®ã€ã³ã¹ããŒã«ã¯è¡ãããªããããïŒMint çã¯ããšããšäœ¿ãäºå®ããªãã®ã§å¥œéœåïŒã Google Chrome ãã€ã³ã¹ããŒã«ããã
wget http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo aptitude install gdebi
sudo gdebi google-chrome-stable_current_i386.deb
/usr/share/applications/google-chrome.desktop
ã« StartupWMClass
ãè¿œå ã㊠Exec
è¡ã«ç°å¢å€æ°ã®æå®ãè¿œå ãããExec
è¡ã¯ New Window ãš Incognito ã«ãããã®ã§ãã¡ããç·šéããŠããã
StartupWMClass=Google-chrome-stable Exec=env LANG=en_US.UTF-8 LANGUAGE=en_US:en:ja_JP:ja /usr/bin/google-chrome-stable %U
chrome://settings/fonts
ã§ãã©ã³ããå€æŽãããSans
ãªã©ãéžæããŠããã° fontconfig ã®èšå®å€ã«ãªããæ€çŽ¢ããŒãªã©ã®æ¥æ¬èªãæååãããå Žåã¯ãã±ãŒã«ãè¿œå ããå¿
èŠããããããããªãã
echo ja_JP.UTF-8 UTF-8 | sudo tee /var/lib/locales/supported.d/ja sudo locale-gen
ãªããæè¿ Google Chrome ã®æåãããããããªããªã£ãŠããâŠã
nemo terminal ã®ã€ã³ã¹ããŒã«
KDE ã®ãã¡ã€ã«ãã©ãŠã¶ Dolphin ã䜿ã£ãŠããŠæ°ã«å ¥ã£ãã®ã§ Nemo ã«ãã¿ãŒããã«æ¡åŒµãå°å ¥ãããïŒDolphin ã¯æåãããã®æ©èœã䜿ããïŒ
sudo aptitude install nemo-terminal
ãã®ãŸãŸã ãš Python ã©ã€ãã©ãªã®ãšã©ãŒã«ãªãã®ã§ã·ã³ããªãã¯ãªã³ã¯ãæ°ãã«äœæããã
sudo ln -s /usr/lib/i386-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1 sudo ln -s /usr/lib/i386-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1.0
add-apt-repository ãš software-properties-gtk ãå®è¡ã§ããªãïŒ
è¿œèšïŒ 1.3.5 ã§ä¿®æ£ãããŠãŸããmintsources
1.3.5 ã§ä¿®æ£ãããããïŒ
add-apt-repository
ã software-properties-gtk
ãå®è¡ãããšä»¥äžã®ãããªãšã©ãŒã«ãªãã
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1262, in <module> Application().run() File "/usr/lib/linuxmint/mintSources/mintSources.py", line 559, in __init__ if self.config["general"]["use_ppas"] == "false": KeyError: 'general'
ã°ã°ã£ãŠã¿ããš /etc/lsb-release
ã«æžãããŠãã DISTRIB_CODENAME
ãåå ãããã確èªããŠã¿ããš DISTRIB_CODENAME=rebecca
ã ã£ãããŸã 察å¿ããŠãªãã®ã ãããïŒãšãããã qiana
ã«å€æŽãããšãããå®è¡ã§ããããã«ãªã£ãã
DISTRIB_ID=LinuxMint DISTRIB_RELEASE=17.1 DISTRIB_CODENAME=qiana DISTRIB_DESCRIPTION="Linux Mint 17.1 Rebecca"
ã§ãããåèµ·åãããšæ»ããã ãã©âŠã
dpkg -L mintsources
ããŠã¿ããš /usr/share/mintsources
ã«é¢é£ãã¡ã€ã«ããããããã« rebecca
ã®ãã£ã¬ã¯ããªãç¡ãã®ãåé¡ãªããã ããã®äžã®ãã¡ã€ã«ã«ã¯ Canonical ããŒãããŒã®ãªããžããªãè¿œå ããèšå®ãæžãããŠããã
cd /usr/share/mintsources sudo cp -R qiana rebecca cd rebecca sudo sed -i 's/Qiana/Rebecca/;s/qiana/rebecca/' *.conf *.list
aptitude update
ããŠã¿ããšéè€ãšã³ããªããããšã®ããšã/etc/apt/sources.list
ã Ubuntu Server çšã®ãã®ãªã®ã§ /usr/share/mintsources/rebecca/official-{package,source}-repositories.list
ã®ãšã³ããªãšè¢«ã£ãŠããããã ã
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-i386_Packages) W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-i386_Packages) W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-i386_Packages) W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-i386_Packages) W: You may want to run apt-get update to correct these problems
/etc/apt/sources.list
å
ã® security.ubuntu.com
è¡ãã³ã¡ã³ãã¢ãŠããããããšãæåã«è¿œå ãã packages.linuxmint.com
ãš extra.linuxmint.com
ãããšããããããã§æ§åèŠã
ãã®ããš uim-mozc ãã Conky ãã Docky ãšãå ¥ããŠã¿ãŠã€ã³ã¹ããŒã«ãµã€ãºã¯ 4 GB 匱ãMinimal CD ã§æ§æããå Žåã¯çŽ 2.8 GB ã ã£ãïŒããã§ããã£ã¡ã¯ upgrade ããªãã£ãããïŒã
KDE ãšéã£ãŠãã°ã€ã³æ©ããªãâŠïŒãšããã KDE ãé ãããã ããªãã ãã©ãïŒã