Wednesday, December 12, 2012

Ubuntu 12.04 - Hide the Recent Items in the Dash and Stop the Logging!

I really like Ubuntu 12.04. I even like the Unity Desktop (despite the general hatred it seems to attract amongst many users), it works really well on my netbook. However, Ubuntu has a lot of privacy issues, not the least of which is the integration of zeitgeist into Unity.

Here's what I did to get zeitgeist to stop logging. The "Privacy" app under System Settings never seemed to work properly, and clearing the history still left all sorts of information in the log files.

First, remove zeitgeist. I did this with synaptic. Don't remove the related libs, however, as Unity needs them. Restart the system.

Then, kill the running zeitgeist processes:

sudo killall -9 zeitgeist-fts zeitgeist-datahub zeitgeist-daemon
Then, remove the existing logs:

cd $HOME/.local/share/zeitgeist
rm activity*
You can use srm if you feel it is necessary. Restart the system.

Upon restart, Zeitgeist will recreate the log files, albeit they will be essentially empty. Now set them to read-only:

cd $HOME/.local/share/zeitgeist
sudo chmod ugo-w act*

Restart once more.

Once I did all this, the dash did not populate with recently used files, and the zeitgeist logs remained static. YMMV!

Monday, October 22, 2012

Configuring PS3 Media Server with Windows 7 Firewall

If you've installed PS3 Media Server, and you're getting the message "No Renderers were Found" and a great big red "X" on the Status tab, give the following a try. It worked for me.

(NOTE: These instructions are written for those using the Windows 7 Firewall. However, they should work for any other software-based firewall.)

1. Open Windows Firewall control (in Start Menu run box type "WF.msc")

2. You are going to create 2 new rules: 1 inbound and 1 outbound.

3. On the left side, select Inbound Rules. Then, on the right pane, you will see an option for a New Rule. Click it (see below).


4. In the New Inbound Rule Wizard (which should appear), do the following:

  • Choose Program and click Next
  •  Select This Program Path, and enter the path to javaw.exe on your PC (typically \Program files\x86\java\jre6\bin)

  •  Choose Allow the Connection, then Tick Private and Public.
Complete this process by naming the rule something notable (e.g. ! - PS3 Media Server). Repeat the process in Outbound Rules. Now restart PS3 Media Server. Provided everything else is in order, it should now work.

It is important to note that opening javaw.exe to inbound connections from any IP is a security risk. You may wish to limit the scope of these rules to your local subnet. You can do this by double-clicking on the rule, and selecting Scope. Here, you can limit the remote IPs that can connect to javaw.exe to your local subnet (or specific IP addresses, if you choose).

How to Convert FLAC or OGG to MP3 - The Easy Way

Downloaded some music, only to find it is in .FLAC format rather than mp3, and it won't transfer to your iPod or play on your favorite media player?

Here's an easy way to convert, without using converter programs of questionable origin (some of which, despite my best efforts, are probably turning up in my advertising on this blog...)

1. Download foobar2000 , a fabulous free (and more importantly, reputable) media player. Even if you choose not to use foobar2000 as your default media player, it's great to keep around and takes up very little storage.

2. Download the LAME mp3 encoder. Save wherever you like - I drop files like this in c:\utils. Unzip.

3. Install foobar2000.

4. Run foobar2000. Select File -> Preferences -> Advanced. On the right pane, you will see an option for Tools (see below)



5. Select Converter -> Additional Command Line encoder paths. Add the path where you saved LAME (for me, c:\utils). 

The above steps you will only need to do once. To save FLAC (or whatever format) to MP3, do the following:

1. Select File -> Add Files (or Add Folder, if you like)

2. Highlight the files in the foobar2000 main window, and right-click. Select Convert. Choose your options (I like 192kbps MP3).

3. Select Save Destination and convert!


Thursday, March 1, 2012

How to fix TVersity Error "Screenweaver MX was unable to LAUNCH one or more of its main windows"

If the TVersity interface will not load for you, giving the error "Screenweaver MX was unable to LAUNCH one or more of its main windows. The application must close", here's how most will be able to fix it.

This guide applies to Windows 7, Vista and XP.

Steps:

1. Open System Properties (Right-click Computer, select Properties OR type "sysdm.cpl" in the Run box)
2. Select Advanced System Settings
3. Click Advanced Tab
4. Under "Performance", click Settings button
5. Click Data Execution Prevention Tab
6. Select "Turn on DEP for all programs and services except those I select" (see image below)


7. Click Add, and browse to find TVersity.exe (default install location is C:\Program Files (x86)\TVersity\Media Server\web\admin\TVersity.exe).

You might need a restart for the change to take effect. 

If this issue started for you after installing EMET, you might need to do the following first:

1. Run EMET
2. Click Configure System button
3. Change DEP setting to "Application Opt Out" (see image below)



4. Restart, then complete the steps as detailed above.