Removing Windows 10 Apps

The apps that come with Windows 10 are neat but they seems to always want to run and they mess with VirtuaWin. So, you can try to

  • Uninstall them from the menu. Right click on an app and select Uninstall.

But that option will be removed for the native apps.

  • Open Powershell
  • Run Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

For more information, please see the sources below.

Sources

How to Uninstall Windows 10’s Built-in Apps (and How to Reinstall Them)

Posted in How-To, Windows | Tagged , , , , | Leave a comment

Outlook All Day Events Across Time Zones

If you are an employee of a company that has offices in two different time zones, then Microsoft Outlook is so annoying when it comes to All Day Events.

Say a coworker one hour behind you is out of the office on Wednesday. You will see a calendar event for him spanning two days, even though you know he will just be out from 9-5 his time, not literally his midnight to midnight.

Well, does Microsoft know about this bug and plan to fix it? Yes and no.

Their workaround is comically bad. Just make Out of the Offices for the time you will not be in the office during your working hours.

  1. Nobody wants to do repeating occurrences for 9-5. People want to make one OOO event.
  2. If you share your OOO with others, now their daily calendars will be filled by you.

Come on Microsoft!

Sources

Posted in Reviews, Windows | Tagged , , , , , , | Leave a comment

VirtuaWin tray flashing

The VirtuaWin tray icon will flash when a program becomes unresponsive and hangs.

In Windows 10, this happens frequently with all of the Windows 10 apps, like Mail & Calendar, Movies & TV, etc. While removing and uninstalling these apps is one solution, you can do a one time fix using VirtuaWin:

  1. Right click on VirtuaWin tray icon.
  2. Select Setup
  3. Go to the Modules tab
  4. Select WinList
  5. Select Configure
  6. Sort by the “S” column
  7. For all rows tagged with “H”
    1. Select the row
    2. Select Restore

Sources

Posted in How-To, Windows | Tagged , , , , | Leave a comment

Install NVidia on Linux Mint

If you have a NVidia graphics card, you will need to install drivers for your Linux Mint OS to use this hardware. If you got it, use it, especially if you are using multiple screens.

Follow the instructions on this website: http://www.binarytides.com/install-nvidia-drivers-linux-mint-16/

Do not install drivers from the NVidia website. The website above is simple and less manual steps. Do it.

  1. Download your driver from the NVidia website. It will be large .run file.
  2. Hold CTRL + ALT + F1 to enter into an a full screen terminal. Log in with your username.
  3. Stop your x server: sudo service mdm stop
  4. Install x-swat: sudo add-apt-repository  ppa:ubuntu-x-swat/x-updates
  5. Refresh your available sources: sudo apt-get update
  6. Install their NVidia-current, which is outdated but sets up many things to avoid errors with installing on your own: sudo apt-get install nvidia-current
  7. Restart machine: sudo reboot
  8. Do Steps 2 and 3 again to get into the full screen terminal.
  9. Run your NVIDIA*.run file: sudo ./NVIDIA*.run
  10. Follow prompts.
  11. Restart: sudo reboot
  12. If Cinnamon crashes, you will need to read this and figure out what is best for you.

Sources

Posted in How-To, Linux | Tagged , , , , , , , , | 1 Comment

Renewing Let’s Encrypt Certificate for OwnCloud

Assuming you have followed the steps in the previous article to get your certificate, then you should be able to run this if your certificate is not expired.
cd /tmp/letsencrypt
sudo ./letsencrypt-auto renew

or to get a new certificate

sudo ./letsencrypt-auto -c /path/to/domain.com.ini -d domain -d http://www.domain.com auth

That may not happen if you have done fancy stuff on your website.

Expired

Google Chrome will not go to your website, so for troubleshooting use Firefox. Letsencrypt does not follow the same warnings that Google Chrome shows. It also does not care about HSTS headers.

You are going to have to reissue the certificate because renew will not work.

Document Root

If you are telling Apache that http://www.domain.com should just be http://www.domain.com/owncloud, then anything placed  on your server for letsencrypt will not be visible you need to temporarily disable that override.

Change DocumentRoot from /var/www/owncloud to /var/www

sudo vim /etc/apache2/sites-available/ownCloud-ssl.conf
sudo vim /etc/apache2/conf-available/owncloud-ssl.conf

Certificate Location

The following is the contents of my domain.com.ini file.

rsa-key-size = 4096
server = https://acme-v01.api.letsencrypt.org/directory
text = True
authenticator = webroot
agree-tos = True
renew-by-default = True
email = email@gmail.com
webroot-path = /var/www/html

Since I set webroot-path to /var/www/html, I need to create a logical link in /var/www/ to the .well-known directory so that the verification can work.

make logical link
cd /var/www
ln -s -T html/.well-known/ .well-known

Restart Server

You can do reload> or restart but both work.
sudo service apache2 restart

Posted in How-To, OwnCloud | Tagged , , , , , , , , | Leave a comment

Moving large files and folders in OwnCloud

OwnCloud works well for small changes and uploads, but moving or renaming a folder that is a few gigabytes will be troublesome. OwnCloud might think you are actually deleting and then reuploading the files.

You can try WebDAV for reasonably sized files and folders to avoid OwnCloud screwing up the syncing, but you have a better option.

First, disable sync clients to avoid unwanted error notifications.

If you have access to the server, you should ssh into the server. Go into the user’s files directory:

/var/www/owncloud/data/<USER>/files

Use mv commands to move the files around.

To have OwnCloud see your file changes, go to

/var/www/owncloud

and run

sudo -u www-data php occ files:scan <USER>

Let your OwnCloud scan and then be happy.

Sources:

Posted in How-To, OwnCloud | Tagged , , , , , | Leave a comment

Linux Mint 17.3 and OwnCloud Desktop Client

How to do it wrong, way 1

Using the OwnCloud client that is in the Software Sources provided in Linux Mint is wrong! This downloads an older version of the Desktop Client that will fail when connecting to your updated server. You will get an error message like this:

Error: Wrong Crendentials

How to do it wrong, way 2

Add the newer software repository from the owncloud.org website. You are running Linux Mint 17.3 and that is close to Ubuntu and you have the latest Mint OS so you go with 15.10. Wrong! Here is your error message

$ ~ # apt-get install owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 owncloud-client : Depends: libowncloudsync0 (= 2.1.1-1.1) but it is not going to be installed
                   Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.1 is to be installed
                   Depends: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How to do it Right

You need to add the 14.04 Ubuntu software repository from the OwnCloud download site. If you already added the 15.10 repository and are finding yourself here, then go to Software Sources > Additional Repositories > Opensuse > Edit URL. Change the URL from 15.10 to 14.04. Then do sudo apt-get install owncloud-client and the download will be successful.

Sources

Posted in How-To, Linux, OwnCloud | Tagged , , , , , , , , , , , | Leave a comment