Category: Simple Stuff I Forget

Windows – Migrating Printers

At my POE we use virtual printers for all manner of file production.  It’s annoying.  What’s more annoying is when it’s time to upgrade a server using virtual printers.  Thankfully there’s a way to sorta kinda help the process, by sorta kinda easing the migration process.  The following screenshots are from Windows 2012 R2.  If you’re using a different Windows OS level your mileage may vary.  It’s my understanding that the titles of some of this differs by OS.

Continue reading

Windows Sticky Notes

I admit it – I use Windows Sticky Notes.  I hate how unconfigurable it feels though.  The font is terrible, for instance.  Lucky you can change it with a reghack.

What’s happening here is, because the notes demand to use Segoe Print as the font, you’re changing what font Segoe Print actually is.  Replace the .ttfs with fonts of your choice.

There are also a myriad of shortcuts for modifying existing note text:

Ctrl+B – Bold text
Ctrl+I – Italic text
Ctrl+T – Strikethrough
Ctrl+U – Underlined text
Ctrl+Shift+L – Bulleted (press once) or Numbered (press twice) list
Ctrl+Shift+> – Increased text size
Ctrl+Shift+< – Decreased text size
Ctrl+A – Select all
Ctrl+Shift+A – Toggles all caps
Ctrl+L – Left aligns text
Ctrl+R – Right aligns text
Ctrl+E – Centers text
Ctrl+Shift+L – Small Alpha list (3rd), Capital Alpha list (4th), small roman (5th), Capital roman (6th)
Ctrl+1 – Single-space lines
Ctrl+2 – Double-space lines
Ctrl+5 – Set 1.5-line spacing
Ctrl+= – Subscript
Ctrl+Shift++ – Superscript

Fonts For Wine in Ubuntu Mate

I’m using some older Windows programs – abandonware stuff by this point – on Ubuntu Mate via Wine.  I needed to install some custom fonts for these programs to use and had a bit of a time finding straightforward instructions on doing so.  Turns out it’s easy.  The fonts I needed are TrueType, so that’s all I’ve tested with.

Navigate to home/YOURUSERHOME/.wine/drive_c/windows/fonts

You will have to enable hidden files in order to see the .wine directory, and if you haven’t done so already you’ll need to open the fonts directory as administrator (from the windows directory right click the fonts directory and choose Open as Administrator).  Dump your font(s) into that directory.  Then open a prompt and enter:

sudo fc-cache -fv

This will rebuild the font information caches for fontconfig system.  Then you should be good to go.

some index files failed to download – Linux

“Some index files failed to download.”  That’s the error I got upon running apt-get update, after having Ubuntu Mate notify me that some of my updates are, er, out of date.  The indexes that failed to download were related to Flux, which I really liked having on my Windows machines.  Turns out that, as of this writing, the repository of Vivid Vervet (Ubuntu 15) for Flux ain’t there.  Take a look for yourself and see.  I suppose I could install an older version, but since I wasn’t interested in getting into any compatibility issues I decided to bail on Flux for now.

But I couldn’t uninstall Flux.  It isn’t installed.  I need to get rid of the repository information.  You’d think that would be as simple as remove-apt-repository blah blah, since adding it is a simple add-apt-repository, but nope.  There’s no remove-apt-repository.  Ultimately I opened the path /etc/apt/sources.list.d as admin, and removed the associated list and save files.  Reran apt-get update and voila – both the errors and the nag referring to out of date updates disappeared.

Tracking Protection in Firefox – let it help you

By turning on tracking protection in Firefox you’ll not only get some help in blocking sites known to track their visitors, but you’ll reduce your page load time.  Win win!

  1. In the URL/Location bar in Firefox, enter about:config and hit enter.
  2. You’ll get a friendly warning that you’re poking around under the hood.  Promise to be careful to continue.
  3. Search for privacy.trackingprotection.enabled and set it to True.

That’s it!

Active Directory Account Lockout – Creation – Deletion – Disable monitoring

We’ve used a variety of third party tools to monitor Active Directory domain account changes.  They’ve all either been expensive or kind of sucked (or, unfortunately, both).  But if you’re running a relatively new OS on your controller you can use the magick of Powershell to ship you alerts on account changes!  Powershell can monitor the local Security Event Log on your controller and ship you an email when events matching your description are entered.  Here’s an example Powershell script:

Continue reading

Windows 8 Preview Pane woes

I don’t like the Windows 8 preview pane.  It makes moving and deleting things difficult, especially over network shares.  It likes to lock shit up thanks to the (usually hidden) thumbs.db file it creates.  So, turn it off.  It’s a simple reg hack:

1
2
3
4
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoReadingPane"=dword:00000001

Windows 8 – Classic Shell and the Auto Reboot Irritation

I’ve moved on to Windows 8 on my primary laptop and desktop because, well, time marches on. Microsoft did well with 7. 8, not so much. 9 will probably be better. But I have to admit that things seem peppier on 8, especially my virtualbox vms. That may just be the byproduct of a fresh build though.

Two things I absolutely have to do with a fresh 8 install are to wrest control of the UI from the poorly conceived desktop-for-a-tablet, and stop the damned thing from force rebooting after updates.

When it comes to the UI, Classic Shell is your savior. And it’s free! Can’t recommend it enough.

Stopping the auto-reboot is a simple reg hack. In the editor, head to:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

Create the dword value NoAutoRebootWithLoggedOnUsers with a hexi value of 1. Or even easier, slap the below into a text file, rename it .reg and double click it to insert into the registry:

1
2
3
4
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001