JavaScript must be enabled in order for you to see "WP Copy Data Protect" effect. However, it seems JavaScript is either disabled or not supported by your browser. To see full result of "WP Copy Data Protector", enable JavaScript by changing your browser options, then try again.

My private fine tuning under the Ubuntu Desktop 15.10

Well, I don’t post a rubbish for a long time.This topic is my private fine tuning about the environment under the Ubuntu Desktop 15.10, and included the command’s prompt, vim, google-chrome and so on.How can I do fufill these requirements? Let’s keep reading:

1) Install the related packages and edit configuration about the openssh-server
#apt-get install -y openssh-server
#vi /etc/ssh/sshd_config
PermitRootLogin yes
GSSAPIAuthentication no
GSSAPICleanupCredentials no
#/etc/init.d/ssh restart

2) Customize the settings about the lightdm(About the default logon screen)
#cat /etc/lightdm/lightdm.conf
allow-guest = false
#cat /etc/lightdm/users.conf
# User accounts configuration
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
#init 6

3) Customize the environment about the PS1 and another alias
#vi /etc/bash.bashrc
PS1='${debian_chroot:+($debian_chroot)} \[\e[1;34m\][\[\e[0;31m\]\u\[\e[1;37m\]@\[\e[1;36m\]\h\[\e[1;33m\]\W\[\e[1;35m\]\t\[\e[1;34m\]]\[\e[1;32m\]\$ '
alias vi='vim'
alias grep='grep --color=auto'
alias cd..="cd .."
alias cd...="cd ../.."
alias cd....="cd ../../.."
alias cd.....="cd ../../../.."
alias cd......="cd ../../../../.."
alias CD="sl"
function mkdircd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
shopt -s cdspell
export HISTCONTROL=ignoredups
export HISTCONTROL=ignorespace
export HISTCONTROL=ignoreboth
bind "set completion-ignore-case on"
function psgrep () {
ps aux | grep "$1" | grep -v 'grep'
#export http_proxy=http://localhost:3128/
#export https_proxy=$http_proxy
#export ftp_proxy=$http_proxy
alias google-chrome='google-chrome --user-data-dir'
alias lsdu="ls -A ./ | grep -v -e '^\.\.$' |xargs -i du -khs {} 2>/dev/null |sort -rn |head -11"
#vi ~/.bashrc -> Comment the part of PS1 w/ private bash env
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
#if [ "$color_prompt" = yes ]; then
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
unset color_prompt force_color_prompt

4) Customize the environment about the Vim(Author is kaochenlong, and his eddie-vim)
#cd ~
#mv eddie-vim-master/ .vim
#apt-get install -y vim
#vi ~/.vim/vimrc -> Comment the part of plugin about the vim
" My currently working version Vimrc
" I kept all other settings in plugins/settings directory
" Eddie Kao
runtime bundle/vim-pathogen/autoload/pathogen.vim
filetype off
"call pathogen#incubate()
filetype plugin indent on
"call pathogen#infect('bundle/{}')
"call pathogen#helptags()
" hit enter to cancel searched highlight
noremap :nohlsearch
" select ALL
map ggVG

5) Install the google-chrome from the ppa about the mirror of Google(Web browser)
#wget -q -O - | sudo apt-key add -
#echo "deb stable main" >> /etc/apt/sources.list.d/google.list
#apt-get update
#apt-get install -y google-chrome-stable

6) Install the related packages about the ibus-chewing(Text-keyin)
#apt-get install ibus-chewing -y
#apt-get install ibus-*
#init 6

7) Install the related packages about the vnc-server(Except tightvncserver)
#apt-cache search vino
vino - VNC server for GNOME
libghc-warp-dev - fast, light-weight web server for WAI applications
libghc-warp-doc - fast, light-weight web server for WAI applications; documentation
libghc-warp-prof - fast, light-weight web server for WAI applications; profiling libraries
#apt-get install -y vino
#lsof -i :5900
vino-serv 16280 root 13u IPv6 95650 0t0 TCP *:5900 (LISTEN)
vino-serv 16280 root 14u IPv4 95651 0t0 TCP *:5900 (LISTEN)
#dpkg -l | grep -i vino
ii vino 3.8.1-0ubuntu6 amd64 VNC server for GNOME

#gsettings set org.gnome.Vino require-encryption false -> Server did not offer supported security type! w/ tightvnc

◎、Above information is about my private fine tuning under the Ubuntu Desktop 15.10, and I have refered Tecadmin and Bonusbits’ website to do it. You can search more information about this topic on the google if you have more interesting. That’s all for today, see you next time!

  1. Hi Dora,
    You post so much this time and it really helps a lot. I got a question about Part 2, line 2, what does [SeatDefaults] mean ? Another question, may I set alias ls="rm -rf"? thank you.

    • Hi Almond tea
      I suggest you to know the source about the RAV4 first, because this thing’s priority is higher than [SeatDefaults] and alias ls="rm -rf".

      Best Regards~

Reply to iori200098 ¬
Cancel reply

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site is protected by WP-CopyRightPro