Blog Archives

Homepage: http://match065.github.com/grive/

Provide an independent implementation of Google Drive client. It uses the Google Document List API to talk to the servers in Google. The code is written in standard C++.

Already added for Foresight Linux users, read more at: http://www.foresightlinux.se/wiki-en/index.php?title=Grive

Also follow the development for Grive at G+.

For now, better than nothing. Will be more advance in the future, remember this project is very fresh.

Trine 2 for Linux

I just bought Trine 2 for linux to my Foresight Linux lxde computer. I coulden’t start it in full window, had to choose “Run in window”.

Might be the issue:

error while loading shared libraries: libSDL-1.3.so.0: cannot open shared object file: No such file or directory

Anyway, very happy to be able to play the game without any huge issues. I recommend this game for 10+ age and above. My daughter loved it.

Read, watch trailer and buy the game from their site: http://trine2.com/

Been updated the post:  http://www.foresightlinux.se/make-chromium-to-open-magnet-links/

But here goes:

To make chromium to open magnet links, that most of the torrent sites uses. You need to open terminal and write

gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "transmission %s"
gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true

Open xdg-open in desired text-editor

sudo medit /usr/bin/xdg-open

 

find the lines:

#--------------------------------------
# Checks for known desktop environments
# set variable DE to the desktop environments name, lowercase
detectDE()
{
 if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
 elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
 elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
 elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
 elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
 else DE=""
 fi
}

make it to look like this intead:

#--------------------------------------
# Checks for known desktop environments
# set variable DE to the desktop environments name, lowercase
detectDE()
{
# if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
# elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
# elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
# elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
# elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
# else DE=""
# fi
DE=gnome;
}

 

 This will probably work in Arch, Lubuntu, Mint and Fedora. Will work in other Linux OS that uses lxde as desktop environment. This isn’t a optimized hack, if you know another way that works as good as this, let me know.

Setup wine in a poper way, winehq, linux

many users are having problems with wine for getting simple games to install and run.

some background:

we install wine, use the application we want. We might install some dll to make certian applications to run when we see the issue.

Then we see a game, we install it….but wont even work to run. we know it will work, as we seen it in AppDB.

 

To get a wine to work alot better for most games and applications, we install wine and start to install most common dll we need for wine. to make sure they will be installed and works in the future.

We use winetricks to install dll’s. Either you only run winetricks and get a nice GUI or use winetricks *** ***. I will show the terminal way.

We need framework, fonts, dll to make most games happy and directx9.

winetricks dotnet20 dotnet30 gdiplus vcrun2003 vcrun2005 wininet d3dx9_36 corefonts cmd
winetricks dotnet11 dotnet11sp1 vcrun6

Last one with dotnet11, might show a error. But it’s only for trying to install corefonts, we installed it earlier.

This way, you won’t hit issues like:  asks for install Microsoft Installer 3.0 3, games just wont install when there shouldn’t be any issues with it.

 

Hopefully you will get a little easier to get windows games running on Linux. Also recommend to look at playonlinux, Cedega and Crossover.

Start with installing dropbox, currently only available in development label. For fl:2-devel

sudo conary install dropbox

For fl:2-qa users:

sudo conary install dropbox=@fl:2-devel

 

Create dropbox.desktop

Lets start with creating the path/folders like: ~/.config/autostart/ If you do not have that path, just create the missing autostart folder.

Time to create the dropbox.desktop file:

[Desktop Entry]
Name=Dropbox
GenericName=File Synchronizer
Comment=Sync your files across computers and to the web
Exec=delay 40 dropboxd
Terminal=false
Type=Application
Icon=dropbox
Categories=Network;FileTransfer;
StartupNotify=false

Copy everything and save it to  ~/.config/autostart/ Do not forget to name it to dropbox.desktop.

So now you have: ~/.config/autostart/dropbox.desktop

Relogin to your lxde. After approx 40 seconds, your dropbox will appear in system tray and starting as it should.

 

Remember, this will only work in Foresight. So you can’t do the same in Lubuntu, Fedora lxde or arch with lxde.

This will also work in Foresight Xfce.

For Gnome and Xfce, you can install another package to get dropbox working.

Read more at: http://www.foresightlinux.se/wiki-en/index.php?title=Dropbox

Lxde in Foresight Linux

The “Lightweight X11 Desktop Environment” is an extremely fast-performing and energy-saving desktop environment. 

Some features:

  • notify volume changes, notify mounted usb sticks, cameras and other hardware that uses usb.
  • Auto-mount usb sticks, external hard drives and available to browse with spacefm.
  • Spacefm as default file manager.
  • Xfburn to burn cd-r/dvd-r.
  • Chromium & Thunderbird for e-mail and web-browser.
  • gnome-power-manager for handle power settings.
  • Volumeicon and puvucontrol for sound.
  • Pidgin and skype for chat and voice.
  • Gimp, for manipulating/create pictures.
  • Mplayer and Pragha for watching movies and listening to music.
  • Libreoffice for creating/reading documents.
  • PackageKit, using GUI for installing/updating packages.
  • Medit, Text-editor
  • GPicView: A very simple, fast, and lightweight image viewer featuring immediate startup
  • Flashplayer and codecs are installed as default, plays most common formats in Chromium and plays most formats with Mplayer.
  • Cheese, for taking pictures and videos from a webcam.
  • + more………..

 

Updated packages

For users that uses fl:2-devel label with Lxde:

  • lxappearance-obconf 0.2.0
  • lxpanel 0.5.9
  • lxde-icon-theme 0.5.0

 

More information

More information is located at: http://www.foresightlinux.se/wiki-en/index.php?title=Lxde

Will fill in more information about Lxde in near future.

New Release: 0 A.D. Alpha 9 Ides of March

Top new features in this release:

  • The Roman Republic faction, playable on custom scenarios and random map scripts–in single player and multiplayer, complete with a new art set, including new buildings, units, and ships.
  • new combat system that adds bonuses and weaknesses to each unit, like rock-paper-scissors (e.g. spearmen defeat melee cavalry, but are countered by skirmishers and cavalry archers).
  • A brand new trading system, over land with traders trained from markets, and over sea with merchant ships built at the dock. Establish a trade route between two markets or docks, and your traders will gain resources for every trip made. You can choose which resource will be gained by a trader.
  • Over a dozen new random map scripts by Spahbod, wraitii, and mmayfield45.
  • New animations: Rowing oars for ships, rams, some catapults, traders, some animals.
  • AI improvements: 0 A.D.’s default AI, qBot, has had a performance increase and had a serious bug fixed with the attack code.

Added earlier in wiki page: http://www.foresightlinux.se/wiki-en/index.php?title=0ad

If installed earlier, sudo conary updateall will update the game for you.

Happy gaming

LXDE – Soon available for Foresight Linux

We been working alot to get a nice lxde desktop available for Foresight Linux. And now we are almost there.

It’s not the lightest lxde out there, but one of the most complete lxde out in the linux world.

We will ship lxde with these pacakges:

  • Volumeicon – To get a nice volume in tray
  • Notify-osd – Notification bubbles
  • Chromium – Web browser
  • Thunderbird – Reading, sending mails.
  • Libreoffice – Word, calc, draw, impress
  • Packagekit – Gui for installing, uninstall update packages in your system
  • Medit – A great text editor
  • Gimp – For create, edit photos and more…
  • Transmission – For torrent downloads
  • Auto mounts devices, usb memory sticks

+ more……

 

 

 

First make sure your router supports 5 GHz range.

open this file:

sudo gedit /etc/modprobe.d/iwlwifi.conf

add: options iwlagn 11n_disable=0 11n_disable50=0 swcrypto=1 swcrypto50=1
and save, will only be that in that file. (if you havent created it before)

Other dists may have different filename, but should be in same directory though.

Then run:

sudo modprobe -r iwlagn && sudo modprobe iwlagn

 

Now you get alot faster internet, if you got a fast internet.

for playing mp3 files with the new Spotify 8.x

sudo wget http://www.foresightlinux.se/filer/winemp3.acm -O ~/.wine/drive_c/windows/system32/winemp3.acm

Open Wine Config (Applications > Wine > Configure Wine) and ho to the Libraries tab. Under “New override”, enter “winemp3.acm” and click Add.

Important note: you’ll have to use this work-around every time you upgrade WINE! (not sure yet)

 

Open Spotify links in your default Linux browser.

By default, Wine doesn’t open links in your default Linux browser (Firefox, Chrome or whatever) and you may want this for sharing songs from Spotify on Facebook and so on. But you can change that easily.

Open Wine Regedit

wine regedit

Navigate to HKEY_CURRENT_USER (a.k.a HKCU) -> Software -> Wine and look for a key called “WineBrowser”, if it does not exist, create it. Under the newly created “WineBrowser” key, create a string called “Browsers” with the following value:

xdg-open,firefox,konqueror,mozilla,netscape,galeon,opera,dillo

Don’t worry about the browsers order in the above code. Just make sure “xdg-open” is the first one, as that will make sure that when you click a link in a Wine application, your default native Linux browser will be used to open that link.

But we are not done! At this point if you click a link in Wine, you’ll get the following error:

err:winebrowser:get_url_from_dde Unabled to retrieve URL from string L”\””
err:winebrowser:wmain Usage: winebrowser URL

To fix this, go to HKEY_CLASSES_ROOT -> http -> shell -> open -> command and edit the data value by adding “%1″ at the end of the line, so that it looks like this:

C:\windows\system32\winebrowser.exe -nohome "%1"
Then close all Wine applications and try it out.
 Page 1 of 3  1  2  3 »