larryni.me.uk

Computers, gadgets, music, Derry and general random stuff
  • rss
  • Home
  • About
  • Contact

Configure PulseAudio for Skype to work with your USB handset

Laurent | October 23, 2009 | 12:21 pm

After installing the latest version of Skype (2.1.0.47) on Karmic I tried to configure it to work with my USB handset but the options didn’t give me a device selection any more. The only option available was PulseAudio with the sound going through my speakers, and my handset mic was not recognised at all.

To rectify this so you can use Skype without the other sounds on your system getting mixed in we need to do the following:

Install PulseAudio Device Chooser – this will install a number of extra packages, including PulseAudio Volume Control

sudo apt-get install padevchooser

Restart your system.

Launch Applications > Sound & Video > PulseAudio Device Chooser – you’ll see its new icon in the notification area. Click it, open Preferences… and select Start applet on session login.

PulseAudio Device Chooser Preferences

Close the window.

Plug in your handset and start Skype if you haven’t done so already.

Right-click the volume control in the notification area and open Sound Preferences (or open it through System > Preferences).

Sound Preferences

Click on Input and your handset will be listed there – select it. You probably will have to crank up the Input volume, mine was very low to start with. Close the window.

Click on the PulseAudio Device Chooser icon (the jack) in the notification area and select Volume Control.

PulseAudio Volume Control 1

You can see that I only have Amarok showing up in the control at the moment as Skype is not in a call.

Start a test call and set your USB handset as the output device.

PulseAudio Volume Control 2

One problem I have with this is that whenever I unplug my handset the settings are lost and I need to reconfigure each time I reconnect it.

Comments
No Comments »
Categories
Linux, Software, Ubuntu
Comments rss Comments rss
Trackback Trackback

Display Amarok album art in Conky

Laurent | October 18, 2009 | 10:07 am

The latest versions of Conky can be used to not just display text but also images, amongst other cool stuff like drawing gauges and use Lua scripts.  I’d been using it for quite some time to display track information from Amarok. Now I finally have a way to display cover art as well.

Conky displaying Amarok album art - work in progress

If you’re already running Karmic then you can install the latest version from the repositories. Install the conky-all package which has most compile options enabled to get the latest features. You’ll also need imagemagick installed.

First we need a script to fetch the cover and convert it into an album stack. The angle of the covers changes slightly with each track. It also resizes each stack to 150×150. Click here and save it as ~/bin/getcover. As you can see I had some help with it – thanks to eightmillion from the Ubuntu forums for completely rewriting it to something useable ;)

Next get the script to pull the rest of the track info from Amarok – click here and save as ~/bin/askamarok. Try it from the command line whilst Amarok is playing, e.g. to get the artist name enter

askamarok artist

Other available info is title, album, year, genre, bitrate, track playing time, total track playing time… You can also get collection info and stats. For the stats Amarok needs to store the collection in a MySQL database.

Finally get my Conky script and save as ~/conkycover. To run it:

conky -c conkycover

If it’s the only Conky script you’re running then save it as ~/.conkyrc and start Conky without any options.

Last thing missing is the cover when Amarok is not actually running. Save the following image as ~/conky/cover/noplay.png:

noplay

The whole thing is a bit rough. For example, not all the info updates at the same time on track changes. And although I set the update interval for the playing times to 1 second it leaves 3 seconds in between. It also does not look the best when no track is playing, or Amarok is not running. Feel free to post any improvements/ideas in the comments as my Conky layout skills leave a lot to be desired ;)

Comments
4 Comments »
Categories
Linux, Ubuntu
Comments rss Comments rss
Trackback Trackback

My Karmic desktop

Laurent | October 11, 2009 | 2:55 pm

Using the Hanso theme (from the community-themes package), Breathe icons, and a simple conky script which needs some more work. The wallpaper came as part of the Karmic install.

Karmic Koala

The next one shows the nice transparency in Terminal with Metacity compositing enabled. VLC is playing in window-less mode to easily clone the video to s-video.

Karmic Koala

You can download the new wallpapers if you’re not using Karmic.

Comments
No Comments »
Categories
Linux, Ubuntu
Comments rss Comments rss
Trackback Trackback

Set up a VPN in Ubuntu with an itshidden.com account

Laurent | October 7, 2009 | 3:26 pm

Using a VPN gives you some extra protection/privacy when browsing the net from your laptop on a public or work network. If you haven’t done so yet, then head over to itshidden.com and sign up for a free account. Keep in mind that this is really only meant to be used for browsing, the free account is not an option for P2P or similar heavy usage. A paid account will give you a static IP with port fowarding and better speeds.

The following instructions should work on any Linux distro with GNOME.

First add PPTP support to the Network Manager:

sudo apt-get install network-manager-pptp

Click the Network Manager icon and open VPN Connections > Configure VPN… Click Add… Select the Point-to-Point Tunneling Protocol and click Create…

Choose a VPN Connection Type

Enter a connection name, add vpn.itshidden.com as the Gateway, and enter your login credentials.

Editing VPN settings

Click Advanced… and select Use Point-to-Point encryption (MPPE). Set security to 128-bit.

Advanced settings

Click OK, then Apply. Close the Network Connections window.

You can now connect to the VPN by clicking on the Network Manager icon and selecting the connection under VPN Connections. You will have to restart your PC if the connection fails. Once the connection is established you should see a padlock on the network manager icon. You can also head over to WhatIsMyIPAddress.com to check if it worked.

Comments
7 Comments »
Categories
Internet, Linux, Ubuntu
Comments rss Comments rss
Trackback Trackback

Fix VLC’s skipping sound in Karmic beta

Laurent | October 6, 2009 | 10:15 am

I’ve been having issues with sound in VLC since I installed the latest Karmic beta. Sound works fine in all other media players, but VLC would just skip/stutter through every media file I played. Turns out it’s easy to fix – switch the audio output to ALSA and select the correct device. I had to do this through the advanced settings window and in the same sequence as below, or VLC would freeze every time I made changes.

Open Tools > Preferences and select All under Show settings.

Then select your device under Audio > Output modules > ALSA. Click Refresh list if it only gives you the Default option.

Go to Audio > Output modules and select ALSA audio output and save.

Your sound should now work perfectly.

Comments
2 Comments »
Categories
Ubuntu
Comments rss Comments rss
Trackback Trackback

Gorgeous Gnome themes collection

Laurent | February 8, 2009 | 1:19 pm

A few days ago I came across Christian Vogelweith’s collection of 9 Gnome themes. They are some of the nicest themes I have come across. They are complete packs for GDM, GTK, Metacity, and Emerald, with wallpapers and icon sets. And best of all, Christian provides repositories for Intrepid and Hardy.

I ended up installing all of them, but might stick with the elegant looking Infinity for a while. Check out one of the screenshots from the Infinity page:

Inifinity

Comments
No Comments »
Categories
Ubuntu
Comments rss Comments rss
Trackback Trackback

Free cross-platform remote assistance service from WizHelp

Laurent | January 8, 2009 | 11:40 am

If you, like myself, get frequent phone calls from not so computer literate friends and family to sort out their PC problems then you’ll love WizHelp. It’s a remote screen sharing tool, and best of all, it’s cross-platform as it runs on Java. Well, at least for some platforms ;) The supported/tested OS list is as follows: Windows 2000/NT/XP/Vista, MacOS X, and Ubuntu/Mythbuntu (i386). And more Linux distros are to be supported soon.

Using the site is easy. First sign up for a free account. Then send the link of your personal Help Center to your friends, or just give them your username so they can search for you from the WizHelp front page. Once they access your page you’ll see them pop up in a list:

WizHelp Help Center

As you can see in the screenshot you have several options now – initiate a chat session, take control of the remote computer, give control to the remote computer, view the remote screen or share your own. Either yourself, or the person you are helping can initiate a session:

WizHelp session request

Once the session has been accepted by the other party a Java applet is loaded, the remote desktop is displayed in its own window and you can get to work:

WizHelp remote session

The above screen shot was taken whilst on remote assistance on another Ubuntu box. I also tried it with Windows XP as a client, and it worked just as well.

Considering that most computer problems are often easily solved with just a few clicks (for my friends and family anyway), this will save you a lot of time. No more traveling to people’s homes or waiting for them to drop off their machine for you to fix it. Go on, take WizHelp for a spin.

Comments
No Comments »
Categories
Internet, Linux, Software, Ubuntu, Windows
Comments rss Comments rss
Trackback Trackback

Create panoramas from your digital photos with Hugin

Laurent | January 4, 2009 | 4:21 pm

I found a great program to stitch digital photos together into panoramas – Hugin. It’s really easy to use, pretty much self explanatory. Just load some pictures into Hugin, create control points where the pictures are overlapping to match them up, optimise and stitch them together. Well, that’s the basics. Hugin has got a lot of settings to play around with to adjust the final result. Check out the Hugin home page for tutorials. If you’re a Ubuntu user then you can just install from the repos.

Here’s some I made earlier after walking around Derry’s walls. I pretty much only used the defaults settings and then loaded the panoramas into the GIMP to crop. Click the pictures to view the full sizes on Flickr.

Overlooking Bogside
Overlooking the Bogside

St Columb's Cathedral
St Columb’s Cathedral

Overlooking Fahan Street
Overlooking Fahan Street

Up/Down Magazine Street
Up/Down Magazine Street

Guildhall
Guildhall

Verbal Arts Centre
Verbal Arts Centre

Overlooking Bogside
Overlooking the Bogside. Again.

Oh yeah, Hugin is also available for Mac and Windows.

Comments
No Comments »
Categories
Derry, Linux, Software, Ubuntu
Comments rss Comments rss
Trackback Trackback

Enable S-video on ATI cards

Laurent | November 17, 2008 | 5:48 pm

Here’s how I got the tv-out (S-video) on my Radeon card to work. I’ve been using this for the past 6 or so months and it works great – no more need for Windows ;) It works with the open-source ATI drivers, and with a slight modification it should also work with the Intel drivers (I haven’t tried that one yet). I found the original instructions here.

I am using xrandr and xvattr to enable the tv display, and vlc to play the video. First install xvattr:

sudo apt-get install xvattr

My Radeon 9200 only supports an S-video resolution of 800×600 and my desktop is set to 1400×1050. To get around this I specify an 800×600 area on the desktop that will then be shown (cloned) on the tv. The command line input is quite long and not the easiest to remember, so I used 2 small scripts which I placed in my ~/bin folder.

First create a new text file and copy the following into it:

#!/bin/bash
# Enable S-Video at 800x600
xrandr --addmode S-video 800x600 && xrandr --output S-video --mode 800x600 --pos 200x200 && xvattr -a XV_CRTC -v 1

Save it as ~/bin/tvon

The tvon script displays an 800×600 area whose top left corner is positioned at 200 px from the top and 200 px from the left of the screen.

Create another text file with the following contents:

#!/bin/bash
# Disable S-Video
xvattr -a XV_CRTC -v 0 && xrandr --output S-video --off

Save the file as ~/bin/tvoff

The tvoff script turns S-video off again.

Make the scripts executable:

chmod a+x ~/bin/tvon
chmod a+x ~/bin/tvoff

Instead of using the scripts from the command line I added 2 launchers to my top panel.

Now we need to set up vlc. I have version 0.9.4 installed and the preferences window has changed. If you are using an earlier version then check the original instructions on the Ubuntu forums for the correct options.

Launch vlc and open Tools > Preferences. In the Interface section deselect the Integrate video in Interface option. This will ensure that we get a window-less video output.

In the bottom left of the Preferences window select to show all settings and click on the video section. Scroll down and change the Window properties as follows:

Video width: 800
Video height: 600
Video X coordinate: 200
Video Y coordinate: 200

Save and close the preferences window.

All that you need now is to connect your tv to your graphics card and you’re ready to go.

Note: I did have problems getting this to work with Compiz, so you might wanna disable it first. It also doesn’t fill the full width of the tv screen, I get a 1/2 inch margin on either side. I hardly notice it though.

Comments
2 Comments »
Categories
Linux, Ubuntu
Comments rss Comments rss
Trackback Trackback

Ubuntu Tweak 0.4.0 released

Laurent | October 9, 2008 | 3:49 pm

One of the first applications I get right after a fresh Ubuntu install is Ubuntu Tweak. It’s got a great selection of tweaks for your desktop environment, you can install official and 3rd party software, add document templates and scripts to Nautilus, etc…

Today version 0.4.0 has been released. One of the first things you’ll notice is that TualatriX has removed the large banner at the top. This was done so it actually fits on the screen of Netbooks which have a lower resolution. It also looks much cleaner and fits in better with Gnome.

A new feature that stands out right away is the Package Cleaner in the application section.

Package Cleaner lets you remove any redundant packages that are left over after installing/uninstalling software. You also can remove packages from the cache to free up additional space. Sure, you could quickly remove them with sudo apt-get autoremove and sudo apt-get clean from the command line, but it will be a welcome addition for people not so comfortable with the terminal.

Other not so obvious additions are that the Third Party Software dialogue also now gives you information about the package source and with one click lets you access the developer’s website. You can organise templates and Nautilus scripts now in folders, change the Gnome menu icon, and the User Folders settings can now be reset to defaults.

Check out TualatriX’s release post for more screenshots and details. At the end of the post there are also repos to add to your Hardy or Intrepid sources list. Or just download the deb or source from the download page.

Comments
No Comments »
Categories
Linux, Software, Ubuntu
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Categories

Archives

Recent Posts

  • How to get the HTC Tattoo to scan QR codes
  • The Rolling Stones/Stevie Wonder – Uptight/Satisfaction (1972)
  • Balloon Bass
  • Finished Wordpress upgrade
  • Configure PulseAudio for Skype to work with your USB handset
  • Display Amarok album art in Conky
  • My Karmic desktop
  • Set up a VPN in Ubuntu with an itshidden.com account

Random snaps on Flickr

www.flickr.com

Music

  • Discogs
  • Jamendo
  • last.fm
  • Musicbrainz
  • Pandora
  • SomaFM
  • Whole Wheat Radio

Music Blogs

  • Chocoreve
  • Lost-In-Tyme
  • O CANADARM!
  • Office Naps

Podcasts

  • Americana Roots
  • BBC Digital Planet
  • GaragePunk
  • Linux Reality
  • National Geographic
  • Roots Rock Radio Show
  • The Skeptics’ Guide to the Universe
  • Tom Fahey’s AmericanaOK
  • Ubuntu UK podcast

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Visitor Map

Locations of visitors to this page

Miscellaneous

  • Computer Blogs - BlogCatalog Blog Directory
  • Irish Blog Directory
  • Add to Technorati Favorites
  • Irish Blogs Directory
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox