Category Archives: Operating systems

Posts related to Windows, Android and Debian based Linux.

How to disable windows service from command line

sc config "Name of Service" start= disabled
sc stop "Name of Service"

eg to disable homegroup services in Win7 you would type:

sc config "HomeGroupProvider" start= disabled
sc stop "HomeGroupProvider"

 

 

Advertisements

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

Clock messed up when dual booting

The problem:

  • Linux store the time on the hardware clock as UTC by default
  • Windows store the time on the hardware clock as the local time by default

Since both operating systems access the hardware clock you may encounter problems when you dual boot between them.

A comment for the geeks:

The advantage of having the hardware clock as UTC is that you don’t need to change the hardware clock when moving between timezones or when Daylight Savings Time (DST) begins or ends as UTC does not have DST or timezone offsets.

Changing Windows to use UTC

If you dual boot Windows and Linux/MAC and the clock is messed up after each boot, you should either :

  1. run regedit
  2. navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
  3. add key RealTimeIsUniversal as DWORD and set it’s value to 1.
  4. disable Windows time service:
sc config w32time start= disabled

You can download a REG script that performs the first 3 steps from hereΒ but you will have to perform the last step (disable the service) manually.

Changing Linux to use local time

Pre-Ubuntu 15.04 systems (e.g. Ubuntu 14.04 LTS):

  1. edit /etc/default/rcS
  2. add or change the following section
# Set UTC=yes if your hardware clock is set to UTC (GMT) UTC=no

Ubuntu 15.04 systems and above (e.g. Ubuntu 16.04 LTS):

  1. open a terminal and execute the following command
timedatectl set-local-rtc 1

References:

Mint 19 Setup Tutorial πŸ…

Basic installation

1 – Preparation and installation

  1. Download rufus
  2. Download latest stable cinnamon version ISO
  3. Use Rufus to create a bootable USB
  4. Boot the system with the USB. You can try to press F10 while booting in order to activate the boot menu. If it does not work you will have to enter the BIOS (you should google for the keyboard shortcut according to the manufacturer).

When you boot from the USB you will most probably be asked whether you want to ue BIOS mode or UEFI mode. If you already have Windows installed in BIOS mode then you should select BIOS mode. In any other case you should select UEFI mode. Continue reading Mint 19 Setup Tutorial πŸ…