Archive for October, 2010

Jalbum, create Photo web albums

24, October 2010

This is the software I use to create my photo album on the web. I used it when I ran XP and was glad to see it came as a Linux option. It automatically creates the album in variety of skins and there is then an option to FTP the result direct from the program to your site. Visit the jalbum.net site and if you decide to user this program, download the DEB for Ubuntu.

JAlbum needs a Sun Java 1.5 (or later) virtual machine to run so first we need to open the [Synaptic Package Manager] search for and install sun-java6-jre or later, from the listed packages and install it.We then need to make sure it is the default Java VM running on your PC.

Open a [Terminal] type or copy and paste;

sudo update-alternatives --config java

which should give you an output like this;

There are 2 alternatives which provide `java’.
Selection Alternative
———————————————–
* 1 /usr/lib/jvm/java-6-sun/jre/bin/java
+ 2 /usr/lib/jvm/java-6-openjdk/jre/bin/java<
Press enter to keep the default[*], or type selection number:

Select java-6-sun by typing the number next to the correct version.

Now double click on the DEB file currently jalbum_8.12-1_all.deb and the Ubuntu Software Centre should open and allow you to install. once finished you should have an icon for jalbum in [Applications], [Graphics].

Advertisements

Tomboy blogposter

20, October 2010

Post post to your WordPress blog from Tomboy.

Now available in Maverick repositories using:

$ sudo apt-get install tomboy-blogposter

In Tomboy Notes, go to [Edit], [Preferences], [Add-ins], expand [Tools] click on “Post note to your blog” click on [Preferences] click on [Add] and fill in details of your WordPress blog, the URL should be in the form http://your_blog_name.wordpress.com/wp-app.php/posts You can now open upload a note as a blog post by clicking on the [Tools] option (cog wheels) and selecting the [Post note to your blog] option.

Website:http://flukkost.nu/blog/tomboyblogposter/

Games

20, October 2010
Favourite Games.

From the Repositories;
Open Invaders
Pacman

Downloads:
Machinarium:- Flash Adventure Game, http://www.amanita-design.net/
Samorost:– Flash Adventure Game, http://www.amanita-design.net/
World of Goo:– Puzzle Game, http://2dboy.com/games.php
Penumbra, Overture, Black Plague & Requiem:- First Person Survival Horror Games, http://www.frictionalgames.com/site/games
Caster:- 3rd Person Action Shooter, http://www.elecorn.com/caster3d/

Floola

20, October 2010

“Floola is a freeware application to efficiently manage your iPod or your Motorola mobile phone (any model supporting iTunes except iPhone, iPod touch.”

Floola was the application which finally allowed me to say goodbye to Windows/iTunes and go completely over to Ubuntu.

I have an 80GM black 6th generation video classic iPod which I can now manage with Floola. I can sync music, audiobooks, photos, podcasts & my gmail calendar. It can cope with Apple formats but I now use mp3 for music & audiobooks. You can also add Album Art and if your mp3 already have Art it usually adds it automatically.

I had already jail broken my iPod as follows;

In a terminal

$ sudo apt-get install libgpod4

Connect your iPod using the USB cable provided and it should auto mount, you now need to navigate to /media to determine the mount point of your iPod [mine show up as /media/MY_IPOD. The iPod needs a SysInfo file adding to it so that it is identified by your system, I found this option to created worked first time. Type or copy and paste the following into a Terminal after the prompt

$ sudo lsusb -v | grep -i Serial

this should give you a result similar to this;

iSerial 3 000D27002446H699
iSerial 1 0000:00:13.2
iSerial 0
iSerial 1 0000:00:13.1
iSerial 1 0000:00:13.0

The 16 digit number is the iPod’s FirewireID, now type or copy and paste the following into a Terminal after the prompt

$ sudo gedit /media/MY_IPOD/iPod_Control/Device/SysInfo

replacing /media/MY_iPOD with the path and name of your iPod. My iPod had one entry already of ModelNumStr: xB147 so I added a new line as follows;

ModelNumStr: xB147
FirewireGuid: 000D27002446H699

and re-saved it to the iPod. This allows it to be identified by Linux programs.

To Install Floola;

Download and extract Floola from the website http://www.floola.com/ to a suitable folder on your HD.

$ sudo apt-get install libstdc++5

For 64 bit systems, also install getlibs, see http://ubuntuforums.org/showthread.php?t=474790

then type getlibs in a Terminal to install 32 bit libs on a 64 bit system.

The Floola site has further FAQ and installation instructions and I’ve had the program working on both Ubuntu Lucid and Start-up sound fix for Maverick with no problems.

APT Locked

20, October 2010

apt-get update error

Trying to update apt gives error message;

$ sudo apt-get update

error message;

E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the list directory

To fix it remove the lock with;

$ sudo rm /var/lib/apt/lists/lock

transmission-daemon

20, October 2010

Setting up the transmission-daemon to access via web browser.

I have a server running Lucid Lynx and wanted to use it to download torrents which I can add via a web page from other PC’s and then track their progress. I decided to go with the default Torrent application in Ubuntu which is Transmission but needed the daemon version to run in the background.

First add the transmission-daemon package with;

$ sudo apt-get install transmission-daemon

Now stop the daemon so you can amend the config file with;

$ sudo /etc/init.d/transmission-daemon stop

Open the config file with;

$ sudo gedit /etc/transmission-daemon/settings.json

change settings in the config file called settings.json to your requirements;
The following will give you web access, and you may want to change the download folder paths;

“rpc-enabled”: true,
“rpc-password”: “a_password”,
“rpc-port”: 9091,
“rpc-username”: “your_name”,
“rpc-whitelist”: “*.*.*.*”,

rpc-password, add your password in plain text, the system will encrypt it in the file later.

This is my file.

{
“alt-speed-down”: 10,
“alt-speed-enabled”: true,
“alt-speed-time-begin”: 540,
“alt-speed-time-day”: 127,
“alt-speed-time-enabled”: true,
“alt-speed-time-end”: 1380,
“alt-speed-up”: 10,
“bind-address-ipv4”: “0.0.0.0”,
“bind-address-ipv6”: “::”,
“blocklist-enabled”: false,
“dht-enabled”: true,
“download-dir”: “/home/bob/Downloads/Torrents”,
“download-limit”: 100,
“download-limit-enabled”: 0,
“encryption”: 1,
“incomplete-dir”: “/home/bob/Downloads/Torrents/incomplete”,
“incomplete-dir-enabled”: true,
“lazy-bitfield-enabled”: true,
“max-peers-global”: 200,
“message-level”: 2,
“open-file-limit”: 32,
“peer-limit-global”: 240,
“peer-limit-per-torrent”: 60,
“peer-port”: 51413,
“peer-port-random-high”: 65535,
“peer-port-random-low”: 49152,
“peer-port-random-on-start”: false,
“peer-socket-tos”: 0,
“pex-enabled”: true,
“port-forwarding-enabled”: false,
“preallocation”: 1,
“proxy”: “”,
“proxy-auth-enabled”: false,
“proxy-auth-password”: “”,
“proxy-auth-username”: “”,
“proxy-enabled”: false,
“proxy-port”: 80,
“proxy-type”: 0,
“ratio-limit”: 0.5000,
“ratio-limit-enabled”: true,
“rename-partial-files”: true,
“rpc-authentication-required”: true,
“rpc-bind-address”: “0.0.0.0”,
“rpc-enabled”: true,
“rpc-password”: “{bb266d1472e6b6030d95522cdca56cac6515fd80UqVA7kib”,
“rpc-port”: 9091,
“rpc-username”: “bob”,
“rpc-whitelist”: “*.*.*.*”,
“rpc-whitelist-enabled”: true,
“speed-limit-down”: 100,
“speed-limit-down-enabled”: false,
“speed-limit-up”: 15,
“speed-limit-up-enabled”: true,
“umask”: 18,
“upload-limit”: 100,
“upload-limit-enabled”: 0,
“upload-slots-per-torrent”: 14
}

Then save the file and start the daemon again with;

$ sudo /etc/init.d/transmission-daemon start

I also added the debian-transmission group to the Download folder and added me to the group.

Open a web browser and point it to the local server

http://localhost:9091/

or use it’s server name

http://bob:9091/

enter the username and password and Bob’s your Uncle

Update: For another way to access your Transmission daemon with more per download options see my post here;

Transmission Remote GUI

Start-up sound fix for Maverick

20, October 2010
Fix the glitchy start-up Sound: 

Open the file /etc/pulse/default.pa by opening a Terminal and typing;

$ sudo gedit /etc/pulse/default.pa

Find the line that looks like this;

load-module module-udev-detect

and add “tsched=0” to the end so it looks like this;

load-module module-udev-detect tsched=0

Save and reboot your PC.

10 Things to Do After installing Maverick

20, October 2010

Before you mess, backup the sources.list with;
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

1] Select a new wallpaper as the wallpaper has not improved since the purple tie dyed T Shirt look of Lucid. Right Click the desktop and select [Change Desktop Background] and select any other wallpaper from the defaults or one of your own.

2] remove the revolting purple background to the graphical login window, install GDM2 Setup

GDM2 Setup, A login interface management utility for the new GDM. Allows for wallpaper setting, autologin option, prompted or userlist login, etc.

The setup utility that comes in Ubuntu Karmic (and many other Gnome based distros) is missing most of the older GDM setup utility’s functionality. This application puts the functionality back in the hands of the users through a familiar and simple GUI. https://launchpad.net/gdm2setup
Add this empty directory first [the program halts if it can’t find it, a bug https://bugs.launchpad.net/gdm2setup/+bug/560130 that should have been sorted by now guys];

$ sudo mkdir /usr/share/images/xsplash

Add source with;

$ sudo add-apt-repository ppa:gdm2setup/gdm2setup

there is no Maverick repo yet, so you then need to open [System], [Administration], [Synaptic Package manager], {settings], [Repositories] and click on the “other Software” Tab. Now highlight the gdm2setup line and select [Edit] and change Maverick back to Lucid and close.

then update

$ sudo apt-get update

now add the program

$ sudo apt-get install python-gdm2setup

Then find the program called Login Screen (GDM2Setup) in [System], [Administration]

3] Swap the Close/Min & Max buttons back to the Right on the Windows, try if for a while first as it hear to stay! “windicators” are on their way for right hand side.

Install Ubuntu Tweak http://ubuntu-tweak.com/

Add Ubuntu Tweak source
$ sudo add-apt-repository ppa:tualatrix/ppa

$ sudo apt-get update

$ sudo apt-get install ubuntu-tweak

Then find the program called Ubuntu Tweak in [Applications], [System Tools] and in the program select [Windows Manager Settings], [Windows Titlebar Button Layout]

4] Remove the Social networking/message notification indicators i.e. the new “me” menu and the “envelope” from the top Right Hand notification area, I’m not Social and proud of it :-).

remove me-menu with;

$ sudo apt-get remove -y indicator-me

remove the envelope with;

$ sudo apt-get remove -y indicator-messages

both will disapear on rebooting the desktop.

5] Add the Gnome Configuration Editor to your menus. Right Click on the [Application] menu and select [Edit Menus], then select [System Tools] and place a tick in the box next to [Configuration Editor] and then select [Close]. Now select [Applications], [System Tools] then [Configuration Editor]

6] Remove the 60 second to shutdown confirmation message. Open the Configuration Editor [see 4 above] in Applications, [System Tools] now using the left-hand menu select [apps], then [indicator-sessions] and tick the box next to [ suppress_logout_restart_shutdown ] then [File], [Quit]

Or in a Terminal;
$ gconftool-2 --type Boolean --set /apps/indicator-session/suppress_logout_restart_shutdown True

7] Updates: revert back to the update icon in the top toolbar, open Gnome Configuration Editor [see 4 above], then navigate to [apps], [update-notifier] and untick the [auto-launch] option, then change the [regular_auto_launch_interval] to zero, then [File], [Quit] and reboot your PC.

Or in a Terminal;
$ gconftool-2 --type Boolean --set /apps/update-notifier/auto_launch False
and
$ gconftool-2 --type int --set /apps/update-notifier/regular_auto_launch_interval 0

8] Hate the Nautilus bread-crumb file path?, switch back to the text file path with Ctrl+l or / and back again with Esc. You can also switch permanently by opening the Gnome Configuration Editor [see 4 above], then navigate to [apps], [nautilus], [preferences] and putting a tick in the always_use_location_entry box.

9] Get Flash working in Firefox: Open Firefox and access [Tools], [Add-ons], select the [Get Add-ons] Tab and then [Browse All add-ons] then search for FLASH-AID and install it and follow the on screen instructions.

10] Enjoy…..