PC Doctor Godalming

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

Category: Linux

Linux based Operating Systems

Updraftplus plugin can’t read .directory file warnings

Unfortunately its not possible to exclude special Dolphin .directory files using Updraftplus settings. It ignores the setting exclusion and continues to report “…can’t read .directory” file warnings in the log file during backup.

To work around this add the following PHP code to your Functions file

//
// Updraftplus Backup filter
// Prevent attempts to backup .directory files and generate annoying warnings 
add_filter('updraftplus_exclude_file', 'my_updraftplus_exclude_file', 10, 2);
function my_updraftplus_exclude_file($filter, $file) {
return (basename($file) == '.directory') ? true : $filter;
}

Continue Reading

Fix Lost Dolphin File Copy Progress Notification

System: Kubuntu 18.04

Problem: No longer able to see file copy progress, e.g. Dolphin so you can’t monitor the progress and have no idea when it will complete

Solution edit the Plasma configuration file as follows:

Run Terminal and stop Plasma

kquitaap5 plasma

Edit

nano /home/[user]/.config/plasma-org.kde.plasma.desktop-appletsrc

Add the following

[AppletGlobals][plasma_applet_systemtray]
ShowJobs=false
ShowNotifications=false

Start Plasma again

kstart plasmashell

Credit: https://bbs.archlinux.org/viewtopic.php?id=70502

Continue Reading

Firefox Home Search Page moves Focus to Address Bar

To stop Firefox moving Home Search Page text focus to the Address Bar enter about:config in the Address Bar to bring up the advanced configuration page.

Type awesomebar in the search filter box to bring up the following variable

browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar

Toggle the boolean value from True (default) to False

ref: https://www.askvg.com/fix-restore-real-working-search-box-on-new-tab-page-in-firefox-89-and-later/

Firefox not using default File Manager

Problem: When using Firefox or Chrome and File Open or File “Save As” the desktop (KDE) default file manager (Dolphin) is not used
Operating System: Kubuntu 18.04
Browsers: Firefox 94.0, Chrome 96.0.4664.45

Solution:

  1. In Firefox go to about:config and set “widget.use-xdg-desktop-portal” to true. This provides support for the XDG Desktop interface. This is disabled in Firefox by default
  2. Install xdg-desktop-portal-kde Qt backend and xdg-desktop-portal frontend portal as follows
sudo apt install xdg-desktop-portal-kde
sudo apt install xdg-desktop-portal

Notes:

  • xdg-desktop-portal-kde provides back end implementation for xdg-desktop-portal using Qt
  • xdg-desktop-portal is the front end xdg-desktop-portal for desktop frameworks,

Continue Reading

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.