How can I show my saved passwords on my MacBook?

To be fair. I love working with my MacBook Air! The only feature I am really not happy with is the “You do not need to type in your mail password, never – ever – again.” feature.

I have really lost the password from my mind, just because I had never to use it again!

I do not know how to say it in simpler words than this to find your “lost” password again.

  • Open the Applications folder
    In that folder there is another one called Utilities
  • Open the Utilities folder
  • One of the items in that folder is

There you go …



How can I get a printer to show in the Dock?

Many times I use my printer scan feature and asked myself each time, How can I get the printer app to show up in my MacBook dock?

Simple Answer:

As printer apps are usually stored in /Users/username/Library/Printers/ you can easily open your Finder -> Go (menu) -> Go To Folder and drag the app to the Dock.

Creating a bootbale USB Stick from Xubuntu ISO file on command line (Update)

It took me some research to get this proved instructions to work for any kind of USB Stick and any Linux/ubuntu distro to boot from.

Any usb-creator GUI did not work (for me) and also caused some bugs…

[Current issue at the releases 15.04 and 15.10] There are problems with the Startup Disk Creator alias usb-creator, if you try to create a 15.04 boot drive from the versions 12.04 LTS and 14.04 LTS of Ubuntu. See this link to the release notes Unetbootin works from Ubuntu 12.04.5 and 14.04.2 (can make a working USB boot drive for Ubuntu 15.04), but the bug is still there in Startup Disk Creator (tested April 29 2015 (and October 22 for 15.10))

Continue reading Creating a bootbale USB Stick from Xubuntu ISO file on command line (Update)

How to add swap space to your system

As always, there is more than one way to add swap space to your system.

But this is how it worked for me:

  • Create a directory which holds the swap file
    sudo mkdir -p /var/cache/swap/
  • How much do you need / want? Let’s say 6GB
    sudo dd if=/dev/zero of=/var/cache/swap/6gb-swap-file bs=1M count=6144
  • We only want root to have access
    sudo chmod 600 /var/cache/swap/6gb-swap-file
  • Now we want to set it up as swap area
    sudo mkswap /var/cache/swap/6gb-swap-file
  • We need to tell the system
    sudo swapon /var/cache/swap/6gb-swap-file
  • Permanent mean to update /etc/fstab to ensure at next boot system still know about
    # swap added by "Super-User"
    /var/cache/swap/ 6gb-swap-file   none    swap    sw    0   0

Without the last step you can use the swap as long as you do not reboot the system;-)



Mirror your Blog using ‘wget’

Sometimes you want to have your “How to…” section as offline resource with you, so that you can take and view it without internet access.
As wget was my preferred choice since late 1990 and early 2000’s I wanted to ensure I do save my brain once again.

Simple way is:

wget --mirror http://your-site.whatever

The more powerful & “I am no longer a greenhorn” way is to do it like this:

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://your-site.whatever

As I need an explanation of the various options:

  • --mirror – the download will be recursive
  • --convert-links – The links to files that have been downloaded by wget will be changed to refer to the file they point to as a relative link
  • --adjust-extension – If a file of type application/xhtml+xml or text/html is downloaded and the URL does
    not end with the regexp \.[Hh][Tt][Mm][Ll]?, this option will cause the suffix .html to be appended to the local filename, same as for files of type text/css end in the suffix .css
  • --page-requisites – This option causes wget to download all the files that are necessary to properly display a given HTML page. This includes such things as inlined images, sounds, and referenced stylesheets
  • --no-parent – it guarantees that only the files below a certain hierarchy will be downloaded.

How to copy a directory with all subfolder/files to a new destination

  • Option A
    You can copy the content of a folder /theme to another existing folder /Theme with the command

    cp -a /theme/. /Theme/

    The -a option is a recursive option, that help you keep all file attributes.

    The . at end of the source path is a specific cp syntax that allow you to copy all files and (sub-)folders, included hidden ones.

  • Option B
    You can use cpio for this action.

    # find /theme | cpio -vdump /Theme

    Options -v = verbose dump = ensure all files inclusive all correct rights and permissions are copied.

Have Fun,

How to modify the “Proudly powered by WordPress” footer…

Have you ever wondered if the “Proudly powered by WordPress” footer could be changed to some more individual?

I think I got a solution. Well, at least temporarily – until new Updates are applied, or I found a new “How to … clone a theme” entry in my brain 😉

To remove the text in the footer you will need to go to the footer.php file in the theme folder (wp-content/themes/<theme-name> and modify the lines …

<div class=”site-info”>
<?php do_action( ‘twentythirteen_credits’ ); ?>
<a href=”<?php echo esc_url( __( ‘’, ‘twentythirteen’ ) ); ?>” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentythirteen’ ); ?>”><?php printf( __( ‘Proudly powered by %s’, ‘twentythirteen’ ), ‘WordPress’ ); ?></a>
</div><!– .site-info –>

Keep you updated …




Reference (added April 13th, 2015):

How to remove old/unused kernel images from system


$ dpkg –list | grep linux-image

# dpkg –list | grep linux-headers

ii linux-headers-3.11.0-13 3.11.0-13.20 all Header files related to Linux kernel version 3.11.0

ii linux-headers-3.11.0-13-generic 3.11.0-13.20 i386 Linux kernel headers for version 3.11.0 on 32 bit x86 SMP

ii linux-headers-generic i386 Generic Linux kernel headers

ii linux-headers-generic-pae i386 Transitional package

rc linux-image-extra-3.8.0-19-generic 3.8.0-19.30 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP

rc linux-image-extra-3.8.0-21-generic 3.8.0-21.32 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP

rc linux-image-extra-3.8.0-22-generic 3.8.0-22.33 amd64 Linux kernel image for version 3.8.0 on 64 bit x86 SMP

Note the “rc” and “ii” in the dpkg output.

rc – package removed, cnfig files remain

ii – package installed


In respect to ‘rc’ .. Removed but Config files remain:

While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package with the following command.


dpkg -l | grep ‘^rc’ | awk ‘{print $2}’ | xargs dpkg –purge


After I finished, I ran /usr/sbin/update-grub just to be safe.


I use this script to clear my kernels



ls /boot/ | grep vmlinuz | sed ‘s@vmlinuz-@linux-image-@g’ | grep -v `uname -r` > /tmp/kernelList

for I in `cat /tmp/kernelList`


aptitude remove $I


rm -f /tmp/kernelList



Validation steps:

$ ls /boot/ | grep vmlinuz



$ ls /boot/ | grep vmlinuz | sed ‘s@vmlinuz-@linux-image-@g’



$ ls /boot/ | grep vmlinuz | sed ‘s@vmlinuz-@linux-image-@g’ | grep -v `uname -r`


$ uname -r


How to install Xubuntu / Xfce as a replacement for Gnome Unity in Ubuntu 13.10



sudo apt-get install xubuntu-desktop gksu leafpad synaptic

Press Enter. Type your password. Your password will remain entirely invisible. not even dots will show, this is normal. Press Enter again.


– In the login window, click on the Ubuntu logo next to your user name. Select Xubuntu Session.


– Enter your password and press Enter. Now the Xubuntu desktop appears! It doesn’t look pretty yet: darkish and gloomy, with probably a lot of icons on the desktop. But all that is easily changeable (more about that that later on).


First: the Great Cleanup!


C. Cleanup


– Now it’s time for cleanup, in order to prevent system pollution problems. Click on the mouse icon (top left) – Accessories – Terminal Emulator


Type (use copy/paste, that’s both easier and safer):


Ubuntu 13.10:

sudo apt-get remove nautilus gnome-power-manager compiz compiz-gnome unity unity-* unity8* hud zeitgeist zeitgeist-core python-zeitgeist libzeitgeist* activity-log-manager-common gnome-control-center gnome-screenshot

sudo apt-get autoremove


Press Enter. Type your password. Your password will remain entirely invisible, not even dots will show, this is normal. Press Enter again.


In Ubuntu 13.10 you’re almost done now; reboot your computer (full reboot) and you can head straight on to lots of tips for tweaking, tuning and beautifying Xubuntu that can be found here


Now an intensive operation is being launched; simply wait.



B. Log in to Xubuntu


– When the installation is complete: log out of Ubuntu. Note: log out, don’t shut down!