PC Doctor Godalming

Dedicated to Fixing Computers of all Shapes and Sizes
01483 424378
07876 476990

Category: Linux

Linux based Operating Systems

Wine Dotnet install conflicts

If, for example, when installing  dotnet40 via winetricks you get the following error:

$ winetricks dotnet45
Executing w_do_call dotnet45
------------------------------------------------------
error: dotnet45 conflicts with dotnet40, which is already installed.

Run the following command to override and force through change

$ winetricks --force dotnet452

Chrome Remote Desktop Client Set Up

  1. On client PC open Chrome (or New Edge) and log into client Google account
  2. Browse to Chrome Remote Desktop Set-up page URL below:
    https://remotedesktop.google.com
  3. In section titled Set up remote access and click download icon
  4. In Chrome Web Store click Add to Chrome to add extension
  5. In Add “Chrome Remote Desktop” dialog click Add extension
  6. Close “Chrome Remote Desktop has been added”

Continue Reading

Change Google’s Glaring White Home Page Background

In Chrome and New Edge install Custom Style Script add-on to override Google’s home page background colour

In Custom Style Script select Open options Page and add the following URL and CSS

URL: https://www.google.com/ or country of choice, e.g. google.co.uk, google.de
CSS: body { background-color: lightgray !important; } or colour of choice

In Firefox Install the Stylus extension

Go to the Google home page, click the toolbar icon and choose Manage >

Continue Reading

Thunderbird 60 gcontactsync Blocked after enabling OAuth2

These notes apply to Kubuntu 18.04 and Thunderbird 60.9.1.

After Google restricted access for LSA’s (Less Secure Apps) it was necessary to change the Gmail account authentication method from “Normal Password” to OAuth2. After this gcontactsync failed – after logging into Google and successfully allowing access to Contacts it was blocked. After extensively trawling the net for a solution one was found. This said the problem was due to Thunderbird being corrupted and the solution offered was a complete rebuild – drastic but it worked!

Continue Reading

Ubuntu No Sound Audio Output Dummy Device

If audio output device set to Dummy Device reset audio as follows:

pulseaudio --kill; sleep 2s; sudo alsa force-reload ;
pulseaudio --start

Restart audio application(s), e.g. Spotify

This works with Ubuntu 18.04 and may work for other versions too

Add Suspend icon to the KDE Application Menu

To add the Suspend icon to the KDE Application Menu

  1. Click the KDE icon (bottom left hand corner) to bring up the Application Menu
  2. Click “Power/Session” on right-hand list to bring up list of Shutdown Options
  3. Right-click Suspend and select Add to Favorites

Similarly you can add or remove other shutdown icons.

Linux Content Search Tool

Use Catfish to find files and file content quickly – note content search only works for text type files. Use Recoll for other file types.

Install using Synaptic Package Manager or from Terminal as follows:

sudo apt install catfish

Run it by selecting it from from Utilities or use the Search function and enter Catfish to locate.

Once running you should see screen below.

To search for content first click the settings cog and check “Search File Contents”.

Continue Reading

Create macOS install usb using Linux

If you don’t have a spare Mac or your Mac is too old to download macOS from the Apple App Store then use the method below.

Create account on hackintosh.download

The download required macOS from https://www.hackintosh.download/category/3-macos/

Insert a usb (16GB+ recommended) into Linux PC usb port and run Terminal

Use fdisk to determine your usb dev name letter, e.g. /dev/sdc. double check the target device letter to avoid overwriting the wrong drive.

Continue Reading

Useful Linux Terminal Commands

Display details about firmware, cache, memory

$ sudo lshw -C memory
  *-firmware                
       description: BIOS
       vendor: FUJITSU // Phoenix Technologies Ltd.
       physical id: 0
       version: 6.00 R1.06.3012.A1
       date: 04/21/2011
       size: 110KiB
       capacity: 4032KiB
       capabilities: pci pnp upgrade shadowing escd cdboot bootselect int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
  *-cache:0
       description: L1 cache
       physical id: 5
       slot: L1 Cache
       size: 64KiB
       capacity: 64KiB
       capabilities: burst synchronous internal write-through data
       configuration: level=1
...
  *-memory
       description: System Memory
       physical id: 2a
       slot: System board or motherboard
       size: 16GiB
     *-bank:0
          description: DIMM DDR3 Synchronous 1067 MHz (0.9 ns)
          product: 99U5471-021.A00LF
          vendor: Toshiba
          physical id: 0
          serial: DE131F7C
          slot: Slot-1
          size: 4GiB
          width: 64 bits
          clock: 1067MHz (0.9ns)
...

Continue Reading

Create bootable usb using DD

This method depends on the iso file being designed as bootable, e.g Kaspersky Rescue Disk or Bitdefender Rescue CD, etc.

Plug in the USB flash drive and list its device name using fdisk

sudo fdisk -l
.
.
.
Disk /dev/sdc: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x052e500d

Device     Boot Start     End Sectors  Size Id Type
/dev/sdc1  *     2048 7831551 7829504  3.8G  c W95 FAT32 (LBA)

Unmount the device partition,

Continue Reading