Sunday, July 31, 2016

setting up linux system for handling outbound email



http://askubuntu.com/questions/158957/how-to-set-the-fully-qualified-domain-name-in-12-04

Set fqdn
change hostname in /etc/hostname

add fqdn in /etc/hosts

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

set up exim for mail handling (from Linode example)

https://www.linode.com/docs/email/exim/sendonly-mail-server-with-exim-on-debian-6-squeeze

reconfigure exim4 script

dpkg-reconfigure exim4-config

xx

Installation of Chrome on Ubuntu

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

http://www.ubuntumaniac.com/2015/10/install-google-chrome-46-on-ubuntu-1510.html


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

https://debian-administration.org/article/140/Handling_mail_for_multiple_virtual_domains_with_exim4

http://blog.bigsmoke.us/2008/08/03/configuring-a-debian-satellite-exim-server

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.

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04

https://www.howtoforge.com/how-to-install-vnc-server-on-ubuntu-14.04


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

http://stackoverflow.com/questions/6605006/convert-pdf-to-image-with-high-resolution



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 \
    24-18.jpg
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!

x

Tuesday, July 12, 2016

Thunderbird System setup


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

The message export died.  use this entry to deal with filters.

Thunderbird Message Filter Import/Export Enhanced

https://addons.mozilla.org/en-US/thunderbird/addon/tb-import-export-wind-li-port/?src=search


https://addons.mozilla.org/en-US/thunderbird/addon/password-exporter/?src=search 

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

https://support.mozilla.org/en-US/questions/1118727

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.
http://www-archive.mozilla.org/support/thunderbird/profile