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,✩)