Sunday, July 31, 2016

setting up linux system for handling outbound email

Set fqdn
change hostname in /etc/hostname

add fqdn in /etc/hosts

say for host foo and domain pri /etc/hosts entry is:  foo.pri foo

set up exim for mail handling (from Linode example)

reconfigure exim4 script

dpkg-reconfigure exim4-config


Installation of Chrome on Ubuntu

How to install real chrome broswer on Ubuntu.  Useful for automating local cloud printing to local printers.

Configuring exim to handle emails

starting some notes for configuring outbound email thru a host, to allow for sending internally to a local host (single one) and have it email thru the isp email host, or whatever

Tidbit about dc_other_hostnames:

BTW, ‘dc_other_hostnames’ is colon (;) seperated.

Friday, July 29, 2016

A couple of good vnc setup pages for Linux Ubuntu

For VNC remote desktop access via vnc server.  Most times now use xvnc and microsoft remote desktop client everywhere with windows desktop.

And remmina for remotes on ubuntu / linux desktops.  Remmina will access these desktops.  microsoft rdp will not.

Tuesday, July 26, 2016

Change Workgroup or system name windows 10, with original dialog

The new cute control panel doesn't include the original dialog which could edit the workgroup if you are not a member of a Domain.

The default WORKGROUP is not great to leave a system in if you are using home type sharing and security, so it is handy to change it.

It is possible in Windows 10 without much effort to change the hostname or rather the computer name on the Windows 10 operating system.

Please start the advanced system settings in Windows 10. The quickest way is via Run in Windows 10, open this keyboard shortcut Windows logo key + R.

In Windows 10 Run just type the command sysdm.cpl!

Tuesday, July 19, 2016

Extracting images from a PDF

This example worked well for an example created by the Android Cam Scanner app, which I use to document and scan quite a lot.

convert -verbose -density 150 -trim -sharpen 0x1.0  -quality 100 ../1103-front-panel-card-ba11.pdf 1103.jpg

from recommended solution from above link saved to make sure it doesn't vanish

173 vote

It appears that the following works:
convert           \
   -verbose       \
   -density 150   \
   -trim          \
    test.pdf      \
   -quality 100   \
   -sharpen 0x1.0 \
It results in the top image Compare this to the result of my original command (image on the bottom):

(To really see and appreciate the differences between the two, right-click on each and select "Open Image in New Tab...".)
Also keep the following facts in mind:
  • The worse, blurry image on the right has a file size of 1.941.702 Bytes (1.85 MByte). Its resolution is 3060x3960 pixels, using 16-bit RGB color space.
  • The better, sharp image on the left has a file size of 337.879 Bytes (330 kByte). Its resolution is 758x996 pixels, using 8-bit Gray color space.
So, no need to resize; add the -density flag. The density value 150 is weird -- trying a range of values results in a worse looking image in both directions!


Tuesday, July 12, 2016

Thunderbird System setup

Thunderbird Extensions.   See Tools->Add-ons and search, or use links below

Thunderbird Message Filter Import/Export Enhanced 

Get rid of double spacing format in composition (new install)

Go to Tools > Options > Composition > General tab.

Here you need to uncheck where it says
"When using paragraph format, the enter key creates a new paragraph."

 Change location of profile

It's possible to move the location of a profile folder. This could be useful if you have a backed up profile folder somewhere on your hard drive and want to tell Thunderbird to use that as your profile. This section explains how to do this.
  1. Shut down Thunderbird completely (File > Exit).
  2. Move the profile folder to the desired location. For example, on Windows XP, move the profile from C:\Documents and Settings\[username]\Application Data\Thunderbird\Profiles\xxxxxxxx.default to D:\Stuff\MyMailProfile. If you are reading these instructions because you want to restore a previously backed up profile, this step isn't necessary. Just note the current location of the profile you want to restore.
  3. Open up profiles.ini in a text editor. The file is located in the application data folder for Thunderbird:
    • On Windows Vista/XP/2000, the path is %AppData%\Thunderbird\
    • On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Thunderbird\
    • On Linux, the path is ~/.thunderbird/
    • On Mac OS X, the path is ~/Library/Application Support/Thunderbird/
  4. In profiles.ini, locate the entry for the profile you've just moved. Change the Path= line to the new location. If you are using a non-relative pathname, the direction of the slashes may be relevant (this is true for Windows XP).
  5. Change IsRelative=1 to IsRelative=0.
  6. Save profiles.ini and restart Thunderbird.
© 2002-2005 David Tenser.