使用Debootstrap 安裝 Linux Mint 18 [XFCE] [論壇 - LinuxMint]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



使用Debootstrap 安裝 Linux Mint 18 [XFCE]
會員四級
註冊日期:
2015/9/29 21:19
所屬群組:
已註冊使用者
等級: 16
HP : 0 / 380
MP : 100 / 4510
EXP: 22
離線
可以使用任何一版有APT套件管理的LiveCD來安裝 Linux Mint 18
建議使用基於ubuntu 15.04 以上的版本安裝
genfstab只支援mount-2.25以上的版本
ubuntu 14.xx 以前只能手動建立fstab

範例: XFCE

安裝 debootstrap
$ sudo apt-get install debootstrap
或直接下載使用dpkg安裝
$ wget http://tw.archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.78_all.deb
$ sudo dpkg -i debootstrap_*.deb

格式化分割區
範例:sda3
$ sudo su
# mkfs.ext3 /dev/sda3 # ext4 格式化工具
# mkfs.ext3 -F /dev/sda3 # 強制格式化
# mkswap /dev/sdax # swap 格式化工具
貼上標籤XFCE
# e2label /dev/sda3 XFCE

掛載安裝目標分割區到/mnt
範例:sda3
# mount /dev/sda3 /mnt

安裝 Ubuntu 16.04 Xenial Xerus base
debootstrap --arch [ARCH] [版本] [掛載目錄] [套件庫來源]
套件庫來源參考
http://wiki.ubuntu-tw.org/index.php?title=%E5%A5%97%E4%BB%B6%E5%BA%AB%E4%BE%86%E6%BA%90

安裝64-bit版本
# debootstrap --arch amd64 xenial /mnt http://tw.archive.ubuntu.com/ubuntu

安裝32-bit版本
# debootstrap --arch i386 xenial /mnt http://tw.archive.ubuntu.com/ubuntu

配置新系統sources
# sed -i '$a deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' /mnt/etc/apt/sources.list
# sed -i '$a deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse' /mnt/etc/apt/sources.list
# sed -i '$a deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse' /mnt/etc/apt/sources.list

若有獨立的/boot分割區
# mount /dev/sdax /mnt/boot

安裝genfstab
# wget https://projects.archlinux.org/arch-install-scripts.git/snapshot/arch-install-scripts-15.tar.gz
# tar -zxvf arch-install-scripts-15.tar.gz
# cd arch-install-scripts-15
# make
# cp genfstab /usr/bin
# cd ../

建立fstab
# genfstab -U /mnt > /mnt/etc/fstab

掛載虛擬檔案系統
# mount --bind /dev /mnt/dev
# mount --bind /dev/pts /mnt/dev/pts
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys

切換到新系統
# chroot /mnt

更新 sources.lst
# apt-get update

安裝 Linux 核心
查看linux-image版本與headers
# apt-cache search linux-image
# apt-cache search linux-headers

# apt-get install linux-image-4.4.0-11-generic
# apt-get install linux-firmware
# apt-get install linux-image-extra-4.4.0-11-generic
# apt-get install linux-headers-4.4.0-11-generic

安裝 Grub Boot loader
如果安裝核心時grub2已經安裝過, 就跳過此步驟.
BIOS
# apt-get install grub2 os-prober
# grub-install --recheck /dev/sda # BIOS/MBR
# grub-install --force /dev/sda # BIOS/GPT

UEFI
# apt-get install grub2 efibootmgr os-prober
# mkdir /boot/EFI
# mount /dev/sda1 /boot/EFI
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=ubuntu --recheck

建立開機選單
# grub-mkconfig -o /boot/grub/grub.cfg

# update-grub


設定主機名稱
範例: localhosts
# echo localhosts > /etc/hostname

設定系統時間
# dpkg-reconfigure tzdata

# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime

設定系統顯示時間為localtime(BIOS顯示時間)
# hwclock --systohc --localtime

設定 root 密碼
# passwd

建立使用者帳號與密碼
範例: 帳號名稱: mint
# apt-get install sudo
# useradd -m -g users -s /bin/bash mint
設定密碼
# passwd mint
加入群組
# gpasswd -a mint sudo
# gpasswd -a mint users

sudo免密碼(可選)
# sed -i -e '/%admin/s/ALL=(ALL) ALL/ALL=(ALL) NOPASSWD:ALL/' /etc/sudoers
# sed -i -e '/%sudo/s/ALL=(ALL:ALL) ALL/ALL=(ALL) NOPASSWD:ALL/' /etc/sudoers

驅動安裝
# apt-get install xorg #顯示/輸入
# apt-get install alsa-utils # 音效卡驅動
# apt-get install ntfs-3g # NTFS File System Support
# apt-get install gvfs # Partition Mount Tools
# apt-get install pcscd pcsc-tools # 晶片讀卡機驅動(可選)

其他工具
# apt-get install pciutils # lspci
# apt-get install xbacklight # 亮度調整工具
# apt-get install genisoimage xorriso # xorriso -as mkisofs
# apt-get install squashfs-tools # squashfs
# apt-get install wget git subversion # NetTools

NetworkManager 面板程式(GTK)
# apt-get --no-install-recommends install network-manager network-manager-pptp
# apt-get install ppp modemmanager iputils-arping iptables crda
# apt-get install network-manager-gnome network-manager-pptp-gnome
# apt-get install network-manager-openvpn

ubuntu安裝完基本的xgrg跟驅動後, 直接安裝Meta包可以建立一個只有Mint應用程式的基本圖形界面.
mint-meta-xfce Mint版XFCE圖形界面
mint-meta-kde Mint版KDE圖形界面
mint-meta-mate Mint版MATE圖形界面
mint-meta-cinnamon Mint版Cinnamon圖形界面

安裝XFCE4桌面
以下參考mint-meta-xfce套件修正
不安裝ubuntu推薦佈景主題.
# apt-get --no-install-recommends install xfce4-settings

安裝XFCE基本套件
一般安裝
# apt-get install xfce4-appfinder xfce4-panel xfce4-session xfconf xfdesktop4 xfwm4 xfce4-dict xfce4-notifyd xfce4-taskmanager xfce4-terminal xfce4-power-manager xfce4-screenshooter xfce4-volumed

# apt-get install xfce4-places-plugin xfce4-datetime-plugin xfce4-weather-plugin xfce4-xkb-plugin xfce4-cpufreq-plugin xfce4-eyes-plugin xfce4-mailwatch-plugin xfce4-quicklauncher-plugin xfce4-screenshooter-plugin xfce4-systemload-plugin xfce4-timer-plugin xfce4-time-out-plugin xfce4-verve-plugin xfce4-whiskermenu-plugin xfce4-indicator-plugin

精簡安裝
# apt-get --no-install-recommends install xfce4-appfinder xfce4-panel xfce4-session xfconf xfdesktop4 xfwm4 xfce4-dict xfce4-notifyd xfce4-taskmanager xfce4-terminal xfce4-power-manager xfce4-screenshooter xfce4-volumed

# apt-get --no-install-recommends install xfce4-places-plugin xfce4-datetime-plugin xfce4-weather-plugin xfce4-xkb-plugin xfce4-cpufreq-plugin xfce4-eyes-plugin xfce4-mailwatch-plugin xfce4-quicklauncher-plugin xfce4-screenshooter-plugin xfce4-systemload-plugin xfce4-timer-plugin xfce4-time-out-plugin xfce4-verve-plugin xfce4-whiskermenu-plugin xfce4-indicator-plugin

# apt-get install tumbler

安裝 Plymouth 主題(開機畫面)
# apt-get install plymouth-label plymouth-theme-ubuntu-text

Mint Plymouth 主題(可選)
mint logo aqua (藍)
# wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/mint-logo-aqua_1.0_all.deb
# dpkg -i mint-logo-aqua_1.0_all.deb
mint-logo-aqua (綠)
# wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/mint-logo-maya_1.0_all.deb
# dpkg -i mint-logo-maya_1.0_all.deb

安裝thunar相關套件
# apt-get install thunar-media-tags-plugin

thunar-archive-plugin 預設包含 xarchiver
使用 xarchiver
# apt-get install thunar-archive-plugin
使用 file-roller
# apt-get install file-roller thunar-archive-plugin

Pulse Audio Mixer
# apt-get install pavucontrol

面板音量控制圖示
# apt-get install indicator-sound-gtk2

# wget https://github.com/Mint-Fans/debian-package/raw/ubuntu/pa-applet_17.33-1_amd64.deb
# dpkg -i pa-applet_17.33-1_amd64.deb

滑鼠游標主題
adwaita 游標主題
# apt-get install adwaita-icon-theme-full

dmz (ubuntu 預設)
# apt-get install dmz-cursor-theme

佈景主題GTK引擎
# apt-get install gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf
# apt-get install gtk2-engines-oxygen (可選)

其他 (可選)
# apt-get install firefox firefox-locale-zh-hant # firefox
# apt-get install flashplugin-installer # Adobe Flash Player
# apt-get install leafpad (簡易文字編輯器)
# apt-get install gparted (磁碟管理工具)
# apt-get install vlc (VLC播放器)
# apt-get install parole (XFCE播放器 可選)
# apt-get install simple-scan (簡易掃描)
# apt-get install system-config-printer-gnome (列印)
# apt-get install gucharmap (字元對應表)
# apt-get install gnome-calculator (計算機)
# apt-get install pidgin (即時通)
# apt-get install thunderbird (mail)
# apt-get install transmission-gtk (BT續傳)
# apt-get install evince (文件檢視器)
# apt-get install gnome-font-viewer (字型檢視器)
# apt-get install catfish (搜尋檔案)
# apt-get install banshee (音樂播放器)
# apt-get install ristretto (圖片檢視器)
# apt-get install gthumb (簡易圖形編輯)
# apt-get install brasero 或 Xfburn (燒錄工具)
# apt-get install gdebi (套件安裝程式)

藍芽管理-GTK(建議重開機後安裝)
# apt-get install blueman

=============================================
設定語言
=============================================
$ sudo su
# apt-get install locales
# locale-gen zh_TW.UTF-8
# echo LANG=zh_TW.UTF-8 > /etc/default/locale
# sed -i '$a LANGUAGE=zh_TW:zh' /etc/default/locale
# sed -i '$a LC_NUMERIC=zh_TW.UTF-8' /etc/default/locale

安裝中文語言包
# apt-get install language-pack-zh-hant language-pack-zh-hant-base language-pack-gnome-zh-hant language-pack-gnome-zh-hant-base

=============================================
Ubuntu + Xfce4 桌面到此安裝完成.
如不升級Mint桌面可以裝其他顯示管理器與主題.
=============================================

#############################################
升級 Linux Mint 桌面
#############################################
安裝前預備動作
# ln -s /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas /usr/bin/glib-compile-schemas

添加 Linux Mint sarah sources
# cd /tmp
# wget http://packages.linuxmint.com/pool/main/l/linuxmint-keyring/linuxmint-keyring_2009.04.29_all.deb
# dpkg -i linuxmint-keyring_2009.04.29_all.deb
# rm /var/lib/apt/lists/*
# rm /etc/apt/sources.list.d/official-package-repositories.list
# sh -c 'echo "deb http://packages.linuxmint.com/ sarah main upstream import backport romeo" >> /etc/apt/sources.list.d/official-package-repositories.list'
# apt-get update

Mint系統套件
# apt-get install mint-artwork-xfce

# apt-get --no-install-recommends install mint-artwork-xfce

# apt-get install ubuntu-system-adjustments
# apt-get install grub2-theme-mint

Mint Firefox 調整修正
# wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/mint-firefox-adjustments.tar.gz
# tar -zxvf mint-firefox-adjustments.tar.gz
# ./mint-firefox-adjustments

安裝 Mint-X 主題
# apt-get install mint-themes

安裝 MDM 顯示管理器
# apt-get install mdm
mdm 背景修復
# wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/mdm-fix.tar.gz
# tar -zxvf mdm-fix.tar.gz
# ./mdm-fix

安裝Mint字形
完整安裝
# apt-get install ttf-dejavu ttf-dejavu-extra ttf-wqy-microhei fonts-noto fonts-droid fonts-liberation
最小安裝
# apt-get install fonts-dejavu fonts-wqy-microhei

Mint 應用程式依賴安裝
# apt-get install python-apt python-dbus

驅動程式管理員依賴
# apt-get install aptdaemon

Mint 應用程式(可選)
# apt-get install mintdesktop # 桌面設定
# apt-get install mintbackup # 備份工具
# apt-get install mintdrivers # 驅動程式管理員
# apt-get install mintinstall # 軟體管理員
# apt-get install mintlocale # 語言設定/輸入法
# apt-get install mintnanny # 網域封鎖器
# apt-get install mintupdate # 更新管理員
# apt-get install mintsources mint-mirrors # 軟體來源
# apt-get install mintupload # 上傳管理員
# apt-get install mintwelcome # 歡迎畫面
# apt-get install mintstick # USB格式化與映像檔寫入工具

/////// 暫時作法 /////////////////////////////
Mint應用程式修復
需要舊版python-apt的gtk2.py
python-apt (trusty-updates)
# wget http://mirrors.kernel.org/ubuntu/pool/main/p/python-apt/python-apt_0.9.3.5ubuntu2_amd64.deb
or
# wget http://mirrors.kernel.org/ubuntu/pool/main/p/python-apt/python-apt_0.9.3.5ubuntu2_i386.deb
# dpkg -X python-apt_0.9.3.5ubuntu2_*.deb python-apt
# cp python-apt/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py /usr/lib/python2.7/dist-packages/apt/progress/

Mint輸入法修復(ubuntu im-config 0.29)
# sed -i 's/echo "$IM_CONFIG_PREFERRED"/# echo "$IM_CONFIG_PREFERRED"/g' /usr/bin/im-config
# sed -i 's/echo "$IM_CONFIG_AUTOBASE"/# echo "$IM_CONFIG_AUTOBASE"/g' /usr/bin/im-config

網域封鎖器修復
# sed -i 's/if domain.startswith/# if domain.startswith/g' /usr/lib/linuxmint/mintnanny/mintnanny.py
# sed -i 's/domain = domain/# domain = domain/g' /usr/lib/linuxmint/mintnanny/mintnanny.py
# sed -i 's/if len(domain.split/# if len(domain.split/g' /usr/lib/linuxmint/mintnanny/mintnanny.py
# sed -i 's/prefixes.append/# prefixes.append/g' /usr/lib/linuxmint/mintnanny/mintnanny.py

////////////////////////////////////////////
Mint應用程式鑰匙圈密碼解除
# sed -i 's/Exec=mintnanny/Exec=sudo mintnanny/g' /usr/share/applications/mintNanny.desktop
# sed -i 's/Exec=mintbackup/Exec=sudo mintbackup/g' /usr/share/applications/mintBackup.desktop
# sed -i 's/Exec=software-sources/Exec=sudo software-sources/g' /usr/share/applications/mintsources.desktop
# sed -i 's/Exec=gksu mintinstall/Exec=sudo mintinstall/g' /usr/share/applications/mintinstall.desktop
# sed -i 's/Exec=gksu/Exec=sudo/g' /usr/share/mdm/applications/mdmsetup.desktop

Mint 桌布 (可選)
# apt-get install mint-backgrounds-rosa
# apt-get install mint-backgrounds-retro
# apt-get install mint-backgrounds-rebecca
# apt-get install mint-backgrounds-rafaela
# apt-get install mint-backgrounds-qiana
# apt-get install mint-backgrounds-petra
# apt-get install mint-backgrounds-olivia
# apt-get install mint-backgrounds-nadia
# apt-get install mint-backgrounds-maya

Mint 開發工具 (可選)
# apt-get install mint-dev-tools

Mint 多媒體應用
參考 mint-meta-codecs
解碼器
新版
# apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly streamer1.0-libav
舊版
# apt-get install gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg

DVD Utility
# apt-get install libdvdnav4 libdvdread4
# apt-get install libdvdcss2

xplayer 播放器「Totem 3.10 復刻版」 (可選)
# apt-get install xplayer xplayer-mozilla xplayer-plugins

Mint 應用程式 (可選)
# apt-get install xviewer # Mint 圖片檢視器
# apt-get install xreader # Mint 文件閱讀器
# apt-get install xed # Mint 文字編輯器

Live CD 工具 (可選)
# apt-get install syslinux syslinux-legacy
# apt-get install syslinux-themes-linuxmint-xfce

#############################################

# apt-get autoremove --purge
# apt-get autoclean
# apt-get clean all

退出
# exit

卸載虛擬檔案系統
# umount /mnt/dev/pts
# umount /mnt/dev
# umount /mnt/proc
# umount /mnt/sys

若有掛載獨立的 /boot 分割區
# umount /mnt/boot
卸載最後裝置
# umount -l /mnt
# exit

重新啟動


=============================================
系統設定
=============================================
XFCE 自訂桌面調整
$ wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/xfce-desktop-adjustments.tar.gz
$ tar -zxvf xfce-desktop-adjustments.tar.gz
$ sudo ./xfce

XFCE 系統工具 (genfstab deb iso nrg sfs 腳本)
$ wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/xfce-utility.tar.gz
$ tar -zxvf xfce-utility.tar.gz
$ sudo ./xfce-utility

應用程式鑰匙圈密碼解除
$ sudo sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/com.ubuntu.pkexec.gparted.policy
$ sudo sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/org.xfce.thunar.policy
$ sudo sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy
$ sudo sed -i -e '/allow_active/s/auth_admin_keep/yes/' /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy

----------------------
移除Mint更新程式開機自動啟動
$ sudo rm /etc/xdg/autostart/mintupdate.desktop

應用程式啟動器隱藏/顯示設定
$ sudo sed -i '/NoDisplay=true/d' /usr/share/applications/gksu.desktop
$ sudo sed -i '$a NoDisplay=true' /usr/share/applications/fcitx.desktop
$ sudo sed -i '$a NoDisplay=true' /usr/share/applications/fcitx-configtool.desktop
$ sudo sed -i '$a NoDisplay=true' /usr/share/applications/mint-xfce4-lock.desktop

Mint deb icon 修復
$ wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/mint-x-icons-fix
$ sudo chmod 755 ./mint-x-icons-fix
$ sudo ./mint-x-icons-fix

Mint-X主題指示器鍵盤圖示修正 (fcitx 可選)
$ sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/icons/Mint-X/devices/22/input-keyboard.png
$ sudo cp /usr/share/icons/Mint-X/status/24/ibus-keyboard.png /usr/share/icons/Mint-X/devices/24/input-keyboard.png
$ sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/icons/Mint-X/status/scalable/keyboard.png
$ sudo update-icon-caches /usr/share/icons/Mint-X

系統應用缺圖修正
安裝faenza圖示與mint風格較為接近
$ sudo add-apt-repository ppa:noobslab/icons
$ sudo apt-get update
$ sudo apt-get install faenza-icon-theme
$ sudo sed -i 's/Inherits=gnome/Inherits=Faenza,gnome/g' /usr/share/icons/Mint-X/index.theme
Mint指示器鍵盤圖示 (fcitx 可選)
$ cd /usr/share/icons/Faenza/devices/22/
$ sudo mv input-keyboard.png bak-input-keyboard.png
$ sudo cp keyboard.png input-keyboard.png
$ cd /usr/share/icons/Faenza/devices/24/
$ sudo mv input-keyboard.png bak-input-keyboard.png
$ sudo cp keyboard.png input-keyboard.png
$ sudo update-icon-caches /usr/share/icons/Faenza

更新應用程式關聯設定
rm /usr/share/applications/mate-color-select.desktop
rm /usr/share/applications/mate-disk-usage-analyzer.desktop
rm /usr/share/applications/caja-browser.desktop
rm /usr/share/applications/mate-system-monitor.desktop
rm /usr/share/applications/mate-terminal.desktop
rm /usr/share/applications/atril.desktop
rm /usr/share/applications/eom.desktop
rm /usr/share/applications/engrampa.desktop
rm /usr/share/applications/mate-search-tool.desktop
rm /usr/share/applications/mate-dictionary.desktop
rm /usr/share/applications/pluma.desktop

# update-mime-database /usr/share/mime/
# update-desktop-database /usr/share/applications/

更新系統設定
# glib-compile-schemas /usr/share/glib-2.0/schemas

設定螢幕亮度與伽瑪
$ sudo leafpad /usr/bin/display-setup
====內容==============
#!/bin/bash

xbacklight -set 80
xgamma -gamma 0.7
======================
$ sudo chmod 755 /usr/bin/display-setup

$ sudo leafpad /etc/xdg/autostart/display-setup.desktop
[Desktop Entry]
Type=Application
Name=Display Setup
Comment=Launch Display Setup
Icon=preferences-desktop-screensaver
Exec=display-setup

2016/2/19 20:03
應用擴展 工具箱
回覆: 使用Debootstrap 安裝 Linux Mint 18
會員四級
註冊日期:
2015/9/29 21:19
所屬群組:
已註冊使用者
等級: 16
HP : 0 / 380
MP : 100 / 4510
EXP: 22
離線
Mint - XFCE 組態個人化設定

$ sudo su

終端機字形修改
# sed -i -e '/FontName/s/Monospace 10/DejaVu Sans Mono 9/' /usr/share/mint-configuration-xfce/Terminal/terminalrc

設定螢幕快照快捷鍵
# sed -i 's/xfce4-screenshooter/xfce4-screenshooter -f/g' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

視窗風格設定
# sed -i -e '/theme/s/Mint-X/Default/' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

設定視窗字型(如沒安裝Noto字型)
# sed -i -e '/title_font/s/Noto Sans Bold 9/WenQuanYi Micro Hei 9/' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

外觀字型設定(如沒安裝Noto字型)
# sed -i -e '/FontName/s/Noto Sans 9/WenQuanYi Micro Hei 9/' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml

設定面板寬度
# sed -i -e '/size/s/32/28/' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

設定面板透明度
# sed -i -e '/background-alpha/s/95/50/' /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

# exit
$ sudo rm -rf ~/.config
$ sudo reboot

whiskermenu改為XFCE應用程式選單
隨個人喜好設定
$ sudo leafpad /usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-panel" version="1.0">
  <property name="panels" type="array">
    <value type="int" value="0"/>
    <property name="panel-0" type="empty">
      <property name="position" type="string" value="p=8;x=64;y=999"/>
      <property name="length" type="uint" value="100"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="array">
        <value type="int" value="1"/>
        <value type="int" value="2"/>
        <value type="int" value="3"/>
        <value type="int" value="4"/>
        <value type="int" value="5"/>
        <value type="int" value="6"/>
        <value type="int" value="7"/>
        <value type="int" value="8"/>
        <value type="int" value="9"/>
        <value type="int" value="10"/>
        <value type="int" value="11"/>
        <value type="int" value="12"/>
        <value type="int" value="13"/>
      </property>
      <property name="background-style" type="uint" value="0"/>
      <property name="background-alpha" type="uint" value="50"/>
      <property name="size" type="uint" value="28"/>
      <property name="autohide" type="bool" value="false"/>
      <property name="length-adjust" type="bool" value="true"/>
      <property name="span-monitors" type="bool" value="false"/>
      <property name="enter-opacity" type="uint" value="100"/>
      <property name="leave-opacity" type="uint" value="90"/>
      <property name="mode" type="uint" value="0"/>
    </property>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-1" type="string" value="applicationsmenu">
      <property name="button-icon" type="string" value="xfce4-menu-mint"/>
      <property name="show-button-title" type="bool" value="true"/>
      <property name="show-tooltips" type="bool" value="false"/>
      <property name="show-generic-names" type="bool" value="false"/>
    </property>
    <property name="plugin-2" type="string" value="separator">
      <property name="style" type="uint" value="0"/>
    </property>
    <property name="plugin-3" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="exo-file-manager.desktop"/>
      </property>
    </property>
    <property name="plugin-4" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="exo-terminal-emulator.desktop"/>
      </property>
    </property>
    <property name="plugin-5" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="leafpad.desktop"/>
      </property>
    </property>
    <property name="plugin-6" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="exo-web-browser.desktop"/>
      </property>
    </property>
    <property name="plugin-7" type="string" value="showdesktop"/>
    <property name="plugin-8" type="string" value="separator">
      <property name="style" type="uint" value="0"/>
      <property name="expand" type="bool" value="false"/>
    </property>
    <property name="plugin-9" type="string" value="tasklist">
      <property name="show-handle" type="bool" value="false"/>
      <property name="flat-buttons" type="bool" value="true"/>
    </property>
    <property name="plugin-10" type="string" value="separator">
      <property name="style" type="uint" value="0"/>
      <property name="expand" type="bool" value="true"/>
    </property>
    <property name="plugin-11" type="string" value="systray">
      <property name="show-frame" type="bool" value="false"/>
    </property>
    <property name="plugin-12" type="string" value="indicator">
    </property>
    <property name="plugin-13" type="string" value="clock">
      <property name="digital-format" type="string" value="%p %I:%M "/>
      <property name="tooltip-format" type="string" value="%x %A"/>
      <property name="mode" type="uint" value="2"/>
    </property>
  </property>
</channel>




2016/2/19 21:14
應用擴展 工具箱
回覆: 使用Debootstrap 安裝 Linux Mint 18
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18554
EXP: 89
離線
看到這些指令和操作步驟,很開心,

雖然還沒時間去嘗試這些指令,

以後想研究這部份的時候,就會想到您這系列的參考資料

所以很感恩您的分享


2016/2/20 11:29
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.