Sunday, January 17, 2021

install gnome-disks and xfce-terminal

Gnome-disks is installed by the package
 
sudo apt -y install gnome-disk-utility
 
xfce4's terminal isn't installed.  Sometimes the "open in terminal" fails, so install the xfce4 terminal.  It will show up in the system tab
 
apt -y install xfce4-terminal

 

 

--30--

change timezone on Ubuntu 18.04 (for example)

 

Set via two procedures as below.
 
Use dpkg-reconfigure as an alternative
#  sudo dpkg-reconfigure tzdata
 

https://linuxize.com/post/how-to-set-or-change-timezone-on-ubuntu-18-04/ 

 

--30--

change hostname on ubuntu 18.04 (for example)

 

Procedure:
show hostname
hostnamectl
set new host name
sudo hostnamectl set-hostname <newname>
edit hostname file
edit instance of name in local host entry for the host name
log out and back in, will show in bash prompt

https://linuxize.com/post/how-to-change-hostname-on-ubuntu-18-04/

 

 

--30--

Friday, January 1, 2021

Error using convert from various input media to pdf

 

There is a command which is part of Imagemagick which included Gimp to consolidate and create images into other files, in particular PDF files.

Initially Imagemagick installed a policy file, but recent changes tightened access rules for a number of formats which are actually essentially programming languages.  This is true of postscript and PDF files.

The following will enable the writing of PDF files again for use by convert.  The reason to disable it is it is potentially a vector into compiling programs with file write privileges and was blocked as a precaution.

Find the line below and change "none" to "read/write"

Source of information:

https://cromwell-intl.com/open-source/pdf-not-authorized.html

 /etc/ImageMagick-6/policy.xml should contain:

<policy domain="coder" rights="none" pattern="PDF" />

--30--