Foresight Linux Planet

December 05, 2014

Og Maciel (OgMaciel)

Three Years and Counting!

Making a quick pit stop to mark this milestone in my professional career: today is my 3-year anniversary at Red Hat! Time has certainly flown by and I really cannot believe that it has been three years since I joined this company.

I know it is sort of cliche to say “I can not believe that it has been this long…” and so on and so forth, but it is so true. Back then I joined a relatively new project with very high ambitions, and the first few months had me swimming way out in the deepest part of the pool, trying to learn all ‘Red Hat-things’ and Clojure for the existing automation framework (now we are fully using Python).

I did a lot of swimming for sure, and through the next months, through many long days and weekends and hard work, tears and sweat (you know, your typical life for a Quality Engineer worth his/her salt), I succeeded in adding and wearing many types of hats, going from a Senior Quality Engineer, to a Supervisor of the team, to eventually becoming the Manager for a couple of teams, spread over 4 different countries. Am I bragging? Maaaybe a little bit :) but my point is really to highlight a major key factor that made this rapid ascension path possible: Red Hat’s work philosophy and culture of rewarding those who work hard and truly embrace the company! Sure, I worked really hard, but I have worked just as hard before in previous places and gotten nowhere really fast! Being recognized and rewarded for your hard work is something new to me, and I owe a great debt of gratitude to those who took the time to acknowledge my efforts and allowed me room to grow within this company!

The best part of being a Red Hatter for 3 years? Being surrounded by an enormous pool of talented, exciting people who not only enjoy what they do, but are always willing to teach you something new, and/or to drop what they’re working on to lend you a helping hand! There is not a single day that I don’t learn something new, and thankfully I don’t see any sign of this trend stopping :) Have I mentioned that I love my teammates too? What a great bunch of guys!!! Getting up early in the morning and walking to my home office (yeah, they let me work remotely too) day in, day out, is never a drag because I just know that there are new things to learn and new adventures and ‘achievements to unlock’ right around the corner.

I am Red Hat!!!

by Og Maciel ( at December 05, 2014 10:49 AM

November 22, 2014

Foresight Linux Official News

Foresight – Based on Centos 7

Foresight Linux will be based on Centos 7. We will have a stable core and maintained for years.We will have whole centos main repository available and whole epel 7. We will have own repository for additional packages and packages that we need to tweak, for fitting into foresight and make it unique.

There is already a way to install it and use conary as package manager. read more at:

Remember, this is a early beta stage. 

We already have whole main repository from centos and fully updated. We also have epel repository, but not built with deep closed checks. That means if you install filezilla or similar, you might need to add missing packages on your own. Or it will tell you that you are missing libraries, that filezilla needs. No huge issue at the moment, it will be fixed in near future.

We will write more about foresight, when we are starting to get somewhere. If you need any help, easiest to get help is from irc or mailinglist.

by Tomas Forsman at November 22, 2014 08:52 PM

September 21, 2014

Og Maciel (OgMaciel)


Woke up this morning and, as usual, sat down to read the Books section of The New York Times while drinking my coffee. This has become sort of a ‘tradition’ for me and because of it I have been able to learn about many interesting books, some of which I would not have found out on my own. I also ‘blame’ this activity to turning my nightstand into a mini-library on its own.

Currently I have the following books waiting for me:

Anyhow, while drinking my coffee this morning I realized just how much I enjoy reading and (what I like to call) catching up with all the books I either read when I was younger but took for granted or finally getting to those books that have been so patiently waiting for me to get to them. And now, whenever I’m not working or with my kids, you can bet your bottom dollar that you’ll find me somewhere outside (when the mosquitos are not buzzing about the yard) or cozily nestled with a book (or two) somewhere quiet around the house.

Book Queue

But to the point of this story, today I realized that, if I could go back in time (which reminds me, I should probably add “The Time Machine” to my list) to the days when I was looking to buy a house, I would have done two things differently:

  1. wire the entire house so that every room would have a couple of ethernet ports;
  2. chosen a house with a large-ish room and add wall-to-wall bookcases, like you see in those movies where a well-off person takes their guests into their private libraries for tea and biscuits;

I realize that I can’t change the past, and I also realize that perhaps it is a good thing that I took my book reading for granted during my high school and university years… I don’t think I would have enjoyed reading “Dandelion Wine” or “Mrs. Dalloway” as much back then as I when I finally did. I guess reading books is very much like the process of making good wines… with age and experience, the reader, not the book, develops the maturity and ability to properly savor a good story.

by Og Maciel ( at September 21, 2014 12:07 PM

September 06, 2014

Foresight Linux Official News

How to install Foresight 3

We have written down how you can install Foresight 3 and get cinnamon or openbox as desktop. (more desktop env will come)

Read all about it here:

About the issue: exceptions.ImportError: cannot open shared object file: No such file or directory

That error is probably gone, but has the information there, just in case.

We know that conary updateall or conary update *** doesn’t work for the moment, because the groups are out of sync. But will be fixed later.

Leave a comment if you wonder anything.

Note: The old wiki is located here:

The new wiki will live here:


Remember, these wiki’s are unofficial ones. But worth mention.

by Tomas Forsman at September 06, 2014 06:46 AM

July 12, 2014

Og Maciel (OgMaciel)

The End For Pylyglot


It was around 2005 when I started doing translations for Free and Open-Source Software. Back then I was warmly welcomed to the Ubuntu family and quickly learned all there was to know about using their Rosetta online tool to translate and/or review existing translations for the Brazilian Portuguese language. I spent so much time doing it, even during working hours, that eventually I sort of “made a name for myself” and made my way up to the upper layers of the Ubuntu Community echelon.

Then I “graduated” and started doing translations for the upstream projects, such as GNOME, Xfce, LXDE, and Openbox. I took on more responsabilities, learned to use Git and make commits for myself as well as for other contributors, and strived to unify all Brazilian Portuguese translations across as many different projects as possible. Many discussions were had, (literally) hundreds of hours were spent going though also hundreds of thoundands of translations for hundreds of different applications, none of it bringing me any monetary of financial advantage, but all done for the simple pleasure of knowing that I was helping make FOSS applications “speak” Brazilian Portuguese.

I certainly learned a lot though the experience of working on these many projects… some times I made mistakes, other times I “fought” alone to make sure that standards and procedures were complied with. All in all, looking back I only have one regret: not being nominated to become the leader for the Brazilian GNOME translation team.

Having handled 50% of the translations for one of the GNOME releases (the other 50% was handled by a good friend, Vladimir Melo while the leader did nothing to help) and spent much time making sure that the release would go out the door 100% translated, I really thought I’d be nominated to become the next leader. Not that I felt that I needed a ‘title’ to show off to other people, but in a way I wanted to feel that my peers acknowledged my hard work and commitment to the project.

Seeing other people, even people with no previous experience, being nominated by the current leader to replace him was a slap in the face. It really hurt me… but I made sure to be supportive and continue to work just as hard. I guess you could say that I lived and breathed translations, my passion not knowing any limits or knowing when to stop…

But stop I eventually did, several years ago, when I realized how hard it was to land a job that would allow me to support my family (back then I had 2 small kids) and continue to do the thing I cared the most. I confess that I even went through a series of job interviews for the translation role that Jono Bacon, Canonical’s former community manager, was trying to hire, but in the end things didn’t work out the way I wanted. I also flirted with another similar role at MeeGo but since they wanted me to move to the West Coast I decided not to pursue it (I also had fallen in love with my then current job).


As a way to keep myself somewhat still involved with the translation communities and at the same time learn a bit more about the Django framework, I then created Pylyglot, “a web based glossary compedium for Free and Open Source Software translators heavily inspired on the web site… with the objective to ‘provide a concise, yet comprehensive compilation of a body of knowledge’ for translators derived from existing Free and Open Source Software translations.”


I have been running this service on my own and paying for the cost of domain registration and database costs out of my own pocket for a while now, and I now find myself facing the dilema of renewing the domain registration and keep Pylyglot alive for another year… or retire it and end once and for all my relationship with FOSS translations.

Having spent the last couple of months thinking about it, I have now arrived at the conclusion that it is time to let this chapter of my life rest. Though the US$140/year that I won’t be spending won’t make me any richer, I don’t foresee myself either maintaining or spending any time improving the project. So this July 21st, 2014 Pylyglot will close its doors and cease to exist in its current form.

To those who knew about Pylyglot and used it and, hopefuly, found it to be useful, my sincere thanks for using it. To those who supported my idea and the project itself, whether by submitting code patches, building the web site or just giving me moral support, thank you!

by Og Maciel ( at July 12, 2014 11:20 AM

June 30, 2014

Og Maciel (OgMaciel)

FauxFactory 0.3.0

Took some time from my vacation and released FauxFactory 0.3.0 to make it Python 3 compatible and to add a new generate_utf8 method (plus some nice tweaks and code clean up).

As always, the package is available on Pypi and can be installed via pip install fauxfactory.

If you have any constructive feedback, suggestions, or file a bug report or feature request, please use the Github page.

by Og Maciel ( at June 30, 2014 07:00 PM

June 14, 2014

Tomas Forsman (TForsman / Zinden)

Tips – Huge discount on Linux steam games

When summer arrives, many games sites starts to sell out cheap games. We have found several games that works perfectly on Linux.

All games comes from  Green Man Gaming and needs steam.

Left 4 Dead Bundle


This pack contains:

  • Left 4 Dead
  • Left 4 Dead 2

£22.99 £5.74


 Half Life Complete



This pack contains:

  • Team Fortress Classic
  • Half-Life: Opposing Force
  • Half-Life
  • Half-Life: Blue Shift
  • Half-Life 2
  • Half-Life: Source
  • Half-Life 2: Deathmatch
  • Half-Life 2: Lost Coast
  • Half-Life 2: Episode One
  • Half-Life 2: Episode Two

£26.99 £6.74


Valve Complete Pack

(This pack contains few games that only works on win though)


This pack contains:

  • Counter-Strike
  • Team Fortress Classic
  • Day of Defeat
  • Deathmatch Classic
  • Half-Life: Opposing Force
  • Ricochet
  • Half-Life
  • Counter-Strike: Condition Zero
  • Half-Life: Blue Shift
  • Half-Life 2
  • Counter-Strike: Source
  • Half-Life: Source
  • Day of Defeat: Source
  • Half-Life 2: Deathmatch
  • Half-Life 2: Lost Coast
  • Half-Life 2: Episode One
  • Half-Life Deathmatch: Source
  • Left 4 Dead
  • Half-Life 2: Episode Two
  • Team Fortress 2
  • Portal
  • Left 4 Dead 2
  • Portal 2
  • Counter-Strike: Global Offensive

 £49.99 £16.99

voucher code

You can also make these deals even more extreme by abusing the below 15% voucher code:

Code comes from GMG blog


by Tomas Forsman at June 14, 2014 03:08 PM

June 11, 2014

Tomas Forsman (TForsman / Zinden)

Hard to install and use bumblebee in Foresight?

bumblebee foresight

someone told me once that users thought it was hard to install and use bumblebee for Nvidia optimus cards in Foresight.

So we listened and took care of it.

Now you only need to run two commands in terminal and reboot, and you are done. No need to edit files or similar.

Read all about how you install it here: Bumblebee

There is probably no easier way to install it somewhere else either. Sure you can bake in so you run one command to make 2 things. But we believe that you can handle 2 commands  :)

by Tomas Forsman at June 11, 2014 04:26 PM

HOWTO – adblock midori browser

adblock midori

It’s time to learn how to add and activate Advertisement Blocker in midori browser. Open up Preferences from the menu midori Go to Extensions tab and choose Advertisement Blocker

Advertisement blockerAdvertisement blocker

Click on configure icon on the right side adblock midori   Activate EasyPrivacy and Easylist. Also possible to go those sites and add even more blocklists. But these two should be enough to block most of the common ads. Restart midori browser and you will see less ads from now on. Everytime you start midori, it will look for updates for the blocklist. Now you have a working adblock midori.

by Tomas Forsman at June 11, 2014 07:39 AM

June 08, 2014

Tomas Forsman (TForsman / Zinden)

Updating menus + Getting started

I’m currently fixing the menu and added Getting started. Hopefully it will become easier to navigate for newcomers and easier to find help when it’s needed.

As always, got some complaints or suggestions, feel free to leave a comment about it.

by Tomas Forsman at June 08, 2014 11:15 AM

June 07, 2014

Tomas Forsman (TForsman / Zinden)

Setup the perfect Foresight Linux

Perfect Foresight Linux

I will show you how to get the latest stuff in your Foresight Linux.

As for now, we can call it a perfect Foresight Linux.

We will erase these applications:

Firefox (will be installed again)
Gnome-do (+ do-plugins)

We will install these applications:

vlc (+firefox plugin)


You will get newer applications and they have more features than the applications we are removing. The system will feel more updated and will be alot more updated. And you can call it for the perfect foresight linux.

A bit of explanation

Firefox > Firefox
Just changing to a newer firefox that’s not available in fl:2-devel label.

Evolution > Claws-mail
Evolution is useful, but many bugs have been spotted and fixed in newer versions. as we are still using gnome2, then we can change application instead.
Don’t forget to look at: HOWTO – Setup Claws-mail the best way

OpenOffice > LibreOffice
To get more recent version and use LibreOffice instead.

 Gedit > Medit
Medit is heavily customized and can either make it very thin or very powerful. Also remembers the documents you had opened before.

 Galctool > Galculator
Get a fresh calculator instead.

Transmission > Qbittorrent
A nicer layout and more updated torrent application.

 Totem > Vlc
Vlc can handle alot more and more popoular than totem. Also easier to find help if needed. Also we will use vlc as playback for some videos in firefox.

Let’s get started

We are asuming you are using gnome and fl:2-devel label. Make sure you are using latest updated system, or npapi-vlc won’t be available and you end up with a error that it doesn’t exist. So we start to make sure we are updated.

sudo conary updateall

To find out if you are using fl:2-qa or fl:2-devel label, open terminal and write:

conary q group-gnome-dist --labels

Now you can see if it has fl:2-qa or fl:2-devel in the line.

[tforsman@localhost ~]$ conary q group-gnome-dist --labels[~!gcc.core]
[tforsman@localhost ~]$

If you need to change to development label, read this.

Now we will edit your system-model file.

Let’s start with open the file,

sudo gedit /etc/conary/system-model

How the file should look like

I added a file here to see how it should look like: system-model

If you run 32bit system, change the name of firefox-64 to firefox-32 instead.

Save your system-model file and close it. You shouldn’t change anything above the comments line that starts with #

Now update your system.

sudo conary updateall

All done. Now you got a bit more updated system with common applications you probably use. So now you have a perfect foresight linux system :)

perfect foresight linux


Also some users doesn’t like banshee. You might want to do something with that one.

sudo conary erase banshee banshee-community-extensions

Then install something smaller.

sudo conary install guayadeque

Homepage: Guayadeque

Additional applications

Maybe you need some more applications to get going.

Wine – To install windows applications.
Dropbox – A cloud based storage.
Teamviewer – To get help from me? :)
Spotify – To play music from an application

To install all of those, open terminal and write:

sudo conary install wine wine-gecko dropbox teamviewer spotify



This is only based on what I think you should do with your Foresight system. So you can exclude some applications, if you want.

But I call my system perfect foresight linux system :)

If you feel like I’m missing something. Feel free to comment about it.

by Tomas Forsman at June 07, 2014 04:35 PM

Libreoffice 4.2.4 is available in Foresight Linux

Now you can easily install latest stable release of libreoffice 4.2.4 for foresight linux.

libreoffice foresight linuxlibreoffice foresight linux

Better document file formats

Round-trip interoperability with Microsoft OOXML, particularly for DOCX, as well as legacy RTF, has also improved considerably. A new import filter for Abiword documents has also been added.

A new engine for Calc

Massive parallel calculations of formula cells using GPU via OpenCL are now possible thanks to our new formular interpreter.

Read more and download at

by Tomas Forsman at June 07, 2014 08:30 AM

June 06, 2014

Tomas Forsman (TForsman / Zinden)

Last 90 days of security incapsula for

Incapsula is doing what it should do + more. I’m very pleased with incapsula and what it really do for


Based on 90 days, we can clearly see that bad bots and comments are the worst problems out there. But it grabs them and keeping free from bad comments and hacking attempts.

You probably think it’s based on a few attempts only.

26 May – 2 June

If we only look under period May. 26 ,2014 – Jun. 2 ,2014


As you can see, it’s alot of attempts every day. And last week it was a drop of 67%. So we are talking about 70+ comment spammer that incapsula blocks.

If it wasn’t for incapsula, I probably would have given up running this site.

by Tomas Forsman at June 06, 2014 08:03 PM

Huge discount on Watch dogs – pc game uplay

Watch Dogs

Watch dogs

Now available for $39.84 for a uplay key.  -41% from original prize.


Product Description

All it takes is the swipe of a finger. We connect with friends. We buy the latest gadgets and gear. We find out what’s happening in the world. But with that same simple swipe, we cast an increasingly expansive shadow. With each connection, we leave a digital trail that tracks our every move and milestone, our every like and dislike. And it’s not just people. Today, all major cities are networked. Urban infrastructures are monitored and controlled by complex operating systems.

In Watch_Dogs, this system is called the Central Operating System (ctOS) – and it controls almost every piece of the city’s technology and holds key information on all of the city’s residents.

You play as Aiden Pearce, a brilliant hacker and former thug, whose criminal past led to a violent family tragedy. Now on the hunt for those who hurt your family, you’ll be able to monitor and hack all who surround you by manipulating everything connected to the city’s network. Access omnipresent security cameras, download personal information to locate a target, control traffic lights and public transportation to stop the enemy…and more.

Use the city of Chicago as your ultimate weapon and exact your own style of revenge.


Watch_Dogs takes place in a fully simulated living city where, using your smartphone, you have real-time control over the city’s infrastructure. Trap your enemy in a 30-car pileup by manipulating the traffic lights. Stop a train, and then board it to evade the authorities. Narrowly escape capture by quickly raising a drawbridge. Anything connected to the city’s ctOS can become your weapon.

Living in inner city Chicago where violence is best answered by violence, you have the skills to take the fight to the streets. Take down enemies by delivering devastating blows with your baton, or experience a shoot-out like never before with a physics simulation that rivals anything in the shooter category. Overall, you will have access to more than 30 traditional weapons.

With help from Ubisoft Reflections, the acclaimed studio behind the award-winning Driver series, Watch_Dogs offers a stable bursting with horsepower. Get behind the wheel of more than 65 vehicles, each with state-of-art physics and handling, and explore the massive city while completing missions.

Disrupt, the all-new game engine dedicated to Watch_Dogs, uses advanced processing and graphics to deliver a stunning visual and an incredibly realistic experience. Disrupt gives you the power to affect the story, the city and the life of the population with your choices creating a ripple effect throughout the city.

Watch_Dogs gives you the ability to not only use the city’s ctOS to your advantage, but the streets as well. In real-world Chicago, cut through one of the buildings or climb to the rooftops to catch your target.



System Requirements


  • Supported OS: Windows Vista SP2 64bit, Windows 7 SP1 64bit, Windows 8 64bit
  • Processor: Intel Core 2 Quad Q8400 @ 2.66Ghz or AMD Phenom II X4 940 @ 3.0Ghz
  • RAM: 6 GB
  • Video Card: 1024 VRAM DirectX 11 with Shader Model 5.0 (see supported list)
  • Sound Card: DirectX 9 compatible Sound Card
  • This product supports 64-bit operating systems ONLY



  • Processor: Core i7 3770 @ 3.5Ghz or AMD FX-8350 @ 4.0Ghz
  • RAM: 8 GB
  • Video Card: 2048 VRAM DirectX 11 with Shader Model 5.0 or higher (see supported list)
  • Sound Card: Surround Sound 5.1 capable sound card
  • Supported Video Cards at Time of Release: nVidia GeForce GTX460 or better, GT500, GT600, GT700 series, AMD Radeon HD5850 or better, HD6000, HD7000, R7 and R9 series, Intel® Iris™ Pro HD 5200



So this is a huge prize drop from original prize. A huge discount with another word for Watch dogs.

by Tomas Forsman at June 06, 2014 10:19 AM

June 03, 2014

Tomas Forsman (TForsman / Zinden)

HOWTO – Setup Claws-mail the best way

When you install claws-mail, you will only see text messages for all mails you have and will get. You need to load a plugin that will let you show mails as they were excpected.

This is how it looks like from beginning

Screenshot-FREE tee with Sniper Elite 3 | LEGO Batman 3 | WWE 2K15 & more

Open Configuration inside claws-mail, choose Plugins

Click on load and find file.


Then click on Close. Open Configuration again, click on Preferences, find Message View and click on Text options.


Make sure you choose “Select the HTML part of Multipart/alternative messages.

Then in same preferences, go to Plugins and highlight Fancy.


There you can choose to “Enable loading of remote content and Display images.

Then click on Apply and Ok.

Now your mails will look normal again.

Screenshot-FREE tee with Sniper Elite 3 | LEGO Batman 3 | WWE 2K15 & more-1

This is the same mail as the first image in this post.

So now you got a great mail application and the mails look sane.

To install it in Foresight, open terminal and write:

sudo conary install claws-mail

I also recommend to load bogofilter and Notification from plugins. As bogofilter will help you against spam and notification will notify you with a popup window.

by Tomas Forsman at June 03, 2014 03:53 PM

Different ways to get help with Foresight

There are few ways to get help with Foresight and get help with various issues you might hit.


  • JIRA – Official bug tracker

The problem can be that some users never knows when a issue is reported, if you don’t visit the tracker or subscribe on new entries.


  • Irc – Realtime chatting

A great way to get help right away, but also depends on users are there and awake.


Still kinda new way to get help. But works real fine and also visible in more places and users can see that someone asked something. Easy to follow from RSS feed too.


Probably the easiest way to get help, as it probably sends a notification to users that have “notify on” inside that group.


  • Forum – Unofficial forum

Those who still want to use forum and write all kinds of stuff.


Mailinglist – E-mail to our mailinglists

Some users might want to send a mail instead. Harder to follow for users that doesn’t subscribe on it though.


We always recommend Jira in first place, but you can also post that link from Jira in ask foresight or G+ to get users to notify about it.

Common questions, we recommend ask foresight, G+ or Forum.

We usually test packages and talks about development in irc. Mostly in devel channel. We use mailinglist for keep on track on ongoing development.

Fastest way to get help, use G+ or ask foresight for non critical issues.

I might be wrong in some stuff here, but this is my personal feeling about ways to get help and how fast we notice about the problem/issue.

by Tomas Forsman at June 03, 2014 11:24 AM

May 29, 2014

Tomas Forsman (TForsman / Zinden)

Latest Firefox versions available

I’ve been building Firefox 29.0.1 and 30.0b8 in foresighters repo.

To install any of them,  open terminal and write:


sudo conary install

or for beta

sudo conary install


sudo conary install

or for beta

sudo conary install

by Tomas Forsman at May 29, 2014 02:59 PM

May 28, 2014

Og Maciel (OgMaciel)

Twenty Three Years

My parents were eagerly awaiting our arrival on an early Spring morning, and when our plane finally landed after the almost 10 1/2 hours flight and we made our way to the luggage claim area, the reunion was filled with a lot of hugging, laughter and a huge sigh of relief. For someone who had spent most of their entire lives in a small and sleepy town in the East coast of Brazil, waking up and finding yourself at JFK Airport was nothing short of a major event! I had never seen so many people of so many different races and speaking so many different dialects in my entire life, all 16 years of them! Everywhere I looked, everything was so different from what I was used to… even signs (so many of them) were in a different language! Eventually we grabbed our luggage and made our way to the parking lot looking for our car.

Before my sister and I left Brazil, I had the very hard task of giving away all of my possessions and only bringing the very bare minimal to start “a new life”. I was still going through my mid-teenager years, so I had to give away all of my favorite music LPs, books, childhood toys, and all the mementos I had collected through the years. This may not be such a big deal to you, but I have always been very attached to the things people give me, specially if they were given by someone I really cared. Seeing the things that represented so many people and moments of my life slowly drifting away filled me with a great feeling of personal loss. This feeling would stay with me for the next couple of years as I tried to adjust to my new adopted country. I was a stranger in a different land, where nobody knew me and I did not know anyone.

It’s been 23 years since this event took place, and I’m still here in the “Land of the Free”. Through the years I have survived High School, graduated with a Bachelors in Science from an university in Upstate New York, married (another immigrant from another country who you shall meet soon), moved a couple of times, and now find myself raising three young girls in North Carolina, the first Maciel generation of our families to be born outside our countries! Our similarities and differences, however, go beyond only the generation gap!

You see, contrary to a lot of the “stereotypical” immigrant families, we have completely immersed ourselves into the Americal way of life and culture, with a dash of our childhood cultures sprinkled here and there to add a little diversity to the mix. My wife and I stopped observing the holidays from our countries of origin a long time ago, specially those with no corresponding holidays here. We share a lot of the things that we learned growing up with our kids, but always in a nostalgic, almost didactic sort of way. We speak a mix of Brazilian Portuguese-Mexican Spanish-New Jersey English at home and try our best not to force our children to learn either language in particular. As it stands now, our kids’ primary language is English and even though I still make a habit of speaking in Brazilian Portuguese to them, their vocabulary consists of several words that they only say either in Spanish or Portuguese, like the word “daddy”. My wife’s vocabulary has also gone through a very interesting transformation, and she now speaks more Portuguese than Spanish when talking to our kids. Maybe it is because she was very young when she moved to New York in the early 1990s and never really got a lot of exposure to the Spanish language growing up in a different country.

All I can say is that I call North Carolina home, I vote during elections, I always get emotional when hearing the American Anthem, and together with my wife I raise the next generation of the Maciel family! Maybe they will take some of our culture and teach it to their own kids one day… maybe one day they may even learn to speak Portuguese or Spanish… maybe they won’t, and that is ok by me. We don’t even force them to follow the same religion our parents (and their parents) taught us growing up, prefering that they make that decision on their own, when and if they’re ever interested in doing so. We want them to be able to choose their own paths and make educated decisions about every aspect of their lives without any pressure or guilt.

I’m an American-Brazilian, my wife is American-Mexican and our kids are Americans with a touch of Brazilian and Mexican pride and culture. Together we form the New American Family!

by Og Maciel ( at May 28, 2014 06:32 PM

May 21, 2014

Tomas Forsman (TForsman / Zinden)

How to launch .jar files using nautilus

This is not nautilus specific issue and will work in more tools (like other file manager, xdg-open in cli etc)

Create a run-jar.desktop in your ~/.local/share/applications/ directory with the following content:


Exec=java -jar %f

Comment=Run the jar file
Comment[zh_CN]=运行 JAR 文件

Now when you open the file’s property dialog and go to open with tab, you can see run-jar mentioned in ‘show more app’.

To make run-jar the default action, use nautilus ‘set default’ button or the type the following command in a terminal:

xdg-mime query default application/x-java-archive

The mime type can be found with the command:

xdg-mime query filetype my_shiny_app.jar


There is other ways to do it too, like creating a nautilus script. But this feels like a better way though.

by Tomas Forsman at May 21, 2014 07:52 PM

The difference between an ‘akmod’ and ‘kmod’


A ‘kmod’ (kernel driver module) is the pre-compiled, low-level software interface between the kernel and a driver. It gets loaded (into RAM) and merged into the running kernel. Linux kmods are specific to one and only one kernel, and will not work (nor even load) for any other kernel.

Advantages: Pre-Compiled – no need to fool around with compiling, compilers, *-devel packages and other associated overhead.

Disadvantages: updating and re-booting into a new kernel without updating the kmod(s) will result in loss of functionality and inherent delays in updating kmods after kernel updates.

akmods (similar to dkms) is a solution to the problem of some kernel modules depending on specific versions of a kernel. As you start your computer, the akmod system will check if there are any missing kmods and if so, rebuild a new kmod for you. Akmods have more overhead than regular kmod packages as they require a few development tools such as gcc and automake in order to be able to build new kmods locally. If you think you’d like to try akmods, simply replace kmod with akmod

With akmod you don’t have to worry about kernel updates as it recreates the driver for the new kernel on boot. With kmod you have to wait until a matching kmod is available before installing the kernel update.

Advantages: obvious.

Disadvantages: HDD space required for compilers and *-devel packages; unforseen/uncorrectable driver problems that cannot be resolved by the automatic tools.

by Tomas Forsman at May 21, 2014 07:03 PM

May 19, 2014

Tomas Forsman (TForsman / Zinden)

Anyone interested to get updates for FL:2-devel ?

Hello all Foresight users.

I wonder if anyone is interested to still get some updates to current fl:2-devel repo? If so, leave a tiny comment and will put in some time to update some regular packages in near future.

As we all waiting for F20, so we are not sure how many users are left with latest Foresight today…..

by Tomas Forsman at May 19, 2014 03:44 PM

May 09, 2014

Og Maciel (OgMaciel)

FauxFactory 0.2.1

paper bag release

Short on its heels, today I’m releasing FauxFactory 0.2.1 to fix a brown paper bag bug I encountered last night before going to bed.

Basically, the new “Lorem Ipsum” generator was not honoring the words parameter if you asked for a string longer than 70 characters. I have fixed the issue as well as added a new test to make sure that the generator does the right thing.

The package is available on Pypi (sadly the page is still not rendering correctly… suggestions welcome) and can be installed via pip install fauxfactory.

If you have any constructive feedback, suggestions, or file a bug report or feature request, please use the Github page.

Image: Cry by LLewleyn Williams a.k.a. SCUD, some rights reserved.

by Og Maciel ( at May 09, 2014 05:00 PM

May 08, 2014

Og Maciel (OgMaciel)

FauxFactory 0.2.0

Today I’m releasing FauxFactory 0.2.0 with a new feature, a “Lorem Ipsum” generator. I confess that I did not look around for any existing implementation in python out there and just started writing code. My idea was to create a method that would:

Return a “Lorem Ipsum” string if I passed no arguments:

In [1]: from fauxfactory import FauxFactory

In [2]: FauxFactory.generate_iplum()
Out[2]: u'Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.'

Return a single paragraph with a fixed number of words if I passed a numeric words=x argument. If words was a large number, the text would ‘wrap around’ as many times as needed:

In [3]: FauxFactory.generate_iplum(words=8)
Out[3]: u'Lorem ipsum dolor sit amet, consectetur adipisicing elit.'

In [4]: FauxFactory.generate_iplum(words=80)
Out[4]: u'Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.'

If paragraphs=x was used, then a given number of paragraphs containing the entire “Lorem Ipsum” string is returned:

In [5]: FauxFactory.generate_iplum(paragraphs=1)
Out[5]: u'Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.'

In [6]: FauxFactory.generate_iplum(paragraphs=2)
Out[6]: u'Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.\nLorem ipsum
dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.'

Finally, if both words and paragraphs are used, then a given number of paragraphs with the specified number of words is returned, with the text ‘flowing’ and ‘wrapping around’ as needed:

In [7]: FauxFactory.generate_iplum(paragraphs=1, words=7)
Out[7]: u'Lorem ipsum dolor sit amet, consectetur adipisicing.'

In [8]: FauxFactory.generate_iplum(paragraphs=3, words=7)
Out[8]: u'Lorem ipsum dolor sit amet, consectetur adipisicing.\nElit,
sed do eiusmod tempor incididunt ut.\nLabore et dolore magna aliqua.
Ut enim.'

The package is available on Pypi (sadly the page is not rendering correctly… suggestions welcome) and can be installed via pip install fauxfactory.

If you have any constructive feedback, suggestions, or file a bug report or feature request, please use the Github page.

by Og Maciel ( at May 08, 2014 07:12 PM

May 01, 2014

Og Maciel (OgMaciel)

Hiring is Tough!

So I’ve been trying to hire two python developers to join my automation team here at Red Hat since last November, 2013… and believe it or not, so far I’ve had absolutely zero success in finding good, strong, with real world experience candidates in North Carolina! I either find really smart people, who do have relevant backgrounds or could ‘hit the ground running’ but are way out of my current budget, or they lack real world experience and fall into more of an entry level position.

Basically I’m looking for someone who not only can ‘speak python’ fluently but also has experience doing automation and writing tests, as well as that ‘QE mindset’ that makes you want to automate all things and question all things about a product! Someone who knows how to file a good bug report and knows how to provide pertinent, relevant information to developers so that they can fix a bug. Finally, someone who believes in continuous integration and is excited about an opportunity to improve and augment our existing testing framework and work with a very exciting product, knowing that your contributions will affect literally thousands of customers world wide!

Bonus points if you know what Selenium is and have played with Paramiko and/or Requests!!!

Does that interest you? Feel that you got what I’m looking for? Then take a peek at these two positions and apply fast!

by Og Maciel ( at May 01, 2014 06:05 PM

April 05, 2014

Tomas Forsman (TForsman / Zinden)

Upcoming Foresight Linux 3 information

It’s been quite from us with information about Foresight Linux 3 and what’s happening. Iv’e been collected some information to give you some insight what’s going on.

Fedora respin?

First of all, we are importing the whole fedora repository for Foresight Linux. That means you will be using conary as package manager instead of yum. We are using a tool called mirrorball.

You will get the features from conary instead from yum. It means you will get a rolling linux dist with able to rollback your system, if something goes wrong from a update. I won’t write everything that differs from conary and yum.

Conary is pretty strict when it comes to dependency resolution. We already found packaging issues of fedora20 just by importing and rebuilding it with conary.


System-model. A file that will keep track of what your system has installed or deleted. That will make it very easy to remember all kinds of packages you have installed during the years of running your Foresight Linux OS.

Of course there are other benefits to use conary instead of yum, but we leave that information for now.

We will also be able to change default applications, so it might not even look like a fedora from beginning.

What’s next?

We are currently creating groups from our repository, to be able to remake your Fedora os to Foresight Linux 3. We will also create other ways to get your system going.

If you want to read more about the import process and so on, please read our mailinglist for even more information.

Foresight Linux is not dead, just taking a break from social media and focus on upcoming Foresight Linux 3.

Our developer Mark wrote a blog post about this too. Read all about it here.

by Tomas Forsman at April 05, 2014 06:47 AM

April 01, 2014

Mark Trompell (Mark__T)

The bright future of Foresight Linux

Refining Foresight


Foresight is what I use for almost a decade now (and that means almost the whole time since it was created by Ken Vandine).
It was originally based on rPath Linux and Foresight 2.0 still is.
So rpath doesn't exist anymore (it was aquired by SAS a while ago) and our existing base is getting outdated to a point where maintenance is getting a burden.


There were several options to solve this issue.
1) build foresight 3 from scratch
2) rebuild an existing distribution from source and use it as a base
3) base on an existing (vital) distribution

Which one

Actually we discussed all these, but given our manpower we chose to base our new shiny Foresight on Fedora as is, so that we can focus again on providing a stable modern rolling binary distribution.

The Plan and Progress

So what we're doing is importing all! of Fedora20 into our own repositories using a tool called mirrorball
It will create Sourcepackages for conary containing the matching rpms and srpms and build conary packages from them.
I'm not going into the details here. You can look some up on our foresight-devel mailinglist
The initial import and built is already done and we're now in the process of creating conary groups from the information of the comps.xml
when that is done it should be possible already to adopt a fresh install of fedora20 for use with conary packagemanager.
Next step will be doing regular updates and imports of the fedora20 repository.
Then we will build foresight on top of this.
Creating groups like we want them, adding artwork and extras. Import rpmfusion repositories until we have a foresight that matches our needs.
And of course finding a way to easily install foresight and convert existing fedora installations.

Why not...

...just use fedora?
Well first we all got to love foresight as a distribution and a community.
And we love conary. Conary is pretty strict when it comes to dependency resolution. We already found packaging issues of fedora20 just by importing and rebuilding it with conary. foresight is a rolling distribution and we hope that with the adopting of fedora we can make it possible to just roll from fedora20 to fedora21 painlessly. Conary has rollbacks since it's beginning and it's a great packagemanager that helped us maintaining a rolling binary distribution for almost 10 years now.

by Mark Trompell ( at April 01, 2014 01:09 PM

January 14, 2014

Tomas Forsman (TForsman / Zinden)

Vim mode Irssi – Foresight Linux

Vim mode Irssi

An Irssi script that provides vim-like keybindings for the input line.

The script allows you to toggle between INSERTCOMMAND and EX modes.

Another useful feature is the mode indicator, best used in conjunction with uberprompt.

From the README, the following common keybindings are supported:

  • Command mode: Esc <Ctrl-C>
  • Cursor motion: h l 0 ^ $ <Space> <BS> f t F T
  • History motion: j k gg G gg
  • Cursor word motion: w b ge e W gE B E
  • Word objects: aw aW
  • Yank and paste: C<y p P>
  • Change and delete: c d
  • Delete at cursor: x X
  • Replace at cursor: r
  • Insert mode: i a I A
  • Switch case: ~
  • Repeat change: .
  • Repeat: ftFT: ; ,
  • Registers: "a-"z "" "0 "* "+ "_
  • Line-wise shortcuts: dd cc yy
  • Shortcuts: s S C D
  • Scroll the scrollback buffer: Ctrl-E Ctrl-D Ctrl-Y Ctrl-U Ctrl-F Ctrl-B
  • Switch to last active window: Ctrl-6/Ctrl-^
  • Switch split windows: <Ctrl-W j Ctrl-W k>
  • Undo/Redo: u Ctrl-R

Get the script at:

by Tomas Forsman at January 14, 2014 01:14 AM

January 13, 2014

Tomas Forsman (TForsman / Zinden) Writing for hackers

Just recently heard of – a pastebin services that converts markdown formatted files from into HTML.

Useful for those times you want to quickly share info that’s off-topic to your blog and to an audience of non manpage readers. Why markdown? It’s prettier than plain text and syntactically much simpler than html. GitHub users should like this.

Also: images

You can embed images in posts too, and they’ll respect the width of your browser.

by Tomas Forsman at January 13, 2014 02:07 AM

January 12, 2014

Tomas Forsman (TForsman / Zinden)

bash copy file – almost every file

bash copy file – almost every file

I found an interesting trick in bash today that may help a few other folks as well. Occasionally I find that need to copy almost every file in a directory, except for one or two. Usually I’d copy everything and then delete the stragglers I didn’t want from the destination directory. There had to be a better way, but as I said I’m lazy. Turns out I found the better way today.

bash copy filebash copy file
[tforsman@localhost ~]$ cp -r !(file_to_ignore)  /destination/

This little trick gets a bit better. Bash is slick enough to understand ‘or’ in this context. So I can also ignore multiple files if I need to

[tforsman@localhost ~]$ cp -r !(file_to_ignore| this-one-too)  /destination/

Hopefully someone else finds this helpful as well.

If you get a error like:

bash: !: event not found

Then  extglob is off. To turn it on:

[tforsman@localhost ~]$ shopt -s extglob

to enable extended pattern matching and then you can do a cp !(whatever) . and it will work. Good way to bash copy file.


by Tomas Forsman at January 12, 2014 09:30 PM

Foresight Linux Official News

Forum is unavailable – We are working on it

We know that forum is down at the moment, we are working to get it up and running again.

In meantime use ircmailinglist or unofficial forum to ask questions or to get in touch with us.

For common questions, use this mailinglist:

by Tomas Forsman at January 12, 2014 10:35 AM

January 11, 2014

Tomas Forsman (TForsman / Zinden)

Nautilus script gnome2 – Foresight Linux

Nautilus script gnome2 is an executable shell script that is placed in a special scripts directory so that the Nautilus graphical shell can find it. This allows you to extend the functionality of the file browser to do just about anything.

Scripts are invoked by selecting a file or group of files, and right-clicking with the mouse, to bring up a context menu. One of the options in this menu is the ‘Scripts‘ submenu, which allows you to select a script to invoke on the selected files.

Note: The submenu ‘Scripts’ only appears once you have at least one script in the scripts directory.

For a script to be found by Nautilus it needs to be located in your scripts directory (~/.gnome2/nautilus-scripts). This folder is located in your home folder but is hidden by default. To view hidden files and folders in Nautilus press Ctrl+H, or use the terminal to navigate to the folder:

cd ~/.gnome2/nautilus-scripts

Note: Once you place a script in your scripts directory, it’s name will not necessarily appear in the scripts menu immediately. You might have to visit the scripts directory with Nautilus – which can be done using the last option in the scripts menu. Once the directory is visited, Nautilus will know about which scripts you have, and you will be able to use them.

For scripts to be usable they need to be marked as executable. To make a script executable either right-click a script and select‘Properties → Permissions → Allow executing file as program‘ or use the following command in the terminal:

chmod +x name-of-script


External links to Natuilus script gnome2 - Information about Nautilus scripts - Collection Nautilus scripts


by Tomas Forsman at January 11, 2014 09:54 AM

Blog stats 2012 and 2013

Stats 2012

This blog had 35,000 views in 2012

The busiest day of the year was December 19th with 427 views.


Stats 2013

This blog was viewed about 99,000 times in 2013.

The busiest day of the year was August 18th with 677 views.



I’m very happy that we managed to get so many users to visit our site. This stats doesn’t show visitors to wiki page though.

by Tomas Forsman at January 11, 2014 07:57 AM

January 10, 2014

Tomas Forsman (TForsman / Zinden)

Screw you mediawiki – crashed wiki

Our wiki has faced some difficulties in past few days.

So I added few hours to try to restore the wiki page. First few hours, it went down the drain. Had no idea how to restore it. So was almost time to dig a grave and bury the wiki page for ever.

The main issue?

It all started from the time I updated mediawiki to 1.22.0

First view, it was accessable but coulden’t login to my account. So started to investigate after awhile, and even contacted my storage provider where I updated mediawiki from. They confirmed that something is wrong with version 1.22.0

I even installed more test mediawiki to make sure even a clean install didn’t work. And that was the case, that didn’t work as it should.



We confirmed this version doesn’t work as it should. Time to restore a previous backup.

Ohh crap, almost a year old. Damn, loose a whole year of the work in wiki. This I can’t accept. I did manage to browse wiki without login, so I managed to get to the special page where I can Export and Import pages. YES!!

I managed to grab all pages from the wiki. Now I started to restore from a previous version. It worked fine, so I started to think it might work this time if I again try to update to latest version. Offcourse not, somehow I managed to delete the whole mysql database too. Now I might be screwed. But no, my backups had mysql backups too. So created database with same name and user, managed to restore again to older version.

Now I can access wiki, but it’s got old menus and fresh installation main page. Imported all pages I managed to grab from wiki before, and managed to restore main page. All other pages was updated too.

Woohoo, now it looks like it should, almost. We do miss some pictures that I will manually add within few days.

While i’m at it, I updated our wiki link to:

But also made sure our older wiki links still works. But I recommend to change your bookmark to that link instead.

If you created an account past year, you might need to create a new one to be able to edit pages and create pages. I hope it isn’t a big issue for you to do that.

I also love you guys that have given my a hand on the wiki and helped me with filling few pages in it. Appriciated alot. You are the guys that makes me going and try as hard as I can to get things going. If I knew no one cared, I might just ignored wiki and let it be. But too many users love the wiki and use it alot and want the ability to search for solutions and so on.

Let’s make 2014 the best year for Foresight Linux

by Tomas Forsman at January 10, 2014 09:54 PM

January 02, 2014

Tomas Forsman (TForsman / Zinden)

Updated mediawiki

We have updated mediawiki to version 1.22.0

The whole changelog is located here: MediaWiki 1.22.0

Our community wiki is located here

The post Updated mediawiki appeared first on Foresight Linux.

by Tomas Forsman at January 02, 2014 02:11 PM

December 27, 2013

Tomas Forsman (TForsman / Zinden)

WordPress seo plugin – optimize blogging

WordPress seo plugin

Here is some WordPress seo plugin that might be interest for your blog.

Iv’e been tested many different seo plugins for wordpress and many of them are doing a great job. Some of them is better than others.

Here are a few that Iv’e been tested and recommend for you.

SEO Ultimate

gives you control over title tags, noindex, meta tags, Open Graph, slugs, canonical, autolinks, 404 errors, rich snippets. It’s free and you can download it from the page above. It doesn’t give you ideas how to improve your writing on the articles though.

wordpress seo pluginwordpress seo plugin


WordPress SEO by Yoast

While this WordPress SEO plugin goes the extra mile to take care of all the technical optimization, more on that below, it first and foremost helps you write better content. WordPress SEO forces you to choose a focus keyword when you’re writing your articles, and then makes sure you use that focus keyword everywhere.

One of the most popoular SEO plugin for wordpress. The one I recommend, if you don’t want to pay anything for getting your blog more popoular.



All in One SEO Pack

The one I recommend, if you plan to use additional tools with it. Like with SeoPressor or Squirrly.

Optimizes your WordPress blog for Search Engines (Search Engine Optimization).

It doesn’t have same features as seo by yoast, but it works fine and specially the pro version.



Over-Optimization Check: Tells user if they a™re optimized or over-optimized (from the score)

On-Page SEO: Real-time evaluation and recommendations to improve site content for SEO.  LSI (Latent Semantic Indexing) Analysis: Relates keywords together by extracting information from texts and associating them using semantic algorithms. Automatic and Intelligent Internal and External Linking: All the keywords on your site will be better-linked in terms of relevance and site navigation.


Too bad it calculates density key words all wrong !!!


This is my key phrase in ten words of text.

What’s the keyword density in this sentence? I think you can clearly see it’s 50%, right?

But by counting the phrase as just a single word, SEOPressor, SEO Beast and ClickBump SEO! will all tell you it’s only 10%!


Easy WP SEO Plugin

Didn’t add much time with this plugin, it’s starting to get old and reported bugs haven’t been resolved against the customers. So I do not recommend this one at the moment. WordPress will work fine without it.



The most powerful and active developed seo tool out there today. It have almost everything you need to optimize your blog posts or pages in your wordpress.

The only seo plugin that really helps you to understand and help you to solve the issues you might have with your wordpress site. You also get Weekly SEO Audit by Squirrly

That will give you very useful hints what you need to do to get more traffic and so on for your site. Squirrly also recommend to be run with all in one seo pack or wordpress seo by yoast. Those two can be easily run with squirrly without any issues at all.



I recommend All in one seo with squirrly. Squirrly costs a small amount of money every month, but worth the whole penny if you want to increase traffic and optimize your blogging. For those who doesn’t want to pay money, you can optimize 3 posts every month for free. Also different ways to “earn” days to get a pro account for a limited time.

I used to like seopressor. After some deeper testing with it, it seems it doesn’t calculate some settings right. Mentioned it above.

Today I use squirrly with all in one seo. That covers probably everything.

The post WordPress seo plugin – optimize blogging appeared first on Foresight Linux.

by Tomas Forsman at December 27, 2013 10:41 PM

what: locale::facet::_S_create_c_locale name not valid

what: locale::facet::_S_create_c_locale name not valid

If you hit that issue with any application, then you might need to setup your locale for LC_ALL=

First, we need to know what you have right now, open terminal and write:


You will see something like:


As you see, you are missing language for LC_ALL

You can try to write in terminal:

export LC_ALL="en_US.utf-8"

Try to run the application again, see if it’s starts. This solution didn’t work for me though. I used this command in terminal instead:

export LC_ALL=C

Now the application started for me. This issue appeared with gparted for me.

You can get the same issue with mongo, like:

Mongo error exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid, terminating

This solution will also fix that issue.

name not validname not valid

The post what: locale::facet::_S_create_c_locale name not valid appeared first on Foresight Linux.

by Tomas Forsman at December 27, 2013 09:38 PM

Best kids games for free – Linux

The best kids games for Linux, also free.

It’s time to let the kids take over the comptuter and let them play what they want. Here is a list of great kids games that my kids loves. The age is between 4-8 years old.

Will list them as how often they want to play it.



Like Minecraft, but it’s free to install and play. An infinite-world block sandbox game and a game engine, inspired by InfiniMiner, Minecraft and the like. It doesn’t need java to run.

The best game for my 4,5 and 8 year old kids. they always wants to play it. Specially now when you can easily add new mods inside the game. (from version 0.4.7 + git)


kids games






GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10.

Some of the activities are game orientated, but nonetheless still educational. Many different things can be done in the game, that’s why it’s so popular.







Ri-li is an arcade game licensed under the GPL (General Public License). You drive a toy wood engine in many levels and you must collect all the coaches to win.You can dowload it and play indefinitely. It’s Free.

This game is not for 4-6 years old, but older kids loves this game.






Tux Paint

Not a game though, but very popular for 4-7 years old kids. It combines an easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who guides children as they use the program.

kids games

children games tux paint



There is alot more kids games out there, but these ones stands out and kids loves them.

The post Best kids games for free – Linux appeared first on Foresight Linux.

by Tomas Forsman at December 27, 2013 10:26 AM

December 18, 2013

Tomas Forsman (TForsman / Zinden)

DETECT_ARTICLE_LANGUAGE is not defined in config.php

Error: DETECT_ARTICLE_LANGUAGE is not defined in config.php

If you recently updated Tiny Tiny RSS server that you might be running, you need to add some configs in your config.php to get it going again.

Like updating from version 1.10 to 1.11

You get this issue:

Startup failed

Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade. Please fix errors indicated by the following messages:

Required configuration file parameter DETECT_ARTICLE_LANGUAGE is not defined in config.php. You might need to copy it from config.php-dist.

First you need to download and open the file config.php-dist
That file is located where you have tiny tiny rss server installed.
In that file you find this:

  define(‘DETECT_ARTICLE_LANGUAGE’, true);
// Detect article language when updating feeds, presently this is only
// used for hyphenation. This may increase amount of CPU time used by
// update processes, disable if necessary (i.e. you are being billed
// for CPU time).

Copy the whole part and add it to your config.php file that is on your tiny tiny rss server. Save the file and everything is back to normal again.

Foresight ttrss users

We updated to latest tiny tiny rss version here at

tiny tiny rss

If you missed it before, I mentioned that foresight users are free to use our tiny tiny rss server. Read about that at the bottom of this post: Google reader alternatives – Running own server

As always, just take contact with me to get some missing plugins activated for you. Thanks all so far for the positive feedback for running tiny tiny rss server and those that are using it.

The post DETECT_ARTICLE_LANGUAGE is not defined in config.php appeared first on Foresight Linux.

by Tomas Forsman at December 18, 2013 09:06 PM

December 17, 2013

Tomas Forsman (TForsman / Zinden)

Find out what you have installed – Linux

Find out what you have installed in your Linux OS, specially in foresight linux.

Seems it’s hard to find out what applications  you have installed manually in various Linux distros out there. But not in Foresight, one of the easiest thing to find out and even wipe it out.

After a few months, you might start consider to erase some unused applications. But it’s hard when you have no idea what you have actually installed. That’s the main issue in many other distros.

Find out what you have installed

Start with open your terminal and open system-model file:

sudo gedit /etc/conary/system-model

# This file is an attempt to describe an existing system.
# It is intended to describe the “meaning” of the installed system.
# After this file is installed as /etc/conary/system-model any
# following conary update/install/erase operations will be done
# by modifying this file, then building a representation of the
# new desired state of your local system described in the modified
# file, and then updating your system to that new state.
# It is reasonable to edit this file with a text editor.
# Conary will preserve whole-line comments (like this one)
# when it edits this file, so you may use comments to describe
# the purpose of your modifications.
# After you edit this file, run the command
# conary sync
# This command will move your system to the state you have
# described by your edits to this file, or will tell you
# about errors you have introduced so that you can fix them.
# The “install” and “update” lines are relative only to things
# mentioned earlier in this model, not relative to what has been
# previously installed on your system.

Screenshot-medit - -etc-conary-system-model

As you can see, all modifications has been saved in that file. And you can easily remove a few lines to get them erased/installed again. There is no other Linux distribution that can do the same.

What do I actually do?

Just erase what you have installed and save the system-model file. Now just run:

sudo conary updateall

Now it will remove those applications and dependencies that might got installed with those applications you have removed.

Isn’t that easy?

Try to do the same in other Linux distributions, probably will give you a headache :)

The post Find out what you have installed – Linux appeared first on Foresight Linux.

by Tomas Forsman at December 17, 2013 09:29 AM

December 16, 2013

Tomas Forsman (TForsman / Zinden)

Christmas present from Foresight Linux – Free game

Exosyphen studios has given Foresight the opportunity to share the game Hacker Evolution Duality for free for all Foresight Linux users !!

Hacker Evolution Duality

Normally this game costs $19.95 but when running foresight, you get it for free.


How to get the game

Install requirements, if you are not using group-gnome-dist-devel, group-lxde-dist-devel or group-xfce-dist-devel

In Terminal, write this to see if it’s installed or not:

conary q conary-build

If you don’t have it, installed it with:

sudo conary install conary-build

Open terminal, write:

cvc cook --download

It will download the game and the download will be located at: ~/home/conary/cache/hed/****/***

Unpack the compressed file to your ~/home folder, then go into that folder with terminal:

cd HackerEvolutionDuality

Make it executable (64bit):

chmod +x HackerEvolutionDuality-64bit

for 32bit:

chmod +x HackerEvolutionDuality-32bit


Play the game

Write in terminal:


For 32bit:


The post Christmas present from Foresight Linux – Free game appeared first on Foresight Linux.

by Tomas Forsman at December 16, 2013 10:56 AM

December 15, 2013

Tomas Forsman (TForsman / Zinden)

Bitcoin – How to get started and backup


Is an innovative payment network and a new kind of money.

Bitcoin uses peer-to-peer technology to operate with no central authority or banks; managing transactions and the issuing of bitcoins is carried out collectively by the network. Bitcoin is open-source; its design is public, nobody owns or controls Bitcoin and everyone can take part. Through many of its unique properties, Bitcoin allows exciting uses that could not be covered by any previous payment system.



It is an application that can be easily run in Linux and specially in Foresight Linux. It uses bitcoin to transfer and request money.

MultiBit bitcoin wallet

MultiBit bitcoin wallet

Installation: Foresight Linux

How to backup your wallet using private keys

You can export your private keys from a MultiBit wallet into a file (using the ‘Tools | Export private keys Export private keys’ option) and, as long as you do not manually create new receiving addresses, you can use the private key file as a backup for the wallet.

If something happened to your wallet and you want to recreate it do the following:

Create a new empty wallet.
Import your private keys file using the ‘Tools | Import private keys Import private keys’ option.
MultiBit then adds the private keys from the file into the new wallet and replays the blockchain to get the transactions.

The post Bitcoin – How to get started and backup appeared first on Foresight Linux.

by Tomas Forsman at December 15, 2013 10:25 PM

December 13, 2013

Tomas Forsman (TForsman / Zinden)

Changed theme has changed theme template.

We have changed theme. Easier now to see recent posts and comments. Easier to maintain and loads a bit faster than the older theme.


by Tomas Forsman at December 13, 2013 10:37 PM

December 02, 2013

Foresight Linux Official News

Removed packages from official repository

abgx360, abgx360-gui, desmume and zsnes has been removed from official repository.
To install it, you need to install them from foresighters repo.

Read more at:


by Tomas Forsman at December 02, 2013 06:52 PM

December 01, 2013

Tomas Forsman (TForsman / Zinden)

Auto mount mtp devices – Android in Linux

Auto-mount  Android devices in Foresight.

Foresight will now auto mount mtp devices, like android telephones in nautilus.


Tested with Samsung galaxy S3, Samsung galaxy S3 4G, Sony Xperia Z. Works perfectly with those.

by Tomas Forsman at December 01, 2013 08:45 PM

November 27, 2013

Tomas Forsman (TForsman / Zinden)

Steam Games – huge sale

Some tips for some great games for your steam.

First we can start with some bundles, get many games for a tiny prize. Many of these bundles works only with Windows, but some are for Linux too. I still recommend to buy the bundle, as it’s very cheap and you still get some Linux games. Here is 3 bundles:

The Outer Limits Bundle

The Bundle Includes:
Sword of the Stars II Enhanced Edition,
Project Freedom,
Weird Worlds: Return to Infinite Space,
SpaceChem: 63 Corvi DLC (add-on),
Really Big Sky,
Planets Under Attack,
Data Jammers: FastForward,
Ion Assault


Total amount on steam store: 84.91€

You only pay: £2.60


The FPS Warriors Bundle

The Bundle Includes:
The Ship: Complete Pack,
Shattered Horizon,
Section 8,
Dino D-Day,
Sniper: Ghost Warrior Gold Edition


Total amount on steam store: 57.94€

You only pay: £2.25


The Outer Limits Bundle

The Bundle Includes:
UFO Extraterrestrials Gold,
Blades of Time Limited Edition,
Insane 2,
Hydrophobia Prophecy,
Race Injection,
Puzzle Kingdoms,
Gumboy Tournament,
Supreme Ruler 2020 Gold,
Razor2: Hidden Skies


Total amount on steam store: 123.86€

You only pay: £2.98



The GREAT game

As usual, the bundles package games doesn’t have any outstanding games. This game is only available for a very limited time, usually 1-2 days only. This game will be playable with Linux too, without any issues.


Left 4 dead 2

The best game out there for Linux at the moment, if you love zombie games and FPS games.

Prize: 19.99€ 4.99€




Garry’s Mod

Not really a game, just an addon for other games to play around with. Like L4D 2 or similar. So if you plan to buy Left 4 dead 2, then buy this at the same time. You won’t regret it. Garry’s Mod is a Sandbox Game based around the idea of building. Unlike most other games there aren’t any objectives – you can’t lose and you definitely can’t win.

Prize: 9.99€ 4.99€



by Tomas Forsman at November 27, 2013 08:58 PM

November 16, 2013

Tomas Forsman (TForsman / Zinden)

Google+ for

Iv’e been starting to write in swedish on google+ for

It can be about updates on wiki, new packages, updated packages and all kinds of rants…..

Wondering if someone is interested that I would write in english instead?

It will be alot more all kinds of information there, as it’s mostly all about changes/updates and so on….


So give me a comment if you like it to be in english posts instead.

Foresight Linux – SE


by Tomas Forsman at November 16, 2013 09:10 AM

November 11, 2013

Tomas Forsman (TForsman / Zinden)

Best first person shooter games – Linux

Best first person shooter ( fps ) games for Linux today.


There are alot of first person shooter games for linux out there. Some are ok, but some really rocks your world. Specially when they are free to use and play. Without anything costs any money.

These games we listed here, is free to use and some are open source. We have added them in no participle order.

we also excluded games that only runs with steam or demands data from other games to be able to run.


Alien Arena

Alien Arena is a furious frag fest with arenas ranging from the small, to the massive. With a large built-in player base, it’s never hard to find a good match going on, at any hour of the day. Dozens of maps, models, and various accessories have been created by community members to add on to the game experience.


Alien Arena 7.66





AssaultCube Reloaded

This game is a fork of Assault Cube, which is obvious from the name, that aims to improve the classic!

This game combines the best of all worlds. Realism from Battlefield, anti-cheat inspired by the Quake engine, perks from Call of Duty, mutators from Red Eclipse, and fast-paced gameplay with a low system footprint from AssaultCube and the Cube Engine.


AssaultCube Reloaded



Cube 2: Sauerbraten

is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS.

Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game.


cube 2 sauerbraten




Smokin’ Guns

first person Western style shooter based on the Quake 3 engine (Id Tech 3). Smokin’ Guns is intended to be a semi-realistic simulation of the American Old West’s atmosphere.

Gameplay as well as locations are inspired by Western movies,particularly those from the Spaghetti western genre.


smokin' guns





Red Eclipse

Red Eclipse is a fun-filled new take on the casual first person arena shooter, built as a total conversion of Cube Engine 2, which lends itself toward a balanced gameplay, with a general theme of agility in a variety of environments. It features: Parkour, impulse boosts, dashing, and other tricks. Favourite game modes with an array of mutators and variables. A built-in editor lets you create your own maps cooperatively online.

red eclipse



Speed and movement is what Warsow is all about. Like a true cyberathlete you jump, dash, dodge, and walljump your way through the game. Grab power-ups before your enemy does, plant a bomb before anyone sees you, and steal the enemy’s flag before they know what is going on!






World of padman

A cartoon style add-on with creative deathmatch weapons and models.

The idea of the game is based on the Padman comic strip for the magazine PlayStation Games created by the professional cartoon artist Andreas Endres, who is also the man who made many of the maps included with the game in 1998.

In World of Padman when you run out of health you will die unless you restore your health at a loading station or with the power-up ‘revival’ unlike in other games. In World of Padman there are no health bubbles to collect unlike in games such as Quake III Arena. As long as you stand on a loading station, which is currently shown on the left of this section, you’ll regenerate your health over a short period of time.

world of padman




Xonotic is a direct successor of the Nexuiz project. It represents years of development from its humble beginnings as a Quake 1 engine modification, and now aims to be the best possible open source first person shooter available. It could be considered most similar to Unreal Tournament and Quake at its heart, especially regarding teamplay and game mechanics.




Urban Terror

Urban Terror can be described as a Hollywood tactical shooter; somewhat realism based, but the motto is “fun over realism”. This results in a very unique, enjoyable and addictive game.

urban terror




Open Arena

OpenArena is a community-produced deathmatch FPS based on GPL idTech3 technology.

There are many game types supported including Free For All, Capture The Flag, Domination, Overload, Harvester, and more.

open arena

Wolfenstein Enemy Territory

Players wage team-based combat as Axis or Allies. Because it’s a team game, the only way to complete the objectives that lead to victory is by cooperation. Cover your teammates using your special class abilities in concert with the others.

Select one of five distinct character classes each with unique combat abilities, such as Covert Ops, Engineers, Medics, and Field Ops. Earn experience points in several skill categories, such as Battle Sense and Light Weapons.




A fast-paced, futuristic FPS with RTS elements, pitting technologically advanced humans against hordes of highly adaptable aliens. The player can choose from either team, providing a fresh gameplay experience on both sides of the conflict.



Blood Frontier

Blood Frontier was a single-player and multi-player first-person shooter game, built as a total conversion of Cube Engine 2 (Sauerbraten). The project has been discontinued. Still is fun to play though.






Game that blends a team based FPS with elements of an RTS. Players can choose from 2 unique races, aliens and humans. Players on both teams are able to build working structures in-game like an RTS. These structures provide many functions, the most important being spawning. The designated builders must ensure there are spawn structures or other players will not be able to rejoin the game after death. Other structures provide automated base defense (to some degree), healing functions and much more…

The overall objective behind Tremulous is to eliminate the opposing team. This is achieved by not only killing the opposing players but also removing their ability to respawn by destroying their spawn structures.







Urban terror and Xonotic is the ones I play most when it comes to fps games. You won’t get tired of them as fast that you might do with the other games.

I would start to recommend Urban terror, as it’s fun, realistic and many players plays that game.

by Tomas Forsman at November 11, 2013 11:42 AM

November 08, 2013

Tomas Forsman (TForsman / Zinden)

Minetest – Mods installation from the game

Minetest is a Minecraft game.

The huge different is that minetest is free to use and play. Also minecraft uses java to run and minetest do not use java.

In Foresight Linux, we always try to update minetest when changes are done. The biggest changes is that you can now download and install mods from inside the game.


You got now a mods tab where you can see Install and Download buttons to use to install new mods. Download button will list available mods and being able to install it from the game itself.



As usual, to install the game in Foresight Linux, go to our wiki page and read how to install it.

We build it from git repository, so the version is 0.4.7 with latest commits from git.

by Tomas Forsman at November 08, 2013 09:04 AM

Missing bookmark icon Firefox – Linux

Make missing bookmark icon menu visible again in Ffox.


Suddenly you might noticed that your bookmark icon is gone in Linux. Might look like this:

Firefox missing bookmark icon


You only see download and home icon in your top bar. This might be a bug in Firefox, not sure as it’s hard to actually find information about this in google. too many useless hits about this is shown instead.


To get back your bookmark icon, you need to disable/remove “Menu Bar” from View > Toolbars > Menu Bar. When it’s disabled, you can see your bookmark icon on the right side again.


Firefox bookmark menu


This issue has been reported in other Linux OS too, like arch, mint, ubuntu, fedora and other dists.

I think this issue started with version 23.0 and newer.


There is even addons for making it visible again, and I have no clue why in the hell you want a addon for making it visible?

Anyway, the addon for making it visible is located here.

by Tomas Forsman at November 08, 2013 07:52 AM

October 19, 2013

Tomas Forsman (TForsman / Zinden)

Firefox 25.0b9 is out and available

New version is out.

Recently Firefox released another Beta version, 25.0b9

It is already available to download and install for Foresight Linux users. Read all aobut how to install it here.


If you have already installed Firefox beta, then a conary updateall will give you the latest beta.

by Tomas Forsman at October 19, 2013 07:47 AM

October 17, 2013

Tomas Forsman (TForsman / Zinden)

Firefox beta – Always get the latest beta available

Always get the latest Firefox Beta.

Now you can always get latest Firefox Beta, as it’s usually stable enough to daily use.

As I write this, the version is 25.0b8


Firefox beta


Release notes

You can read the release notes here:




To make it as easy as possible, I added a wiki page for this to read instead. See it here

This will make it easy for those who uses Foresight Linux.


by Tomas Forsman at October 17, 2013 07:11 PM

October 14, 2013

Tomas Forsman (TForsman / Zinden)

Latest OpenOffice and LibreOffice in Foresight Linux

Older Libreoffice as default, time to change?

As most users know, we got an older LibreOffice in Foresight. But can be changed and use instead latest OpenOffice or Libreoffice instead.



To make it as easy as possible, we got a great wiki page written how to change to latest version. Read all about it here.


Screenshot-Untitled 1 - LibreOffice Writer



To make it as easy as possible, we got a great wiki page written how to change to latest version. Read all about it here.


Screenshot-Untitled 1 - OpenOffice Writer




by Tomas Forsman at October 14, 2013 01:03 PM

October 13, 2013

Tomas Forsman (TForsman / Zinden)

Best video players for linux

The difference between the video players for Linux.

There are many things that are different between the applications. The most common differences are what they can do and how they can do it.

We start with the three ones that has plugins for your web browser.


A multi-platform MPEG, VCD/DVD, and DivX. The best one out there. Handles almost everything you can think of playing. It even handles to play .iso files and handle dvd menu perfectly. Version 2.1.0 is 4K-ready.

npapi-vlc, browser plugin for firefox or opera. To make it use vlc to play different videos on the web.

Screenshot-Foresight Linux information.mp4 - VLC media player


MPlayer / SMPlayer

A movie player. Supports reading from network, dvd, vcd, file, pipes, and v4l and more. MPlayer is probably most common to use. As default you do not have any GUI for it. You need to install like smplayer. SMPlayer adds other interesting features like the possibility to play Youtube videos or download subtitles. One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave… don’t worry, when you open that movie again it will be resumed at the same point you left it, and with the same settings: audio track, subtitles, volume…

It uses gecko-mediaplayer to use MPlayer in web browsers.






Totem is the official movie player of the GNOME desktop environment based on GStreamer. It features a playlist, a full-screen mode, seek and volume controls, as well as keyboard navigation. Totem comes with a plugin that makes it possible to stream from web browsers.





Additional ones

These ones doesn’t fit to be used as a pure video player, but worth mention that they exist.



The concept behind Miro is brilliant, yet simple: create a jukebox video and audio player that can subscribe to and download podcasts while managing your locally saved media. It’s more usable for watching podcast and stream videos.





With dozens of advanced features and built-in codecs it can handle any media format, and can play Audio CDs, DVDs, (S)VCDs, TV / Radio cards, YouTube™ and SHOUTcast™ streams and even incomplete or damaged media files.

This one is better to use as a video player than Miro though.




The best one is VLC, as it handles almost everything out of the box and works in Windows, Mac, Android and Linux.

SMPlayer with ffmpeg as backend is probably the best one to run screencast from though. If you want an alternative, then SMPlayer is the one to use.

When it comes to codecs, ffmpeg and VLC can play almost as much different video format. ffmpeg is more useful when using it with terminal though. As it’s built for terminal.

by Tomas Forsman at October 13, 2013 05:12 PM

October 08, 2013

Tomas Forsman (TForsman / Zinden)

Setup VPN in Foresight Linux (gnome2)

Guide to setup VPN (openvpn) in Foresight Linux.

OpenVPN allows peers to authenticate each other using a pre-shared secret key, certificates, or username/password. When used in a multiclient-server configuration, it allows the server to release an authentication certificate for every client, using signature and Certificate authority. It uses the OpenSSL encryption library extensively, as well as the SSLv3/TLSv1 protocol, and contains many security and control features.


First you need to get an account, like from any of these:






If you live in sweden, then you can order Integrity from Bahnhof. It costs 40 sek/month.



Start with rightclick on NetworkManager Applet in upper right corner, choose Edit Connections…

Screenshot-Network Connections


Leftclick on Add



Choose Point-to-Point Tunniling Protocol (PPTP)

Then leftclick on Create…


Screenshot-Editing VPN connection 1

Fill in your account user details and leftclick on Advanced…


Screenshot-PPTP Advanced Options

Make sure to enable Use Point-to-Point encryption (MPPE), then I always use 128-bit. You can choose All available instead. Then you can leftclick on OK, and in the other popup window you can leftclick on Save.


Now you can connect to your VPN and you will see a padlock in the network manager applet. Then you know you are connected to VPN.


connect openvpn


To actually see that you have another ip, you can go to: and see for yourself.


by Tomas Forsman at October 08, 2013 11:22 AM

October 07, 2013

Tomas Forsman (TForsman / Zinden)

How to install Tor-browser in Foresight Linux

Easiest way to install Tor-browser and get going.

Tor only protects your applications that are properly configured to send their Internet traffic through Tor. To avoid problems with Tor configuration, we strongly recommend you use the Tor Browser Bundle. It is pre-configured to protect your privacy and anonymity on the web as long as you’re browsing with the Tor Browser itself.

To make everything as smooth as possible, we made a few steps for you to write in terminal to make the hard work for you.

So let’s get started

1. Download the file from terminal

wget --no-check-certificate

That will download the 64bit file for you. To use 32bit, you only change x86_64 to i686 in the link address.

2. Unpack it

tar xvzf tor-browser-gnu-linux-x86_64-2.3.25-13-dev-en-US.tar.gz

3. Go into the unpacked folder

cd tor-browser_en-US

4. Start the browser and start surfing



You will see that TOR is starting up and waiting for become active.

Vidalia Control Panel

After a min or two, you will see that it’s active and working.

Screenshot-Vidalia Control Panel-1


This is the easiest way to download, unpack and start the tor-browser. This way you will always be safe to surf on the internet. Do not forget to check out TOR download page if there is a newer version available. If there is, just change the version in the commands to match the new version available. This browser is based on firefox. And we do not recommend to install any plugins, as you also can read at TOR download page.


Tor Browser


We have also added this information in our Wiki.


by Tomas Forsman at October 07, 2013 10:05 PM

The TOR Project Tells Everyone to Stop Using Windows

how to get more secure with TOR.

More users are looking at different ways to become more secure on the internet and how to increase the security to be anonymous on the internet.


Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.


switching away from Windows is probably a good security move for many reasons,” the TOR Project said in a security advisory. But for this specific exploit it was especially bad since the hackers—probably a government agency—specifically targeted Windows users. Mac and Linux users were not affected.

TOR Project is now asking everyone to take a step back and stop using Windows. It’s not just this latest episode of snooping, though. Windows just isn’t a great operating system in terms of security in general, they say.

Source for the info


TOR in Foresight


There is a init process, that starts tor during boot. If you haven’t rebooted yet or turned off the tor- init you have to start it yourself.

Open a terminal

type: tor

Now, tor starts with default- settings. You can change these by editing the config- file “/etc/tor/torrc”. Read more in /etc/tor/torrc.sample.

Next you’ll have to configure your programs to use tor- proxy. The proxy, you’ll have to use is “localhost:9050″.

There are tools that help to configure tor for Firefox. Try addons like FoxyProxy, SwitchProxy or Torbutton.

Also available in: Wiki

Get more secure, use qbittorrent with anonymous mode. Read more at our wiki. Also possible to add blocklist for Qbittorrent

by Tomas Forsman at October 07, 2013 07:07 PM

September 25, 2013

Tomas Forsman (TForsman / Zinden)

Spotify vs Deezer vs Grooveshark vs Wimp vs Rdio

The best music services out there, here is the comparison between them.


Spotify vs Deezer vs Grooveshark vs Wimp vs Rdio


Deezer Grooveshark Rdio Spotify Wimp
Price £9.99 £9.99 £9.99 £9.99 £9.99
Songs 25 Millions + 15 Millions + 20 Millions + 20 Millions + 20 Millions +
Android Yes Yes Yes Yes Yes
Linux app No Yes (not official) No Yes Yes (using adobe air)
Offline Play Yes Yes Yes Yes Yes
Upload Music Yes Yes No Yes No




There might be some legal issues with their service, as google play, apple store and facebook has removed their app from their market.

Also they use java to upload own music to your library from their site. That forces you to have java installed. it looks like Win98 to upload music.

Works in most countries though.

uplad grooveshark



Deezer app is available in google play and app store. Got a great way to recommend music for you, even in genres. Probably best quality for all services for music. If you google, you will find out that is alot better than Spotify. Works in almost every devices out there, even in Smart TV.

Only service that offer 320kbps for most of the songs.

Deezer in Linux



Most used service in those countries that has spotify available. Has app for all common devices out there. Has a few songs for many rare groups. Deezer has a few less, but instead has more songs for the artists. Has a native Linux application. If you don’t care so much about the quality of the songs, you would use Spotify. It also have 320kbps, but it looks like it have alot less songs that uses that Bitrate than Deezer.



I love reggae and Rdio doesn’t offer much rare reggae groups though. Hard to find songs from specific groups that aren’t so famous yet. Many Swedish groups has 1-3 songs available in Rdio, but in Spotify or Deezer there is usually 2-3 albums of same artist.

Not sure why you should use Rdio instead of other music service.



Only available in a handful of countries. Using adobe air to make the application to work in Linux. and adobe air is abandoned. Bad buffering of the songs you are listening online. Just a tunnel will cut off the music for few seconds before it starts again. You don’t have this issue in Deezer or Spotify.





If you want high quality and doesn’t care so much what everyone else is using, then you should use Deezer. Spotify is still most popoular service, but lower quality of the songs though. I’m not sure when I would recommend Grooveshark, Rdio or Wimp before the other two.

Both Deezer and Spotify have a limit to install on 3 devices at the same time for using it in offline mode. Both services has a very active Android app that updates often. Costs the same amount of money.

My daughter that is 12 years old, thinks it’s easier to navigate on Deezer and find music.

If I would recommend one service, I would use Deezer. Just because of better quality of the sound.


Deezer on Samsung TV

by Tomas Forsman at September 25, 2013 10:28 AM

September 22, 2013

Tomas Forsman (TForsman / Zinden)

Use wine with Nvidia optimus cards

We asume you are using Foresight Linux 64bit system.

To be able to run wine with bumblebee, you need to install VirtualGL 32bit libraries to your Foresight 64bit system.

If you try to start something with optirun wine ***** , you might get errors like:

ERROR: object '' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: object '' from LD_PRELOAD cannot be preloaded: ignored.

That’s because wine is a 32bit application and your system is missing 32bit libraries. To install missing library:

sudo conary install VirtualGL:lib[is:x86]


Now you can run wine again and start games with optirun.


This information is also available on our wiki.



by Tomas Forsman at September 22, 2013 09:15 PM

September 20, 2013

Martin Bähr

watch for the fish shell

The following command is used to watch the progress of files being updated in a directory.

watch 'du -h *| tail -20 | cut -c -$(($COLUMNS-5))'

cut is used so we don't get linewraps in the output. And we need to subtract 5 from the width because there is a tabstop in there which cut counts as 1 instead of the width of the tabstop (which is 8 minus the width of the size column)

This command works fine as long as files are updated in alphabetical order, but when this is not the case we need to sort files by time.

We need to do something like this instead:

watch 'du -h $(ls -tr)| tail -20 | cut -c -$(($COLUMNS-5))'

Unfortunately this only works if the filenames don't contain spaces.

fish handles spaces in filenames just fine:

du -h (ls -tr)| tail -20 | cut -c -(math $COLUMNS - 5)

So instead of trying to find a solution for dealing with spaces in bash, lets just use a better shell, shall we?

However, watch insists on executing the command with sh -c, so we need to devise our own watch loop for fish instead. That's not really hard:

while true
  du -h (ls -tr) | tail -20 | cut -c -(math $COLUMNS - 5)
  sleep 2

Unfortunately using clear causes an annoying flicker, especially if the du command takes a bit longer.

ANSI escape-sequences help:

while true
  echo \e\[H
  du -h (ls -tr) | tail -20 | cut -c -(math $COLUMNS - 5)
  sleep 2

This causes the cursor to be moved into the top-left corner without clearing the screen. Now we are almost there. Two problems still:
The tab character used to align the columns does not overwrite anything in its space. Likewise at the end of the line, if the newly written line is shorter then the remaining part of the old line is not cleared.

We can fix this with some sed trickery to clear the path:

while true
    echo \e\[H
    du -h (ls -tr) | tail -20 | sed -e 's/^/\x1b\[K/' | cut -c -(math $COLUMNS - 2)
    sleep 2

The ANSI escape sequence ESC[K clears the line just before it is rewritten. This has almost the same effect as clearing the screen, but without the flicker because we only start clearing after du has done its work.
And because the escape sequence adds 3 characters to the output we need to adjust the width accordingly.

At the end we can also add a command to clear the rest of the screen.

Leaves one last issue: $COLUMNS doesn't get updated if the terminal is resized. Granted, it's a nit-pick really, because how often does one resize the terminal. But to make this command generally usable, let's fix this too:

while true
    echo \e\[H
    du -h (ls -tr) | tail -20 | sed -e 's/^/\x1b\[K/' | cut -c -(math (tput cols) - 2)
    echo \e\[0J
    sleep 2

This is now pretty usable, so we'll leave it at that. There is still some room for improvement though. For example we could make the line-count flexible based on the terminal height. Also currently we are estimating that the size column is at least 2 characters wide so the tabstop adds at most 5 characters worth of space which cut does not count. Should it be less then we would get a linewrap again and if it is more then we get empty space at the end of the line. cut likely also has problems with multibyte unicode characters. This can probably be solved by switching the terminal in a no-wrap mode while the command is running, or finding a replacement for cut that handles these issues.


For those who prefer to stick with sh, i found a way how do deal with spaces:

watch 'ls -tr | while IFS= read -r i; do du -h "$i"; done | tail -20 | cut -c -$(($COLUMNS-5))'

by Martin Baehr ( at September 20, 2013 03:36 AM

September 17, 2013

Tomas Forsman (TForsman / Zinden)

Daily stats – Approx 1000 daily visits has around 1000 daily users from all over the world. We thought we lost google indexing this site few weeks ago, but it doesn’t show on the stats though.




The users use chrome/chromium before firefox, that is a tiny surprise for me.

by Tomas Forsman at September 17, 2013 07:58 PM