zoukankan      html  css  js  c++  java
  • 有关Linux下的一些配置

    安装ubuntu的底层。server版本,全定制化简洁。

    安装openbox:

    apt-get install openbox

    面板使用tint2:

    apt-get install tint2

    图形需要安装xorg装完基本上显卡都木有问题了。除非你的比较蛋疼,这些都是开源的驱动。

    apt-get install xorg

    虚拟机安装virtualBox

    apt-get install virtualbox

    电池管理xfce4-prower-manager

    apt-get install xfce4-prower-manager

    声卡alsa+音量管理

    apt-get install alsa 
    wget -c http://jpegserv.com/linux/obmixer/obmixer_0.11-1_i386.deb
    
    sudo dpkg -i obmixer_0.11-1_i386.deb

    上面这个是i386的,木有发现有x86_64,你要64的话就装别的吧。

    安装浏览器firefox

    apt-get install firefox


    下面是配置:

    先设置openbox的启动。

    vim .xinitrc
    
    exec openbox-session

    再设置auto文件,时间原因,我把自己用的弄出来。。

    
    
    ## GNOME PolicyKit and Keyring
    eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
    
    ## Set root window colour
    hsetroot -solid "#2E3436" &
    
    ## Group start:
    ## 1. nitrogen - restores wallpaper
    ## 2. compositor - start
    ## 3. sleep - give compositor time to start
    ## 4. tint2 panel
    (\
    nitrogen --restore && \
    cb-compositor --start && \
    sleep 1s && \
    tint2 \
    sleep 1s && \
    feh --bg-scale /usr/share/hack.jpg \
    ) &
    
    ## Volume control for systray
    pnmixer &
    
    ## Volume keys daemon
    xfce4-volumed &
    
    ## Enable power management
    xfce4-power-manager &
    
    ## Start Thunar Daemon
    thunar --daemon &
    
    ## Detect and configure touchpad. See 'man synclient' for more info.
    if egrep -iq 'touchpad' /proc/bus/input/devices; then
        synclient VertEdgeScroll=1 &
        synclient TapButton1=1 &
    fi
    
    
    ## Start Clipboard manager
    (sleep 3s && clipit) &
    
    ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
    ## Adjust the values according to your preferances.
    xset r rate 250 25 &
    
    ## Turn on/off system beep
    xset b off &
    
    ## The following command runs hacks and fixes for #! LiveCD sessions.
    ## Safe to delete after installation.
    cb-cowpowers &
    
    ## cb-welcome - post-installation script, will not run in a live session and
    ## only runs once. Safe to remove.
    (sleep 10s && cb-welcome --firstrun) &
    
    ## cb-fortune - have Waldorf say a little adage
    #(sleep 120s && cb-fortune) &
    
    ## Run the conky
    conky -q &
    # xxx
    scim -d &
    # dede
    #xcompmgr -f -F -c -t-5 -l-5 -r4.2 -o.55 &
  • 相关阅读:
    洛谷P1710 地铁涨价
    洛谷P1371 NOI元丹
    洛谷P2409 Y的积木
    洛谷P3392 涂国旗
    洛谷P3370 【模板】字符串哈希
    洛谷P3379 【模板】最近公共祖先(LCA)
    洛谷P3372 【模板】线段树 1
    洛谷P3373 【模板】线段树 2
    Android(java)学习笔记31:泛型高级之通配符
    Android(java)学习笔记30:泛型接口的概述和使用
  • 原文地址:https://www.cnblogs.com/xiaoCon/p/3033184.html
Copyright © 2011-2022 走看看