Saturday, 3 December 2016

Firefox under Linux is slowing down during usage

I recognized a slowdown of Firefox during surfing. After a programme restart all was fine again but slowdown occurred again. This is what I did to resolve the problem.
  • Inactivation of all addons not in much use
  • Inactivation of all greasmonkey scripts not in much use
  • Changing preferences of "Link Alert": inactive status for links and images
  • Changing Firefox settings in "about:config":
    • extensions.s3downbar.function.useAnimation;false (this can also be changed through the preference page of Download Manager (S3))
    • browser.tabs.animate;false
    • browser.fullscreen.animate;false
    • browser.download.animateNotifications;false
    • toolkit.scrollbox.smoothScroll;false
    • extensions.treestyletab.tabbar.scroll.smooth;false

Sunday, 6 November 2016

Inzucht

Gewollte Inzucht widerspricht jedweder Vernunft.
Wenn man seinen liebsten Kameraden nach knapp sieben Jahren verliert, was noch vor 100 Jahren nach 14-17 Jahren gewesen wäre, packt einen die Trauer und die Wut.
Eine Population die auf die Vielfalt von nur 50 Individuen basiert kann nicht durch Isolation gerettet werden.
Mehr zum Thema:
https://vimeo.com/17558275
https://en.wikipedia.org/wiki/Pedigree_Dogs_Exposed

https://vimeo.com/166015460
https://en.wikipedia.org/wiki/Pedigree_Dogs_Exposed:_Three_Years_On

Wednesday, 12 October 2016

python3-gobject-Gdk

Bei der Umstellung von Python 2 zu 3 unter OpenSuse 42.1, die notwendig war, da es Probleme mit Tkinter für "scoary_GUI" gab, wurden einige Programme automatisch abinstalliert. Darunter waren Gramps, Redshift-GTK und Blueman. Bei der Reinstallation von Redshift-GTK und Blueman zeigte sich, daß unter OpenSuse 42.1 ein Fehler auftrat. So z.B. für Redshift-GTK:
Problem: nothing provides python3-gobject-Gdk needed by redshift-gtk-1.11-47.11.x86_64
Freundlicherweise hat Ximi1970 unter unter software.opensuse.org die notwendigen Pakete zur Verfügung gestellt. Danke.

Sunday, 15 May 2016

Temperaturkontrolle unter OpenSUSE Linux

 Von PCsensor gibt es einen USB-Stick zur Temperaturkontrolle mit dem Namen TEMPer2. Dieser hat einen internen und einen optionalen externen Temperatursensor und gibt es bei Ebay für ca. 10 Englische Pfund zu kaufen.
Zum Auslesen beider Temperaturen kann man PCsensor verwenden.
In YaST / Sortware Management nach libusb suchen und dann alle gefundenen devel-Packete installieren.
Im Kommandozeilenfenster in z.B. ein temporäres Verzeichnis wechseln und mit su Administratorrechte aktivieren. Danach folgende Befehle der Reihe nach ausführen:
git clone https://github.com/peterfarsinsen/pcsensor
cd pcsensor
cp 99-tempsensor.rules /etc/udev/rules.d/
make
cp pcsensor /usr/local/bin/
PCsensor ist nun unter /usr/local/bin/ so daß das Verzeichnis pcsensor gelöscht werden kann.
Das Programm kann von der Komandozeile z.B. folgendermaßen aufgerufen werden
pcsensor -c
und gibt dann z.B. folgende Ausgabe. Hier war das externe Thermometer nicht eingesteckt.
2016/05/15 23:41:16
Temperature (internal) 24.56C
Temperature (external) -0.00C
Kudos gehen hierhin:
https://github.com/peterfarsinsen/pcsensor
http://bailey.st/blog/2012/04/12/dirt-cheap-usb-temperature-sensor-with-python-sms-alerting-system/

Friday, 18 March 2016

HotCorners in OpenSUSE with XFCE

There is a plugin for XFCE to use "Hot Corners" to start specific actions by moving the mouse curser into the corners of the screen. The plugin is easily compiled but does not show up in openSUSE 64bit as available Xfce panel. This comment remarks that under x86_64 openSUSE the Xfce plugins must be installed into the folder /usr/lib64/xfce4/panel/plugins/.
So, a quick
sudo mv /usr/lib/xfce4/panel/plugins/libhotcorner.so /usr/lib64/xfce4/panel/plugins/libhotcorner.so
resolves this problem.

P.S.: There seems to be a problem with the fixation of the "Custom Command" you can put in. For me this command would be skippy-xd --activate-window-picker to activate the window manager tool Skippy (openSUSE download). The custom command is working fine in HotCorner but sometimes when opening the properties dialogue again the setting is gone and the configuration file ~/.config/xfce4/panel/hotcorner-17.rc does not contain the custom command setting any more.

Thursday, 3 March 2016

Clementine MP3 distortions

I had some distortions, spikes, blubbs, blopps, quirks ... when I played some MP3 files with Clementine under openSUSE. The same file played fine in foobar2000, Rhythmbox, etc. I could not find any solution on the internet. Suggestions tested, like changing the output plugin for the GStreamer audio engine, did not work. I finally found the solution by uninstalling:
gstreamer-0_10-plugins-fluendo_mp3
0.10.18-3.1        271.0 KiB
and installing:
gstreamer-0_10-fluendo-mp3
21-1.2     1.4 MiB
Now Clementine is my favourite music player under Linux, but foobar2000, customized over the years, is still my #1.

Monday, 22 February 2016

Firefox, some settings

  • Allow unsigned extensions / addons
about:config ➪ xpinstall.signatures.required ➪ false
about:config ➪ layers.acceleration.force-enabled ➪ true
about:config ➪ layers.offmainthreadcomposition.enabled ➪ true (default)
  • Turn off the disk cache
Preferences ➪ Advanced ➪ Network "Cached Web Content: Override automatic cache management" on ➪ "Limit cache to" 0
Kudos go here.

P.S.: Firefox add-ons
  • "Colorful Tabs" does not work well together with other add-ons that effect tabs.
  • The Greasemonkey script "Linkify Plus Plus" severely slows down the browsing experience. (This may be dependent on other add-ons that manipulate links.)

"Windows 10 Task view" button start

Using a multimedia keyboard the additional buttons can be remapped. I remapped the Web/Home button using the following registry settings:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7]
"ShellExecute"="C:\\dienst\\batches\\taskview.bat"
The batch script "taskview.bat" contains:
@echo off
nircmdc.exe script "c:\dienst\batches\taskview.ncl"
exit
(So the batch file will start NirCommand and tell it to do the stuff in the .ncl file.) The Nirsoft command script "taskview.ncl" contains:
sendkey lwin down
sendkey tab down
sendkey lwin up
sendkey tab up
(So the Windows button and the Tab button are pressed together and released. This combo starts the taskview in Windos 10.)
With e.g. KeyTweak it is also possible to map a function key to one of the AppKeys and by that to make F3 to the Mission Control / Task View key. :)

P.S.: More convenient then the start by the press of a button is the start triggered by moving the mouse into a hot corner of the screen. For this I found a AutoHotKey script.

Multimedia keyboards key list



Registry file example:
; configure the calculator button
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18]
"ShellExecute"="C:\\dienst\\bin\\nano.exe"

Kudos go here.

List:
KeyFunctionNameValue
1Back (Internet browser)
2Forward (Internet browser)
3Refresh (Internet browser)
4Stop (Internet browser)
5Search
6Favorites
7WebHomeAssociationhttp
8Mute volume
15MailRegisteredAppMail
16MediaAssociation.cda
17My ComputerShellExecute::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
18CalculatorShellExecutecalc.exe
24Mute microphone
25Lower microphone volume
26Raise microphone volume
27Help
28Find
29New
30Open
31Close
32Save
33Print
34Undo
35Redo
36Copy
37Cut
38Paste
39Reply
40Forward (mail)
41Send
42Spelling checker
43Toggle dictation and command/control
44Toggle microphone
45Corrections

Tuesday, 2 February 2016

Rating in foobar2000

Wie man ein Ratingsystem in foobar2000 benutzt wird hier beschrieben. Als Displayscript wird
$pad($repeat(★,%rating%), 5,✩)
angegeben. Wenn  foo_playcount installiert ist erscheint aber nur ✩✩✩✩✩ in der Spalte. Dieses liegt daran, daß dieser Erweiterung %rating% für seine interne Datenbank benutzt, wie hier erwähnt wird. Daher muß %rating% mit $meta(rating) ersetzt werden. Das Displayscript muß daher wie folgt aussehen.
$pad($repeat(★,$meta(rating)), 5,✩)