Linux Workers

1.5M ratings
277k ratings

See, that’s what the app is perfect for.

Sounds perfect Wahhhh, I don’t wanna

Fix Firefox plugin check reports the wrong flash version

I had Firefox running, made a plugin check, and it suggested me to update the Adobe Flash Player.

I updated the Adobe Flash Player, opened Firefox, run the check again, and still it reported an outdated version.

Then I investigated. And someone in the Mozilla Support forum suggested to go to your profile directory and remove the “pluginreg.dat”.

I did that too. Restarted the browser. Run the plugin check again. No change.

I was curious, if I could open the “pluginreg.dat” and if so, what was in there. So I opened it with a text editor. And to my surprise, it was a simple text file.

I searched for “flash” and found a path:

C:\Windows\SysWOW64\Macromed\Flash

I opened the Windows Explorer, opened the path and what did I saw? Two versions of flash:

FlashPlayerPlugin_20_0_0_306.exe
NPSWF32_20_0_0_306.dll
FlashPlayerPlugin_19_0_0_245.exe
NPSWF32_19_0_0_245.dll

I deleted the later two files. Restarted Firefox. Run the plugin checker again and et violà! the plugin was shown as “up to date”.

blog firefox adobe flash player windows windows 10

Undervolt the AMD E-350 CPU with Undervolt

Download Undervolt:

http://sourceforge.net/projects/undervolt/

Load neccessary modules:

sudo modprobe msr

Get some infos:

sudo undervolt -r

Undervolt:

sudo undervolt -p 0:0x1C,2.00 -p 1:0x2C,2.50 -p 2:0x3C,4.00

P-State:Voltage_ID,Divider

Example: “0:0x1C,2.00”

P-state “0”, voltage id “0x1C”, divider “2.00”.

You have to experiment with the values!

The values work on my pc, but that doesn’t mean they work on yours too!

howtos undervolt amd e350 brazos zacate cc by-nc-sa

Undervolt the AMD E-350 CPU+GPU with AmdMsrTweaker-Lnx

Download AmdMsrTweaker-Lnx:

https://github.com/johkra/amdmsrtweaker-lnx

Load neccessary modules:

sudo modprobe msr
sudo modprobe cpuid

Get some infos:

sudo amdmsr

Undervolt:

sudo amdmsrt P0=16@1.2 P1=12.8@1.0 P2=8@0.8 NB_P0=0.85 NB_P1=0.8

P-State=Multiplicator@Voltage

P0, P1, P2 are the p-states of the CPU.

NB_P0, NB_P1 are the p-states of the northbridge.

Example: “P0=16@1.2”

P-state “0”, multiplicator “16”, voltage “1.2” volts.

You have to experiment with the values!

The values work on my pc, but that doesn’t mean they work on yours too!

howtos undervolt amd e350 brazos zacate cc by-nc-sa

Setup TeamTalk 5 on a Debian server

Download TeamTalk:

Extract package:

tar -xvzf teamtalk-v5.0-debian7-x86_64.tgz

Add file sharing folder:

sudo mkdir -p /home/tt/tt5/files

Copy server binary:

sudo cp teamtalk-v5.0-debian7-x86_64/server/tt5srv /home/tt/tt5/

Copy server daemon script:

sudo cp teamtalk-v5.0-debian7-x86_64/server/daemon-script/tt5server /etc/init.d/

Fix server daemon script:

sudo sed -i ’s/teamtalk5/tt5server/’ /etc/init.d/tt5server

Register server daemon script:

sudo update-rc.d tt5server defaults

Add user “tt”:

sudo adduser –disabled-login tt

Fix permissions:

sudo chown -cR tt:tt /home/tt

Run setup wizard:

sudo su -c “/home/tt/tt5/tt5server -wizard” tt

When asked for file sharing folder, use “/home/tt/tt5/files”.

You need to create at least one user with admin rights!

And it is suggested to create an anonymous user.

Finally, start the server:

sudo service tt5server start
howtos debian teamtalk cc by-nc-sa

Owncloud backup restore

Install owncloud:

apt-get install owncloud

Run the setup wizard.

Remove config and data folder:

rm -fR /var/www/owncloud/{config,data}

Copy config and data folder:

cp -aR /var/www/owncloud-dirbkp/{config,data} /var/www/owncloud

Export sqlite database:

sqlite3 /var/www/owncloud-dirbkp/owncloud.db .dump>/var/www/owncloud/owncloud-sqlbkp.bak

Import sqlite database:

sqlite3 /var/www/owncloud/owncloud.db .dump</var/www/owncloud/owncloud-sqlbkp.bak
howtos owncloud cc by-nc-sa

LMDE MATE edition with fancy window effects

You’re using LMDE with the MATE desktop and want some eye candy?

Download the following files:

- compton_0.1~beta2-1_amd64.deb
- compton.conf
- compton.desktop

Install “compton_0.1~beta2-1_amd64.deb”:

sudo dpkg -i compton_0.1~beta2-1_amd64.deb
sudo apt-get -f install

Place “compton.conf” to “~/.config”.

Place “compton.desktop” to “~/.config/autostart”.

Logout/login and you’re done.

howtos lmde mate-desktop compton cc by-nc-sa

Install mint-debian-mirrors on LMDE 2014

Download mint-debian-mirrors_2013.09.23_all.deb.

Install the package with:

sudo dpkg -i mint-debian-mirrors_2013.09.23_all.deb

Open “/var/lib/dpkg/info/mint-debian-mirrors.postinst”.

Replace the first line starting with:

current_server = None

With the line:

current_server = “http://debian.linuxmint.com/”

And then run:

sudo mv /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list
mint-choose-debian-mirror
sudo apt-get update
howtos lmde mint-debian-mirror cc by-nc-sa