Category Archives: Linux Stuff

Linux Stuff

Ozon OS "Hydrogen" Alpha Available For Testing

Numix Project and Nitrux S.A. released Ozon OS “Hydrogen” alpha yesterday.
Ozon OS Ozon OS “Hydrogen” alpha is based on Fedora 20 and it uses GNOME Shell and Gnome apps by default, customized with various extensions. The newly released alpha is aimed at developers and ships with only part of the Atom Shell: Atom Dock, Launcher and Panel, so it’s not really interesting for regular desktop users. However, the beta (and obviously, the final release) should include a lot more exiting stuff.

Here are a couple of Ozon OS Hydrogen alpha screenshots (but, as I said, there’s not much to see right now):

Ozon OS

Ozon OS

Current Atom Shell features include:

  • Atom Dock: intellihide, per workspace task separation and transparent background on App Overview;
  • Atom Panel: display legacy tray icons and appindicators on the top panel;
  • Atom Launcher: a simplified App Launcher with applications sorted by frequency of use.

Many other features are planned, but not yet available.

Besides the extensions mentioned above, Ozon OS “Hydrogen” alpha uses GNOME 3.12 with a custom GNOME Shell theme by default and has the RPMFusion repository enabled – other than that, it’s just stock Fedora 20.
According to its roadmap, Ozon OS “Hydrogen” beta will use Fedora 21 as a base and it will ship with its own GTK and icon themes (some icon design experiments here and here) (along with the rest of artwork: Plymouth, wallpapers, etc. – see how to submit wallpapers for inclusion in Ozon OS HERE), along with various OS tweaks, preinstalled vendor video drivers and so on.
The plan is to release Ozon OS “Hydrogen” (final) a month or so after the Fedora 21 release.

Download Ozon OS “Hydrogen” Alpha

Download Ozon OS “Hydrogen” Alpha:

If you want to download the Ozon OS Atom Shell / extensions and use them with your current Linux distribution, see its GitHub page (the extensions will hopefully be available on Gnome’s extensions website soon).

Also see the initial announcement (from February, 2014) which provides some extra information: Numix Announces New Linux Distribution

Thanks to Satya and indirectly :), Georgi for the info! via G+

Read More

Popcorn Time 0.3.3 Released With Support For External Media Players And Chromecast, More

Popcorn Time 0.3.3 was released today and it comes with quite a few new features, including support for external players such as VLC, XBMC, MPlayer, mpv and others, Chromecast and Airplay support, 3 new themes and more.

Popcorn Time

As a reminder, Popcorn Time is an open source Netflix-style torrent streaming application for Linux, Windows and Mac. The application allows users to stream movies (with subtitles) and TV series at no cost, and that may be illegal in your country so make sure you read the disclaimer before using Popcorn Time!
The most important change in the latest Popcorn Time 0.3.3 is probably the option to play the videos using your favorite media player such as VLC, XMBC, MPlayer, mpv and more – this can be done from the video page, next to the “Watch Now” button:

Popcorn Time

Another interesting change in the latest Popcorn Time is Trakt.tv synchronisation: Trakt will now remember your favorite videos for you so you won’t lose your favorites if you use Popcorn Time on multiple computers or you remove its database.
Yet another change is the addition of themes support along with 3 new themes: Black & Yellow, Flat UI and Light – here’s a screenshot with the new Light theme:

Popcorn Time

Besides the new features mentioned above, Popcorn Time 0.3.3 also includes the following changes:
  • a huge internal code clean up – unfortunately, because of this you most probably have to reset your DataBase on install;
  • use FontAwesome instead of PNG’s: nicer, sharper icons across the UI;
  • get rid of white flash at startup;
  • cleaner settings layout;
  • HTTP Api – can be used to control Popcorn Time from another application;
  • new settings: always on top, start page option, ratings on covers, hide or fade watched items;
  • various UI improvements;
  • resize covers on-the-fly by pressing Ctrl+ and Ctrl- in the cover view;
  • open directly next unseen episode;
  • built-in help;
  • alpha Chromecast and Airplay support (I’m not sure about Airplay but it looks like for now, subtitles aren’t supported with Chromecast).

Install Popcorn Time in Ubuntu 14.04 or 14.10, Linux Mint 17 or Debian

Important: before upgrading to Popcorn Time 0.3.3, remove your old Popcorn Time database or else the application won’t work:
rm -r ~/.config/Popcorn-Time

To install Popcorn Time in Ubuntu / Linux Mint and derivatives, you can use the Popcorn Time WebUpd8 PPA. The PPA package automatically downloads Popcorn Time from its website and sets everything up for you.

Add the PPA and install Popcorn Time in Ubuntu 14.04 or 14.10 (the latest version does not work with Ubuntu 12.04!) / Linux Mint 17 by using the following commands:
sudo add-apt-repository ppa:webupd8team/popcorntime
sudo apt-get update
sudo apt-get install popcorn-time

To install Popcorn Time from the WebUpd8 PPA repository in Debian, use the following commands:
su -
echo "deb http://ppa.launchpad.net/webupd8team/popcorntime/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-popcorntime.list
echo "deb-src http://ppa.launchpad.net/webupd8team/popcorntime/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-popcorntime.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install popcorn-time
exit

Download Popcorn Time

Important: before upgrading to Popcorn Time 0.3.3, remove your old Popcorn Time database or else the application won’t work:
rm -r ~/.config/Popcorn-Time

Download Popcorn Time (binaries available for Linux, Windows and Mac OS X) | Popcorn Time source

Arch Linux users can install Popcorn Time via AUR: bin | latest stable | git

Read More

Keyboard Modifiers State indicator For Ubuntu: Xkbmod Indicator

Unity doesn’t ship with a keyboard modifiers state indicator by default, so Abdellah Chelli has recently created such an indicator, called Xkbmod Indicator, useful for users with disabilities who need use sticky keys.

Xkbmod Indicator indicates the state of the following modifier keys: Shift, Caps Lock, Ctrl, Alt, Num Lock, Super and AltGr (and locked AltGr; a red dot means locked).

In its current state, Xkbmod Indicator is considered a prototype, so it may not work as expected, but I didn’t encounter any major issues in my test. There is an issue which depends on the theme you’re using though: by default, Xkbmod Indicator only supports themes with dark panels such as Ambiance.
However, you can get Xkbmod Indicator to work with any theme if you set it to use labels (text) instead of an image for the indicator. But in that case, only the active keyboard modifiers will be displayed, which will make the indicators shift each time you press a keyboard modifier so that might be annoying:

If you want the indicator to use labels instead of an image, launch Xkbmod Indicator with the “-l” parameter (for instance, if you’ve used our package, copy the indicator-xkbmod.desktop file from /etc/xdg/autostart/ to ~/.config/autostart/ and change the “Exec” line in this file so that it launches “/usr/bin/indicator-xkbmod -l”).

Install Xkbmod Indicator in Ubuntu

To install Xkbmod Indicator in Ubuntu, you can use the main WebUpd8 PPA. Add the PPA and install Xkbmod Indicator by using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install indicator-xkbmod

Or, if you don’t want to add our PPA, simply download the Xkbmod Indicator files from HERE.

Once installed, log out and log back in and Xkbmod Indicator should start automatically.
To grab the source code, report bugs and so on, visit the Xkbmod Indicator GitHub page.

Read More

Meet BirdFont 1.0, free type design app

Is FontForge all there is to type design on Linux? Not quite. Johan Mattsson released BirdFont 1.0, a new(er) free type design program for Linux, Windows, and Mac.

The project has been in the works for the last two years, with several dozens releases before v1.0 and, as a matter of fact, a few releases past v1.0 already. So you might like to think of BirdFont as a train that keeps on rolling.

Johan started BirdFont with the SVG Font spec in mind which, as SVG 2.0 progresses, is going out of fashion now (however much there ever was to it). He soon added generating TTF files, though, and keeps adding/improving design features ever since.

Today you can use BirdFont to create new typefaces from scratch or digitize existing type designs, manually create kerning pairs, and generate SVG and TTF files.

While the application is available under the terms of GPLv3+, unless you donate to the developer, you are supposed to create SIL OFL licensed fonts with free Windows and Mac builds only. Granted, a $1 large donation will already remove the restriction, and if you are a Linux user, you don’t even have to bother.

Johan kindly agreed to reply a few questions about the project.

Initially you only targeted SVG Fonts. How and why did the project’s goals and scope change over time?

The project started as a hobby and I wanted to learn a new programming language and write a small program with technologies that I was interested in. This meant that I focused on SVG fonts and compatibility with FLOSS applications like Inkscape and Libre Office.

Focus has shifted quite dramatically from technologies that I like to formats and programs that designers actually use. I have spent a lot of time making Birdfont compatible with proprietary applications like Adobe Illustrator and Microsoft Word. This a rather difficult task compared to generating fonts compatible with Open Source applications like Freetype.

Since Birdfont has an increasing number of users has the direction of the development become more influenced by the feedback I get. I spend most of the time fixing bugs that users report and implementing features that users need. I really appreciate the feedback I get but it has also meant that Birdfont has become less of a hobby project and more of a part time work that I do (even though I have no plans to quit my day job, yet).

Is that the reason you started getting thsi project funded?

That is a part of it, but I also belong to those who think of free as GNU rather than gratis. I donate small sums to support open source programs that I use and I think everyone should do that.

Did you hear much criticism regarding your choice to limit the output of the free version to SIL OFL licensed fonts? And, in a nutshell, what was your reasoning?

I have not received any e-mails with that kind of criticism, I guess 1 USD is an affordable price for most users and those who don’t want to donate can still use the Linux version. The reasoning behind this limitation is simply that I don’t have any problem working for free if those who are using BirdFont contribute to free software by releasing their work under the SIL OFL.

What are your goals today?

I have a list of some features that I want to implement here, but these are things that I would like to write rather than features that designers needs.

I have lately understood that users play an important role in the development of free software and I try to make the most of it.

How do you feel about web apps crawling into design process? There’s e.g. free/libre Metapolator app rapidly growing now. Is this something you’d like to consider for BirdFont in the future? Or are you more comfortable with a desktop app?

I have thought about creating a web interface for BirdFont but I don’t have time to write it right now, I have too many things to develop in the desktop and Android version first.

Metapolator is built on a very interesting idea but I believe type design is a complex task that can’t be reduced to a few parameters. I have for example not implemented autokerning in BirdFont, not because I don’t want kerning to be done automatically, but because I don’t think a computer algorithm can replace the designers’ decisions when it comes to spacing a font. I like to be proven wrong and I enthusiastically follow the development of such tools though.

People inevitably try to treat Birdfont as FontForge with UI that doesn’t look so 1990s. What do you think is the actual most important difference?

I think the drawing canvas and the grid in particular is the major difference compared to FontForge. It is a bit unusual and reflects the way I prefer to draw glyphs rather than what I think most users already are comfortable with.

Do you have notable examples of typefaces designed with BirdFont?

I have seen surprisingly few examples on the web given that Birdfont has been downloaded ~70 000 times. I think people in general should publish their unfinished works and sketches, it would be inspiring to see fonts being developed.

You chose Vala as a programming language. 2+ years into the project, do you think it was a good choice in terms of portability and 3rd party contributions?

Vala not a very common language, but I did’t think it would be that much of a barrier for programmers who already know a few languages. In terms of portability is it a great language. Birdfont already runs on many platforms and I am hacking on an Android port of the program as well.

A while ago Vala had a reputation of changing too rapidly, so apps required a particular version of the preprocessor to be built. Have things settled down yet? Is this a good time to get one’s feet wet with Vala and contribute to BirdFont?

The “non null” support breaks now and then, but I send patches to the Vala developers, and the release cycle is short. Package maintainers have found out that it is possible to compile BirdFont without this option, and I think most users will find BirdFont in their favorite Linux distributions.

Do you still design typefaces?

I am not so much designing typefaces as I am learning how to do type design. But I will release a few fonts as soon as I am finished with the italics. The only typeface I have released was my embarrassing first attempt to create a fontm and I have redesigned large parts of it. I draw quite a lot glyphs in BirdFont, but I always tend to become distracted of small details that needs to be improved in the program.


BirdFont is currently at v1.3. You can download Windows and Mac installers, as well as the source code.

Read More

Opera 25 Beta Released, Linux Added To Beta Channel

Opera 25 beta was released today and besides new graphical bookmarks and an improved Speed Dial, it finally supports Linux (for now, there are only 64bit debs available for download). This is the first Opera beta (previously known as Opera Next) release available for Linux since version 12.16, which was released more than a year ago.

Opera 25 Linux

Opera for Linux wasn’t updated since version 12.16 (July 2013), until June this year, when the Opera developers released Opera for Linux on the Developer stream. But Linux wasn’t included in the Opera beta channel until today – that’s because the Opera developers didn’t feel it reached the quality they wanted from their products until now.

Besides Linux support, the latest Opera 25 beta includes various changes such as:
  • graphical bookmarks;
  • improved Speed Dial which now uses Coast-style tiles instead of screenshots;
  • integrated PDF viewer;
  • web notifications (supported on Windows and Mac only for now);
  • support for H.264 and MP3 (on Linux, it requires ffmpeg 3.2 or newer).

Here are a few of screenshots with some of these changes:

Opera 25 Linux

Opera 25 Linux

Opera 25 Linux

For those who haven’t kept an eye on the Opera development, it’s worth mentioning that the web browser now uses the Blink engine and comes with features such as Discover (shows news and other articles in various categories, somewhat like Stumbleupon), tab previews on mouse over and more.

Download Opera Beta

Download Opera 25 Beta (for Windows, Mac and Linux – 64bit debs only for now)

To get the latest Opera features before they are promoted to the Beta Channel, you can use Opera Developer instead.

Arch Linux users can install Opera 25 beta via AUR.

Read More

PeerTV: Command-Line Tool To Manager And Play TV Series From EZTV Via Peerflix

PeerTV is a command line tool for manage and play TV series from EZTV.it. It uses Peerflix to stream the torrents and by default, the videos are played with mpv, but that can be changed from the PeerTV configuration file.

Peertv

For those not familiar with Peerflix, this is a an experimental video streaming BitTorrent client for Node.js which can be used to stream video torrents via command line and play the stream with your favorite video player, such as VLC or MPlayer.

PeerTV allows you to easily keep track of your watched / unwatched episodes: each viewed episode is automatically marked as seen and you can manually mark/unmark episodes as viewed – and of course, you play them with the help of Peerflix, with subtitles support.

For downloading subtitles, PeerTV uses subliminal, a Python library and command line tool which supports subtitle websites such as Addic7ed, OpenSubtitles, Podnapisi, TheSubDB and TvSubtitles.

Important note: PeerTV uses Peerflix to stream TV shows from torrents and that may be illegal in your country. Use at your own risk!

Install PeerTV

1. PeerTV depends on bash, sed, wget, rt, sqlite3, peerflix, mpv (or some other video player) and subliminal.

In Ubuntu / Linux Mint, most of these should be installed by default and for the rest, use the following commands to install them along with python-pip, which we’ll use to install subliminal (and “git”, to get the latest PeerTV under step 3):

sudo apt-get install wget git sqlite3 python-pip mpv
sudo pip install subliminal

2. You’ll also need Peerflix – for how to install Peerflix, see THIS article.

3. And finally, download and install PeerTV using the following commands:

cd && git clone https://gitorious.org/peertv/peertv.git
cd peertv
sudo PREFIX="/usr/local" make install

You can also download PeerTV manually from HERE.

Later on if you want to update PeerTV, navigate to its directory (assuming you’ve used the commands above, it should be in your home folder):
cd ~/peertv

And update it using the following commands:

git pull
sudo PREFIX="/usr/local" make install


Arch Linux users can install PeerTV via AUR.

Configure PeerTV

To change various PeerTV options, create a configuration file at: ~/.config/peertv.conf and paste the following (these are the defaults at the time I’m writing this article):
PREFEREDHD="true" # true for play 720p videos when available.
PEERFLIX_OPTIONS="-p 8888" # Options for peerflix.
PEERFLIX_TIMEOT=30 # Maximum time for waiting for peerflix peers.
AUTOMARK="true" # 'true' to automatically mark the episodes after play it.
SUBTITLE="en" # Subtitle language.
SUBTITLE_TIMEOUT=30 # Maximum time to find subtitles.
MPLAYER_COMMAND="mpv" # Adapt to your video player.
MPLAYER_OPTIONS="-fs http://localhost:8888" # Adapt to your video player.
MPLAYER_SUBOPT="--sub-file=" # Adapt to your video player.

Modify these variables to suit your needs – as you can see, here you can set the video player to use for playing TV episodes (but, depending on the video player you set, you’ll also need to change the other “MPLAYER_” options!), port (for instance, I already had something running on port 8888 so I had to change it to 8887 to get PeerTV to work), subtitle language and so on.

How to use PeerTV

For the commands below, I’ll use “Game of Thrones” with the “thrones” shortname as an example – replace these with the TV shows you want to add.
To use it, firstly visit the EZTV show list at https://eztv.it/showlist/, copy the show link (Game of Thrones in our example) and add it to PeerTV, like this:
peertv add thrones https://eztv.it/shows/481/game-of-thrones/
(“thrones” can be anything and it will be used as the shortname for the TV series – Game of Thrones in this case)

Next, update the series with magnet links from EZTV using the command below:
peertv update thrones

(or, use “all” instead of “thrones” to update all the TV series you’ve added)

You can list all the episodes of a series by using the command below:

peertv list thrones

You can mark episodes as viewed using the following command (the command below marks Game of Thrones episode 1 from season 1, as seen):
peertv mark thrones 1x1

You can also mark multiple episodes – here’s an example in which you’ll mark all episodes up to season 3 episode 6 as viewed (from Game of Thrones):
peertv mark thrones "<3x6"

To view all the PeerTV available options, run:

peertv help

More examples, etc. available at PeerTV’s Gitorious page.

Read More

How To Install World Of Warcraft In Ubuntu Or Linux Mint (W/ Fixes, FPS Optimizations)

World of Warcraft Ubuntu screenshot

Installing World of Warcraft (WoW) in Ubuntu or Linux Mint (with Wine) is pretty easy, however there are various crashes that can occur, especially if you’re not using the latest Wine and also, the FPS can be pretty low without a few tweaks, so I though I’d document everything I did to get World of Warcraft to work properly on my laptop (Nvidia Optimus, so I was able to test the game with both Nvidia and Intel graphics), even in large scale PvPs and hopefully, this will help you play WoW under Ubuntu or Linux Mint.

Install World of Warcraft in Ubuntu / Linux Mint

1. Download the WoW installer (you can of course use a CD/DVD instead).

2. Optional but recommended (using this will most probably result in not experiencing most of the errors described below, in the “fixing various crashes” section): install the latest Wine from the official Wine PPA:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7

3. Right click the downloaded installer, right click it and select Open With > Wine Windows Program Loader:

Launch with Wine Ubuntu

Then install Battle.net:

Battle.net installer Ubuntu

4. And finally, launch Battle.net from the menu / Dash (the icon should also be on your desktop unless you’ve deselected that option) and install World of Warcraft:

Battle.net Ubuntu

Fixing various potential World of Warcraft crashes (Ubuntu / Linux Mint w/ Wine)

A. If the World of Warcraft installer / Battle.net crashes

If Battle.net crashes on start:

WoW Battle.net crash Ubuntu

Fix it by launching “Configure Wine” from the menu / Dash (or press ALT + F2 and enter: winecfg) and on the Libraries tab, under “New override for library”, enter “dbghelp” (without the quotes), then click “Add”. Next, select “dbghelp” under “Existing overrides” and click “Edit” and in the new pop-up, set it to “Disable”:

winecfg dbghelp Ubuntu
B. If you’re on 64bit and the World of Warcraft 64bit game client crashes with an error similar to this:

ERROR #132 (0x85100084) Fatal exception!

Program: C:Program FilesWorld of WarcraftWow-64.exe
ProcessID: 57
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0033:0000000005A11A71

The instruction at "0x0000000005A11A71" referenced memory at "0x00007F38ACD6C028".
The memory could not be "read".
… you’ll need to force World of Warcraft to use the 32bit client. If you use Battle.net to launch the game (that’s only possible if you don’t use OpenGL, see below), you can change WoW to use the 32bit client from the Battle.net settings available via left-click on the blue icon on the top-left Battle.net corner – the menu is not responsive and unfortunately you have to click quite a few times to get it to work.

Or, you can launch World of Warcraft using a script – adding “-noautolaunch64bit” will force the 32bit WoW client to be launched instead of the 64bit one. If you’re already using a script, simply add “-noautolaunch64bit” at the end of your WoW launch command. Or, if you’re not using a script already, create a new text file in your home folder – let’s call it “wow” and in this file, paste the following:

on Ubuntu / Linux Mint 32bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files/World of Warcraft/WoW.exe" -noautolaunch64bit

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

on Ubuntu / Linux Mint 64bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files (x86)/World of Warcraft/WoW.exe" -noautolaunch64bit

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

Then save the file and make it executable using the following command (assuming you’ve created the “wow” file in your home directory):
chmod +x ~/wow
Then double click the “wow” file and run it to launch WoW (you can also launch it from the command line using “~/wow”, or edit the World of Warcraft desktop file to point to your newly created script).

C. 64bit only: if you’re using Bumblebee and World of Warcraft crashes with the following error:
X Error of failed request:  GLXUnsupportedPrivateRequest

Fix it by installing the 32bit virtualgl-libs:

sudo apt-get install virtualgl-libs:i386

D. If World of Warcraft fails at the login screen (it’s unable to connect) when launching the game through Battle.net and you’re using the OpenGL gxapi, you’ll find a work-around below, under the WoW Linux/Wine optimizations and tweaks – see “A. Use OpenGL”.

Optimizations and tweaks (increase the World of Warcraft FPS under Linux, etc.)

A. Use OpenGL

There are numerous reports saying that World of Warcraft runs better using OpenGL. In my test, I did indeed get a much higher FPS when using Nvidia graphics, but not using Intel graphics. However, this depends on hardware so it may not be the case for you.
Unfortunately, running World of Warcraft with OpenGL from Battle.net is not possible at the time I’m writing this article, at least it wasn’t in my test (and there are others who are experiencing the same issue) because World of Warcraft fails to connect. There is a work-around though.
To get World of Warcraft to connect when using OpenGL, you need to launch it using a script. To do this, create a new text file in your home folder – let’s call it “wow” and in this file, paste the following:

On Ubuntu / Linux Mint 32bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files/World of Warcraft/WoW.exe" -opengl

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

On Ubuntu / Linux Mint 64bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files (x86)/World of Warcraft/WoW.exe" -opengl

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

For Nvidia-users only: for threaded OpenGL performance optimization, add “__GL_THREADED_OPTIMIZATIONS=1” to the script you’ve just created, before “wine”. After modifying the script, it should look like this:

– On Ubuntu / Linux Mint 32bit:

#!/bin/sh

WINEDEBUG=-all __GL_THREADED_OPTIMIZATIONS=1 wine "/home/YOURUSERNAME/.wine/drive_c/Program Files/World of Warcraft/WoW.exe" -opengl

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

– On Ubuntu / Linux Mint 64bit:

#!/bin/sh

WINEDEBUG=-all __GL_THREADED_OPTIMIZATIONS=1 wine "/home/YOURUSERNAME/.wine/drive_c/Program Files (x86)/World of Warcraft/WoW.exe" -opengl

(replace “YOURUSERNAME” with your username; you may need to adjust your WoW.exe path!)

Note: I’ve used “WINEDEBUG=-all” to turn off debugging output to improve performance a little bit further.

Next, make the script executable (the following command assumes you’ve called the script “wow” and created it in your home folder):
chmod +x ~/wow
Then double click the “wow” file and run it to launch WoW (you can also launch it from the command line using “~/wow”, or edit the World of Warcraft desktop file to point to your newly created script).

That’s not all. To boost the WoW FPS, also perform the following tweak: press ALT + F2, enter “regedit” (without the quotes) and:

  • navigate to HKEY_CURRENT_USER -> Software -> Wine, select the Wine folder and right click it, then select New -> Key and rename the newly created key to “OpenGL” (without the quotes);
  • select the “OpenGL” key, right click it and select New -> String Value;
  • rename “New Value #1” to “DisabledExtensions” (without the quotes);
  • double click on the newly created “DisabledExtensions” and enter “GL_ARB_vertex_buffer_object” (without the quotes) into the “value” field.

B. Intel graphics only

Driconf Ubuntu

If you see black textures in the game or the game crashes, enable S3TC texture compression by following the steps below:

Firstly, install driconf:

sudo apt-get install driconf
Then launch driconf: it should show up as “3D Acceleration” in the menu/Dash (you can also launch it by pressing ALT + F2 and entering: “driconf”) and on the Image Quality tab, set “Enable S3TC texture compression even if software support is not available” to “Yes”, then close the window.

C. If you’re still getting low FPS, here are a few game configuration tweaks (Config.wtf)
To be able to use the tweaks below, you need to run World of Warcraft at least once, or else the configuration file doesn’t exist.

Open the Config.wtf file with a text editor (the file should be located under ~/.wine/drive_c/Program Files (x86)/World of Warcraft/WTF/) and paste this:

SET M2UseShaders "0"
SET UseVertexShaders "0"
SET useWeatherShaders "0"
SET ffxGlow "0"
SET ffxDeath "0"
SET ffxSpecial "0"
SET weatherDensity "0"
SET reflectionMode "0"
SET maxFPS "60"
SET ffx "0"
SET maxFPSbk "5"
SET mapShadows "0"

Then save the file.

Other tweaks:
  • Using some WoW addons (like Recount) can considerably lower your FPS so if you have various addons installed, remove them (remove the addons, don’t just disable them!) and see if that improves your FPS;
  • For Ubuntu 14.04 and 14.10 / Linux Mint 17, you can use the Oibaf PPA along with the Oibaf Gallium Nine and the Wine patched for D3D State Tracker/Gallium Nine PPAs to get a FPS boost in World of Warcraft with Direct3D. However, because these PPAs provide experimental packages, I won’t add instructions on using them here. Check out the PPAs descriptions if you really want to use this;
  • Update your graphics drivers (e.g. for Nvidia, get the latest Nvidia beta drivers from the Xorg Edgers PPA but don’t add that PPA or add it just to install the latest Nvidia drivers, then remove it).

Are you playing World of Warcraft under Linux? What other optimizations / tweaks have you used?
P.S.: If you want to say hi, send a /whisper to Dracal on Stormreaver horde side 😉

References / further reading:

Read More

Syncthing GTK: GTK3 & Python GUI For Syncthing [Ubuntu PPA]

Syncthing is a cross-platform peer-to-peer file synchronization client/server application written in Go, similar to BitTorrent Sync. It can be used to synchronize files between computers however, unlike BitTorrent Sync, Syncthing is open source. 

For more information about Syncthing, see our previous article: Syncthing: Open Source BitTorrent Sync Alternative (P2P Sync Tool).

Syncthing GUI
Syncthing GTK under GNOME Shell

Syncthing GTK is a GTK3 & Python GUI for Syncthing (which comes with a web GUI only by default). The tool supports basically all Syncthing features:

  • Everything what the Syncthing WebUI can display;
  • Adding / editing / deleting nodes;
  • Adding / editing / deleting repositories;
  • Restart / shutdown server;
  • Editing daemon settings

There are also some extra features provided by Syncthing GTK, such as running the Syncthing daemon in the background, option to display Node ID and QR code not only for local, but for remote nodes as well.  or half-automatic setup for new nodes and repositories, which should work as a work-around for the “remote node shares repo with local node, but local node doesn’t share it back” error.

Also, Syncthing GTK features a tray icon / Ubuntu AppIndicator:

Syncthing GUI Unity

Install Syncthing GTK in Ubuntu 14.04 or 14.10 / Linux Mint 17 via PPA

Before installing Syncthing GTK, you’ll need Syncthing (obviously). Note that you need Syncthing daemon v0.9.8 or newer, either without password authentication or with API key enabled, or else Syncthing GTK won’t work.

Because it wasn’t available in any PPA, I uploaded Syncthing GTK in the mail WebUpd8 PPA. Add the PPA and install Syncthing GTK in Ubuntu 14.10 / 14.04 or Linux Mint 17 by using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install syncthing-gtk
Or, if you don’t want to add the PPA, grab the Syncthing GTK deb from HERE.
Arch Linux users can install Syncthing GTK via AUR.
For other Linux distributions, grab the Syncthing GTK source from HERE.

Read More