Difference between revisions of "Uncluttering your machine"

From Gender and Tech Resources

m
Line 21: Line 21:
 
You can turn old harddrives into external harddrives by taking them out of an old PC and putting them in portable HDD USB storage kit (alias harddrive enclosures). These "DIY" kits are available for 2.5 inch and 3.5 inch HDD using either IDE or SATA connections and cost way less than a manufactured USB HDD. If on linux, you may have a permission problem: change the group of /media/disk to storage, change permissions to 775 and add users that need to be able to write to disk to the storage group (you need to log out and log in that users before changes are visible). As root do:  
 
You can turn old harddrives into external harddrives by taking them out of an old PC and putting them in portable HDD USB storage kit (alias harddrive enclosures). These "DIY" kits are available for 2.5 inch and 3.5 inch HDD using either IDE or SATA connections and cost way less than a manufactured USB HDD. If on linux, you may have a permission problem: change the group of /media/disk to storage, change permissions to 775 and add users that need to be able to write to disk to the storage group (you need to log out and log in that users before changes are visible). As root do:  
  
<code># chgrp storage /media/external_disk</code>
+
<code># chgrp storage /media/[external_disk]</code>
  
<code># chmod 775 /media/external_disk</code>
+
<code># chmod 775 /media/[external_disk]</code>
  
<code># gpasswd -a user_name storage</code>
+
<code># gpasswd -a [user_name] storage</code>
  
 
This way everyone will be able to read the disk, but only root and users in storage group will be able to write to it. If you want everyone to be able to read/write, use chmod 777 [2]. If the operation isn't permitted while running it as root you probably need to add support for the NTFS file system first:  
 
This way everyone will be able to read the disk, but only root and users in storage group will be able to write to it. If you want everyone to be able to read/write, use chmod 777 [2]. If the operation isn't permitted while running it as root you probably need to add support for the NTFS file system first:  
Line 37: Line 37:
 
* '''Step 3 Separate application files from data files'''
 
* '''Step 3 Separate application files from data files'''
  
On a linux system this is already the case. Most applications make directories with a dot in front that are default not visible (you have to set "Show Hidden Files" in your "View" menu if you are using a GUI). Apparently, in M$ the My Document directory gets a lot of junk added to it by just about everything. Remove your icons/links to “My Documents” and replace them with links to the folders <em>you</em> created and <em>you </em>care about, fake or not!
+
On a linux system this is already the case. Most applications make directories with a dot in front of its name that are default not visible (you have to set "Show Hidden Files" in your "View" menu if you are using a GUI). Apparently, in M$ there is no such separation and the My Document directory gets a lot of junk added to it by just about everything. Remove your icons/links to “My Documents” and replace them with links to the folders <em>you</em> created and <em>you </em>care about, fake or not!
  
 
* '''Step 4 Customise and accessorise'''
 
* '''Step 4 Customise and accessorise'''
  
Make the place comfortable to the eye. Change the background. You can get some beautifying icons for linux from [http://gnome-look.org/content/show.php/?content=156874 gnome-look] or the [http://www.iconarchive.com/tag/linux icon-archive].
+
Make the place comfortable to the eye. Change the background. Change the icons. You can get some beautifying stuff for linux from [http://gnome-look.org/content/show.php/?content=156874 gnome-look], [http://kde-look.org/ kde-look], [http://xfce-look.org/ xfce-look] and many more locations.
  
 
* '''Step 5 Regular maintenance'''
 
* '''Step 5 Regular maintenance'''
Line 47: Line 47:
 
You can make a backup of your entire system with rsync or with unison. <em>Rsync</em>, which stands for "remote sync", is a remote and local file synchronisation tool.  It uses an algorithm that minimises the amount of data copied by only moving the portions of files that have changed. It operates in a way that is similar to ssh, scp, and cp.  
 
You can make a backup of your entire system with rsync or with unison. <em>Rsync</em>, which stands for "remote sync", is a remote and local file synchronisation tool.  It uses an algorithm that minimises the amount of data copied by only moving the portions of files that have changed. It operates in a way that is similar to ssh, scp, and cp.  
  
<code>rsync -a dir1/ dir2</code>
+
<nowiki>#</nowiki> <code>rsync -a [directory_name]/ /media/[external_disk]/[directory_name]</code>
  
 
The <strong>-a</strong> option is a combination flag. It stands for "archive" and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions.  
 
The <strong>-a</strong> option is a combination flag. It stands for "archive" and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions.  

Revision as of 18:37, 17 May 2015

Is your desktop a shining example of neatness and cleanliness? Or is it a big heap of icons only fit to be sorted in some manner? How many files are in your Documents folder? What does your directory structure look like? Easy to work with and a natural fit for you and what you do? Can you easily find what you are looking for or does the way you organise suck totally and drain your energy?

Graphical user interfaces (GUIs) are helpful for many tasks, but they box you in in the tasks the designer designed the GUI for. M$ systems come with a preset set of directories, and so does linux (if it isn't stripped). Like beliefs and rules, such predefined organisations can act like post hypnotic suggestions (spell casting) and filter our experience of reality and affect us in undesirable ways.

Not only that, standard default folders tend to fill up with junk files and folders that are not at all important. For M$ that is in MyDocuments, for Linux that is /home/user and most such application directories have a dot in front and are not visible (you have to set "Show Hidden Files" in your "View" menu if you are using a GUI).

Case study: Uncluttering your machine

There is so much written about cluttering and uncluttering your machine, about (re)organising your files and directories [1], some of it may be useful for you, some of it may not. Just use what you need. Here I describe steps for reorganising your machine in highly generalised form that worked for me for building a resilient machine that allows me to focus on what I want to do with it and quickly recover from intrusions and crashes.

Methodology

  • Step 1 Make a decision to unclutter your machine

Cluttered systems are reflections of cluttered lives. From having chosen to unclutter your life, you can choose to unclutter your machine.

  • Step 2 Create your own file system from scratch!

If your disk crashes unrepairably (good riddance), or your files in a centralised cloud become inaccessible because the company owning the servers went bankrupt, or the internet (connection) goes the way of the bull (and you have ample time to be with family members and enjoy a campfire), what files on your machine would you probably feel sad about not having access to?

The most minimalist and safe implementation is putting all files you wish to keep and all files containing personal data on an external harddrive that you only mount when you need access to it. In a public space put the machine offline before mounting any external disk.

You can turn old harddrives into external harddrives by taking them out of an old PC and putting them in portable HDD USB storage kit (alias harddrive enclosures). These "DIY" kits are available for 2.5 inch and 3.5 inch HDD using either IDE or SATA connections and cost way less than a manufactured USB HDD. If on linux, you may have a permission problem: change the group of /media/disk to storage, change permissions to 775 and add users that need to be able to write to disk to the storage group (you need to log out and log in that users before changes are visible). As root do:

# chgrp storage /media/[external_disk]

# chmod 775 /media/[external_disk]

# gpasswd -a [user_name] storage

This way everyone will be able to read the disk, but only root and users in storage group will be able to write to it. If you want everyone to be able to read/write, use chmod 777 [2]. If the operation isn't permitted while running it as root you probably need to add support for the NTFS file system first:

# apt-get update

# apt-get install ntfs-3g

Create your "real" filesystem on the external harddrive and design fake directory structures and files for your multiple, fake, anonymous or pseudonymous identities.

  • Step 3 Separate application files from data files

On a linux system this is already the case. Most applications make directories with a dot in front of its name that are default not visible (you have to set "Show Hidden Files" in your "View" menu if you are using a GUI). Apparently, in M$ there is no such separation and the My Document directory gets a lot of junk added to it by just about everything. Remove your icons/links to “My Documents” and replace them with links to the folders you created and you care about, fake or not!

  • Step 4 Customise and accessorise

Make the place comfortable to the eye. Change the background. Change the icons. You can get some beautifying stuff for linux from gnome-look, kde-look, xfce-look and many more locations.

  • Step 5 Regular maintenance

You can make a backup of your entire system with rsync or with unison. Rsync, which stands for "remote sync", is a remote and local file synchronisation tool. It uses an algorithm that minimises the amount of data copied by only moving the portions of files that have changed. It operates in a way that is similar to ssh, scp, and cp.

# rsync -a [directory_name]/ /media/[external_disk]/[directory_name]

The -a option is a combination flag. It stands for "archive" and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions.

An additional way of dealing with clutter, attachments to particular installations and the risks of infections, is to reinstall the operating system regularly. I reinstall around every six months and just before and after any event.

Synthesis

Focus on your priorities, make efficient use of your time on this planet, choose a design for your life that allows for relaxing and replenishment, and make it so.

References

[1] Zen and the Art of File and Folder Organization http://www.howtogeek.com/howto/15677/zen-and-the-art-of-file-and-folder-organization/

[2] Permissions http://linuxcommand.org/lc3_lts0090.php