Tutorial how to connect your android device in linux
Install the adb tools if you don't have in your system
sudo apt-get install android-tools-adb
Connect your device from usb (in your device at Developer option>USB debugging -must be enabled)
Check if the device is connected
adb devices
You must have install ffmpeg .
In the terminal :
adb shell screenrecord --size 1152x864 --output-format=h264 - | ffplay -
Size:the resolution of your screen

PCSX2 Emulator is a PlayStation 2 Emulator developed and maintained by PCSX2 Team. It has open sources license as well as freeware application you don’t need to pay any money for this software’s.In its latest stable release, many PS2 games are playable, and several games have full functionality.
The current stable version is reported to be fully compatible with around 90% of the PS2 library. The main c in PS2 emulation is emulating the multi-processor PS2 on a PC 32-bit as well as 64-bit architecture.It is based core on a plug-in architecture, separating several functions from the core emulator.
Different plug-ins may produce different results in both compatibility and performance of the PCSX2 Emulator.It Support Linux Operating System Platform.
# add-apt-repository ppa:gregory-hainaut/PCSX2.official.ppa # apt-get update # apt-get install PCSX2 $ PCSX2
Then need to configure the emulator
1.First time System Configuration
2.First time Plugin Configuration
3.First time Bios Selection
4.Setting of PS2 Controllers
and you are rwady to run your game.
(For running PS2 games you must have official PS2 games DVD and Obtaining PS2 games can be as easy as buying PS2 DVDs then make it .ISO images for smooth run of games.)
Sources and info:
www.thetechbrown.com
www.github.com
Quick tutorial how to run a webradio on your linux server with icecast2 and ezcast.
Vlc is my favorite player (in not the best but is flexible ) and i use it for all the media from watch videos or listen to web radio to watch TV with DVB-t usb stick.
Some of the commands to do all that with different skins cause i prefer a more spartan look for video and more feautures on a radio skin.
TV player
For starters I made a lanucher in the desktop
vlc -I skins2 --skins2-last=/[path-to-yourfavorite-skin-and-the-name.vlt] /[path-to-you-tv-config-file] --dvb-budget-mode
The config file for the dutch tv is part of it(use the link to download the file)
Nederland 1:618000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:7011:7012:1101 Nederland 2:618000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:7021:7022:1102 Nederland 3:618000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:7031:7032:1103 TV Noord-Holland:618000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:7041:7042:1104
That looks like that
VLC and radio
I use differnet skin for radio and of course i have a .pls file for all my radio stations
vlc -I skins2 --skins2-last=/[path-to-vlc-skin-and-name-of-the-skin-vlt] --started-from-file /path-to-pls-file-with-your-favorite-stations
The format of the .pls is like :
file1=http://metal2k.org:8010/metal2k.mp3 title1=M2k
And look something like that
Of cousre you can do it from terminal if you dont want to make it launchers in your panels.
I like vlc and if you like the mini tutorial thumbs up.
Compiling packages on Debian-based Linux distributions
Written by: J. Reubsaet
See License for licensing information
License
This document is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license. This means that:
“
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
“
As quoted from: http://creativecommons.org/licenses/by-sa/4.0/
he process of installing software directly from its source can be a pain to uninstall or to even compile. I have noticed that building software packages (in this case Debian packages) has relieved me of such pains; Dpkg and APT handle the package, which therefore is easily uninstallable, unlike directly installed compiled source code. The purpose of this simple tutorial will be to show you how one compiles Debian packages, be they complex or simple.
First of all, we will need some essential packages which offers the basic necessities for compiling packages. Installing the following packages:
dpkg-dev
build-essential
dh-make
then , download the source packages you want to compile. If the package is in a repository of which you are not sure whether it is compatible, run the following command:
apt-get source <packagename>
Or, if you are on a Debian-like distribution without APT, download the source package you want to build. Then fire up a terminal and navigate to the directory you downloaded the source archive in. Run the following command to extract it:
- for Bzip2: tar xvJf <archivename>.tar.bz2
- for Gzip: tar xvzf <archivename>.tar.gz
Then, change directory into the folder which contains the sources.
After that, verify that you have all building dependencies installed. If this package is in the repositories, run the following command to install the dependencies:
sudo apt-get build-dep <packagename>
If you downloaded the sources from a website, check a README or INSTALL file or on the website of the program for building dependencies. If you do not have these installed, the package will fail to compile.
If you've got limited hard drive space, note these packages. They might take up a considerable amount of room.
After you have done that, you are ready to Debian-ize the source package. If you have downloaded the archive with APT, you can skip this step. If not, continue. Run the following command:
dh_make --creatorig
When it asks you for the type of package, the option most users need is Single Binary (s).
Then, press Enter when it asks you to confirm the info.
A sub directory called debian is created in the folder which contains the sources. This folder contains files which will tell Dpkg what packages it requires to be installed, which it conflicts with and which it recommends and/or suggests (that being control). If you know that some dependencies are unneeded, you can modify that file as to remove some dependencies.
Next, type the following command:
dpkg-buildpackage
This will compile the source code into binaries and will form a Debian package together with the debian folder. Depending on the size and complexity of the sources, this might take up several minutes up to several hours.
At last, when the package(s) has (have) been generated, you can install it (them) with the following command:
sudo dpkg -i <packagename>.deb
That sums up the compilation process. If you have any questions, feel free to visit #debian-talk on irc.spotchat.org and ping jens.
I hope this guide will be helpful for you.