Archlinux 常用软件的安装与配置

BabbleDay posted @ 2013年7月16日 03:02 in 不折腾会死 , 2125 阅读

GRUB双启动,屏幕的亮度调节,root下运行Chromium,chromium+goagent,vim配置文件,安装yaourt & Adobe Flash Player,totem解码补充安装

  • GRUB双启动
    # vim /etc/grub.d/40_custom
    # (2) Windows 7
    menuentry "Windows 7" {
      set root="(hd0,1)"
      chainloader +1
    }
    Remember you need to point set root and chainloader to the system reserve partition that windows made when it installed, not the actual partition windows is on.
    这里hd0后面跟的数不是windows真实放置的分区,而是windows安装时的保留分区
    可以顺便修改下grub的timeout
    # vim /etc/default/grub
    最后刷入grub
    # grub-mkconfig > /boot/grub/grub.cfg
     
  • 屏幕的亮度调节
    S1 通过修改X.org的配置文件使显卡对应的设置开启亮度调节的控制
           # vim /etc/X11/xorg.conf // if it doesn't exist, use "nvidia-xconfig" to generate
           在 Section "Device" 部分加入
            Option        "No Logo"
            Option        "RegistryDwords" "EnableBrightnessControl=1"
    S2 修改grub配置文件,使电源控制的背光调节跟随显卡的设置
            # vim /etc/default/grub
            将 “GRUB_CMDLINE_LINUX = ” 后改为 “quiet splash acpi_backlight = vendor”
            重新刷一下grub
           # grub-mkconfig > /boot/grub/grub.cfg
     
  • root下运行Chromium
    # pacman -S flashplugin  // 安装flash
    # vim /usr/bin/chromium
    在最后一行(exec /usr/lib/chromium..."$@")末(注意不是新行)加 “--user-data-dir”
     
  • 允许Chromium的本地文件读取本地文件(不安全)
    同上,加 --allow-file-access-from-files
     
  • chromium+goagent
    S1 部署goagent获得appid和password
    S2 # pacman -S goagent
    S3 # vim /etc/goagent 修改appid和password
    S4 导入证书:/usr/share/goagent/local/CA.crt
    Chromium -> settings -> high settings -> manage certificates -> Authorities
     -> import -> CA.crt (全部打钩)
    S5 google一下switchysharp,在chrome商店安装它
    S6 配置switchysharp:导入设置https://goagent.googlecode.com/files/SwitchyOptions.bak
    # systemctl start goagent 启动goagent
    # systemctl enable goagent 开机自启动goagent
     
  • vim配置文件:史上最强vim配置文件
    # vim /etc/vimrc
     
  • 安装yaourt
    # vim /etc/pacman.conf
    加上
    [archlinuxfr]
    SigLevel = Never
    Server = http://repo.archlinux.fr/$arch
     
  • Install Adobe Flash Player
    S1: # yaourt -S chromium-pepper-flash-stable
    S2: Disable all other flash plugins:
    Type chrome://plugins/ in the adress bar and press Enter
    Click on Details button on the top right
    Click on Disable near all the Flash plugins except the Adobe
     
  • totem解码补充安装
    当totem播放视频出现“The playback of this movie requires a H.264 decoder plugin which is not installed.”时
    # pacman -S gst-libav
Avatar_small
Download valentine d 说:
2020年1月19日 20:36

Are you like love song then this website for you can play love video song download one click also share direct share with you social media account

Avatar_small
nivedita 说:
2020年4月26日 21:08

Hello guys...if you want a download a whatsapp status just like as If you do what you always did, you will get what you always got. so click here this link. https://whatsappstatuses.xyz/category/motivational/

Avatar_small
BESCOM bill payment 说:
2022年8月06日 23:47

The Bangalore electricity supply company limited which is shortly known as BESCOM does supply electricity to eight districts of Karnataka, and the districts such as Kolar, Davangere, Ramangara, Chitradurga, Bangalore Rural, Urban and Chikkaballapura. It is established that over two lakhs consumers utilize the electricity provided by the BESCOM. BESCOM bill payment Power supplied to each consumer is calculated based on the power meter reading that runs over the month.Thus a serviceman from BESCOM will reach the consumer’s place to record and give a printed slip for the power consumed, and this Bill does have a due date in the same month which is almost 21 days from the date of bill generation.

Avatar_small
Maharashtra Board Qu 说:
2022年9月06日 05:21

Maharashtra SSC Question Paper 2023 along with its Solution, All these Maha Board SSC Study Material are Explained by the Subject Education Senior Experts, Students Studying in the Maharashtra SSC Public Exam Should Prepare well for the Exam to get Promoted to the next Intermediate Level Education. Maharashtra Board Question Paper Very Important Components of preparing for the exam is Practicing and going through Maharashtra Question Papers 2023 for SSC.

Avatar_small
Canara Bank Balance 说:
2022年11月14日 06:36

The Canara Bank has an array of banking services available for bank customers. The bank allows customers to send and receive money in different transaction methods today. Same way CanaraBank has implemented various ways to help customers check their Canara bank account balance. Canara Bank Balance Check Number 2023 In the recent past, one had to visit the bank for balance updates.

Avatar_small
11th Question Paper 说:
2023年2月11日 22:02

11th Question Paper 2024 Every one of the students are right now sitting tight for the 11th test Model Paper to be Download, so need to reveal to you that as per the data got from the sources as of late, 11th Question Paper 2024 The board will deliver its 11th test Model Paper, realizing that it will be made accessible to you. So continue to check this post consistently.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter