If you've followed my previous virtualization articles you've already seen a lot of material related to VMWare and Gentoo as well.
I use Gentoo as my primary desktop distribution and I often use it on servers as well, one of the biggest problems on Gentoo portage is VMWare support for the player, if you're using an AMD64 release (Gentoo on x86 with 64bit support) you're stick with v2.x but recent 3.x version has introduced a lot of cool things (VM machine creation and better HW support), if you want to install it you're on your own.
It's not a complex installation but on Gentoo there're few tips to remember for a clean installation/uninstallation. Here's what I've did on my own:
Download and Install
First of all just download the package you're looking for from VMWare download area, you need to be registered to get something from them but it's not a problem, at the time of this writing version 3.1.4 it's the latest one but I don't think this procedure would not change later on
Now follow few HTML pages (vmware player link, registration area and then you'll be redirected to the download area) and you'll see something like this:
You need to download proper binary file according to your architecture (32bit or 64bit), I've downloaded for example “Vmware-Player-3.1.4-385536.x86_64.bundle” in my /tmp directory
now add executable bit to it:
chmod +x VMware-Player-3.1.4-385536.x86_64.bundle
So you'll get something like this:
# ls -la Vmware-Player-3.1.4-385536.x86_64.bundle
-rwxr-xr-x 1 andrea software 103561067 May 18 19:51 Vmware-Player-3.1.4-385536.x86_64.bundle
now just execute the bundle file (as ROOT)
Select NO if you don't want to check for products updates (like me)
and select NO if you don't want to send anonymous data to them (like me)
These choices are up to you, but they're not important for this installation.
Then click INSTALL to install this program, this is a fairly clean installation as in a Windows environment, wait for a while until the installer program will stop with a pop-up like this one:
Don't worry about that, installer is complaining about a missing vmware service file, maybe because it thinks to be running in a mainstream distribution like Fedora Core or Ubuntu, simply ignore the warning and continue with your own installation. At the end of the process you'll see a screenshot like this one
Now Some tweaking
Installer ended its job, now it's time to tweak few things in your system to get everything working
First of all: we need to create a service file and put it under /etc/init.d, I've grabbed a good skeleton from /usr/portage/app-emulation/vmware-player/files/vmware-3.0.rc but I've adapted it to be fully compliant with the VMWare .bundle file, particularly I've payed attention to the uninstallation process. Don't copy vmware-3.0.rc, take mine because it works:
# Author: Andrea Benini (2011-05-18)
# Distributed under the terms of the GNU General Public License v2
# Original script taken from /usr/portage/app-emulation/vmware-player/files/vmware-3.0.rc
# Slightly modified so I can use it with stock VMWare Player Bundle file from their download area
# This scripts fixes troubles for services installed from scratch as well as vmware manual uninstallation
# Report me problems if they occours (andrea benini GMAIL com. No dots, between name and surname, add @ where needed)
ebegin Starting VMware USB Arbitrator
#start-stop-daemon --start --exec /usr/bin/vmware-usbarbitrator
ebegin Starting VMware services
modprobe -a vmmon vmci vsock vmblock vmnet
ebegin Stopping VMware USB Arbitrator
start-stop-daemon --stop --exec /usr/bin/vmware-usbarbitrator
ebegin Stopping VMware services
modprobe -r vsock vmci vmmon vmblock vmnet
I've just added few things if you compare mine with the original one: usbarbitrator is needed from version v3.x and above (according to vmware docs) and it needs to be run as a service. I've also added the stoppable status because if you'd like to have a clean uninstallation you'll run into troubles without it, I've fixed it to avoid troubles and have a nicely installed package (with a nice uninstallation as well...)
Now copy my own vmware service file reported above and name it /etc/init.d/vmware, and place executable bit on it
# chmod +x /etc/init.d/vmware
Now if you run it you'll see something like this:
Usage: vmware [ flags ] < options >
start stop restart pause zap
Default init.d options.
Extra options supported by this init.d script.
Suppress output to stdout, except if:
1) It is a warning, then output to stdout
2) It is an error, then output to stderr
--verbose Output extra information
--debug Output debug information
--nocolor Suppress the use of colors
For more info, please run '/etc/init.d/vmware help'.
Did you noticed the “Additional Options: stoppable” area above ? It needs to be there if you'd like to have a clean uninstall, if you don't have it (like original Gentoo script file) or if you don't understand what I'm writing just drop me a note for it
We've done a lot of the job, now it's time to link vmware modules to your own running kernel, you need to have linux kernel source code and headers (emerge sys-kernel/linux-headers sys-kernel/gentoo-sources) installed in your system. Well if you're an average Gentoo user you'll probably have them already installed (if you follow the installation handbook and you compile the kernel by yourself you already have them where needed). By the way just check if you've them in your system:
emerge --search sys-kernel/linux-headers
emerge --search sys-kernel/gentoo-sources
Now it's time to link vmware modules to the kernel, always as root user just run:
You need to wait for a while until modules and sources won't finish their compilation process, at the end you'll see this nice window:
And that's it, you're set and you don't need anything else, just add vmplayer command to your favorite menu in your Window Manager (Gnome, KDE, Fluxbox, ...)
if you can see this VMWare main window you've successfully installed everything fine, if you cannot see it you're stuck somewhere else, just drop me a note if you need some help
This procedure is tailored on Gentoo but it could be easily ported to other distros as well: Slackware, Arch, LFS and so on
Use my /etc/init.d/vmware service file, this works and it's fully compatible with Gentoo and VMWare as well, I've payed a special attention to the installation/uninstallation process. A lot of people are complaining about troubles when uninstallation process is run, it seems VMWare player uninstaller is looking for a particular feature to stop running services, that's why I've added “stoppable” status
To manually uninstall the VMWare Player just issue this command: vmware-installer --uninstall-product=vmware-player, always inside an XWindow command shell, a graphical installer starts and their procedure is really easy
You may start/stop virtual ethernet cards with the /etc/init.d/vmware file (/etc/init.d/vmware start|stop|restart|status|...), you don't need to fire up this service when your machine boots, when you run vmplayer networks interfaces are automatically started for you
If you're using a different distribution please pay attention to the lack of support when you're using a distro that is not RPM or DEB based, you just need to place a service file for starting up virtual network services (in /etc/rc.d or /etc/init.d or something like that), also add the status “stoppable” to your service file so you may have a nice clean uninstall if needed
I guess I've covered everything, please let me know if you need further information
Andrea (Ben) Benini
A new version of my gtkPyglot - the translators helper tool is now released, featuring Offline mode, and a nice configuration dialog. For the offline mode there is a 349MB big sqlite3 database with the 55 supported languages ready to use with state of 04.03.2011 of the translations in the gnome project.
- Offline mode - the translations are read from the sqlite3 database (see Notes for info)
- Online mode - getting translations results from pylyglot.org and translate.google.com
- Preferences dialog - You know what this is
- Simple and intuitive intreface
To use gtkPyglot in offline mode, you will have to download the prepared database from the following URL. From the preferences dialog point to the database file and you are set up to work with it. The langs.db file is a really big one ~ 349MB and supports only the 55 languages from pylyglot.
For Debian/Ubuntu users there is a prepared .deb file:
For other distributions, just use the Mercurial repository:
hg clone https://bitbucket.org/vkolev/gtkpyglot
Back in the dark ages of my computering life. I used an operating system known as Microsoft Windows®. I still occasionally play around in Windows these days.
I have (had, the drive failed on me recently) an XP Pro installation on my desktop system for playing games only. It’s crippled… no networking installed at all. I also have an installation of Win 7 on my laptop. It’s just for fun and education. I’m the family computer nerd, so everyone comes to me for help. They don’t run Linux… yet. MUAHAHAHA! Anyway, I have to stay comfortable with how MS products work so I can still be helpful to the unfortunate souls still using that OS.
As some of you who know me may remember, the camel that broke the straw’s back for me with MS Windows was the fact that I had numerous catastrophic system failures due to corrupted installations of various Service Packs on XP back in ‘06. The last one may have actually been a faulty Seagate hard drive, to be fair to MS. However, the last one was the last one for me. I went to Linux full time within a few days of that event.
Now, here comes a new Service Pack (#1) for my Win 7 installation. UH-OH! I’m very gun shy about Service Packs, folks. This time, though, the OS is not my primary computer tool, so what’s the worry. If it boogers up, I can just reinstall. No great loss… just more minutes of my life sucked out of existence by Microsoft. Anyway, I decided to go for it yesterday. The install was fast and painless. And best of all… the system rebooted into a working Win 7 OS. Cool, huh?
Kudos to MS. They may have finally gotten something right with this new Win 7. So, just what was Vista? XP’s Millennium Edition? Oh, wait… Vista was the beta, of course. I wonder how many folks actually paid $300 to beta test for MS on that one. All that testing paid off. Thanks beta folks!
OK, I’m outta’ here…
NOTE: All derogatory comments regarding Microsoft and the Windows® operating system are absolutely true… er, I mean are absolutely in jest. jk, as Generation Text likes to say. Can you imagine what Evolution is going to make their childrens’ childrens’ childrens’ thumbs look like? Heh!
*The above is reprinted with permission from me from my Nocturnal Slacker blog at Lockergnome.com
I'm a generally average Linux user. I'm not a coder/designer, nor do I run any huge servers. I'm an IT major in college, and surely know my way around computers, but I'm not anything particularly special. The way I've always experienced Linux was with a classic Desktop Environment (DE), where basically everything I need is included. I used mostly GUI applications, and used command line sparingly.
As I've become more and more comfortable with Linux, I've learned of the power the command line holds, and I've learned that the thing I love most about Linux is making it my own. I can make it look, act, and feel however I want. I can have a bloated system with all the fancy UI effects that has everything any user could need, or I can customize it to the point that others barely know how to use my computer, let alone do any harm.
As of late, my old habits changed, and I'm making the shift towards the sleek, customized feel. I've been playing around with Window Managers (WM) which mimic Desktop Environments in many ways, but don't include all those unnecessary programs that I found myself cursing after some time. No, I don't need KAlarm, Koffice, and Kate; in fact, they just get in the way of the programs I want to use.
At first I tried e17, the Enlightenment window manager, which boasts customizability and minimalistic design. It sounded perfect for my transition from full fledged KDE or Gnome desktop environment to sleek, customized window manager. I have to admit, compared to KDE or Gnome, I really liked e17. I customized it to fit my look, and never have I used multiple desktops so efficiently. I had a black theme installed that I loved, and none of the crazy bloat that comes with most desktop environments.
With my Linux palate sufficiently wet, I decided to start trying more and more window managers. I went through the basics with openbox and fluxbox, but nothing surpassed e17. I then heard about 'Tiling Window Managers' which organize your applications into many desktops, and tile themselves on your screen. At first I was reluctant because it sounded like something necessary for those hardcore 'power users', but after hearing of some tiling window managers I decided to give 'awesome' a try.
Boy am I happy I did. There are plenty of tiling window managers out there, but I decided on awesome after hearing some good things. I've now got 7 dedicated desktops (main, www, irc, office, im, media, and files), and two miscellaneous desktops, which keep me organized. After a quick overview of the keyboard shortcuts to switch between windows and screens, you quickly become accustomed to the shortcuts and stop needing your mouse for much outside of web browsing. I've also begun using more CLI programs, which use less resources and often times prove to be more efficient. Where I once used xchat, I now use irssi, and where I once used Amarok, I now use mp3blaster. Of course, I can still use the GUI programs like any other window manager, but I've learned to love the command line.
I think when people first hear about tiling window mangers, they worry that their screen isn't big enough (I'm on a 16in laptop by the way, 1366x768), or that they're made for true coders and Linux power users. If you get over your fears and try a tiling window manager, and take the time to customize it for yourself, you'll learn to love it. My small screen works just fine, and I can use multiple desktops to have everything I need running.
To tile or not to tile? I say give it a try, and see what you think. You may just be surprised with how easy to use and efficient they can be.
Okay guys, this is my first blog post in English, only because I had problems with this and found no solution on the web, so I decided to share this to all of yu.
As you know, Fedora Linux is a lil’ bit tricky when it goes to ATI graphics drivers, so you can use this easy steps to go trough ATI’s official non-free proprietor drivers on Fedora Linux 14 (i686).
ATI driver installation
Step 1: Open Konsole: Alt+F2 and type: “konsole” [enter]
Step 2: Login as “root”
and enter your root passwd.
Step 3: Update the system
…or update just kernel
Step 4: Install required tools
- yum install kernel-devel gcc wget
Step 5: Reboot (and login to a new kernel, if any)
Open Konsole again, and login as root (step 1 && step 2)
Step 6: Download ATI Catalyst driver (download this version because you’ll have problems with newest)
Step 7: Start the installation
- bash ./ati-driver-installer-10-11-x86.x86_64.run
…and go with standard next-next-finish yada-yada… everything by default
Step 8: Navigate to proper module build directory
- cd /lib/modules/fglrx/build_mod
Step 9: Compile the driver’s module
Step 10: Navigate to the proper module directory
Step 11: Install the compiled driver’s module
Step 12: Add nomodeset as kernel option to grub.conf
- sed -i '/root=/s|$| nomodeset|' /boot/grub/grub.conf
Step 13: Reboot to a new driver
If you get your GUI working, you should find “ATI Catalyst Control Center” in:
Main menu > Applications > Settings > ATI Catalyst Control Center
EDIT: For Compiz Fusion install this:
If you’re using Gnome:
- yum install ccsm emerald-themes compizconfig-backend-gconf fusion-icon-gtk emerald compiz-fusion compiz-fusion-gnome libcompizconfig compiz-gnome compiz-bcop compiz compizconfig-python compiz-fusion-extras compiz-fusion-extras-gnome
If you’re using KDE:
- yum install ccsm emerald-themes compizconfig-backend-kconfig fusion-icon-qt emerald compiz-fusion libcompizconfig compiz-bcop compiz compizconfig-python compiz-fusion-extras compiz-kde compiz-manager
Original article on my blog: Fedora 14 Linux and ATI Radeon drivers installation [how to]
I love linux, and wished I'd used it years ago when I was learning computers. There is an unkown adventure when using opensource. You like creativity and innovation, you will like linux. Plus, it will teach you areas about computers and technology that some of the other popular OSs left out. I am sure you have heard the term, "one size does not fit all". Well in the linux realm, that's exactly true. There are plenty of linux distros customized to fit anybody's need. Don't think one is all you can get.
Speaking of "one size does not fit all", I have been using a particular distro for a while, and it has great potential--Ubuntu. Ubuntu does pretty much what you expect in an OS and will recommend it to everyone. It is, however, not the only one.
I like to explore, keeping my mind open to new things and experiences. That being said, I've looked at all the other available distro flavors exploring their uniqueness. There was one that really stood out- Zorin OS 4.
The reviews mentioned that this distro was a faster alternative to windows and actually utilizes the same theme from windows vista and windows 7, cool. After running the liveCD, the OS booted fast, which was good for a liveCD. First thing I noticed was the theme. It was exactly like vista, more or less. Not bad, especially for users who are coming directly from windows. You will feel right at home. Zorin uses the KDE desktop environment, meaning it is very configurable.
The task bar lets you pin programs for ease of launch. Very similar to Windows 7. And for those who became accustom to the windows themes, Zorin has desktop options to change the themes to either vista or 7. Like that?
Zorin gives you the ability to install new opensource programs as like the rest of the linux OSs, yet with a little spice to it. Zorin is a spine off of ubuntu, so you will notice some similarities. In addition, wine is installed by default with an app called "playonlinux" that allows you to run windows apps. So wherever you go, your trusted windows apps follow. And, the programs run better on Zorin. Wine also gives you a huge list of game you can play one Zorin. GAMES!!! One of the games sold me completely, Call of Duty: Black OPs, NO WAY. And, there are many more, Devil may cry 4, halo, etc.
Zorin supports a wide range of hardware as well. Which I think is very critical to a successful linux OS. I am running Zorin on an old Dell WHL with a Xeon processor inside and a 1Gb of memory. This machine is loving it.
Ok for you security gurus, Zorin has an app that allows you to configure your firewall. Thats right, a gui app to configure your firewall. I am not saying it can replace iptables, however, you are fresh to linux, so why not do something you are used to, savvy?
Now for the online media content viewers. Zorin comes with all the video and audio codecs pre-installed. It supports the opensource and proprietary codec software so you are kept adaptive. The codecs that are support, flash, java and windows media codecs.
Did I mention, that Zorin is blazing fast? Oh yeah, it is. I was opening up multiple programs and windows and everything worked seamlessly. And, it is only 32bit.
In my opinion, Zorin is the windows equivalent of linux. This is a good distros to use to promote linux and help new users get familiar with the system as they make their way to becoming linux gurus.
Thanks to the rise of computer networking and the internet it is now more important than ever to have a firewall installed an running on your system. This entry is intended to give you a basic understanding of what a firewall is so you can choose the best firewall for your needs.
Now after my post on how to create a video and sending it to YouTube I'd like to show basic steps when dealing with videos generated from a Smartphone.
As you may already know nowadays smartphones are able to create .3GP files, don't matter about the platform (Android, iOS, BlackBerry OS, Symbian). And even better, if you need to upload your videos directly to YouTube you don't even need to worry about them or convert from .3GP to something else, YouTube converts your videos for you, you just need to wait a while before their processing queue takes your video off and translate it to the .ogv file.
But if you don't want to wait and you'd like to have your videos publicly available instantly you'd better upload an AVI file to YouTube, because when you upload an AVI to YouTube they'll process your video immediately. You can apply the same procedure if you'd like to download a video from your smartphone to your computer and play it with a common media player program (or send it by email, etc...)
If you've read my previous post you may notice the same conversion method, in fact here it is:
ffmpeg -threads 2 -i
filefromyourphone.3gp -f avi -r 29.97 -vcodec libxvid -vtag XVID -s
1024x768 -aspect 4:3 -maxrate 1800kb -b 1500kb -qmin 3 -qmax 5
-bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2
-g 300 -acodec libmp3lame -ar 48000 -ab 128kb -ac 2
Just change output resolution (1024x768 in my case) to whatever you want and you'll have your new AVI (or free format) file on PC, just change filename and extension to convert it to whatever you like (OGV, MPG, …)
In the beginning I was against ffmpeg due to its surreal parameters and complexity but now I'm using it for everything
Hope it helps
Ok, as 10.10 officially made its way to the public, excitement is high in anticipation to see what the gurus at canonical have cooked up this time. 10.10, delivers improvement to 10.04. However we don't know what did 10.10 improve. Could it be that they did mention it and we missed the intell, or canonical letf it up to us to find out. Questions, assumptions, my conclusion, lets just see what it can do.
First off I am anxious to how well 10.10 plays online media and its ability to decode media files, like .wma and .mp3. My first attempt, install adobe 10.2.
I did some google search( should try to use bing more often ), and quickly found some information on adobe flashplayer installation. It was quit easy.
In the CLI type:
sudo add-apt-repository ppa:sevenmachines/flash
after that repository addition, which completed rather quickly, type
sudo apt-get update
Once that is complete, type
sudo apt-get install flashplugin64-nonfree
Once this is completed, flash should be installed. However, I ran into a problem, Flashplugin64-nonfree could not be found. A few hacks were performed, and I realized flash had been install after the update. This was brought to my attention after the system recommended I install flashplugin-installer.
sudo apt-get install flashplugin-installer
The procedure was attempted, and that's when I noticed ubuntu already installed flash. Next, went to youtube and played one of my favorite songs. Everything worked like a charm.
Reference link: http://tutorial.downloadatoz.com/ubuntu-10-10-guide-how-to-install-adobe-flash-10-2-preview-version.html
I did a grave mistake, by purchasing Acer Aspire 4745 with out primary investigation. I am Linux user especially with Ubuntu. I have been using this for the past 4 years. I installed it many laptops like Compaq, Dell, Acer, and etc. I was having Acer Aspire 5920Ubuntu was configured excellently and there was no problem at anytime. In fact, it was my Linux laboratory. But I am suffering a lot with the present model. The problems are;
- the battery is not properly configured, the applet at top-panel is missing, even if I add it from 'add to panel' option it appears but not responding to the battery changes.
- the gnome-sound-recorder is not working, I could not record any thing with the help of default sound recorder. But I could record sound with the help of microphone in Windows 7 (which came factory loaded) with my laptop.
other than above two all remaining things are good. But you know these two are very much important, and very most is the batter, I don't know when my laptop shutdown, this is the highest insult to me.
You know it is not Acer mistake, it is purely my mistake, I must have done little research before purchasing it.
This time I'd like to share with you a simple method for creating a screen cast, adapt it to a common format and finally publish your job to YouTube or another web video sharing service. In my everyday job I need to create documentation and a video is something simple, direct and easy to understand for everyone.
Publishing some videos has never been so easy if you work with a Linux workstation, this is a step by step guide for the average Linux user.
One of the simplest program around for recording screen casts is “RecordMyDesktop”, if you use Gnome you've gtkrecordmydesktop, on KDE there are qt-recordmydesktop and recordmydesktop-kde, by the way, it doesn't matter which version you're using, when you start it you'll have a tiny window like this:
In my example I'll record a GEDIT session, but before selecting the full screen or the targeted window let's check the advanced settings to see my changes, just press “Advanced” button to see something, here's what I've changed:
in the “Performance” tab I've setup a low frame rate because I'm recording just desktop applications, I've disabled “Encode on the fly” and enabled “Zero Compression”.
With these settings even if you've a low end computer you'll have a quite decent video and audio, my first big problem with RecordMyDesktop was related to audio or video out of sync, with a setting like that you'll waste a lot of space but at least you've a well formed audio/video stream; you'll process your video later to adjust size and various optimizations.
Let's record something...
Resize your window to meet your needs and press the “Record” button and do something with your app, when you're done just press “Stop” in the top right corner where RecordMyDesktop resides (Gnome App for me...).
If you're a command line guru and you prefer to use a script or something like that you can run a command like this:
recordmydesktop --width=1024 --height=768 -x=10 -y=50 --overwrite -o out.ogv
This starts RecordMyDesktop with a 1024x768 window located starting from X=10, Y=50 from the top left, so I can place my app in that position and cut my Gnome menu bar, this is what I do for recording web screen casts, “overwrite” wipes existing out.ogv (default output file) if any. Take a look at the man page for further details. If you're using the command line directly you need to hit Ctrl-C to stop the recording.
Process your video
Now it's time to process your video and encode it in a well common format, if you upload videos on YouTube you can upload basically everything you want, from open formats like OGV, 3GP files from cellular phones, AVI files and so on. I've decided to convert my videos to AVI files and then upload them to YouTube, I just need to shrink my uncompressed video, resize it and convert into an AVI container. To achieve this task you can use one of these tools:
mencoder your.recorded.file.ogv -ovc xvid -oac mp3lame -xvidencopts
-vf scale=1024:768 -o your.recorded.file.avi
ffmpeg2theora --videoquality 10 --audioquality 10 -optimize -x 1024 -y 768
your.recorded.file.ogv -o your.recorded.file.avi
ffmpeg -threads 2 -i
your.recorded.file.ogv -f avi -r 29.97 -vcodec libxvid -vtag XVID -s
1024x768 -aspect 4:3 -maxrate 1800kb -b 1500kb -qmin 3 -qmax 5
-bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2
-g 300 -acodec libmp3lame -ar 48000 -ab 128kb -ac 2
All these commands resize an input video to a 1024x768 (HD) AVI file suitable for a YouTube upload. I personally prefer the third option and I always use ffmpeg heavily, command line options were taken from WinFF (ffmpeg GUI), I suggest to use it to avoid audio/video sync problems.
Adjust size to proper values if you need a different resolution, in my example I'm using 1024x768.
Now with your new AVI file you'll be able to upload it directly to YouTube without worries and having it quickly available without heavy post processing jobs from Google
Here's a sample.
News Update: Do you want to convert smartphone .3GP files to an AVI in the same way ? Read my "Convert 3GP to AVI (from smartphone to PC or YouTube)" blog [linux.com]
Glad to receive your comments and add your tips to the command list as well