2013-01-29
Linux Mint - Firefox do way I like it!
Hiding new tab page & making Firefox open homepage on new tab:
https://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites#w_how-do-i-turn-the-new-tab-page-off
Adding google search engine:
https://addons.mozilla.org/en-US/firefox/addon/google-default/?src=search
Set search engine for url bar:
http://support.mozilla.org/en-US/kb/search-web-address-bar#w_changing-the-internet-keyword-service
Summary:
about:config
keyword.URL = http://www.google.lt/search?q=
keyword.enabled = true
2013-01-28
ISO file integrity check with md5sum
How often do you check *.iso files with md5sum.
All Linux binary images submitted with md5sum next to download link.
I never done that before, because I had believed that corruption is very rare!
One time I caught my eye on md5sum and made the check, and it unexpectedly FAIL!
I download *.iso again, now it PASS.
So I guess it is not so rare!
Remainder for my self! Check *.iso files before using it!
To create checksum file:
$ md5sum ./linuxmint-14.1-mate-dvd-32bit.iso > ./md5sum.txt
File content:
$ cat ./md5sum.txt
9793c1e9c443241d156aace0446894dd *./linuxmint-14.1-mate-dvd-32bit.iso
You can create text file and copy file name and MD5 from the web page to check *.iso integrity.
To check integrity
$ md5sum -c ./md5sum.txt
./linuxmint-14.1-mate-dvd-32bit.iso: OK
I made Bootable USB stick from corrupted *.iso ,before the check and it works!
I wonder what consequences may be... corruption may hit only some application..? Can I expect crashes? How contraption can effect live Linux disk?
Is this really the right way to distribute a binary image?
I'm not complaining! I'm just asking..? :)
md5sum check is fast and easy, bud maybe it's not for a user to thing about...
In a perfect World I would want notification about corrupted file after download is completed...
I did couple tests with flash drive created from corrupted *.iso.
It depends on the part where the damage is done. It may boot up on one machine and make no problems;
O other machine it can freeze during boot with no explanation;
Also it may boot up, and throw "Installer crashed" during instalation;
So don't waste Your time, check *.iso integrity!
All Linux binary images submitted with md5sum next to download link.
I never done that before, because I had believed that corruption is very rare!
One time I caught my eye on md5sum and made the check, and it unexpectedly FAIL!
I download *.iso again, now it PASS.
So I guess it is not so rare!
Remainder for my self! Check *.iso files before using it!
To create checksum file:
$ md5sum ./linuxmint-14.1-mate-dvd-32bit.iso > ./md5sum.txt
File content:
$ cat ./md5sum.txt
9793c1e9c443241d156aace0446894dd *./linuxmint-14.1-mate-dvd-32bit.iso
You can create text file and copy file name and MD5 from the web page to check *.iso integrity.
To check integrity
$ md5sum -c ./md5sum.txt
./linuxmint-14.1-mate-dvd-32bit.iso: OK
I made Bootable USB stick from corrupted *.iso ,before the check and it works!
I wonder what consequences may be... corruption may hit only some application..? Can I expect crashes? How contraption can effect live Linux disk?
Is this really the right way to distribute a binary image?
I'm not complaining! I'm just asking..? :)
md5sum check is fast and easy, bud maybe it's not for a user to thing about...
In a perfect World I would want notification about corrupted file after download is completed...
I did couple tests with flash drive created from corrupted *.iso.
It depends on the part where the damage is done. It may boot up on one machine and make no problems;
O other machine it can freeze during boot with no explanation;
Also it may boot up, and throw "Installer crashed" during instalation;
So don't waste Your time, check *.iso integrity!
2013-01-24
UBUNTU VS MINT!
I use Debian squeeze by default.
Form time to time I search for brand new Linux distro with latest packege versions,
for Multimedia or gameing (using wine).
Ubuntu is closest to Debian cause it's Debian underneath!
There is a lot of good things on Ubuntu...
Bud I rely struggle with Ubuntu... I did not like new Gnome style, it's clearly made for touch screens.
I use simple Desktop PC so I don't need that.
I tried to use "Ubuntu classic (no effects)" - my opinion: it's broken!
Nautilus on sartup thinking too much...
Auto login is non functional yet...
Somehow disappearing notification area...
Even on default apprentice of Ubuntu - a lot of buggy Gnome configuration...
Recently i got tip from a Friend - "Try Linux Mint"!
Mint is Ubuntu underneath... Repositories are the same...
Bud the result is amazingly different!!!
Performance is great! Strangely it's much faster than Ubuntu!
I came to conclusion, that the graphical interface is what dragged down Ubuntu...
There is all types of graphical interfaces for LINUX MINT.
I tied two of them (GNOME based MATE and KDE), both works amazing!
So I switching from UBUNTU to MINT!
http://www.linuxmint.com/
For a server I stay with Debian squeeze! :)
http://www.debian.org/
Form time to time I search for brand new Linux distro with latest packege versions,
for Multimedia or gameing (using wine).
Ubuntu is closest to Debian cause it's Debian underneath!
There is a lot of good things on Ubuntu...
Bud I rely struggle with Ubuntu... I did not like new Gnome style, it's clearly made for touch screens.
I use simple Desktop PC so I don't need that.
I tried to use "Ubuntu classic (no effects)" - my opinion: it's broken!
Nautilus on sartup thinking too much...
Auto login is non functional yet...
Somehow disappearing notification area...
Even on default apprentice of Ubuntu - a lot of buggy Gnome configuration...
Recently i got tip from a Friend - "Try Linux Mint"!
Mint is Ubuntu underneath... Repositories are the same...
Bud the result is amazingly different!!!
Performance is great! Strangely it's much faster than Ubuntu!
I came to conclusion, that the graphical interface is what dragged down Ubuntu...
There is all types of graphical interfaces for LINUX MINT.
I tied two of them (GNOME based MATE and KDE), both works amazing!
So I switching from UBUNTU to MINT!
For a server I stay with Debian squeeze! :)
http://www.debian.org/
2013-01-22
Fastest way to make one of Linux OS (if there is more then one) to be first in grub boot menu
Boot to Your favorite Linux (if there is more then one)!
Mount all Linux OS root file systems, otherwise it may not be visible and it will not be added to grub menu (Windows visible always, despite partition mounted or not).
I want Debian 6.0.6 bigmem to be the first one (default boot OS)!
So, open root terminal and:
# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686-bigmem
Found initrd image: /boot/initrd.img-2.6.32-5-686-bigmem
Found Debian GNU/Linux (6.0.6) on /dev/sda2
Found Ubuntu 12.10 (12.10) on /dev/sdc2
Found Microsoft Windows XP Professional on /dev/sdc3
Found Linux Mint 14 Nadia (14) on /dev/sdc6
done
# grub-install /dev/sdc --recheck
Installation finished. No error reported.
Done!
SSH linux terminal
$apt-get install openssh-client
$apt-get install openssh-server
http://wiki.debian.org/SSH
---------------------------------------------------------------------
on client:
$ ssh-keygen -t rsa
$ ls ~/.ssh/
$ cat ~/.ssh/id_rsa.pub
# copy conten to server "~/.ssh/authorized_keys"
$ ssh-copy-id -i ~/.ssh/id_rsa.pub $remote_user@$remote_host
on server:
$ cat ~/.ssh/authorized_keys
-----------------------------------------------------------------------
create pabulic key on client
ssh-keygen -t rsa
copy key from client ~/.id_rsa.pub (line) to server ~/.ssh/authorized_keys (line)
---------------------------------------------------------------------
on client:
destination (server) localhost (client)
$ ssh rolas@192.168.1.11 -p 22 -R 22222:192.168.1.15:22
on server:
$ ssh 127.0.0.1 -p 22222
---------------------------------------------------------------------
scp $source_file $remote_user@$remote_host:$destination_file
scp $remote_user@$remote_host:$source_file $destination_file
ssh $remote_user@$remote_host 'ls *.txt'
http://www.debianadmin.com/howto-use-ssh-local-and-remote-port-forwarding.html
-------------------------------------------------------------------
GET ETH ACTIVE
$ /sbin/route -n | grep "0.0.0.0" | grep "UG"
0.0.0.0 192.168.1.15 0.0.0.0 UG 0 0 0 eth0
GET IP
$ /sbin/ifconfig eth0 | grep "inet addr:"
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0
2013-01-12
StarCraft II: Wings of Liberty on Ubuntu **UPDATED**
Installation (How to):
StarCraft II: Wings of Liberty on Ubuntu
I am very Happy to Post This!!!
Performance Issue resolved on Ubuntu!
I did update, and now it is:Ubuntu 12.10
Wine version: 1.5.20
Linux P5QCUbuntu64 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Nvidia:
In my frost post I dod not write the version of Nvidia driver, I believe it also updated so as Nvidia Settings Tool , cause in the previous version I do not remember option "Prefer Maximum Performance" (Pict. below). I definitely
recommend to set this before starting the game!
I set Game Graphics on Medium!
I really enjoy the Game!
Comparing performance it my some difference with Windows XP. Windows may perform slightly better.... Bud I don't care! Now on Ubuntu + Wine it's good enough!
By by Windows!!!
Adding skype to GNOME (tray) panel indicator applet on Ubuntu 12.10
Ubuntu indicator-applet is like a tray in Windows
Check if packeges installed:
$ sudo apt-get install indicator-applet indicator-applet-session
Adding skype to indicator-applet
Check settings
:
$ gsettings get com.canonical.Unity.Panel systray-whitelist
$
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
Add skype to the list:
$ gsettings set com.canonical.Unity.Panel systray-whitelist \
"['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']"
Gnome panel configure in session "Gnome classic no effect".
"alt" + "alt" + mouse right click, select "Add to Panel"
The name of the panel item where skype icon appears
(add this if not already exists):
Graphical Desktop activation tool:
$ sudo apt-get install gnome-tweak-tool
2013-01-09
2013-01-08
2013-01-03
Best posible sound using Windows
We need the right player "foobar2000_v1.2"
http://www.foobar2000.org/
Driver - "ASIO4ALL_2_10_English"
http://www.asio4all.com/
And component for foobar to use them together - "foo_out_asio.fb2k-component"
http://www.foobar2000.org/components
It will not work, if not configured correctly. Also we should kill all sound related programs which may conflict.
Check if the component in the right place (picture below):
Set output device like this (picture below):
Now try play some file, i guess all outputs are muted by default, so unmute them if it looks like playing bud no sound.
Also select only one output device in the Device list. Restart Foobar after that.
Final indication if we done everything correctly (picture below):
"This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here", taken from http://www.foobar2000.org/download
So I believe, for Linux no need special installs or configurations, the sound not messed up by default.
Subscribe to:
Posts (Atom)