Give /tmp more room

Sometimes when I do an update, or build an AUR install with yaourt, I get a “no space left on device” error.

I can temporarily increase the size of /tmp with:

sudo mount -o remount,exec,suid,size=2G,noatime /tmp

That will set /tmp to 2 Gb

Or, for a more long term solution, set the yaourt temporary directory to another location. For example, the following steps set the TMPDIR to the temp directory in my home directory.

$ cd ~
$ mkdir temp
$ sudo nano /etc/yaourtrc

Edit the line

#TMPDIR="/tmp"

to

TMPDIR="/home/<my user name>/temp"

Useful Unicodes

I often need to input Unicode symbols into documents.

  • In Linux, Ctrl + Shift + U following by the Unicode number.
  • In Microsoft Word, Unicode number then Alt + X.

Here are a few of my favorite Unicodes:

Name Symbol Number
Copyright sign © 00A9
Registered sign ® 00AE
Em Dash 2014
Dagger 2020
Bullet 2022
Therefore 2234
Because 2235
Black square 25A0
White square 25A1
White square with rounded corners 25A2
White square with black small square 25A3
Large circle 25EF
Warning sign 26A0
Check mark 2713
Heavy check mark 2714
Ballot X 2717
Heavy ballot X 2718
Black large circle 2B24
Eye 👁 1F441

Using Multiple Desktops in Raspbian Jessie

To set up multiple desktops:

  1. Click Menu
  2. Click Preferences
  3. Click Openbox Configuration Manager
    menu to Openbox Configuration Manager
    Menu to obconf

     

    If you do not see the Openbox Configuration Manager, install it by running:
    sudo apt-get install -y obconf

  4. Click on the Desktops tab, and select the desired Number of desktops.

    Desktop Settings
    Desktop Settings

You now have multiple desktops, use the keyboard shortcuts Ctrl + Alt + ⇨ or Ctrl + Alt + ⇦ to switch between the next and previous desktop.

If the shortcuts keys do not work, refer to the following post for Raspbian keyboard shortcuts to change your key-binding in Openbox.

Location of Raspbian Jessie keyboard shortcuts

The default keyboard shortcut setting is in the file
/etc/xdg/openbox/lxde-pi-rc.xml
under the <keyboard> section.

There may also be an rc.xml setting file in the same folder for your reference

Your personal shortcuts, if they exists, is in
~/.config/openbox/lxde-pi-rc.xml

For examle, add the following in the <keyboard> section to move to adjacent desktop workspace

<keybind key="C-A-Left">
  <action name="DesktopLeft"/>
</keybind>
<keybind key="C-A-Right">
  <action name="DesktopRight"/>
</keybind>