Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------Arch--Start----------------
- #always append & to end of command otherwisecommands will fail to run.
- # curl-F sprunge=@/etc/fstab sprunge.us
- # lftp -e 'pget http://mirror.anl.gov/pub/centos/6.3/isos/x86_64/CentOS-6.3-x86_64-LiveCD.iso; exit; '
- /home/cirrus/.screenlayout/screen.sh &
- hsetroot -solid #000066
- compton -cGb -i 0.7 -e 0.7 -m 0.7 -fF &
- sleep 1s &
- nitrogen --restore &
- tint2 &
- sleep 1s &
- #compton -cC -I 0.7 -O 2.7 -D 50 -m 2.0 -G -i 0.7 -e 0.7 -fF &
- #compton -cC -i 0.7 -e 0.7 -D 50 -m 0.7 -G -b -fF &
- conky -q &
- #/usr/bin/cairo-dock -o &
- dclock -bg black -fg turquoise -led_off black -geometry 169x69 &
- volumeicon &
- #(sleep 3 && /usr/bin/nm-applet --sm-disable) &
- #volwheel &
- /usr/bin/checkgmail &
- /usr/bin/tilda &
- /usr/bin/turpial &
- xset s off &
- xset -dpms &
- setterm -blank 0 -powerdown 0 &
- #drun
- ----------------Arch--End-------------------
- obapps (config where certain apps open on your desktop)
- obkey (config keybinds for any task,launcher)
- obconf (config openbox)
- obmenu (config menu in openbox)
- drun (run box)
- dclock (digital clock widgit for desktop)
- spacefm (full feature file manager)
- mplayer (media player)
- smplayer (front end for mplayer , play you tube vids without flash)
- mcplay (CLI MP3 Player)
- termite -e weechat-curses irc://Cirrus_Minor@irc.FreenodeSSL.net/#archlinux-offtopic,#archlinux,#hackerhaven,#darkfox,#r/linux,#linuxjournal,#techrights
- ----------------Archbang--Start--------------
- #(sleep 3 && /usr/bin/nm-applet --sm-disable) &
- /home/cirrus/.screenlayout/default.sh
- nitrogen --restore &
- ~/.config/openbox/scripts/xcompmgr.sh setshadowshade
- tint2 &
- conky -q &
- dclock &
- volumeicon -b &
- xcompmgr -CcFf &
- #xbacklight -set 100 &
- #/usr/bin/synclient TouchpadOff=1 &
- /usr/bin/checkgmail &
- /usr/bin/tilda &
- #batti &
- #fbxkb &
- xset s off &
- xset -dpms &
- setterm -blank 0 -powerdown 0 &
- ------------------Archbang--End-----------------
- scrot commands/misc
- now scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ & shotwell ~/$f'
- 5 seconds scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ & shotwell ~/$f'
- selected area scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ & shotwell ~/$f'
- tint2 leafpad ~/.config/tint2/tint2rc
- autostart leafpad ~/.config/openbox/autostart
- .conkyrc leafpad /home/cirrus/.conkyrc
- .logs leafpad ~/.logs/zhistory
- reboot sudo systemctl reboot
- exit sudo systemctl poweroff
- ----------------------------------------------------------------------------
- # ~/.bashrc
- #
- cat /etc/motd
- command cowthink -f tux $(fortune all)
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- alias ls='ls --color=auto'
- PS1="$sq_color\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[01;36m\]\342\234\227$sq_color]\342\224\200\")[\[\033[01;31m\]\t$sq_color]\342\224\200[\[\033[01;36m\]\u@\h$sq_color]\n\342\224\224\342\224\200\342\224\200> \[\033[01;35m\]\W$sq_color $ \[\033[01;32m\]>>\\[\\033[0m\\] "
- #PS1='[\u@\h \W]\$ '
- #PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;31m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;36m\] '
- PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[1;36m\] '
- if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
- . startx
- logout
- fi
- #shell profile file
- setxkbmap -layout gb
- #mount ufs BSD fs
- sudo mount -t ufs -o ufstype=ufs2,ro /dev/sde2 /mnt/sde2
- To copy a file called /mnt/usr/home/cirrus/data/resume.pdf, enter:
- # cp /mnt/usr/home/cirrus/data/resume.pdf /home/cirrus/
- ----------------------------------------------------------------------------
- wget download
- wget -O /home/cirrus/cent.iso http://mirror.anl.gov/pub/centos/6.3/isos/x86_64/CentOS-6.3-x86_64-LiveCD.iso
- autoload -U promptinit && prompt gtmanfred # command for best zsh prompt
- ------------------------------------------------------------------------------
- .xinitrc
- #!/bin/bash
- export BROWSER=firefox
- export DE=openbox
- exec dbus-launch openbox-session
- ------------------------------------------------------------------
- compton-git compositing manager examples
- compton -cC -G -b (basic)
- compton -cC -i 0.6 -e 0.6
- compton -cC -i 0.6 -e 0.6 -fF
- compton -cC -fF -I 0.065 -O 0.065 -D 6 -m 0.8 -i 0.6 -e 0.6
- compton -cC -fF -I 0.065 -O 0.065 -D 6 -m 0.8 -G -b -i 0.5 -e 0.75 (bling)
- compton -cC -I 0.7 -O 2.7 -D 390 -m 0.7 -G -b -i 0.9 -e 0.9 -fF &
- compton -cC -I 0.7 -O 2.7 -D 390 -m 0.7 -G -b -i 0.5 -e 0.5 -fF &
- compton -cGb -i 0.7 -e 0.7 -m 0.7 -fF & *
- The comptonrc goes in ~/.config/compton
- Here is my comptonrc: (Basic is the default setting in Waldorf)
- ---------Start----------
- # compton start-up command used by CrunchBang's compositing pipemenu.
- # See 'man compton' for details about how to modify these settings.
- ## Basic
- #EXECXCOMP='compton -cC -G -b'
- ## Less basic - tip: uncomment below and comment out above, then restart
- EXECXCOMP='compton -cC -fF -I 0.065 -O 0.065 -D 6 -m 0.8 -G -b -i 0.5 -e 0.75'
- --------End-------------
- ------------------------------------------------------
- /etc/adjtime
- 0.000000 1345312980 0.000000
- 1345312980
- UTC
- ----------------------------------------------
- console clock
- yes 'clear;printf "\n\n\n\n\t\t\t`date`\n";sleep 1' | sh
- cclock -n
- cmatrix -C cyan
- ----------------------------------------------------------
- format usb stick to fat16 in CLI
- sudo fdisk -l (find usb device s**)
- mkdosfs -F 16 -I /dev/s** ( -F 32 -I for fat32, recomended if usb device is over 4GB )
- umount /dev/s**
- write iso to formatted usb
- as root cd to dir where iso resides
- dd if=full-name-of.iso of=/dev/s**
- dd if=/dev/urandom | pv | dd of=/dev/null
- ----------------------------------------------------------------
- screencast
- ffmpeg -v 1 -r 4 -f x11grab -s 1920x1080 -i :0.0+0,0 -vcodec libx264 cast1.mkv
- sleep 2; ffmpeg -f x11grab -r 4 -s 598x686 -i :0.0+764,0 -vcodec libx264 cast1.mkv
- sleep 2; ffmpeg -f x11grab -r 4 -s 1920x1080 -i :0.0+0,0 -vcodec libx264 cast1.mkv
- sleep 2; ffmpeg -f x11grab -r 4 -s 3840x1080 -i :0.0+0,0 -vcodec libx264 cast1.mkv
- sleep 2; ffmpeg -f x11grab -r 4 -s 1919x1028 -i :0.0+0,0 -vcodec libx264 cast1.mkv
- ffmpeg -f alsa -i default -itsoffset 00:00:00 -f video4linux2 -s 1280x720 -r 25 -i /dev/video0 out.avi
- ffmpeg -v 1 -r 25 -f x11grab -s 3840x1080 -i :0.0+0,0 -vcodec libx264 cast1.mkv
- ffmpeg -v 1 -r 30 -f x11grab -s 640x480 -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 -threads 0 cast.mkv
- ffmpeg -f alsa -ac 2 -i hw:1,0 -f x11grab -r 30 -s $1x$2 -i :0.0+$3,$4 -acodec pcm_s16le
- -vcodec libx264 -vpre lossless_ultrafast -threads 0 $5.mkv
- ffmpeg -f alsa -i hw:0 -itsoffset 00:00:00 -f video4linux2 -s 1280x720 -r 25 -i /dev/video0 out.avi
- The easiest way to get Yaourt would be this.. copy/paste in terminal:
- =====
- sudo su -c 'echo "[archlinuxfr]
- Server = http://repo.archlinux.fr/$arch" >> /etc/pacman.conf'
- =====
- and then do a...
- ====
- sudo pacman -Sy yaourt
- ====
- Done!.. after that just Yaourt. Remember that you should never build as root. So no sudo for Yourt unless it is asked.
- ix tempfile.txt
- transmission blocklist
- http://list.iblocklist.com/?list=bt_microsoft&fileformat=p2p&archiveformat=gz
- ............................................................................................
- #hsetroot -solid #000066 &
- /home/cirrus/.screenlayout/screen.sh &
- compton -CGb -i 0.7 -e 0.7 -m 0.7 -fF &
- nitrogen --restore &
- tint2 &
- conky -q &
- #dclock -bg black -fg turquoise -led_off black -geometry 169x69 &
- volumeicon &
- /usr/bin/checkgmail -no_cookies &
- /usr/bin/tilda &
- termite &
- /usr/bin/turpial &
- xset s off &
- xset -dpms &
- setterm -blank 0 -powerdown 0 &
- #sleep 1s &
- #(sleep 3 && /usr/bin/nm-applet --sm-disable) &
- #/usr/bin/cairo-dock -o &
- #compton -cC -I 0.7 -O 2.7 -D 50 -m 2.0 -G -i 0.7 -e 0.7 -fF &
- #compton -cC -i 0.7 -e 0.7 -D 50 -m 0.7 -G -b -fF &
- noip2 &
- echo $(($(($(date +%s) - $(date -d "$(head -1 /var/log/pacman.log | cut -d ' ' -f 1,2 | tr -d '[]')" +%s))) / 86400)) days
- Unfortunately, IMG images cannot be burnt directly, so we convert them to ISO. There is a nice tool called ccd2iso to accomplish this task.
- $ ccd2iso <IMG input file> <ISO output file>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement