Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Linux

By Greg Nowak, 3 December, 2020

Sending Mail From a Linux Server with Postfix: A Practical Setup Guide

Practical guidance for sending low-volume operational email from a Linux server with Postfix, including when to relay instead of sending direct, what current deliverability checks matter, and simple commands for testing.

Tags

  • Linux
  • Postfix
  • Email Delivery
  • SMTP Relay
  • Server Operations
By Greg Nowak, 12 November, 2020

Linux Show Final URL Programatically

curl tags: https://stackoverflow.com/questions/3074288/get-final-url-after-curl-is…

How to solve CloudFlare protection: https://stackoverflow.com/questions/18500088/curl-load-a-site-with-clou…

Tags

  • Linux
  • Script
By Greg Nowak, 28 October, 2020

Strip Metadata

PDF

https://blog.joshlemon.com.au/protecting-your-pdf-files-and-metadata/

https://gist.github.com/hubgit/6078384

exiftool -all:all= $FILE ; qpdf --linearize $FILE output.pdf

Images

imagemagick: mogrify -strip NAME_OF_FILE

 

Test with: exiftool -all NAME_OF_FILE

 

Tags

  • Script
  • Linux
By Greg Nowak, 27 October, 2020

Grub settings and options

Default kernel parameters: "quiet splash".

In my opinion you will get more sucessful boots and reduced graphical errors on boot if you remove quit and splash. Specifically the splash screen can make strange things happen and when removing "quiet" you are able to debug if there is an error.

 

I also tried to fiddel with "/etc/grub.d/48_linux_zfs" where I tried to out comment #vt_handoff="1" and set quiet boot to zero: 

 

Tags

  • Linux
  • boot
By Greg Nowak, 28 May, 2020

Certbot notes

Remove ssl cert: sudo certbot-auto delete 

Tags

  • Linux
By Greg Nowak, 26 May, 2020

Keyboard Mapping Kubuntu 20.04

Quick instructions:

insert: "keycode 49 = less greater backslash backslash backslash" in "$HOME/.Xmodmap" and run "xmodmap .Xmodmap" - this will setup your keys on the system.
To make these keys persistent run: "xkbcomp $DISPLAY $HOME/.xkbmap"

Very interesting: https://medium.com/@saplos123456/persistent-keyboard-mapping-on-ubuntu-using-xmodmap-cd01ad828fcd

Tags

  • Linux
By Greg Nowak, 24 May, 2020

Suspend Issue AMD Graphics Driver Kubuntu 20.04

If you have the black screen of death when trying to get back from suspend mode, you might want to check out this bug description and possible resolutions: https://bugs.launchpad.net/ubuntu/+source/plasma-desktop/+bug/1849084

Otherwise disable compositor: qdbus org.kde.KWin /Compositor suspend

Check if compositor is enabled: qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active
Or: qdbus org.kde.KWin /KWin supportInformation

Tags

  • Linux
By Greg Nowak, 9 May, 2020

Android Flutter Notes

Currently running flutter in ubuntu 20.04.

Flutter cli doc: https://flutter.dev/docs/reference/flutter-cli

Flutter pub doc: https://dart.dev/tools/pub/cmd

KVM installation: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
Old info: sudo apt install qemu qemu-kvm virt-manager (Remember to enable VT Virtualization in the Bios) - run: sudo kvm-ok (to check)

Tags

  • Linux
  • Android
  • programming
  • mobile
By Greg Nowak, 26 November, 2019

Redirect And Rewrite Notes

Redirects with regular expressions

Basic intro to regex rewrite and redirect: https://www.searchenginepeople.com/blog/htaccess-redirect-rewrite-rules…

https://superuser.com/questions/155139/htaccess-301-redirect-with-regul…

Tags

  • Linux
  • Web
By Greg Nowak, 17 November, 2019

Reading Samsung Exfat K-Ubuntu 19.10

When trying to read any exfat formatted SD card it suddenly was not recognised by my system, so I tried to upgrade from Kubuntu 18.10 to 19.10, and it didn't help. Then I found a post about that Exfat is not supported by the kernel before version 5.4, but Kubuntu 19.10 is shipped with 5.3, but the packages exfat-fuse and exfat-utils should take care of it, but they were already installed and did not work apparently. And also my kernel is 5.0.x for some reason (5.0.0-36-generic).

Tags

  • Linux

Pagination

  • Previous page
  • 3
  • Next page
Linux

Review Greg on Google

Greg Nowak Google Reviews

 

  • Let's Encrypt Profiles Put Renewal Assumptions Under the Microscope
  • Moving Drupal Blocks on Mobile: CSS, Regions, and Safer Tradeoffs
  • Unzip with PHP on Shared Hosting: A Safer Way to Extract ZIP Files
  • Tidy Up composer.json with Composer Normalize
  • Before OpenAI agents touch the CRM, map the boring boundaries
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.