Archive

Archive for the ‘windows 10’ Category

[windows 10] Display accented characters correctly in the terminal

February 22, 2020 Leave a comment

Problem
Under Windows 10, in the terminal (cmd), accented characters are not displayed correctly. How to solve this problem?

Solution
In Windows 10 (build 1809) go to the system’s Language settings, select Administrative language settings, click on Change system locale… and check the Beta: Use Unicode UTF-8 for worldwide language support box and then restart Windows.

(In Hungarian Windows: Gépház, Idő és nyelv, Nyelv, Felügyeleti nyelvi beállítások (jobb oldalt), Területi beállítások módosítása…, Béta: … bekapcsolása).

Categories: windows 10 Tags: , , ,

How to sync my Visual Studio Code settings using Dropbox?

February 13, 2020 Leave a comment

Problem
You set up your VS Code, spend half a day with your settings / extensions / snippets, and you want to use the same settings across all your machines (including Linux and Windows boxes too). How to do it?

Solution
First, let’s see where your settings are located.

Linux

Location of your settings: ~/.config/Code/User . The important entries are:

  • settings.json
  • keybindings.json
  • snippets/ (directory)

Location of your extensions: ~/.vscode/extensions .

Windows

Location of your settings: C:\Users\username\AppData\Roaming\Code\User (on Windows 10). The important entries are the same:

  • settings.json
  • keybindings.json
  • snippets/ (directory)

Location of your extensions: C:\Users\username\.vscode\extensions (on Windows 10).

——————–

To share your settings, create a folder in your Dropbox folder and move there the files settings.json, keybindings.json, and the folder snippets/ .

Then go to your local User folder and put symbolic links on the three entries that you just put in Dropbox.

Don’t store the extensions in Dropbox! Sometimes they install binary files that are different under Windows and Linux. Simply install the extensions locally on all your machines.

To get a list of your extensions, run the command “code --list-extensions” in the terminal.

How to create symbolic links under Windows?
Open a terminal window in administrator mode. Then,

# symbolic link on a file:
mklink Link Target

# symbolic link on a directory:
mklink /d Link Target

ASUS VivoBook S530F: how to install the Windows 10 drivers?

Problem
I got a new laptop at my workplace, an ASUS VivoBook S530F. I wanted to make a dual-boot system with Windows 10 and Manjaro. First, I installed Windows 10 on it. For creating a bootable USB stick, I followed this guide (I used gparted). Windows 10 installed successfully but I had no wifi. Fine, let’s install the drivers from the included DVD. Some drivers went up, but the installation of the wifi driver terminated with a DLL error. This error was produced by a file called pnputil.exe. Hmm… OK, then let’s connect an Ethernet cable. Oh, but this slim laptop has no Ethernet connection! Using another machine, I downloaded the wifi driver from the ASUS home page, I could install it, but nothing happened. The wifi was still dead.

Solution
It turned out that the file pnputil.exe is part of the Windows and you can find it in the C:\Windows\System32 folder. On the DVD there were about 18 copies of this file and by comparing their sizes, there were at least 3 different versions. On the official DVD! Congratulations!

So I copied the content of the DVD to the hard drive and overwrote all instances of pnputil.exe with the one from the System32 folder. Then I launched the installation wizard and it installed all the drivers without any DLL error message.

Update: Installing Manjaro
After Windows 10, I installed Manjaro in a separate partition. Under Windows 10 I downloaded the Manjaro ISO and wrote it on a USB stick with Rufus in dd mode. During the installation I created a swap partition and a root partition. Here I got a warning that an EFI partition is necessary. The Windows 10 installer created a FAT32 partition of size 100 MB. I selected this partition and specified it to be mounted under /boot/efi. The installer flagged it automatically as “esp”. Then the installation went on without any problem and my wifi card was recognized out-of-the-box.

Categories: manjaro, windows 10 Tags: , ,

Create a Windows installer USB stick from an ISO under Linux

September 30, 2016 Leave a comment

Problem
I decided to try Windows 10 and install it on a laptop of mine (worry not, it’ll be dual boot :)). Having an ISO, how to put it on a USB stick? In addition, Windows should install itself from the stick…

Solution
The software winusb did the job. Its usage is clear and simple:

$ winusb
Warning: you should run this script as root !
Error: No install method specified !

winusb usage
Install a windows ISO on an NTFS partition and edit MBR of the device
  winusb --install <iso path> <partition>
  Example: winusb win7_amd64.iso /dev/sdd1

Completely format a drive and install the ISO on it
  winusb --format <iso path> <device>
  Example: winusb win7_amd64.iso /dev/sdd

Options
 --verbose, -v        Verbose mode
 --help, -h           Show this help message and exit
 --noColor            Disable color

I had an empty USB stick with an NTFS partition, so I chose the “--install” method. The preparation of the USB stick is long, it took 15 minutes. Sometimes I had the impression that it got frozen but then it continued. So don’t worry, give it some time to finish.

Tip from here.

Categories: linux, windows, windows 10

[windows 10] hide the update icon

September 6, 2015 Leave a comment

How to hide the Windows 10 update icon on the system tray: http://lifehacker.com/how-to-hide-the-get-windows-10-icon-from-your-taskbar-1708536452 . In short: click the little “up” arrow on your system tray and select Customize. “From there, change GWX’s dropdown to “Only show notifications”. It’ll still show up in your pop-up system tray, but not on the taskbar itself…” (source)

Categories: windows 10 Tags: , , ,

10 Reasons to Upgrade to Ubuntu 15.04 (parody of a Windows 10 advertisement)

August 24, 2015 Leave a comment

And here is the original:

Found it on reddit.

Categories: fun, linux, windows 10 Tags:

Windows 10 has arrived

August 1, 2015 Leave a comment

w10from 9gag.com

Categories: linux, windows 10 Tags: