A strong, secure password

We now know that "password", "iloveyou" and "123456" are some of the most common passwords in use. If you are still using a similarly weak password, it's time to change to one that's so secure and unguessable that it stumps even the cleverest of computers, robots and devious humans. Here …

more ...

How to Create a Secure, Memorable, Password

In today’s digital age, we are needing more and more passwords to secure out data and our identity. The problem is that there’s just so many to remember and often different systems need different types of passwords - like needing a special character, or a number or something. It …

more ...

How to restore one file from an obnam backup

I had overwritten one very important file, it was the ’org2blog dashboard’ which held the database of all my org2blog postings so it was quite important. But, I’d overwritten it with another posting saved as ‘org2blog.org’! The creation date of that file was 28 December 2013, so I …

more ...

And yet more testing!

Another testing blog posting, but this time using BlogWith and everpad to see if it actually works with this too. If it does its a major step forward, although for writing long posts, I still prefer to use emacs. Emacs does spell-checking, everpad doesn't, not yet anyway. :) This should use …

more ...

Hello World, and Welcome to 2014!

Date Tags evernote

I've long been a fan of 'Evernote' which I use on my smartphone and also with its web interface on my linux desktop. I've recently started using Everpad on the desktop to write articles with as well. Now I'm trying out a new service called 'BlogWith', so lets see if …

more ...

The lowdown on 'org2blog'

Org2blog is a brilliant piece of coding and extremely easy to use, but it does have one failing - it can’t handle tables! I've found that if you want to use a table in a posting, then create it in a separate buffer, and then export it to html. From …

more ...

A new 'mv'

Date Tags commands

I recently bought myself a new 3TB external USB drive and had all the joy of moving my obnam backups on to it, but it was relatively easy by using this new 'mv' as it has a progress bar! To use it you have to -

mv -g /home/user/foobar …

more ...

Hello, World

This is my first post using the emacs org2blog mode, where I write the post in my emacs editor and can then just publish it to my wordpress blog with just a few key-presses. This will make things so much easier and means that I won’t necessarily have to …

more ...


Poor-Mans-Spotify aka PMS

This is a rather nice online music player which can play one tune at a time or download one tune. It has few requirements and can -

  • Search and stream music
  • Download music
  • Works with Python 2.7 and 3
  • Works with Windows, Linux and Mac osx 10.9
  • No Python …
more ...

'mengen' and 'fluxmenu'

I've recently been working on two new fluxbox scripts and both are concerned with menu generation. First up is mengen -

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/bin/bash
#: Title            : mengen
#: Date             : November 2013
#: Author           : Sharon Kimble, James Morris
#: Version          : 2 …
more ...

Fluxwant v3.0

I've just updated fluxwant to ask you if you want to quit at any time, so now you can answer 'yes' or 'y' and it will continue, you can answer 'no' or 'n' and it can continue without installing something, and 'quit' or 'q' and you exit cleanly. So here …

more ...



A 'super' command - want

For a long time I've been using various formats of apt-cache search and stuff, and its such a crushing bore having to type in commands one after another, so I've written a script to do it all for me, whilst I've been listening to "Dad's Army"! :)

 1
 2
 3
 4 …
more ...

Show - a new command

For a long time I've been using an alias to shortcut the usage of apt-get show, but I wasn't happy with it. So today I've written a new script that shows a description of the programme you're interested in, and then shows whether you've already installed it, and what repo …

more ...

Troubleshooting MPD

For several days now my MPD has been very choppy, dropping connections and having great difficulty in starting it again. So I finally decided to look at 'mpd.log' which is in my '/home/boudiccas/.mpd/mpd.log'. And in it I found this -

Nov 09 17:56 : output: Failed …
more ...

Obnam unlock and force-lock

This is not a post showing how to unlock an account in obnam, but a down and dirty unlock script that I use for those occasions when I get a locked backup and I cant be bothered to work out the configuration of 'force-lock'.

 1
 2
 3
 4
 5
 6 …
more ...

reinstall-ubuntu

The reinstall script that I use so succesfully has been amended by Markus Kalb, and his version is shown here, and will be in the git repo too'

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22 …
more ...

Obnam conf files

To use obnam-fuse, you may have to amend your obnam.conf, as shown here -

[config]

repository = /media/boudiccas/backup/obnam-home2

root = /home/boudiccas/

client-name = london

#exclude = .mp2$, .part$, .rar$, .nfo$, .m4v$,
#    .tmp$, ~\.cache$

keep = 8h,14d,10w,12m

log = /home/boudiccas/logs/obnam.txt
log-level = info
log-keep = 7
log-max = 50 …
more ...

Obnam-fuse

After much experimenting I've been able to mount an obnam generation back to 20th July 2013, my oldest backup that I have. To do this you need to have python-fuse and fuse-plugin.py installed. It is quite possible that you already have 'fuse-plugin.py' installed as part of your obnam …

more ...

Git and my github

Date Tags git / github

I've long been interested in git, which is described as - 'Git is a popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel'. It scales very nicely for home use as …

more ...

Obnam and MPD restore

Obnam restore

Having done a restore and re-install recently of my Debian wheezy box, I made notes on what exactly I did. This was a 'planned' restore in that I decided at about 1430 to start the restore now rather than wait for doing it tomorrow. Whilst Obnam was completing …

more ...

A new host!

This is the first post on a new hosts server, as I've moved this site from 1and1 to "cassidywebservices.co.uk" http://cassidywebservices.co.uk/. The reason for the move was that with every post that I made to this blog I was hitting memory problems, and there was virtually …

more ...

Protecting files and folders from unwanted deletion

Protecting files from unwanted deletion is very important security on the tasklist of Unix Administrators. On Linux boxes you can use the chattr command.

Let’s give you some examples how chattr work under Linux -

To make a folder undeletable, run -

sudo chattr +i -R foldername

After that, you can …

more ...



Whaaw media player

Date Tags linux / user

I've mentioned this before, when I was talking about 'user.menu' for fluxbox, back in Part 4 - usermenu but having just configured it to use the root menu I'll explain further. It describes itself as 'A media player written in python, GTK and utilising gstreamer. Similar to totem but without …

more ...

Fluxbox part 5 - semi-dynamic menus

If you want to have a system menu that is generated by the system rather than you, it is possible like this -

You need to move the current fluxbox menu out-of-the-way so that you don't overwrite it, and you can save it with today's date so it's still available if …

more ...

On free software

Much has been written about free software, yet many people still think: What good is it for regular users? They buy or copy software, not caring if doing so is legal, and they have no need for source code they wouldn't understand anyway. I heard that a couple times lately …

more ...


Pogo

Probably the best music player I know of is pogo, written for Ubuntu but as its a python script it plays very nicely on this Debian box. It can be found at https://launchpad.net/pogo and describes itself as 'Probably the simplest and fastest audio player for Linux. Pogo …

more ...

Obnam tweaks

Has my backup succeeded?

At the end of 'obnamhome.txt' there is a block of text which is very interesting to see how your backup has gone -

2013-09-04 16:31:48 INFO Backup performance statistics:
2013-09-04 16:31:48 INFO \* files found: 163789
2013-09-04 16:31:48 INFO \* files backed …
more ...

Obnam scripts

obnam.conf

[config]
repository = /media/boudiccas/backup/obnam-home/
root = /home/boudiccas/
exclude = ~/.thumbnails$, .iso$
exclude-caches = false
keep = 8h,14d,10w,12m
log = /home/boudiccas/cron/obnam/obnamhome.txt
log-level = info
log-keep = 5
log-max = 50 mb
log-mode = 0600

notify-send

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12 …
more ...

Restore from obnam backup

Sooner or later you will need to restore from your backup, and it doesn't hurt to create a situation where you do need to restore a file. I am going to show how I restore files which does work as I have had to use it for real.

Restore to …

more ...

MPD

Date Tags mpd

I spend a lot of time listening to the radio or to my music, and I used to use Radio Tray for streaming radio off the internet but it kept dropping the connection and wasn’t very satisfactory. And then I heard about MPD and started reading about it and …

more ...

cairo-dock + fluxbox.

I have long had the problem with running cairo-dock under fluxbox in that it locks up the workspace [think 'desktop'] so you are effectually useless! I've reported it to the cairo-dock community and developers, and was told that it was a fluxbox problem, which I denied as it only occurred …

more ...

Three good NotePads

Date Tags editors

Recently I've been looking about for a good programme for keeping notes in of various things, and I've narrowed my list down to three, which are 'zim', 'KeepNote' and 'WikidPad'.

Zim

Zim can be found at http://www.zim-wiki.org and is in the Debian repos, but, do bear in …

more ...

Fluxbox, part 4 - usermenu

I now think that I have the perfect usermenu! Its got absolutely loads of styles, and also backgrounds, and they're all available from the menu. And here it is -

[begin] (FluxBox)
         [exec] (Claws-Mail)    {claws-mail} 
         [exec] (google-chrome) {google-chrome} 
        [exec] (TEA Text Editor) {tea}
        [exec] (Pogo music player …
more ...

How to Report Bugs Effectively

Introduction

Anybody who has written software for public use will probably have received at least one bad bug report. Reports that say nothing ("It doesn't work!"); reports that make no sense; reports that don't give enough information; reports that give wrong information. Reports of problems that turn out to be …

more ...


Cryptkeeper - usage

This is how to install cryptkeeper and set it up for usage.

Cryptkeeper is a GNOME applet for managing EncFS encrypted folders. To install it, use this command -

sudo apt-get install cryptkeeper

You can start Cryptkeeper from the menu with Applications->System Tools->Cryptkeeper

You should see an icon in …

more ...


Backup v5.6

I'm still using this backup script to back up ~/cron/ as its got my reinstall.sh script in which I need for installing, so it seems sensible to keep access to it.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18 …
more ...

I'm sorry Fluxbox....

Like I said, I'm sorry Fluxbox for doubting you, you do still work well. I've enabled xcompmgr - which is an 'X composition manager' or 'xcompmgr is the standard composition manager for the X Composite extension, which allows clients to modify what is drawn to the screen before it happens. This …

more ...

Bye Bye Fluxbox!

I've encountered several problems with fluxbox today

  • When using urxvt the title-bar would always be underneath the top panel, with no way of changing it. I was able to get round it using xterm but that meant that I couldn't use the tabs that was programmed into 'urxvt'.
  • When I …
more ...

Backing up with 'Obnam'

I've recently been looking at my backup strategy, as I now believe that its very wasteful of resources to have 14 copies of something as I have at present. That's 14 copies of an email, document, or anything really. So I've been looking about for something

  • that will allow me …
more ...

Why I use Linux

This is one of those things that's always difficult to explain. The bits of Linux that I miss on other platforms are not things that you immediately see as being of particular importance. The best example of this is the freedom - why would I care that I'm free to do …

more ...


Fluxbox menus - part 2

Date Series Part 2 of Fluxbox Tags fluxbox / menus

As this is such a large subject I've split it into three, and this part just deals with the menus, the ones you get if you 'Right+Click' with your mouse on the desktop.

## menu generated by 'menumaker 0.99.7' on 15/06/13
[begin] (FluxBox)
    [submenu] (Development)
        [exec …
more ...