↓
 

A Pipe and a Keyboard

A sort of Linux scrapbook

  • Home
  • About
  • Software
  • List of posts

Category Archives: Tech stuff

Post navigation

<< 1 2 … 7 8 9 10 11 12 13 … 27 28 >>

Working with Weaver II – Part 1

A Pipe and a Keyboard Posted on October 7, 2012 by RichardJune 8, 2016

I started writing blogs back in 2006.

After a bit of searching at the time I found a template I liked, that was simple and easily adaptable, and have been using that template ever since.  In fact I started a second blog and used the same template (heavily modified) on that too.

Over the years, both the CSS and PHP files in the template were extensively modified, particularly as in the early days (pre-widget) I had hard coded a lot of items straight into the template files.

A couple of weeks ago I decided it was time for a bit of an overhaul.  The first thing I did was to “widgetise” Head Rambles.  That was fairly painless and the result looked almost identical to the original.  However I still had a load of modified template files and the CSS was in a bit of a mess.  I decided on a change of the core theme and template.

My good friend Kirk pointed me in the direction of Weaver II, which is a template he has been using.

My first impression was that it looked a bit daunting.  I set up a local server on my laptop and installed it there.  Sure enough, there was a bit of a learning curve.  The Admin area is quite large with a lot of options.

My first project was to create a theme to match the Rambles one as closely as possible.  The further I went the more impressed I became.  There is virtually no aspect of the design that couldn’t be changed from the Admin area.

Rambles is now running the new Weaver template and the original design.  The main aspect is that I haven’t touched a single PHP or CSS file so updates/upgrades won’t destroy anything.  As a bonus, I have been able to remove several plugins as their functions are built into Weaver. 

The only drawback, if you can call it that is that the theme is three times slower that the old one.  Does that sound bad?  If I say that the old one took 0.07 seconds to load while Weaver takes 0.2 seconds?  Not bad considering all the additional bonuses.  The new site is mobile friendly (previously I had to install a plugin and a clatter of extra themes).  It has a much better comment area, with nested comments.  And I can make any changes to the theme with a couple of clicks of the mouse, with no FTP or file editing at all.

Since then I have also redesigned this site and Smoking so all three sites are now updated.

I have a feeling I will be writing a bit more about Weaver!

Posted in Blogging, Tech stuff | 2 Replies

VirtualBox disk size

A Pipe and a Keyboard Posted on September 21, 2012 by RichardSeptember 21, 2012

I use VirtualBox on an almost daily basis.

As I now use Linux Mint as my operating system of choice, I need some way to run a few programmes that are specific to Windows, such as Windows Live Writer (which I am using to write this!).

A long time ago I set up a Virtual Machine to run Windows 7.  I installed Live Writer and Office (which I never managed to install via Wine despite claims that it can be done).  Since then, I backup my “VirtualBox VMs” folder and restore it after any upgrade.  My Windows 7 therefore remains pristine and fully working.

Lately however I have been running close to full disk capacity in my VM, with only 1Gb to spare.  My first thought was to create a new VM and install a copy of Windows 7 there.  That worked with no problems as I expected, however try as I might I cannot get Live Writer to work properly.  Of the three blogs I work on, one loads with no problems whatsoever, the second connects but refuses to recognise the theme and the third won’t even recognise the fact that it’s a WordPress installation.  All three blogs have identical setups so I am baffled as to the cause of this.

The solution to my problem I have now discovered is extremely easy.  I simply increased the size of my virtual hard drive.

Open a terminal in home/VirtualBox VMs  and CD into the folder that contains the virtual Machine (in my case it was “Win 7”).  Then run the command

VBoxManage modifyhd “Win 7.vdi” –resize 30000

That’s it!

Naturally you need to change the “Win 7.vdi” bit to your own VM name (and the quotes are necessary if there is a space in the name), and set your own new disk size (the number is Mb, so 30000 = 30Gb).  Note also that there are two dashes in “–resize”.

There is one further step though.  Running your VM will still show the old disk size, which may cause a moment of frustration or even panic!  The reason is that you have increased the hard disk but with an unformatted area.

In my case I simply went into Windows’ Disk Management (enter “partition” into Search to find it) and expanded my current disk to fill the new free space.

My Windows 7 Virtual Machine now has an extra 10Gb of free space!

Posted in Linux, Tech stuff | Tagged Linux | Leave a reply

Simple Scan not finding a scanner

A Pipe and a Keyboard Posted on September 10, 2012 by RichardSeptember 10, 2012

I recently did a full format and reinstall of Linux Mint 13.

I installed the MATE version from DVD but installed Cinnamon on top, and am using that as my default desktop.

As part of the build, I had to connect to my printer.  It’s a Hewlett Packard Officejet J4680 wireless multi-function printer and it is well supported by Linux.

Setting up the printer was no problem at all.  However, when I went to test the scanner I ran into problems.  While I could print pages to my heart’s content, Simple Scan just flatly refused to recognise the scanner.

I searched the Internet and found a few people with the same problem, but no solutions.

It then occurred to me that the setup of the printer had actually been too easy!  It just connected and that was that, with no downloading of drivers or anything.  I disconnected the printer and logged into MATE.  I went to reconnect the printer and it promptly downloaded the drivers.  Even better, Simple Scan now worked.

I logged back into Cinnamon and all works smoothly.

It’s not an elegant solution to the problem, but it did solve it.

Posted in Linux, Tech stuff | Tagged Linux | 4 Replies

Video and audio playback too fast

A Pipe and a Keyboard Posted on September 9, 2012 by RichardNovember 5, 2012

I came across an interesting problem today.

I have just reinstalled my full system of Linux Mint 13 MATE/Cinnamon and all is working well bar one fault – I tried to play a YouTube video and it played back at at least twice the speed.  Naturally audio was non-existent too.

My first suspect was the browser, so I tried running a local MP4 file in Gnome Movie Player and ran into the same problem which eliminated the browser or any plugins.

The culprit, as I discovered is Pulse Audio.

I have Pulse Audio Volume Control installed and found the solution straight off – I went into the Configuration tab and set my soundcard configuration to "off".

All videos now work normally as does sound.

Posted in Linux, Media, Tech stuff | Tagged Linux | 3 Replies

Mint 14 Nadia and Remote Access

A Pipe and a Keyboard Posted on August 25, 2012 by RichardAugust 25, 2012

I see preparatory work has started on Linux Mint 14 (“Nadia”).

I just hope they integrate Remote Desktop properly on this release.

I wrote some time ago about the difficulties I had with enabling Remote Desktop on 13.  That page has become the most popular page on this site by a factor of about ten.

This is a sample of keywords used to reach here –

Keywords

Let’s hope they don’t make the same mistake with 14?

Posted in Linux, Tech stuff | Tagged Linux | Leave a reply

Post navigation

<< 1 2 … 7 8 9 10 11 12 13 … 27 28 >>

Recent Posts

  • GRUB problems
  • Tab bar broken again in Firefox 133
  • WP phpMyAdmin Session mismatch
  • When Linux slows down
  • Firefox broken again

Categories

  • Blogging
  • General
  • Linux
  • Media
  • Tech stuff
  • Writing

Blogroll

  • Head Rambles
  • Kirk M's Just Thinkin'
  • Wordpress Beginner
  • Wordpress Development

Archives

©2025 - A Pipe and a Keyboard - Weaver Xtreme Theme
↑