Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

5/21/08

Don't Give Microsoft the Remote Control! - Get MythTV!



Don't Give Microsoft the Remote Control!

by josh — posted on 2008-05-20 16:15 @ http://badvista.fsf.org/

"If you put Microsoft at the center of your home entertainment system, be prepared to hand them the remote control, literally.

Following reports that digital television viewers were blocked from recording the new season of NBC's "Gladiators", Microsoft confirmed that it is preventing users from recording the show. They claim they were acting on behalf of NBC, and are in line with regulations set by the Federal Communications Commission (FCC), in disrupting computer usage based upon the so-called "broadcast flag" that was transmitted alongside the show.

A Microsoft spokesperson told CNET News, "...Windows Media Center fully adheres to the flags used by broadcasters and content owners to determine how their content is distributed and consumed."

What is the Broadcast Flag?

The broadcast flag is a sequence of information transmitted alongside television programs as a kind of digital order telling viewers to not do certain things, such as record the show or share it with a friend.

Many of the large media companies and the FCC tried to make obeying the broadcast flag a law. However, the Electronic Frontier Foundation took the FCC to court, and US Court of Appeals ruled that the FCC had exceeded its authority, and that no such law could exist. Despite this ruling, it appears that Microsoft has decided to work directly with media companies to implement these rules anyway, restricting how and when you watch television.

Building such a system is no trivial task. To do this, Microsoft has gone to great lengths to restrict users from saving a television program to their computers, we call this kind of functionality an "antifeature," because it takes more work for Microsoft to prevent the user from saving the program, than if they were to leave just the default behavior alone. So instead of letting you record programs as you normally would, it locks you out and deletes the show before you can save it.

However, Microsoft hasn't just made a little tweak to their software to do this -- they have compiled an entire system built upon antifeatures. This antifeature platform is integrated into their Windows Media software and forms the basis of their Windows Vista operating system, and they are working hard to convince companies like NBC, that Microsoft can be in control of how and when you get to watch television. As creepy and as ridiculous as it may sound, this is their business strategy, and by getting this control, both the television and movie industry and computer users will be tied to Microsoft software.

Don't be fooled into their claims that they are following regulations by the FCC -- the court ruled that the FCC has no power to make such regulations. This is also claimed as a measure just to stop unauthorized file sharing, yet what Microsoft is doing is trying to make sure that they are on every end of the market, from how it is delivered, to how you watch it. As Ars Technica reporter Jacqui Cheng puts it, this is not about Microsoft preventing people from sharing files without permission, "It's about the ability to strictly control how we consume content"[2].

Microsoft wants to have that control, and this software is the way they are trying to get it. Software that is designed in this way is known as 'DRM', which stands for 'Digital Rights Management', and yet it is really just another way to restrict how consumers interact with things on their own computers and devices. Because of this restriction, we refer to DRM as 'Digital Restrictions Management'.

The Alternative to DRM: Free Software

By far the best way to avoid DRM, is to refuse to use software that is infected with it. Better yet, you should choose software that tries to do the opposite of DRM -- software that gives you complete control. This kind of software is called "free software," and it is based upon the idea that software carries certain freedoms to you:

  • The freedom to use the software for any reason you wish -- including to the ability to hit the save button when you* wish.

  • The freedom to examine how the software works and make changes, similar to a car engine -- you can remove the bugs or soup it up.

  • The freedom to share the software with your neighbor, like photocopying a newspaper article or sharing class notes with a classmate.

  • The freedom to share your modified software with other people, similar to how mathematics and science have worked for centuries.

Now you may not be a computer programmer, or know how to understand or change computer programs, but there are plenty of people out there who do, and they are likely already making the kinds of fixes and changes you'd like to see, or are often part of a community willing to make those changes for you.

There are thousands of free software programmers, and many thousands of free software programs, and even complete free software operating systems. You usually won't find annoying antifeatures in a program, and if there were one, you can rest assured that other programmers will have removed it by the time you get to use it.

Conversely, software that doesn't give you these freedoms is software you cannot control, and we think that kind of software doesn't belong on your computer. We say, 'free software, free society' -- with free software, if we are each in control of our machines, then we are all in control of how we use them and what we use them for.

And, don't let Apple fool you into thinking that they are the alternative to DRM and Microsoft, they, too have their own DRM schemes, and seek to control the world in their own way, from branding their DRM music player, to entrenching the world in their proprietary formats and DRM music purchasing programs.

The alternative to Windows and Apple is software that you control, software that is guaranteed to give you all of the freedoms you need to be in control. Free software.

There is a good chance you are already using free software, directly, such as using the Firefox web browser, or indirectly, by visiting a Web site that is sending you web pages with the Apache web-server. However, there are also entire, user-friendly operating systems that you can install on almost any laptop or desktop computer. So, if you are running Windows or Mac OS, consider replacing these with a free software based GNU/Linux operating system, such as gNewSense[3].

Using free software will take the control out of Microsoft's hands. With free software, you are in control."

[1]: You can read Mako Hill's article on antifeatures, here: http://www.fsf.org/bulletin/2007/fall/antifeatures/

[2]: It should be noted that this writer refers to a person that shares files as a "pirate," we think this is a bit of an extreme description that should be avoided. http://arstechnica.com/news.ars/post/20080514-nbc-vista-copy-protection-snafu-reminds-us-why-drm-stinks.html

[3]: gNewSense, a free software distribution of GNU/Linux http://www.gnewsense.org/


Get MythTV Instead!

A practical alternative to Windows Media Center, for those wanting a Home Media PC with PVR function, DRM free....should get MythTV.

MythTV is an open source software Personal Video Recorder (PVR). It lets you build a box similar to a TiVo or ReplayTV, but much more powerful - and more easily modified.

MythTV's robust PVR functions allow you to do the following:

  • You may pause, fast-forward and rewind live Television.

  • You may install multiple video capture cards to record more than one program at a time or use for picture-in-picture functions.

  • You may watch and record SDTV and HDTV via firewire if you have a firewire-enabled cable tuner or satellite tuner.

  • You can have multiple servers (called "backends" in MythTV parlance), each with multiple capture cards in them. All servers are centrally managed and all programs are scheduled by the Master backend.

  • You can have multiple clients (called "frontends" in MythTV parlance), each with a common view of all available programs. Each client can watch all programs recorded by any of the servers, assuming that they have the hardware capabilities to view the content; a low-powered frontend, for example, will not be able to watch HDTV. Clients can be diskless and controlled entirely by a remote control.

  • You may use combinations of standard analog capture cards, MPEG-2, MJPEG, DVB, HDTV, USB and firewire capture devices. With a firewire capable backend, MythTV can control a variety of set top boxes often found in digital cable and satellite TV systems.

  • Program Guide Data in North America is downloaded from www.schedulesdirect.org (a non profit orgainization) for a fee. This service directly replaces Zap2it's DataDirect service (which is no longer available), and provides MythTV almost two weeks of scheduling information. Program Guide Data in other countries is obtained using XMLTV. MythTV uses this information to create a schedule that maximizes the number of programs that can be recorded if you don't have enough tuners.

  • MythTV implements a UPNP server, so a UPNP client may automatically see content from your MythTV system. N.B.: this feature has not been verified to work on every available UPNP client.

  • Plugins from the MythTV community provide functionality for: DVDs, Personal Video Collection, Music, Weather, News, Netflix and much, much more.

MythTV will run on Ubuntu. So you can build a PC from scratch (or use an older computer) to be used as your MythTV server. Move into your living room, hook up to HDTV, record live TV to your Hard Drive and there you have your personal TV PVR for a fraction of the price. There is a How-To for building a MythTV Ubuntu box. You can also buy pre-built MythTV boxes at Monolith.There are also some MythTV linux distributions to choose from.


Wubi - Ubuntu Installer for Windows


I found a very cool Ubuntu installer for Windows. Seems great for someone wanting to install Ubuntu without getting overwhelmed with disk partitioning and such. Wubi is an actual EXE file that will install Ubuntu inside Windows without the need of a CD. Ubuntu is installed as a application inside windows, so if you want to uninstall you can do so within Add/Remove Programs. When you restart your computer, you are given a choice to boot into Windows or Ubuntu. Look like it still keeps your Windows MBR instead of using GRUB Boot Loader. I still think if you are serious about using Ubuntu Linux, then you should install the original way and make partitions for Ubuntu to reside on. Otherwise, with Wubi, Ubuntu is installed on your Windows partition, which is fine, but may not have as fast performance as if it was installed on it's own partition (which is explained in the FAQ below). Also it looks like it is shipped by default within the LiveCD of Ubuntu 8.04. I haven't tried it yet, but it is officially supported by Ubuntu and users have had great success. Below I have posted the FAQ from the Wubi site from http://wubi-installer.org/
You can find the Wubi Guide at the Ubuntu Wiki here.

Download Now

How do I install Ubuntu?

Run Wubi, insert a password for the new account, and click "install". The installation process from this point is fully automatic. The installation files (700MB) will be downloaded and checked, after which you will be asked to reboot. Do so and select Ubuntu at the boot screen. The installation will continue for another 10-15 minutes and the machine will reboot again. This is it. Now you can select Ubuntu at the boot screen and start using it.


Wubi Installation

How do I uninstall it?

You uninstall it as any other applications. In Windows go to the control panel and select "Add or Remove Programs", then select Wubi/Ubuntu and uninstall it. You can also use the uninstaller that you find in the installation folder.


Wubi Uninstallation

How do I select whether to run Windows or Ubuntu?

When you reboot you can choose to run Windows or Ubuntu.


Boot Screen

Can I access my Windows files from a Wubi installation?

Yes, the Windows partitions will be available within the directories /host and /media.

Can I use an existing ISO/CD instead of letting Wubi download a new one?

Yes, physical CDs will be detected automatically, pre-downloaded ISOs should be placed in the same folder as Wubi.exe. You can find the latest ISOs here

Why is the AMD64 version of Ubuntu getting downloaded and installed?

You probably have a 64 bit machine, the 64AMD installation is appropriate for all 64 bit architectures whether AMD or Intel

Can I force Wubi to download and install a 32 bit version of Ubuntu?

Yes, either pre-download the appropriate 32 bit ISO manually and place it in the same folder as Wubi.exe or start Wubi with the "--32bit" argument.

Can I move my virtual disk file to a dedicated partition?

For Wubi 7.04 and 7.10, you can use LVPM to transfer your install. A guide and support forum for LVPM is available here. 8.04 is not yet supported by LVPM.

Where can I find older Wubi versions?

Here

Where can I find additional information and resources about Wubi?

Please see the Wubi Guide for additional tips and more detailed documentation and troubleshooting.

What are the system requirements?

256 MB RAM and an 1 GHz or faster Intel/AMD processor is recommended for optimal performance, though Xubuntu might work on less. As for disk space, the installation requires a minimum of 5GB free. This space is mostly used by the virtual hard disk file. Most computers purchased within the last 3 years should be able to run Ubuntu fine, and Xubuntu is suitable for older computers. Software raids (aka fakeraid) are not supported. Encrypted disks are not supported.

What platforms are supported?

Wubi will run on on all Windows versions from Windows 98 to Windows Vista except Windows ME. More platforms to come soon. Linux/*nix/*BSD are supported through Lubi (download location and guide), and Mac OSX will eventually be supported through Mubi (developers still needed).

What is the performance?

The performance is identical to a standard installation, except for hard-disk access which is slightly slower than an installation to a dedicated partition. If your hard disk is very fragmented the performance will degenerate.

Any gotcha?

Hibernation is not supported under Wubi, moreover Wubi filesystem is more vulnerable to hard-reboots (turning off the power) and power outages than a normal filesystem, so try to avoid unplugging the power. An Ubuntu installation to a dedicated partition provides a filesystem that is more robust and can better tolerate such events.

How does Wubi work?

Wubi adds an entry to the Windows boot menu which allows you to run Linux. Ubuntu is installed within a file in the Windows file system (c:\ubuntu\disks\root.disk), this file is seen by Linux as a real hard disk.

Is this running Ubuntu within a virtual environment or something similar?

No. This is a real installation, the only difference is that Ubuntu is installed within a file as opposed to being installed within its own partition. Thus we spare you the trouble of creating a free partition for Ubuntu. And we spare you the trouble to have of having to burn a CD-Rom.

What is the relationship between Linux and Ubuntu?

Ubuntu is an operating system that includes a lot of free and open source applications and uses Linux as its core. Linux is like this amazing solar-powered engine that can be used in a street car, in a F1 or it can be daisy chained to drive a truck or an airplane. Ubuntu is like a car using the Linux engine, a zero emission, fully accessorised and easy to drive all-terrain, with power, acceleration and looks matching far more expensive supercars... Imagine something like that... ...for free.

Why Ubuntu?

We think that today Ubuntu is the best Linux-based operating system for desktop use. We also like its philosophy.You can see some Ubuntu screenshots here, for more information visit the Ubuntu website.

Is Wubi officially supported by Ubuntu?

Wubi was born as an independent project, as such 7.04 and 7.10 are unoffical releases. But since 8.04 the code has been merged within Ubuntu and Wubi is now fully supported. Wubi can also be found in the Ubuntu 8.04 Live CD.

What flavor of Ubuntu will I get?

Most flavors, including Ubuntu (default, with GNOME), Kubuntu (with KDE), Xubuntu (with XFCE for older computers). Contact us if you would like your own flavor to be available for installation via Wubi.

What is the difference among the different Ubuntu flavors?

Mostly the graphical user interface is different, and the bundled applications may change so that they better integrate with the installed interface. More information can be found at the homepages for GNOME, KDE, and XFCE.

Can I install multiple flavors?

You can select the desktop environment within Wubi. But since each desktop environment is also available as an application package, it is recommended to install Ubuntu (default option) and from there install the other desktop environments. When you login you can choose the desktop environment to use.

What applications come with Ubuntu?

Ubuntu comes fully loaded with most commonly used applications, including a full office suite compatible with MS Office, image editing software, picture management software, media player, games, browser, email client, IM and video conferencing software... On top of all of this, you can easily install additional software, from a list of over 20,000 applications.

All this is installed by Wubi?

Yes (well... not all of the 20,000 applications, but Ubuntu and everything that comes with it, yes).

All for free?

Yes. Wubi is free/open-source software, licensed under the GNU GPL-v2 or above.

What warranty do I get?

None whatsoever. This is free software, and you are free to modify it, use it and redistribute it as you see fit, provided you also allow others the same freedom. Since we do not make any money out of it, it would not be fair for us to be liable if something goes wrong. We think that the technology is safe, but you run it at your own risk. See the GNU GPL license for more details.

Is there any spyware/virus?

The software is free/open-source, which means that anybody can check the code, therefore it would be pretty difficult for someone to hide a spyware/virus within the software, but you should always run all your usual security checks. As explained above, there is no warranty.

How can I help you guys?

You can help us by filing/fixing bugs, writing code, or translating the project... ...or simply spreading the word!

Show me the code

The main development happens in 4 separate launchpad projects:

  • Lupin, the loop-installer, used to be the core of the insaller, but now most of the old functionality has been ported within Ubuntu
  • Wubi, the Windows front-end, handles everything that happens before you reboot
  • Lubi, the Linux front-end, does basically the same thing as Wubi
  • LVPM, Loopmounted Virtual Partition Manager, handles the migration of virtual disks to real partitions for Wubi 7.04 and 7.10

Our code is licensed under the GPL-v2 and above.

History

The original idea was drafted by Agostino Russo taking inspiration from topologilinux, which provided a loopmounted installation, and instlux, that provided a simple Windows frontend. The idea was to merge the two concepts having a Windows installer that would loopmount an image of Ubuntu. Geza Kovacs later refined the spec and provided the first prototypes to show that the concept was sound. Oliver Mattos wrote the original user interface in nsis. Agostino then refined the loopinstallation concept, moving from a simple loopmounted pre-made image file, to an image created on the fly using a dynamically patched version of the debian installer, thus providing an experience much closer to a real installation and addressing several other issues. The Lupin project was thus born. Incidentally the name "Lupin" comes from "loop-installation", which is the technique that makes Wubi tick. Later on Agostino and Ecology2007 have redesigned and rewritten the Windows frontend, which is what people see today. Hampus Wessman contributed the new downloader and the translation scripts. Bean123 and Tinybit also helped a lot to debug and fix bootloader issues. Lubi and LVPM were subsequently created by Geza Kovacs. Agostino Russo, Colin J Watson and Evan Dandrea have ported Lupin/Wubi into Ubuntu. Since Ubuntu 8.04, Wubi ships within the Live CD.


1/31/08

Install Compiz-Fusion on Ubuntu



Seems a fellow Blogger has posted detailed instructions for installing Compiz-Fusion on Ubuntu for new Ubuntu users. I thought I would post a link to it since it seems pretty straightforward. As of Ubuntu 8.04, Compiz comes by default and is enabled if your correct graphic card drivers are installed. The only thing you need to do then is to install the Compiz Configuration Settings Manager.
Open a terminal and type:

   sudo apt-get install compizconfig-settings-manager

and it shall be installed. After that navigate to:

   System --> Preferences --> Advanced Desktop Effects Settings

and there you may enable/disable any plugin you want.

Heres the fellow Bloggers post on getting Compiz-Fusion installed:
http://puttabutta.blogspot.com/2007/06/how-exactly-to-get-compiz-fusion.html

Here's one I used with great success: http://kevin.vanzonneveld.net/techblog/article/enable_compizfusion_in_ubuntu_feisty/

and another to enable the effects and plugins: http://forlong.blogage.de/article/2007/8/29/How-to-set-up-Compiz-Fusion

You can learn about what Compiz-Fusion is, how it works and where it came from:
http://www.techenclave.com/open-source/compiz-fusion-an-unparalleled-3d-environment-114472.html



3/10/07

Gaim (and Plugins)

Gaim is a free instant messaging client that supports multiple protocols on Linux, Windows, Mac and others. I use it on my Ubuntu Linux computer and my Windows XP computer. Gaim will round-up all your instant messaging clients you use into one simple user interface. For example, I use Yahoo, MSN, AIM and Gmail. My buddy list for all of these appear in one window together. Therefore, you can log on to many different accounts at once.

EDIT: GAIM IS NOW CALLED PIDGIN, SO MOST THESE COMMANDS AND INFO ARE NOW OBSOLETE.
VISIT http://www.pidgin.im/ FOR MORE INFO.


Gaim runs beautifully on it's native platform GNU/Linux, but if you are using Windows, you will have to use WinGaim and download the GTK+ runtime environment for it to work on Windows. You can download the Windows Gaim build with GTK+ here. If you are using Ubuntu, use apt to get Gaim sudo apt-get install gaim or Automatix2 will install Gaim as well. Otherwise, you can use the downloads page for all other distros and Windows.

The Plugins is really what makes Gaim special. I just started using the Guifications plugin [Screenshot]. This plugin displays "toaster" popups in the bottom right-hand corner of the screen. Simalar to MSN, it will popup when a buddy signs on, signs off, goes idle, goes un-idle, etc. What's cool about this plugin is that it's highly configurable; You can install Themes for these popups. I am using The Gremlin Black Theme, which matches perfectly with the black theme I am using for Ubuntu called Neutronium [Screenshot]. The Guifications plugin is in "Universe" backport of Ubuntu so you can use sudo apt-get install gaim-guifications. Or you can use the downloads page for other distros and Windows.

Another plugin that's a must-have, is the Extended Preferences plugin. I mainly just use this plugin to hide the buddy list on startup. Whenever I startup Ubuntu, Gaim will start and the buddy list will be showing. I wanted Gaim to start while only seeing the Gaim icon in the taskbar, so this plugin does the trick. On Ubuntu use sudo apt-get install gaim-extendedprefs or use the downloads page for other distros and Windows.

Gaim-Encryption is another one that I use. It will use up to 4096 bit RSA encryption and keys are automatically transmitted and stored making it resistant to man-in-the-middle attacks. You can use sudo apt-get install gaim-encryption or use the downloads page for other distros and Windows.

Why use 2 to 3 separate Instant Messaging clients when you can have all of them in one place? There are many different Instant Messaging clients similar to Gaim that you could use, but it's Gaim's plugins that makes it what it is.

3/3/07

No Nautilus Please


Thanks to Psychocats site, I have dumped my default file manager Nautilus and I am using Thunar. Thunar is a fast, clean, and easy to use Xfce File Manager. It is the default file manager in Xubuntu, but since I am using Gnome in Ubuntu, then by default I'm stuck with Nautilus. Originally, ubuntu forum member ciscosurfer started to discover a way to use this sleek file manager in gnome. Then, ultimately, psychocat made an easy-to-use script to do it.

  1. Download the script to your Desktop
  2. Paste the following commands in a Terminal:

cd ~/Desktop
chmod +x defaultthunar.sh
./defaultthunar.sh

To revert back to Nautilus, download this script to your Desktop and paste these commands in your Terminal:
cd ~/Desktop
chmod +x restorenautilus.sh
./restorenautilus.sh


I prefer this over Nautilus any day. I have zoomed on my icons to make them larger and added more places/folders to the side pane. You can also configure custom actions via Edit menu. In Custom Actions I have added a right-click 'open as root' (like Nautilus) by adding the command gksudo thunar. There are also plugins you can download for Thunar. I am using the Archive-Plugin. This gives you the right-click 'Extract Here' option for archives or the 'Create Archive' for files and folders. I had to compile this plugin from source and I posted instructions on how to do this on the ubuntu forums here.

I used the install instructions from http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html

  • Download the tarball from here.
  • cd to the download directory, then copy the following in a Terminal:

tar xvzf thunar-*
  • cd to thunar-archive-plugin-0.2.4 directory that the tarball creates and install some dependencies first or it will complain later:

sudo apt-get install libthunar-vfs-1-dev
  • then still in thunar-archive-plugin-0.2.4 directory:

./configure --prefix=/usr/lib/thunarx-1
make
makeinstall

  • now check in usr/lib/thunarx-1 and make sure two files are in that directory
    thunar-archive-plugin.so and thunar-archive-plugin.la

    (If not they are probably in the newly created /lib/thunarx-1 directory....which would be:
    /usr/lib/thunarx-1/lib/thunarx-1)
    if they are copy the 2 files to /usr/lib/thunarx-1
  • Restart thunar and you will have the "extract here" and "create archive" on right-click menu

3/2/07

Envy - Automated Nvidia/ATI driver Installation


I know this has been covered all over the web and on allot of linux forums, but I can't get over how sweet this program is! I use Ubuntu Linux and every time I update my kernel, I run envy from the command line and uninstall my Nvidia drivers. Then when my system reboots, I drop to a command line once again and run envy again (btw, that is the command 'envy') to install the drivers back for the new kernel modules. No more compiling the drivers with your new kernel by hand, it is all automated. The author of this python based command-line application, Alberto Milone, even has a way in this script to go to the Nvidia website and download the newest proprietary drivers for your card.


From his site, you can download the .deb package. On the site, http://www.albertomilone.com/nvidia_scripts1.html, he explains what envy will do:




  • 1) detect the model of your graphic card (ATI and Nvidia cards are supported)


  • 2) download the right version of the proprietary driver for your ATI or Nvidia card from ATI or Nvidia's websites


  • 3) handle the dependencies (compilers, OpenGL, etc.) required to build the module


  • 4) install the driver


  • 5) set up your xorg.conf (i.e. the configuration file of the Xserver) for you


  • 6) restart the Xserver for you (if you wish so)


So check out the site, there you will find instructions for installation and support. He is also taking donations too.