crunch bang

of 68 /68
Linux Support How-to Guides, Tips, and News @ debianhelp.wordpress.com To Do List After installing Crunchbang “Waldorf” Debian “Wheezy” Linux OS October 2, 2012 FreshPosted

Upload: sara-simmons

Post on 28-Oct-2015

89 views

Category:

Documents


6 download

TRANSCRIPT

Page 2: Crunch Bang

Debian Linux “Wheezy” Openbox Desktop Environment

Crunchbang is a light-weight Debian OS, using Openbox desktop environment. It has a minimalistapproach in comparison to other distos, and it includes projects like conky, tint, and compositing eye-candy. Crunchbang got it’s name from the possibility of it making your system go “Crunch” “Bang”.The distro description small print disclaimer says it’s unstable, may break, and you use it at your ownrisk.

Update: Debian 7 “Wheezy” was released on May 4th. Congratulations and thank you to all involved; theDebian developers, hackers, testers, document writers, designers, bug reporters and users — you are allawesome. Now that Wheezy has migrated to the stable branch of Debian, this means that Waldorf is thenew stable #! release.

“I would recommend Crunchbang to the user already comfortable around a Debian system. While thedistro does a pretty good job at presenting a working environment out of the box, it strips away certainbling-bling features the average desktop user has come to expect from a distribution. For instance, itwon’t present you with a micro-blogging client synchronized with your IM client and a notification systembundled in your taskbar. These are the kinds of things you should expect from Ubuntu and the generalmindset with Crunchbang (affectionately referred to as ‘#!’) is that “if you want it, you should do ityourself”. The very bare minimum of apps will be available by default, although the distro does a terrificjob of presenting all kinds of install-scripts, one-click (or in case of the very relevant cb-welcome script,one key) commands for installing additional software like alternative web browsers, Java, printer supportor even a Dropbox client.”

“Crunchbang’s minimalism is a bliss. It works really well out of the box (I personally only had an issue withactivating my wireless card, something that I could solve in a matter of minutes), and won’t tamper muchwith your system. Everything works the way you’d expect it to and you will encounter very few (if any)surprises along the way. In short, Crunchbang does a good job of presenting a working and good lookingsystem out of the box, while still getting out of your way for your everyday use.”

Page 3: Crunch Bang

“Is #! for you? Here’s my rule of thumb: Would you know how to manage your sources.list file to suit yourown needs? If you do, you probably know enough.”

Download Crunchbang Eleven “Waldorf ” Debian Wheezy OS:

http://crunchbang.org/download/

Special Note: For faster downloading I recommend using BitTorrent to download Crunchbang.

How-to prepare an ISO to USB f or Linux & Windows:

http://crunchbang.org/forums/

and

http://crunchbanglinux.org/wiki/statler_usb_installation

Recommended: Unetbootin works just fine for creating the Crunchbang USB flash drive if you prefer touse a GUI. You can install Unetbootin if you are already running Ubuntu or another Linux OS. In Ubuntu,simply use Startup Disc Creator to format your USB flash drive (thumb drive) first, and then runUnetbootin to migrate your downloaded Crunchbang image onto your USB flash drive device. Do notuse Ubuntu’s Startup Disc Creator application to migrate your downloaded Crunchbang image ontoyour USB flash drive device., otherwise it will not boot.

sudo apt-get install unetbootin

Special notes: When you are you done creating your live USB flash drive with Unetbootin, make sureyou either select Live or Install (not “Default”) during bootup of your live Crunchbang USB flash drivedevice. Crunchbang will not automatically resize your hard drive partitions during live installation.Crunchbang installer doesn’t automatically resize anything. It will just wipe the entire hard drive if youdon’t create space for the installation. The swap creation is a pain if you are trying to configure a dualboot system. If you want to create a dual-boot of Ubuntu and Crunchbang you will need to resize yourpartition(s) with a live stick of Ubuntu OS first (if you are running Ubuntu OS already), and after bootingyour computer with that Ubuntu live usb stick then use Gparted partition manager to resize your existingHDD partitions before installing Crunchbang from your usb flash drive device. Make sure you have a livestick of whatever your current operating system is so you can rollback in case Crunchbang doesn’t workout for you eventually. I recommend just wiping the entire drive and just use Crunchbang, if feasible, tosave yourself a headache.

Here is a really nice tutorial series for Crunchbang:

Page 4: Crunch Bang

“The new release is the first one to be ported to Wheezy, the current testing version of Debian. If #! wasoriginally based on Ubuntu (something we can still detect by its preference for apt-get over aptitude, orthe fact that sudo is present by default), it has moved its base to Debian for over a year. Logically, thecurrent stable version of #! (Statler) is based on the current stable version of Debian (Squeeze). HoweverWheezy has been in testing mode for some time now, and rumors are already announcing it for early 2013(although, as usual, “it will be released when it’s ready”). It is worth noting though that despite its name,Wheezy is far from being a completely experimental base. ‘Stable’ is a conservative name to say the least,and, for what it’s worth, Ubuntu has already based its last 3 versions on Wheezy.”

“In any case, it is a good thing that corenominal has already moved on with the porting. I have installedthe new build on a Virtualbox machine and have used it all night. I’m actually writing this article from it.My first impressions: it works great. Visually not much has changed since the last build, except for twothings: a good looking new font seems to be the default and compositing (basically shadows andtransparency) is activated by default, using the new, supposedly improved, Compton manager. I stronglysalute the initiative; it doesn’t seem very resource-greedy (3MB of RAM and virtually no CPU) and willdefinitely please my friends when I tell them to try a Live CD. Pulse Audio is also present, great, saves methe trouble of installing it.”

“It looks perfectly working so far. I don’t know if you should use it in a critical environment yet, but as faras I can tell, there’s nothing wrong with the new version. If you’re new to #! and are looking to give it aspin, maybe you should download the latest build of Statler and not risk being disappointed by anypotential problem you may find with this one.” ** [http://www.tech-thoughts-blog.com/2012/05/first-builds-of-new-crunchbang-waldorf.html]

Special Note: This tutorial expects that you already know your way around the command line onLinux! If you have no experience with Linux I recommend you try Ubuntu until you can get up-to-speed

Page 5: Crunch Bang

with Linux systems.

Here is a nice video demonstration of Crunchbang Eleven:

Back Share Tweet Google+ Email Embed

Shop eBay!

×

Crunchbang comes with it’s own post-installation script to update your entire system, also to addprinter support, and plenty of other software you will probably need. Do use it.

Now you may want to add more repositories to your source.list to have access to more codecs andsoftware for your system.

Edit the repositories, copy and paste in Terminal:

sudo geany /etc/apt/sources.list

Here is a good source.list to update your system if you are located in the USA:

## CRUNCHBANG## Compatible with Debian Wheezy, but use at your own risk.deb http://packages.crunchbang.org/waldorf waldorf main#deb-src http://packages.crunchbang.org/waldorf waldorf main

## Debian

Page 6: Crunch Bang

deb http://ftp.debian.org/debian/ wheezy main contrib non-free#deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free

## Multimediadeb http://www.deb-multimedia.org wheezy main non-free

## Debian Securitydeb http://security.debian.org/ wheezy/updates main#deb-src http://security.debian.org/ wheezy/updates main

# Spotify Musicdeb http://repository.spotify.com stable non-free

## Debian Stabledeb http://ftp.debian.org/debian/ stable main contrib non-free

## Sun Java 8 Plugin Scriptdeb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main

Once you copy and paste that into your source.list file, make sure to add the repo key for deb-multimedia in Terminal:

sudo apt-get install deb-multimedia-keyringsudo apt-get updatesudo apt-get upgrade

Special Note: If you are outside the USA you can build your local list of repositories here:

http://debgen.simplylinux.ch/

!!!! >> If you are done with the steps above in this tutorial, it would probably be a goodidea to now restart your system bef ore proceeding f urther with this guide <<<!!!!

Page 7: Crunch Bang

smxi is an interactive script designed to help people maintain their systems. It supports Debian (Stable,Testing, and Sid) and true Debian based distros (such as, but not limited to, AntiX, Aptosid, Epidemic,Linux Mint Debian [LMDE], Mepis). It does not support Ubuntu based distros because there are too manydifferences between Debian and Ubuntu. This is the best way to install your video drivers.

Smxi is a feature rich, powerful script, and has the following primary features and options:

System Upgrades (dist-upgrade / upgrade)Kernel upgrades / kernel module upgradesAutomatated video card driver installation (plus any needed patches), especially non-free driverslike nVidia and AMD/ATI fglrxInstalling extra software (including building a desktop/server from scratch, starting with just thebase Debian system)Removing certain softwareCleaning up your system (cleaning up apt archives, removing kernels/ kernel modules, cleaningsystem cruft, etc)Tweaking your system, mozilla configurations, installing some small graphics tweaks, etc.

Run smxi below in terminal. When you arrive at the command line login with your user name andpassword and after you have changed to smxi script directory by using the cd /usr/local/bin command– run sudo smxi and then follow the prompts. sudo reboot will restart your system and take you(hopefully?) back into your Crunchbang desktop when you are done using smxi. You can use smxi asoften as you want, but remember you will not have X Windows running or your desktopavailable while running smxi f rom the command line . For more info about smxi:http://smxi.org/site/about.htm

Special notes: Here are the settings that worked best for my Crunchbang Waldorf system: Set distro toTesting, and no distro updates should be needed for Crunchbang. Go ahead and install any of thesoftware available that you want within smxi, and make sure to read every prompt, and check for theproprietary video graphics driver for your kernel you want to install on your system.

Here is how to install SMXI in Terminal:

Page 8: Crunch Bang

cd /usr/local/bin && sudo wget -Nc smxi.org/smxi.zip && sudo unzip smxi.zip && sudo smxi

Hopefully you installed your graphics driver with sxmi by now. I wanted to change my display to fit myflat screen monitor so I added these lines to my autostart configuration file (Settings >> Openbox >> Editautostart):

## Displayxrandr -s 1280x720 &xrandr --dpi 96 &

Page 9: Crunch Bang

Here is the conky script (simply copy and paste over the old one), and to open the configuration file clickon Settings >> Conky >> edit conkyrc.

# conky configuration## The list of variables has been removed from this file in favour# of keeping the documentation more maintainable.# Check http://conky.sf.net for an up-to-date-list.## For ideas about how to modify conky, please see:# http://crunchbanglinux.org/forums/topic/59/my-conky-config/## For help with conky, please see:# http://crunchbanglinux.org/forums/topic/2047/conky-help/## Enjoy! ############################################### Settings##############################################background yesuse_xft yesxftfont HandelGotD:size=8xftalpha 0.5update_interval 4.0total_run_times 0own_window yes

Page 10: Crunch Bang

own_window_type normalown_window_transparent yesown_window_hints undecorated,below,sticky,skip_taskbar,skip_pagerdouble_buffer yesminimum_size 200 5maximum_width 220draw_shades nodraw_outline nodraw_borders nodraw_graph_borders yesdefault_color greydefault_shade_color reddefault_outline_color greenalignment top_rightgap_x 5gap_y 5no_buffers yesuppercase nocpu_avg_samples 2override_utf8_locale no

TEXTCPU $alignr ${cpu cpu0}%${cpugraph cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%$membar

swap $alignc $swap / $swapmax $alignr $swapperc%${swapbar}

/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%${fs_bar /}

global $alignc ${fs_used /home/karlos/global} / ${fs_size /home/karlos/global} $alignr ${fs_free_perc /home/karlos/global}%${fs_bar /home/karlos/global}

$processes processes ($running_processes running)

NAME $alignr PIDCPU${top name 1} $alignr ${top pid 1} ${top cpu 1}

Page 11: Crunch Bang

${top name 2} $alignr ${top pid 2} ${top cpu 2}${top name 3} $alignr ${top pid 3} ${top cpu 3}${top name 4} $alignr ${top pid 4} ${top cpu 4}${top name 5} $alignr ${top pid 5} ${top cpu 5}${top name 6} $alignr ${top pid 6} ${top cpu 6}${top name 7} $alignr ${top pid 7} ${top cpu 7}${top name 8} $alignr ${top pid 8} ${top cpu 8}${top name 9} $alignr ${top pid 8} ${top cpu 9}

Inbound $alignr ${downspeed eth0} kb/s${downspeedgraph eth0}Outbound $alignr ${upspeed eth0} kb/s${upspeedgraph eth0}

Alt+F2$alignr Run DialogAlt+F3$alignr Alt MenuSuper+space$alignr Main MenuSuper+t$alignr TerminalSuper+f$alignr File ManagerSuper+e$alignr EditorSuper+m$alignr Media PlayerSuper+w$alignr Web BrowserSuper+g$alignr Graphics EditorSuper+l$alignr Lock ScreenSuper+v$alignr Volume ControlSuper+x$alignr LogoutPrtSc$alignr Screenshot

Page 12: Crunch Bang

I wanted to make my screen layout look more like the screenshot above, and this is how I changed myTint2 configuration file. Clicks Settings >> tint2 >> Edit config file and save when done:

#---------------------------------------------# TINT2 CONFIG FILE#---------------------------------------------# For more information about tint2, see:# http://code.google.com/p/tint2/wiki/Welcome## For more config file examples, see:# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/

# Background definitions# ID 1rounded = 0border_width = 0background_color = #000000 40border_color = #828282 0

# ID 2 - task activerounded = 1border_width = 0background_color = #d8d8d8 30border_color = #d8d8d8 30

# ID 3 - task

Page 13: Crunch Bang

rounded = 1border_width = 0background_color = #000000 0border_color = #000000 0

# ID 4rounded = 1border_width = 1background_color = #888888 20border_color = #ED2323 60

# ID 5 - taskbarrounded = 0border_width = 1background_color = #000000 0border_color = #000000 0

# ID 6 - active taskbarrounded = 0border_width = 1background_color = #d8d8d8 8border_color = #d8d8d8 0

# ID 7 - tooltiprounded = 3border_width = 0background_color = #222222 90border_color = #222222 90

# ID 8rounded = 1border_width = 1background_color = #888888 20border_color = #888888 20

# Panelpanel_monitor = allpanel_position = bottom center horizontalpanel_items = TSCpanel_size = 100% 30panel_margin = 0 -1panel_padding = 0 0

Page 14: Crunch Bang

panel_dock = 0wm_menu = 1panel_layer = bottompanel_background_id = 1

# Panel Autohideautohide = 0autohide_show_timeout = 0.3autohide_hide_timeout = 1.5autohide_height = 6strut_policy = follow_size

# Taskbartaskbar_mode = multi_desktoptaskbar_padding = 6 0 6taskbar_background_id = 5taskbar_active_background_id = 6taskbar_name = 1taskbar_name_background_id = 0taskbar_name_active_background_id = 0taskbar_name_font = Liberation Sans 9taskbar_name_font_color = #828282 100taskbar_name_active_font_color = #828282 100

# Tasksurgent_nb_of_blink = 20task_icon = 1task_text = 0task_centered = 1task_maximum_size = 40 40task_padding = 2 2task_background_id = 3task_active_background_id = 2task_urgent_background_id = 4task_iconified_background_id = 3

# Task Iconstask_icon_asb = 80 0 0task_active_icon_asb = 100 0 0task_urgent_icon_asb = 100 0 0task_iconified_icon_asb = 80 0 0

Page 15: Crunch Bang

# Fontstask_font = Liberation Sans 06_55 6task_font_color = #828282 60task_active_font_color = #828282 100task_urgent_font_color = #FFFFFF 100task_iconified_font_color = #d8d8d8 60font_shadow = 0

# Launcherlauncher_padding = 8 4 4launcher_background_id = 0launcher_icon_size = 24# Specify icon theme names with launcher_icon_theme. # if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.launcher_icon_theme = gnome-colors-statler# Each launcher_item_app must be a full path to a .desktop filelauncher_item_app = /usr/share/applications/terminator.desktoplauncher_item_app = /usr/share/applications/xfce4-file-manager.desktoplauncher_item_app = /usr/share/applications/gedit.desktoplauncher_item_app = /usr/share/applications/iceweasel.desktop

# System Traysystray = 1systray_padding = 4 2 3systray_sort = right2leftsystray_background_id = 0systray_icon_size = 24systray_icon_asb = 100 0 0

# Clocktime1_format = %I:%M %p / %a %b %d#time1_font = Museo 8time1_font = AvantGardeLTMedium 8#time2_format = %A %d %B#time2_font = Monospace 6clock_font_color = #b5b5b5 100clock_padding = 4 0clock_background_id = 0clock_lclick_command = gsimplecalclock_rclick_command = gsimplecal

Page 16: Crunch Bang

# Tooltipstooltip = 1tooltip_padding = 2 2tooltip_show_timeout = 0.0tooltip_hide_timeout = 0.0tooltip_background_id = 7tooltip_font_color = #d8d8d8 100tooltip_font = Liberation Sans normal 9.0

# Mousemouse_middle = nonemouse_right = togglemouse_scroll_up = togglemouse_scroll_down = iconify

# Batterybattery = 1battery_low_status = 20battery_low_cmd = notify-send "battery low"battery_hide = 96bat1_font = Liberation Mono 8bat2_font = Liberation Mono 8battery_font_color = #b5b5b5 100battery_padding = 2 0battery_background_id = 0

# End of config

Here is my autostart script for reference (Settings >> Openbox >> Edit autostart):

## Openbox autostart.sh## ====================## When you login to your CrunchBang Openbox session, this autostart script ## will be executed to set-up your environment and launch any applications## you want to run at startup.#### Note*: some programs, such as 'nm-applet' are run via XDG autostart.

Page 17: Crunch Bang

## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any## XDG autostarted programs.#### More information about this can be found at:## http://openbox.org/wiki/Help:Autostart#### If you do something cool with your autostart script and you think others## could benefit from your hack, please consider sharing it at:## http://crunchbang.org/forums/#### Have fun & happy CrunchBangin'!

## GNOME PolicyKit and Keyringeval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colourhsetroot -solid "#2E3436" &

## Displayxrandr -s 1280x720 &xrandr --dpi 96 &## 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 2s && \tint2 \) &

## Volume control for systray(sleep 2s && pnmixer) &

## Volume keys daemonxfce4-volumed &

Page 18: Crunch Bang

## Enable power managementxfce4-power-manager &

## Start Thunar Daemonthunar --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 xscreensaverxscreensaver -no-splash &

## 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 beepxset 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 conkyconky -q &

Page 19: Crunch Bang

Here is how you can switch out Iceweasel for Firefox. Yes, I know they are identical, but someone maywant to learn how to install Firefox on Debian Wheezy, and some plugins will not install automatically inIW so that is why I provide this option:

sudo apt-get remove iceweaselsudo echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | sudo tee -a /etc/apt/sources.list > /dev/nullsudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29sudo apt-get updatesudo apt-get install firefox-mozilla-build

Aftewards you need to change your menu entry for your browser by editing your menu.xml file (Settings>> Openbox >> Edit menu.xml) and change it to something like this (do not just cut and paste this overeverything, and only change the wording to firefox and do not change any indentation to demarcateprogramming structure):

<item label=”Web Browser”><action name=”Execute”><command>firefox</command></action></item>

Here are some really handy plugins for Iceweasel and Firefox web browsers:

Page 20: Crunch Bang

Adblock Plus (plugin) (Highly Recommended)

Adblock Plus (ABP) is a content-filtering extension for Mozilla Ice Weasel and Google Chrome webbrowsers. ABP, a forked version of Adblock, allows users to prevent page elements, such asadvertisements, from being downloaded and displayed. Very popular, and almost what I would considerto be a necessity, if you surf the Internet on a daily basis. Works great with sites like youtube.com andother similar web sites that bombard you with constant commercials. It will also allow you to importpreconfigured blocklists to stop tracker web sites from monitoring your browser presence.

Password Exporter (plugin)

This extension allows you to export your saved passwords and disabled login hosts using XML or CSVfiles that can be imported later. Very helpful when needing to re-install onto a new system or migratingyour data and personal information.

Remember Passwords (plugin)

Patches the original Login Manager to allow saving of passwords on forms which otherwise suppress it.A really nice time-saver.

NetVideoHunter (plugin)

NetVideoHunter is a Ice Weasel add-on (extension), and you can easily download videos and audio fromalmost all audio and video streaming web pages with two clicks. Tested and considered to be probablythe best plugin out of all the other similar plugins available for this kind of task.

HT T PS Everywhere (plugin)

HTTPS Everywhere is a Ice Weasel and Chrome extension that encrypts your communications with manymajor websites, making your browsing more secure.

NoScript (plugin)

NoScript (plugin) is a free and open-source extension for Mozilla Firefox, SeaMonkey, and other Mozilla-based web browsers, created and actively maintained by Giorgio Maone, an Italian software developerand member of the Mozilla Security Group. NoScript allows executable web content such as JavaScript,Java, Flash, Silverlight, and other plugins only if the site hosting it is considered trusted by its user andhas been previously added to a whitelist. NoScript also offers specific countermeasures against securityexploits.

Dictionaries & Language Packs (plugin) (Recommended)

Additional Miscellaneous Add-ons f or Firef ox and Iceweasel:

Page 21: Crunch Bang

BCExplorer for Firefox – BrightCloud category and reputation info as you browse!Beef Taco – Sets permanent opt-out cookies to stop behavioral advertising by 102 different advertisingnetworks (recommended)BetterPrivacy – BetterPrivacy is a safeguard which protects from usually not deletable LSO’s on Google,YouTube, Ebay… (recommended)BitDefender TrafficLight for Firefox – Adds a strong and non-intrusive layer of security to your browsingexperienceBrowserProtect – Protect your browser configuration against homepage and search hijacksCipherFox – Displays the current SSL/TLS cipher and certificate chain in the status bar.CS Lite – This extension will allow you to easily control cookie permissions.Ghostery – Protect your privacy. See who’s tracking your web browsing and block them with Ghostery.GoogleSharing – GoogleSharing ultimately aims to provide a level of anonymity that will prevent googlefrom tracking your searches, movements, and what websites you visit.HTTPS Finder – HTTPS Finder automatically detects and alerts when SSL is available on a web page. Italso provides one-click rule creation for HTTPS Everywhere. Other features include an ignore-domain list,and “auto-forward” to HTTPS.Keylogger Beater – Use it to keep your username or password from being stolen by a keylogger.LinkExtend – Provides meta-site-ratings for computer safety, child safety, company ethics, andpopularity.Master Password+ – Various enhancements for “master password”Netcraft Toolbar – Blocks phishing sites, helping to protect users from online fraud…anonymoX – Firefox add-on to achieve anonymity in surfing, using web-based proxyPrivacySuite – One place to protect your privacy when you go online.RefControl – Control what gets sent as the HTTP Referer on a per-site basis.RequestPolicy – Be in control of which cross-site requests are allowed.ShowIP – Show the IP address(es) of the current page in the status bar. It also allows querying custominformation services by IP (right click) and hostname (left click), like whois, netcraft, etc. Additionally youcan copy the IP address to the clipboard.Certificate Patrol – Verifies SSL certificatesTrackMeNot – Protects users against search data profiling…Priv3 – Practical Third-Party Privacy for the Social WebWOT – The WOT add-on is a safe surfing tool for your browser.For Human Eyes Only – converts messages into imagesChange IP Address – How to quickly change your IP address with a new router MAC address(recommended)

For more privacy you can find more information here:

http://crunchbang.org/forums/viewtopic.php?id=8399&p=1

Page 22: Crunch Bang

To add the WebUpd8 Oracle Java PPA repository to your software sources in Debian, use thefollowing commands (but you can use SMXI to install Java 7, if needed):

echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | sudo tee -a /etc/apt/sources.listecho "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | sudo tee -a /etc/apt/sources.listsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886sudo apt-get updatesudo apt-get install oracle-java8-installer

Test your browser to make sure your Java is installed and working properly here:

http://www.java.com/en/download/testjava.jsp

Page 23: Crunch Bang

Redo Backup and Recovery is so simple that anyone can use it. It is the easiest, most completedisaster recovery solution available. It allows bare-metal restore. Bare metal restore is not only the bestsolution for hardware failure, it is also the ultimate antivirus: Even if your hard drive melts or getscompletely erased by a virus, you can have a completely-functional system back up and running in aslittle as 10 minutes. If there is one thing you are going to be doing often with Crunchabang, it isreinstalling your operating system, and so it makes sense to backup your work before you get tooinvolved tinkering around with Crunchbang. (Recommended)

http://redobackup.org/

Clonezilla is a free disaster recovery, disk cloning, disk imaging and deployment solution. Clonezilla isdesigned by Steven Shiau and developed by the NCHC Free Software Labs in Taiwan. Clonezilla SEprovides multicast support similar to Norton Ghost Corporate Edition.

http://clonezilla.org/downloads.php

Page 24: Crunch Bang

How to conf igure Autologin with SliMconf :

sudo apt-get install slimconfgksudo slimconf

How to change the clock f rom military time to 12-hour AM/PM w/date in T int2 conf ig:

Openbox > Preferences > tint2 Panel Config > Edit config file, look for # Clock and change everything for#Clock to look like this and save it:

# Clocktime1_format = %I:%M %p / %a %b %d#time1_font = Museo 8time1_font = AvantGardeLTMedium 8#time2_format = %A %d %B#time2_font = Monospace 6

Page 25: Crunch Bang

clock_font_color = #b5b5b5 100clock_padding = 4 0clock_background_id = 0clock_lclick_command = gsimplecalclock_rclick_command = gsimplecal

If you would like to know what other time variables are available:

http://crunchbanglinux.org/forums/topic … es-to-faq/

Uncomplicated Firewall (UFW & GUFW)

Open your Terminal, copy and paste:

sudo apt-get install ufw gufwgufw

T o check your current settings:

sudo ufw status verbose

Page 26: Crunch Bang

T o add basic f irewall rules:

sudo ufw deny 5353/udpsudo ufw deny 5900/tcpsudo ufw deny 22sudo ufw deny 25/tcpsudo ufw deny 135,139,445/tcpsudo ufw deny 137,138/udpsudo ufw deny 110sudo ufw deny 2049sudo ufw deny 143sudo ufw deny 21/tcpsudo ufw deny ssh

T o block Outgoing Ports Except T hose Needed (T his conf iguration will allow thef ollowing outbound ports: 20-21, 53, 80, 123, 443 which is all that is required f or manyusers, unless you plan on running a server):

sudo ufw deny out 1:19/tcpsudo ufw deny out 1:19/udpsudo ufw deny out 22:52/tcpsudo ufw deny out 22:52/udpsudo ufw deny out 54:79/tcpsudo ufw deny out 54:79/udpsudo ufw deny out 81:122/tcpsudo ufw deny out 81:122/udpsudo ufw deny out 124:442/tcpsudo ufw deny out 124:442/udpsudo ufw deny out 444:65535/tcpsudo ufw deny out 444:65535/udp

Re-check your changes:

sudo ufw status verbose

Re-check enable (required):

Page 27: Crunch Bang

sudo ufw enable

It will automatically load these settings from now on. If you need to access one of those portstemporarily, then you can open up sudo gufw and disable your firewall momentarily. Just don’t forgetto re-enable it when you are done.

If you want to tighten-up your security even f urther please review:

http://ubuntuforums.org/showthread.php?t=1893751

Here is a configuration script if you are running a server:

#!/bin/sh

# obtain server's IP addressSERVERIP=̀hostname --all-ip-addresses | cut --fields 1 --delimiter " "̀

# disable firewallufw disable

# reset all firewall rulesufw reset

# set default rules: deny all incoming traffic, allow all outgoing trafficufw default deny incomingufw default allow outgoing

# open port for SSHufw allow OpenSSH

# open port for Webminufw allow webmin

# open ports for Samba file sharingufw allow from 10.0.0.0/8 to $SERVERIP app Sambaufw allow to 10.0.0.0/8 from $SERVERIP app Samba

# open ports for Transmission-Daemon

Page 28: Crunch Bang

ufw allow 9091ufw allow 20500:20599/tcpufw allow 20500:20599/udp

# open port for MySQLufw allow proto tcp from 10.0.0.0/8 to any port 3306

# open ports for Lighttpdufw allow “Lighttpd Full”

# open port for network time protocol (ntpd)ufw allow ntp

# enable firewallufw enable

# list all firewall rulesufw status verbose

For more information:

http://www.frozentux.net/documents/iptables-tutorial/

How to periodically scan for rootkits. Both RKHunter and CHKRootkit basically do the same thing and tocheck your system for rootkits. No harm in using both.

Open a Terminal and enter the following :

sudo apt-get install rkhunter chkrootkit

To run chkrootkit open a terminal window and enter :

sudo chkrootkit

To update and run RKHunter. Open a Terminal and enter the following :

sudo rkhunter --update

Page 29: Crunch Bang

sudo rkhunter --propupdsudo rkhunter --check

If you get a warning for unhide.rb rkhunter simply informs you the unhide.rb executablelocated in /usr/bin/ is a ruby script. It is perfectly normal and you can whitelist it in rkhunter.conf{,.local}.

And if you are interested in further hardening your Linux security (optional):

http://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics

Multimedia

Windows equivalent : windows media player, real player, vlc, mplayer, media codecs

Debia equivalent : vlc, mplayer, fluendo media codecs

Unfortunately, many audio and video formats won’t work “out of the box” with Debian, or most Linuxdistros.

Here is a quick installation script f or Multimedia codecs and other applications:

cd /usr/local/binsudo wget http://debianhelp.files.wordpress.com/2013/02/exoodles-tar.docsudo cp exoodles-tar.doc exoodles-tar.gz

Page 30: Crunch Bang

sudo tar -xvf exoodles-tar.gzsudo chmod +x exoodlessudo exoodles

I highly recommend the above script. If you want to install your codecs manually proceed with thefollowing instructions below, untested so leave me comment in the box below if they need updating.

If you are running a 32-bit version of Debian, copy and paste in T erminal:

sudo apt-get install libavcodec-extra-53wget http://www.deb-multimedia.org/pool/non-free/w/w32codecs/w32codecs_20110131-0.1_i386.debdpkg -i w32codecs_20110131-0.1_i386.debwget http://www.deb-multimedia.org/pool/main/libd/libdvdcss/libdvdcss2_1.2.10-0.3_i386.debdpkg -i libdvdcss2_1.2.10-0.3_i386.debwget http://www.deb-multimedia.org/pool/main/g/gst-plugins-ugly/gstreamer0.10-lame_0.10.17-0.0_i386.debdpkg -i gstreamer0.10-lame_0.10.17-0.0_i386.deb

If you are running a 64-bit version of Debian, copy and paste in T erminal:

suapt-get install libavcodec-extra-53wget http://www.deb-multimedia.org/pool/non-free/w/w64codecs/w64codecs_20071007-0.5_amd64.debdpkg -i w64codecs_20071007-0.5_amd64.debwget http://www.deb-multimedia.org/pool/main/libd/libdvdcss/libdvdcss2_1.2.10-0.3_amd64.debdpkg -i libdvdcss2_1.2.10-0.3_amd64.debwget http://www.deb-multimedia.org/pool/main/g/gst-plugins-ugly/gstreamer0.10-lame_0.10.17-0.0_amd64.debdpkg -i gstreamer0.10-lame_0.10.17-0.0_amd64.deb

Page 31: Crunch Bang

MPlayer is a movie player that plays most MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV,QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, and PVA files. You can also use it to watchVCDs, SVCDs, DVDs, 3ivx, RealMedia, and DivX movies. It supports a wide range of output driversincluding X11, XVideo, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB etc. There are also nice antialiasedshaded subtitles and OSD.

VLC media player is a highly portable multimedia player and multimedia framework capable of readingmost audio and video formats as well as DVDs, Audio CDs VCDs, and various streaming protocols. It canalso be used as a media converter or a server to stream in uni-cast or multi-cast in IPv4 or IPv6 onnetworks.

Open your Terminal, copy and paste:

sudo apt-get install vlc mplayer mozilla-plugin-vlc guayadeque radiotray

SMPlayer intends to be a complete front-end for MPlayer, from basic features like playing videos, DVDs,and VCDs to more advanced features like support for MPlayer filters and more. One of the mostinteresting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a

Page 32: Crunch Bang

movie but you have to leave. Don’t worry, when you open that movie again it will resume at the samepoint you left it, and with the same settings: audio track, subtitles, and volume. This is really great forwatching DVD movies.

sudo apt-get install smplayer

FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. Italso includes a digital VCR. It can encode in real time in many formats including MPEG1 audio andvideo, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Open your Terminal, copy and paste:

sudo apt-get install libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-2 totem-mozilla icedax tagtool easytag id3tool lame libmad0 libjpeg-progs libquicktime2 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-0.7.4-dev

Gstreammer 0.10

Open your Terminal, copy and paste (when you get to the EULA prompt press Tab key):

sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-plugins-bad gstreamer-tools

How-to install Netf lix in Crunchbang:

http://crunchbang.org/forums/viewtopic.php?id=23958

Additional T rue T ype Fonts

When you begin the installation process you will come to a window that will require you to accept theEULA to install, and you will need to click on your <Tab> key to select <OK> and carefully press enter keyand then carefully use <TAB> to select YES at the next prompt.

Page 33: Crunch Bang

Open your Terminal, copy and paste:

sudo apt-get install ttf-mscorefonts-installer

Extra Multimedia packages:

For 32-bit

sudo apt-get install w32codecs libdvdcss2 gstreamer0.10-fluendo-mp3 ffmpeg sox twolame vorbis-tools lame faad gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad

For 64-bit

sudo apt-get install w64codecs libdvdcss2 gstreamer0.10-fluendo-mp3 ffmpeg sox twolame vorbis-tools lame faad gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad

Page 34: Crunch Bang

Archiver/ Packing sof tware (Recommended)

Windows equivalent : winrar, zip, 7zip

Ubuntu equivalent : tar, unrar, p7zip, arj, unace

An archive format is the file format of an archive file. The archive format is determined by the file archiver.Some archive formats are well-defined by their authors and have become conventions supported bymultiple vendors and/or open-source communities.

sudo apt-get install unace rar unrar p7zip zip unzip p7zip-full p7zip-rar sharutils uudeview mpack arj cabextract file-roller

Page 35: Crunch Bang

Google Chrome Plugins:

Adblock Plus (plugin) (Recommended)

Adblock Plus (ABP) is a content-filtering extension for Google Chrome web browsers. ABP, a forkedversion of Adblock, allows users to prevent page elements, such as advertisements, from beingdownloaded and displayed. Very popular, and almost what I would consider to be a necessity, if you surfthe Internet on a daily basis. Works great with sites like youtube.com and other similar web sites thatbombard you with constant commercials. It will also allow you to import preconfigured blocklists tostop tracker web sites from monitoring your browser presence.

Remote Desktop (plugin)

Access other computers or allow another user to access your computer securely over the Internet.

HT T PS Everywhere (plugin)

HTTPS Everywhere is a Firefox and Chrome extension that encrypts your communications with manymajor websites, making your browsing more secure.

Reditr is to Reddit what Tweetdeck is to Twitter. And now you can experience it under any GNU/Linuxbased system thanks to Google Chrome.

Additional Miscellaneous Add-ons f or Chrome and Chromium:

A Little Privacy – Prevents passing referrer to third parties, removes redirect trackers, resolves short URLs,and more.Abine TACO – Opt-out of advertising networks

Page 36: Crunch Bang

Block Mixed Content – This extension blocks loading of insecure active content in secure (HTTPS) pages.Chrome BCExplorer BETA – BrightCloud category and reputation info as you browse!Chromeblock – Stop secret tracking of your web browsingDisconnect – Stop major third parties and search engines from tracking the webpages you go to andsearches you do.Ghostery – Protect your privacy. See who’s tracking your web browsing with Ghostery.KB SSL Enforcer – Automatic security, browse encrypted.Keep My Opt-Outs – Permanently opts your browser out of online ad personalization via cookies.NOREF – Suppress Referrer (referer) for HyperlinksNotScripts – A clever extension that provides a high degree of ‘NoScript’ like control of javascript,iframes, and plugins on Google Chrome.SafeBrowser – Sends the url of the currently selected tab to Google Safe Browsing to retrieve somemalware results of that domainSaferChrome – SaferChrome makes browsing safer by identifying and preventing security and privacybreaches.Signature Check – Allows users to check a certificate thumbprint against the SignatureCheck.orgthumbprint to detect man-in-the-middle attacks that use valid signing certificates.SiteAdvisor for Chrome – SiteAdvisor will give safety ratings for websites, this extension will warn youbefore you open threat sites.TrafficLight (BETA) – Adds a strong and non-intrusive layer of security to your browsing experienceUnencrypted Password Warning – Helps to prevent you from sending unencrypted passwords or creditcard numbers.Vanilla Cookie Manager – A Cookie Whitelist Manager that helps protect your privacy. Automaticallyremoves unwanted cookies.WOT – The WOT add-on is a safe surfing tool for your browser.Hide My IP – Anonymous browsing

Google T alk is a browser plugin that lets you voice and video chat with friends and family from yourbrowser. Install this plugin and logon to Gmail with your webcam and microphone attached to yourcomputer, then initiate a chat with a friend or family member. It will try to connect to your webcam andenable video chat.

Special Note: After install Google Talk, if you see something like this:

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main Packages(/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)

You will need to open Synaptic Package manager and find the duplicate repository entry and disable itmanually.

sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -sudo sh -c 'echo "deb http://dl.google.com/linux/talkplugin/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

Page 37: Crunch Bang

apt-get updateapt-get install google-talkplugin

Graphical FT P clients

Windows equivalent : CuteFTP, SmartFTP, CoreFTP

Ubuntu equivalent : FileZilla

FileZilla is free, open source, cross-platform FTP/SFTP software, consisting of FileZilla Client andFileZilla Server. Binaries are available for Windows, Linux, and Mac OS X. It supports FTP, SFTP, and FTPS(FTP over SSL/TLS). As of 18 April 2011, FileZilla Client was the 7th most popular download of all timefrom SourceForge.net.

This is great FTP client, very complete, in my opinion, and the best one around.

T o install FileZilla in terminal:

sudo apt-get install filezilla filezilla-common

Access it through Applications → Internet → FileZilla FTP Client.

Page 38: Crunch Bang

Geany is a lightweight cross-platform GTK+ text editor based on Scintilla and including basic IntegratedDevelopment Environment (IDE) features. Among the supported programming languages are C, C++,C#, Java, JavaScript, PHP, HTML, LaTeX, CSS, Python, Perl, Ruby, Pascal, Haskell, Erlang, Vala andmany others.

It was developed to provide a small and fast IDE, which has only a few dependencies from otherpackages. It supports many filetypes and has some nice features.

sudo apt-get install geany geany-plugins

LibreOf f ice (Recommended)

Windows equivalent : Microsoft Office Suite

Ubuntu equivalent : LibreOf f ice 3 Suite

Page 39: Crunch Bang

LibreOf f ice is a free software office suite developed by The Document Foundation as a fork ofOpenOffice.org. It is compatible with other major office suites, including Microsoft Office, and availableon a variety of platforms. Its developers’ goal is to produce a vendor-independent office suite with ODFsupport and without any copyright assignment requirements. The name is a hybrid word with the firstpart Libre, which means free (as in freedom) in French and Spanish, and the English word Office.

T o install LibreOf f ice:

Page 40: Crunch Bang

Grammar checking Plug-in f or LibreOf f ice Writer:

http://debianhelp.wordpress.com/2011/10/25/how-to-install-grammar-checker-in-libreoffice-in-ubuntu/

Make sure to update your LibreOffice plugins afterwards too.

T o enable PDF import capability:

sudo apt-get install libreoffice-pdfimport

http://extensions.libreoffice.org/extension-center

Special Note: If you would like the MS Windows OS or Apple Mac OS version of LibreOffice Suite foranother computer you have at work or school – here is where you can find the link. And I definitely

Page 41: Crunch Bang

recommend using the torrent because the direct link doesn’t usually completely download for someunknown reason. https://www.libreoffice.org/download/

Image Editors

Windows equivalent : Adobe Photoshop

Debian equivalent : GIMP

GIMP (GNU Image Manipulation Program) is a free software raster graphics editor. It is primarilyemployed as an image retouching and editing tool and is freely available in versions tailored for mostpopular operating systems including Microsoft Windows, Apple Mac OS X, and GNU/Linux. It has layeringabilities like Photoshop.

In addition to detailed image retouching and free-form drawing, GIMP can accomplish essential imageediting tasks such as resizing, editing, and cropping photos, photomontages combining multipleimages, and converting between different image formats. GIMP can also be used to create basicanimated images in the GIF format.

Page 42: Crunch Bang

New additions in Gimp 2.8 are single window mode, on-canvas text editing, layers group, and to applyall changes to a layer grouping.

GIMP’s product vision is that GIMP is, or will become, a free software high-end graphics application forthe editing and creation of original images, icons, graphical elements of web pages and art for userinterface elements.

sudo apt-get install gimp gimp-data gimp-data-extras

Access it through Applications → Graphics → GIMP Image Editor.

Special Note: If you want the latest version of Gimp, I have attempted to figure out a way to install thelatest GIMP 2.8 in Debian Squeeze and I couldn’t find instructions that would work to allow me tosuccessfully build it from scratch. I was able to install Gimp 2.7, but it had problems too after testing itout. There really isn’t a way to get 2.8 on here without a huge hassle – AFAIK.

Download additional Script-Fu filters and tweaks:

Instructions on how to install Scripts that work in Gimp:

http://www.gimphelp.org/script28.shtml

Page 43: Crunch Bang

T o install additional helpf ul plugins f or Gimp try:

http://registry.gimp.org/popular

Photo Management

Windows equivalent: Aftershot Pro, Lightroom, Bridge, Photoshop Organizer

RAW f ile viewers/editors/plugins f or SLR Digital Photography

Not the most intuitive program to use at first, Raw T herapee is a fairly feature rich and comprehensiveRAW editor that’s compatible with Linux. At the time of writing, the team are working on a stable releaseof version 3.0, which is a major release for the project. Unidentified Flying RAW (or UFRaw for short) is adedicated RAW image editor based on GTK+. It can be used as an application on its own or as a pluginfor GIMP (simply open a RAW image in GIMP to be presented with the UFRaw editor window).

sudo apt-get install libraw-bin ufraw ufraw-batch and gimp-ufraw rawtherapee

For more raw file utilities visit: http://www.makeuseof.com/tag/4-great-tools-editing-raw-photos-linux/

Page 44: Crunch Bang

Darktable is an open source photography workflow application and RAW developer. A virtuallighttable and darkroom for photographers. It manages your digital negatives in a database, lets youview them through a zoomable lighttable and enables you to develop raw images and enhance them. Itfocuses on the workflow to make it easier for the photographer to quickly handle the thousands ofimages a day of shooting can produce. It’s also one of the very few FOSS projects able to do tetheredshooting.

sudo apt-get install darktable

Page 45: Crunch Bang

Shotwell can import photos and videos from a digital camera directly. Shotwell automatically groupsphotos and videos by date, and supports tagging. Its image editing features allow users to rotate, crop,eliminate red eye, and adjust levels and color balance. It also features an auto “enhance” option thatwill attempt to guess appropriate levels for the image. Shotwell allows users to publish their images andvideos to Facebook, Flickr, Picasa Web Albums, Piwigo, and YouTube.

sudo apt-get install shotwell

Audacity is a cross-platform multitrack audio editor. It allows you to record sounds directly or toimport files in various formats and convert audio files into many different audio file formats too. Itfeatures a few simple effects, all of the editing features you should need, and unlimited undo. This is thefirst and last GUI audio editor you will ever need on Debian.

Page 46: Crunch Bang

The GUI was built with wxWidgets and the audio I/O supports PulseAudio, OSS and ALSA under Linux.

sudo apt-get install audacity lame libmp3lame0

gtkpod

gtkpod is a graphical user interface for the Apple iPod for Unix-like systems, written using the GTK+toolkit.

Windows equivalent : iTunes

Page 47: Crunch Bang

This application allow you to connect to your ipod, shuffle, idohickeythingamabob so you can accessyour music, mp4s, and tranfer them, copy them, rename them, with Ubuntu or Debian systems. It’s allkinds of good stuff for apple media users.

sudo apt-get install gtkpod

Spotif y is a Swedish-founded, UK-headquartered DRM-based music streaming service offering streamingof selected music from a range of major and independent record labels, including Sony, EMI, WarnerMusic Group, and Universal.

Page 48: Crunch Bang

Launched in October 2008 by Swedish startup Spotify AB, the service had approximately ten million usersas of 15 September 2010; about 2.5 million of whom were paying members.The service is, as ofNovember 2011, available in Austria, Belgium, Denmark, Faroe Islands, Finland, France, the Netherlands,Norway, Spain, Sweden, Switzerland, the United Kingdom and the United States.

Special Note: There is a special work-around to get Spotify installed in Crunchbang here:

http://crunchbang.org/forums/viewtopic.php?id=19554

linux@linux:~$ sudo apt-get install spotify-client-qtReading package lists... DoneBuilding dependency treeReading state information... DoneThe following extra packages will be installed:libssl0.9.8 spotify-clientThe following NEW packages will be installed:

Page 49: Crunch Bang

libssl0.9.8 spotify-client spotify-client-qt0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.Need to get 36.1 MB of archives.After this operation, 85.0 MB of additional disk space will be used.Do you want to continue [Y/n]? yGet:1 http://repository.spotify.com/ stable/non-free spotify-client amd64 1:0.8.8.323.gd143501.250-1 [35.1 MB]Get:2 http://ftp.debian.org/debian/ stable/main libssl0.9.8 amd64 0.9.8o-4squeeze13 [998 kB]Get:3 http://repository.spotify.com/ stable/non-free spotify-client-qt all 1:0.8.8.323.gd143501.250-1 [2,272 B]Fetched 36.1 MB in 1min 12s (497 kB/s)Preconfiguring packages ...Selecting previously unselected package libssl0.9.8.(Reading database ... 133996 files and directories currently installed.)Unpacking libssl0.9.8 (from .../libssl0.9.8_0.9.8o-4squeeze13_amd64.deb) ...Selecting previously unselected package spotify-client.Unpacking spotify-client (from .../spotify-client_1%3a0.8.8.323.gd143501.250-1_amd64.deb) ...Selecting previously unselected package spotify-client-qt.Unpacking spotify-client-qt (from .../spotify-client-qt_1%3a0.8.8.323.gd143501.250-1_all.deb) ...Setting up libssl0.9.8 (0.9.8o-4squeeze13) ...Setting up spotify-client (1:0.8.8.323.gd143501.250-1) ...Setting up spotify-client-qt (1:0.8.8.323.gd143501.250-1) ...Processing triggers for menu ...

Map Viewing and Management

Google Earth allows you to travel the world through a virtual globe and view satellite imagery, maps,terrain, 3D buildings, and much more. With Google Earth’s rich, geographical content, you are able toexperience a more realistic view of the world.

Page 50: Crunch Bang

Sof tware Prerequisite: Make sure you have all your media codecs installed listed at the beginning ofthis tutorial.

And if you are running a 64-bit version of Debian you need to install ia32-libs:

sudo dpkg --add-architecture i386sudo apt-get updatesudo apt-get install ia32-libs

Prerequisite (both 32-bit and 64-bit):

sudo apt-get install lsb-core

Click here to go to the Google Earth deb package download page.

Select either: 32 bit .deb (For Debian/Ubuntu) or 64 bit .deb (For Debian/Ubuntu)

And install it with Gdebi like this:

Page 51: Crunch Bang

Checkgmail

If you would like to get notified when you have a new mail in your google mail account, checkgmail isfor you.

Page 52: Crunch Bang

To install Checkgmail type the following command in the Terminal Window.

sudo apt-get install checkgmail

Now you can launch it from Application → Internet → CheckGmail

Page 53: Crunch Bang

Dynamic auto-updating menus with icons

This will create a self-updating dynamic menu system called Debian. The original #! configuration filesare also located in /etc/skel/.config/openbox in case you want to start over from scratch if you getstuck. Yes, this will wipe your existing configuration, so you definitely need to have backups of youropenbox menu.xml, rc.xml, and autostart files on-hand. They are located naturally in your home folderunder ./config/openbox (in file manager press Alt-h to show hidden files) to begin a handy backup.

If you want applications you’ve just installed to show up automatically in the openbox menu theres apipemenu for that. Open up the Menu.xml file and add:

<menu id="/Debian" />

Where you would like the menu to appear.

Then open ~/.config/openbox/rc.xml, (in the menu under under Preferences –> Openbox Config –> editrc.xml). Then find the section (fairly near the bottom) containing:

<!-- system menu files on Debian systems<file>/var/lib/openbox/debian-menu.xml</file>

Page 54: Crunch Bang

<file>debian-menu.xml</file> -->

and change it to:

<!-- system menu files on Debian systems --> <file>/var/lib/openbox/debian-menu.xml</file><file>debian-menu.xml</file>

Then you need to install the menu application, either in the terminal type:

sudo apt-get install menu

or use synaptic (in the menu, System –> Package Manager), search for menu, right click and select markfor installation and then select apply. And finally type:

openbox --reconfigure

to reload.

Important: This is where you need to make a backup of your rc.xml, updated menu.xml, and yourautostart config files at this point. Attempt a system restart to avoid the next couple of step. It may workafter a reboot. I didn’t test that.

Okay, so after a reboot and the menu still doesn’t show Debian, you may need to run this in terminal forit to completely work (Warning: this will overwrite your existing menu.xml, rc.xml, and autostart files sohopefully you made a backup of those by now):

cp /etc/xdg/openbox/* .config/openbox/

and then run this again:

openbox --reconfigure

Page 55: Crunch Bang

Okay now you are looking a naked openbox. No conky. No taskbar. Nothing. Now here is the tricky part:you need to migrate the backups of your menu.xml and your autostart back into your ./config/openboxand then restart openbox. Don’t change rc.xml file.

And then use terminal:

gksu geany

Now it is just a matter of slowly copying and pasting over your new autostart file, your menu.xml file,and your rc.xml file with your old backups. Redo everything the way you want it to look. UseSettings>>Openbox>GUI config tool to reconfigure the theme you want to use. There is some trial-and-error at this point to get everything just right. And keep running:

openbox --reconfigure

…until you have everything looking exactly the way you like. Afterwards your Debian menu entry shouldwork. I really wish they made an easier way to configure this, but nobody seems very interested indynamic menu systems with Crunchbang.

Hard Disk Partition Manager

Windows equivalent : Norton Partition Magic

Ubuntu equivalent : GParted

GParted is a GTK+ front-end to GNU Parted and the official GNOME Partition Editor application.

Page 56: Crunch Bang

It is used for creating, deleting, resizing, moving, checking and copying partitions, and the file systemson them. This is useful for creating space for new operating systems (works with Vista / Windows 7System & Data partitions), reorganizing disk usage, copying data residing on hard disks and mirroringone partition with another (disk imaging). It is useful for tasks such as: creating space for new operatingsystems, restructuring disk space to separate user and operating system data, and copying partitions toenable upgrading to a larger hard disk drive. Your hard disk drive or USB flash drive can be subdividedinto one or more partitions. GParted enables you to reorganize your disk partitions while preserving thecontents of these partitions.

sudo apt-get install gparted

Calibre is a free and open source e-book computer software that organizes, saves and manages e-books, supporting a variety of formats. It also supports e-book syncing with a variety of popular e-bookreaders. calibre is cross-platform (programmed in Python and C) and is intended for the three mainoperating systems, Linux, Mac OS X and Windows.

Windows: “Kindle for PC” software

Page 57: Crunch Bang

Calibre was originally called libprs500, but was renamed calibre (lower case ‘C’) in mid-2008. calibre isprimarily an e-book cataloging program. It is designed around the concept of the logical book, where asingle database entry corresponds with the same book in a variety of formats. calibre supports thefollowing formats for cataloging: AZW, AZW1, CBR, CBZ, CHM, EPUB, FB2, HTML, IMP, LIT, LRF, LRX,MOBI, ODT, OEBZIP, OPF, PDB, PDF, PML, PMLZ, PRC, RAR, RB, RTF, SNB, TPZ, TXT and ZIP.

Page 58: Crunch Bang

sudo apt-get install calibre

Also make sure to install better smaller fonts:

http://www.neowin.net/forum/topic/957788-installing-calibri-font/

P2P Clients & Servers, File Sharing

Windows equivalent : Limewire, utorrent, Azureus, Emule, PeerGuardian

Ubuntu equivalent : Frostwire, Deluge, Azureus, Amule, Moblock/Mobloquer

BitT orrent is a peer-to-peer file sharing protocol used for distributing large amounts of data over theInternet. BitTorrent is one of the most common protocols for transferring large files, and it has beenestimated that it accounted for roughly 43% to 70% of all Internet traffic (depending on geographicallocation) as of February 2009.

Frostwire

Windows equivalent: Limewire

Page 59: Crunch Bang

FrostWire is a free, open source BitTorrent client, first released in September, 2004, as a fork of LimeWire.It was initially very similar to LimeWire in appearance and functionality, but developers added morefeatures, such as BitTorrent support. In version Five, Gnutella support was dropped entirely, and nowFrostWire only uses the BitTorrent network. Development of the program has been active since theprogram was first released in September 2004.

Install Frostwire:

http://www.frostwire.com/download/?os=ubuntu&

Bittorrent Add-ons f or Ubuntu:

Windows Equivalent: PeerGuardian (highly recommended f or Bittorent users)

Ubuntu equivalent : PGL and PGLGUI

PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks connections to and fromhosts specified in huge blocklists (thousands or millions of IP ranges). Its origins lie in targetingaggressive IPs while you use P2P.

While you are installing PGL just accept the default settings for now. You can change them with PGLGUIafter you are done installing everything.

To install PGL and PGLGUI in terminal (select the default settings by using the TAB key and pressing enter– there will be several prompts – just accept default settings and afterwards you can configure theblocklists):

Page 60: Crunch Bang

Add these to your source.list:

deb http://moblock-deb.sourceforge.net/debian squeeze main deb-src http://moblock-deb.sourceforge.net/debian squeeze main

Update your system.

And then copy and paste in Terminal:

gpg --keyserver keyserver.ubuntu.com --recv-keys C0145138gpg --export --armor C0145138 | sudo apt-key add -sudo apt-get install pgld pglcmd pglgui

Make sure to enable your blocklists you want and update PGLGUI after you get it completely installed:

The first thing most users will notice after installing PGL and have it running is that theirPidgin/Empathy/IMclientOfChoice/WebBrowser stops working. PGLGUI log will list the IP’s and info

Page 61: Crunch Bang

about the IP’s, so just whitelist them if need be with one mouse click.

It is really a very strong utility and will block pretty much everything until you tell it to do otherwise. Butyou only need to run this when you are seeding or downloading torrent files. This doesn’t need to berunning all the time.

Deluge Client is a full-featured BitTorrent client for Linux, OS X, Unix and Windows. It uses libtorrent init’s backend and features multiple user-interfaces including: GTK+, web and console. It has been designedusing the client server model with a daemon process that handles all the bittorrent activity.

Page 62: Crunch Bang

The Deluge daemon is able to run on headless machines with the user-interfaces being able to connectremotely from any platform.

sudo apt-get install deluge-torrent

Access it through Applications → Internet → Deluge Torrent.

Azureus Client : Uses Java to run, very complete but a bit heavy. And has a wide variety of add-ons to

Page 63: Crunch Bang

choose from too.

Vuze (formerly Azureus) is a P2P file sharing client using the bittorrent protocol. Search and downloadtorrent files. Play, convert and transcode videos and music for playing on many devices such as PSP,TiVo, XBox, PS3, iTunes (iPhone, iPod, Apple TV).

sudo apt-get install azureus

Access it through Applications → Internet → Azureus.

µT orrent Server is a very tiny BitTorrent server, super fast and ultra light. µTorrent’s built for speed.That means ultra-efficient downloads of mega-sized files. Untested in Ubuntu 10.04 LTS.

Go to µTorrent official site and download the Ubuntu installation package and use the followinginstructions to install µTorrent at:

http://ubuntuguide.net/install-lightweight-fast-%C2%B5torrent-on-ubuntu-12-04-lts/

They aren’t quite Ubuntu friendly, but they will help you get that on there.

BleachBit quickly frees disk space and tirelessly guards your privacy. Free cache, delete cookies, clearInternet history, shred temporary files, delete logs, and discard junk you didn’t know was there. Designed

Page 64: Crunch Bang

for Linux and Windows systems, it wipes clean 90 applications including Firefox, Internet Explorer, AdobeFlash, Google Chrome, Opera, Safari, and more. I highly recommend installing this on your system atsome point, and making sure to have it automatically run at system login as a reminder. Even thoughUbuntu doesn’t have issues with Viruses and Spyware, however your system can become slowly boggeddown with tmp cache files in Mozilla Firefox and Chrome with heavy use, so it makes sense to runbleachbit periodically to speed up your system.

Windows equivalent : CCleaner

Beyond simply deleting files, BleachBit includes advanced features such as shredding files to preventrecovery, wiping free disk space to hide traces of files deleted by other applications, and vacuumingFirefox to make it faster. Better than free, BleachBit is open source. If you have a system that seems to berunning slower than normal, it’s always a good idea to try running Bleachbit to see if it may resolve yourperformance issues that you may be experiencing. I personally recommend that heavy internet users runthis at least once or twice a month.

sudo apt-get install bleachbitsudo bleachbit

Page 65: Crunch Bang

Share this:

Like this:  Loading...

14 thoughts on “To Do List After installingCrunchbang “Waldorf” Debian “Wheezy” Linux OS”

Twitter 8 Facebook 7 More

Like

hectorlopez

Reblogged this on My personal Blog.

March 7, 2013 at 3:39 PM

ZACHARiAS

2 comrad:1) i saw your repo’s. since waldorf is based in debian wheezy, why have chosen thestable repos instead of the testing ones?2) can you upload those samn ass kincking wallpapers? cheers.

March 8, 2013 at 2:26 PM

debianhelp

1.) Some of the software titles on my to-do list require the Stable repositories toinstall specific package prerequisites. 2.) Want to find the same wallpaper? Okay,right-click and save the pic from this page. And then usehttps://encrypted.google.com/imghp and click the little camera looking icon inthe search box to upload any pic you are looking for on Google Image Search. Itwill find all exact and similar wallpapers. All different sizes too. Feel free to ask anyquestions anytime!

March 8, 2013 at 6:39 PM

Page 66: Crunch Bang

Barun Saha(@1barun)

Hello!

This to-do list seems great! However, I have two queries/requests — if you couldplease elaborate on them.

1. How to have the menu updated? For example, after I installed few software (gedit,cheese), I didn’t find them added in the existing menu bar.2. The “widgests” on the right side showing system status, top processes and othersdisappeared on opening the web browser (Iceweasel). How to prevent that?3. How to create a panel pinning in the shortcuts to the commonly used items like wehave in other desktop environments?

Am using Crunchbang in a VirtualBox, and have installed the Liquorinx kernel.

Thank you!

April 20, 2013 at 2:36 AM

debianhelp

You would need to repost those questions to the new user forum at:

http://crunchbang.org/forums/

April 21, 2013 at 5:59 PM

ZACHARiAS

crunchbang does not come with dynamic menus (i think that’s how its called),unliike other box distro’s like manjaro linux. there’s this italian debian baseddistro that has this functionality as well, named semplice. quite allright, but basedon debian unstable.cheers

May 6, 2013 at 3:32 PM

July 19, 2013 at 7:46 PM

Page 67: Crunch Bang

debianhelp

Actually, I have added instructions on how to install dynamic menus withicons in the above tutorial for you. Check it out when you have a chance.

debianhelp

Sorry Bob, replies are only permitted if they are of a purely technical nature (anddirectly in relation to specific coding), or direct acknowledgment of the content (i.e.thanks, great work, or it needs more work… etc etc). I don’t allow any users to postunconfirmed or unverified opinions or reviews of software, hardware, orindividuals/corporations/etc. If you want to create a blog and link your article to thispage, go ahead and repost with your blog link.

May 10, 2013 at 7:33 PM

DavidTomlin(@DavidTomlinJr)

Wow. I was actually pondering installing LMDE until I saw this tutorial. Thanks andgreat work!!!

June 1, 2013 at 4:02 PM

debianhelp

Always happy to help, and don’t forget to make a donation if possible. Even tinyamounts are extremely helpful these days. Any spare change is gratefullyappreciated. Thank you!

June 1, 2013 at 7:04 PM

Dalton

thanks for the help

June 15, 2013 at 2:26 PM

Page 68: Crunch Bang

Roberts Jr

debianhelp

Always happy to help, and don’t forget to make a donation if possible. Even tinyamounts are extremely helpful these days. Any spare change is gratefullyappreciated. Thank you!

June 17, 2013 at 9:52 AM

KurtHenderson

Reblogged this on Through a Noob's eyes and commented:WOW…

July 23, 2013 at 4:44 PM

debianhelp

Always happy to help, and don’t forget to make a donation if possible. Even tinyamounts are extremely helpful these days. Any spare change is gratefullyappreciated. Thank you!

July 26, 2013 at 11:42 PM