Saturday, May 7, 2016

Ubuntu: Root filesystem full? Try deleting old kernel images

I ran out of space on my root-partition today and was stumped for a second.

This command was useful to find out where the space was being used:
cd /
sudo du -sh * .
Then I found out Ubuntu doesn't delete old kernel images (which can take up several GBs over time) automatically, one has to do this manually. Here's how:

First, run these commands to do some maintenance / cleanup:
sudo apt-get autoremove --purge
sudo apt-get autoclean
sudo apt-get clean
There are several ways to find out all installed kernel image versions and delete them, but I chose to go with this one, because it seemed to be the most straight-forward and the least prone to error:

Install "synaptic":
sudo apt-get install synaptic
Find out your current kernel version:
uname -r
This is your current version, which you DO NOT (!) want to uninstall.

Then start Synaptic.

In the "Quick filter", type "linux-image".
That will show a list of all packages which match that name, among which are several named like this: "linux-image-X.XX...". Highlight all the older versions (be careful NOT TO select your currently installed version), then right-click and select "Mark for complete removal". It will ask you if you also want to remove packages associated with these. Yes, you do. Then hit "Apply".

This will take a while, depending on how many old kernels you have installed. On my system, about 8 GB of space was freed after this.

Once that's done, enter "linux-header" in the quick-filter and repeat the procedure. Again, be careful not to remove your current kernel-version. On my system, about 3 GBs of space were freed after this.

Source

Friday, December 11, 2015

Dare to fight?

Star Wars - Yoda Stories

Found this post about reverse-engineering Yoda Stories, an old Star Wars game from LucasArts which came out in 1997. There's also a recent article on RockPaperShotgun about the game.

Sunday, December 6, 2015

Monday, October 26, 2015

Noct

Noct is a new game from Toronto-based developer Chris Eskens (aka C3sk). It's a multiplayer top-down-view survival game, currently in Early Access on Steam.
Here's an interview with the developer.

Saturday, October 24, 2015

Wednesday, October 21, 2015

SSH access to Steam Link and how to unlock bandwidth limit

It seems like it's relatively easy to SSH into a Steam Link (at least currently, we'll have to wait and see if this door will be closed in future updates).

As for enabling ssh on your Steam Link its very easy. All you need to do is get a pendrive and make this file in these folders: /steamlink/config/system/enable_ssh.txt (Note: the file must have some data in it, if enable_ssh.txt is empty it will not work)

Then reboot the Steam Link with the pendrive inserted, after its done connecting to the network you can ssh into the Steam Link as root with the password 'steamlink123'
Source

Also, here's how to set a new bandwidth limit (which can be higher than the limit in the GUI):

As you know, you can set "30Mbps" as the highest bitrate in the steam client settings. "Unlimited" does not work with HW acceleration enabled. So what you have to do is manually edit the steam settings file in any text editor and set the bit rate to any desired value. I've set it to 100000 (100Mbits) and it works great, real stream bitrate is around 80 Mbits and video quality is GREAT.
Steam setting file can be found in:
"c:\Program Files (x86)\Steam\userdata\xxxxx\config\localconfig.vdf"
and the value you have to change is called "BandwidthLimitKBit" "100000" (for 100Mbits).
So close the steam app, find your settings file, change it, launch steam and enjoy the high quality streaming again.
Source

Wednesday, April 29, 2015