Category Archives: Linux

Linux based Operating Systems

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”. This will then force Catfish to search for the string in the files within the top directory you have selected to the left of the search box. In this example we are searching for the content string “tooltip” within files in the the top folder “scss”. The number of hits (3) and files are displayed that contain “tooltip” in the main window. To open a file double-click it.

To search for file names only uncheck “Search File Contents”

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. It is very important to note the correct device letter or you may overwrite your own system or data drive!

sudo fdisk -l

Use dm2img to copy macOS (OS X El Capitan in this example) to your usb device (sdc in this example). This completely overwrites whatever is on the usb drive already!

sudo apt install dmg2img  # install dmg2img if not installed

sudo dmg2img -v -i ./EL_Capitan.dmg  -o /dev/sdc
Output from dmg2img...
dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org)

./EL_Capitan.dmg --> /dev/sdc

reading property list, 361779 bytes from address 6237611619 ...
partition 0: begin=192, size=430, decoded=284
partition 1: begin=908, size=430, decoded=284
partition 2: begin=1611, size=356137, decoded=239844

decompressing:
opening partition 0 ...         [2] 100.00%  ok
opening partition 1 ...         [2] 100.00%  ok
opening partition 2 ...      [5991] 100.00%  ok

When complete eject the usb to flush IO buffers (important!) by clicking on the usb icon on the desktop and click remove | eject.

Insert usb in your Mac and power-up holding down the Alt | Option key until the Install usb icon is displayed in the middle of the screen.

Select the install usb to install macOS

Once in Recovery mode select Disk Utility to erase disk (if new drive or clean install)

Exit Disk Utility

Select mac OS to install from main menu and install to your main HDD or SSD

Note: the download source above is not Apple approved. To be safe, once your Mac is up and running, download the mac OS again from the Apple Store and re-create the install usb and carry out a clean install.

 

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)
...

Test and Benchmark 3D Graphics

sudo apt install glmark2
glmark2

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, e.g. sdc1.

umount /dev/sdc1

Copy the iso. file to the device (sdc) not the partition (sdc1). Note the larger block size (4M, default 512bytes) to speed up the transfer. The usb light will flash during copying. Note this can take a long time depending on iso file size. Be patient. When finished dd displays a summary report of bytes copied.

sudo dd if=filename.iso of=/dev/sdc bs=4M

Finally flush the io buffers and eject

sync

sudo eject /dev/sdc

Downgrade Linux Thunderbird

For those who have upgraded to latest Thunderbird to find Calendar add-on is suddenly not compatible. The quick fix is to roll-back to last version as follows:

Display Thunderbird available versions

apt-cache show thunderbird | grep Version

Select last version to rollback to, e.g.

sudo apt-get install thunderbird=1:52.9.1+build3-0ubuntu0.14.04.1

 

 

 

CA Useful Notes

Computer Active Useful Notes

www.snipca.com/nnnnn

nnnnn

35719 Sharpkeys – keyboard remapper
35663 ShutUp10 Tweek Windows 10 security settings in one place
35467 Win+X Menu Editor – Windows 10 Win+X menu editor
34569 Heatmapper produces WiFi heat map to find strongest WiFi
33034 Inatec 2.5″ HDD/SSD USB Enclosure
32799 Padlet – share content
32643 Captura – records Windows screen(s)
32442 Glasswire firewall – identifies programs that use your Internet, Elite 7day trial
31235 Android Magnifying Glass (IOS 31236)
30849 Appbuster Bulk Windows uninstall programs
30789 Search Companies House
29712 CloneApp Backup Windows App and System Settings default features
29899 MiTec Task Manager Delux – better Windows Task Manager
27353 Lasso to prioritise RAM for programs that need it
28329 NoBot AV scanner – use with AdwCleaner
28321 ControlMyMonitor colour tweaker, from NirSoft
28351 BleachBit remove hidden junk like ccleaner without paywall limitations
27011 Mpow’s Air Vent Mount <£10
26883 InSpectre Meltdown + Spectre detector and perf indicator – also disables patch
26868 Whocrashed 6.01 BSOD Analyser
26836 Cloudberry – remote access via web browser
25761 Google Backup&Sync 15GB free storage
26760 Drive Formatter – Wipe data
26400 DMEX Explorer tool ctrl-F1 menu to split windows
26359 W10 WinAero Tweaks
26358 Bootracer see which programs slow PC start up
25237 Windows Repair Pro
25199 Colorize Photos
24973 MusicBee + MediaMonkey.com
24368 Wise Program Uninstaller
23038 AllDup free duplicate file finder

Tips & Recommendations
Weed out broken system files
Run Deployment Image Servicing and Management tool
dism.exe /online /cleanup-image /Restorehealth
Once finished, check with System File Checker
sfc /scannow

Useful Stuff
Virtualbox Snapshot – virtual system backup in seconds
www.anonaddy.com – fake email address – alternative = guerrillamail.com
O&O AppBuster – W10 app/program uninstaller which removes most stubborn apps
www.Doodle.com – organise a get-together, send email link
WeTransfer instead of email attachment store file on their server and send recipient message + file link
MediaFire as WeTransfer but videos
Netgear Arlo Pro 2 camera inc 7 day online storage
Money Manager EX – replacement for Microsoft Money (support ended 2009)
Adobe Photoshop Express free Windows 10 basic photo editing app
clonapp.de Back up installed software to move to another PC/OS
Moneypool – Paypal Group to collect money
Logitech MK540 coffee prof kb + mouse – wireless only
Fast DNS 1.1.1.1/1.0.0.1 1dot1dot1dot.cloudflare.dns.com
www.easyscreenocr.com Extract text from screenshot
netsh wlan show profile “NETWORK” key+clear – Show WiFi password
netsh wlan show profile – Show WiFi networks
Notepad log book add .LOG to print time stamp on open
NordVPN nordvpn.com best paid for VPN £9.10/mon
TunnelBear alternative free/paid VPN 1.5GB/mon with TWitter a/c
www.aeroadmin.com free Unlimited Teamviewer alternative
Remove USB command line utility
https://www.uwe-sieber.de/drivetools_e.html

Recommended Printers

  • Epson XP-7100 Expression Premium £145 – Small footprint and packed with features. Economical to run with re-manufactured carts.
  • Brother MFC-J5330DW £120
  • Epson WF-3720DWF £80
  • HP Officejet 8715 £150 – bit noisy, but fast
  • Canon MG5750 £55 – no ADF
  • Canon TS6150 £100 – no ADF
  • Epson EcoTank ET-2710 179.99 – no ADF. No manual controls. Must use supplied Windows CD to setup.

Budget Routers

  • ASUS DSL-AC68U £129

Stretch YouTube Video To Fit Browser Window

Fit a YouTube video in the browser window as follows:

Normal YouTube Video URL is https://www.youtube.com/watch?v=grItaOxuyTE&t

To watch in a re-sizable window without switching to Full Screen rewrite the above URLas follows:

https://www.youtube.com/v/grItaOxuyTE&t

Append your YouTube video ID to www.youtube.com/v/VIDEO_ID to display a re-sizeable browser window.

In other words replace /watch?v= with /v/ in the normal URL