Category Archives: Operating systems

Posts related to Windows, Android and Debian based Linux.

xbindkeys configuration

Setup:

  1. mouse side button 8 sends Enter
  2. mouse side button 9 sends alt+left
  3. tilde sends ctrl+w

 

Installation:

sudo apt-get install xautomation
sudo apt-get install x11-utils
sudo apt-get install xdotool

To find the keycodes run xev or xbindkeys -k:

xev
xbindkeys - k

Here is a sample script:

#send alt+left on side button 9
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
   b:9

#send Enter on side button 8
"xte 'key Return'"
   b:8

#Using keycodes
"xte 'keydown Control_L' 'key w' 'keyup Control_L'"
    grave + release

 

References:

Audio staggering in Windows 10

Update:

There are now two better solutions:

1. Disable dynamic tick

  1. Open Command prompt (Admin) to bring up elevated command prompt.
  2. Type BCDEDIT /SET DISABLEDYNAMICTICK YES command and press Enter to fix the high DPC latency
  3. restart the computer

2. Install and use TCP optimizer:

  1. Download TCP optimizer
  2. Set settings to optimal
  3. restart the computer

If the above does not work, you can try the older solutions mentioned below.

Continue reading Audio staggering in Windows 10

Windows 8/2012 dark configuration

Here is how you can configure Windows 8/2012 to use a dark task bar with white letters:

  1. Install uxstyle
  2. Download Windows 8.1 Update1 RTM Dark Aero archive (memext mirror link)
  3. Decompress to C:\Windows\Resources\Themes
  4. delete the archive
  5. Right click Desktop → Personalize
    1.  Select Aero Dark MK IV Theme
    2. Click Color
      1. Click “show color mixer”
      2. Configure color as desired
  6. Optionally install classicshell

 

Keep Total Commander in memory

Total Commander is without doubt my favorite and most used application in Windows.

With the following settings combination you can configure Total Commander so that it remains in memory at all times. When you close TC, it will remain on tray. If you launch it via any method (button, shortcut etc) it will be restored. By pinning it to the taskbar you can launch it with Windows key.

In order to exit TC you can:

  1. hold shift down and click on the X button
  2. right click on the tray icon and select close

To configure the settings below, do the following:

  1. go to menu bar → Configuration → Change settings file directly
  2. For each setting, search for it’s name. If it is found, update it’s value accordingly. Otherwise, add the setting.

For more settings, consult the official wincmd.ini settings page

Setting 1: Allow only one copy of TC (per user)

Menu: Configuration → Options → Operation

Setting:

Onlyonce=1

Setting 2: Move icon to system tray when minimized

Menu: Configuration → Options → Operation

Setting:

TrayIcon=1

Setting 3: Close to tray

Menu: Unknown (read more)

For both Alt+F4 and X button methods, setting:

MinimizeOnClose=3

 

 

Unable to use ctrl+shift+? shortcuts with keyboard layout switcher

You have a Linux distribution with Xorg and you have configured the keyboard layout switcher to use alt+shift to switch between languages. But once you do that, keyboard shortcuts that use alt+shift+<key> combinations cannot be used. The same could happen if you have selected ctrl+shift as a shortcut to change language which disables all ctrl+shift+<key> combinations.

Continue reading Unable to use ctrl+shift+? shortcuts with keyboard layout switcher