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

Tuesday, 8 December 2015

Clink in ConEmu

Leider funktioniert clink nicht mehr in ConEmu. Beim Drücken von Alt+H passiert nichts. Das is leicht zu beheben. In dieser Meldung ist beschrieben wie. Einfach die alten clink Dateien mit denen aus dieser Version, die Minhook verwendet, ersätzen.