Category: Simple Stuff I Forget

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:

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:

Windows Registry Editor Version 5.00

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

Windows 8.1 Clean install : We couldn’t find any drives. To get a storage driver, click Load Driver.

“We couldn’t find any drives. To get a storage driver, click Load Driver.”  That’s the message I got trying to install Windows 8.1 on a slightly used drive for my heavily used desktop.  Simply cleaning it in Diskpart solved the problem.

EDIT: LET ME CLARIFY.  Doing the following is preparing your drive for a CLEAN OS INSTALL.  This means you’re losing any data currently on the drive (technically you’re not erasing the drive, you’re just marking all the data as “gone” or “overwriteable,” so if you don’t continue and install an OS you can most likely recover it, but let’s just not go there).  Don’t do this to a drive that has data you want to keep!

  • Open an elevated CMD window
  • Diskpart
  • List disk – find the disk you want to clean
  • Select disk XX – where XX is that disk number
  • Clean

that’s it.

TTRSS

I love me some TTRSS.  Ever since Google shuttered their RSS feed reader I’ve been using it.  It’s nice to not be beholden to another provider for RSS content management.  It’s also a well supported little free system. I definitely recommend it.  The support forums, however, can be pretty rough on the less savvy crowd.  Hell, there’s an entire sticky thread dedicated to a discussion about how the place is overrun with assholes.  If you go there you’ll get help, but make sure you’ve done your due diligence first.

When I upgraded to the latest version of TTRSS (v1.12) my views went all wonky.  The Mark As Read button was hidden from the top bar and things generally looked assy.  What I discovered is that Firefox (speaking of – FF 28 sure has been crashing a lot) had cached some style settings and mixed the old with the new, creating a mess.  hitting SHIFT+F5 while on the site cleared it all up lickety split.