↓
 

A Pipe and a Keyboard

A sort of Linux scrapbook

  • Home
  • About
  • Software
  • List of posts

Category Archives: Linux

Post navigation

<< 1 2 … 7 8 9 10 11 >>

Adventures with Natty

A Pipe and a Keyboard Posted on April 8, 2011 by RichardApril 8, 2011

Since switching to Linux, I have played around with a few distributions.

Using my Virtual Box I have installed and run various flavours including Suse and Ubuntu.  I wasn’t that happy with Suse at it came across (to me) as being rather clunky.  Ubunto was much better but was so similar to Mint that it wouldn’t be worth changing over.  Better the devil you know, and all that.

Earlier this wee I heard of a new flavour that promised to be a tad different – Ubuntu Natty Narwhal.  I thought I would give it a try.

I had been warned that Natty doesn’t install very well under Virtual Box, so I decided to add it straight to hard disk.  I shrunk one of my partitions to create some space and fired off Natty.  Here I found a strange quirk – everything went very well up to the very last stage of the install.  It had cycled through all the various splash screens and was on the last one that thanked me for installing it.  The progress bar had done all its copying, clearing, installing of Grub and the rest and then came to a halt about three quarters way across the screen.  I waited for about fifteen minutes and decided there was something wrong.  During that fifteen minutes the DVD hadn’t spun up, and the hard disk seemed to pretty quiet as well.  I rebooted the machine and tried again, with the same result.  This time I left it at its three quarters mark and sat back and waited.  This time it installed perfectly but be warned – that ‘sticking’ at three quarters is a false error – it is in fact still installing even though it appears to have stalled.

Natty is different from any other flavour of Linux I have tried before.  I will be honest and say that it is not for the beginner as it functions very differently from either KDE or Gnome.

Natty screen

It’s emphasis is very much on using as much of the screen as possible, and therefore there are no such things as menu or status bars, apart from one narrow one at the top of the screen.  Whenever an application is opened, its menu automatically appears in the top bar which is a little disconcerting at first.  The main menu is also nicely concealed and is activated by shoving the cursor to the top left of the screen.

This is only a Beta release of Natty and I appreciate that it will lack some functions.  What I did find very strange was that the Software Centre was quite generous with games, but lacked such items as Skype or VirtualBox.  By adding the standard repositories, I was however able to download all the usual suspects.

I have been playing around with it for a couple of days now, and I am impressed.  It took a while to get used to the repositioning of a lot of items, but practice makes perfect.

I possibly will transfer my allegiance to Natty once the final release is out.  What is even better is the fact that Mint is based on Ubuntu so the two are virtually interchangeable.  Therefore when I am finally setting up Natty, I will specify its current partition as Root, but will specify my Mint Home partition as the new Natty Home partition, remembering to specify the old format (Ext4) and NOT formatting it.  That way, all my documents and other work don’t have to be transferred as they will already be there in the new Natty Home.  I tried this, and it works perfectly, though I have since given Natty its own small Home partition for test purposes.

The only real problem that I have encountered with this new install is that my Grub menu is getting damned cluttered!

Posted in Linux | Tagged Linux | 2 Replies

From soundcard to Audacity

A Pipe and a Keyboard Posted on February 22, 2011 by RichardNovember 5, 2012

For a long time now I have been looking for a way to record directly off the soundcard.  While I had no difficulty with this in Windows, Linux proved a little more elusive.

I trawled the Internet and came across a lot of solutions, such as hot-wiring the speaker socket to the microphone socket, or lengthy sessions with Terminal.

The other day I found the solution I had been looking for, and as I suspected, it was simplicity itself.

My sound editing programme of choice is Audacity.  That gives the option of selecting the source for recording and this is where I was making my big mistake.  The trick is to leave that alone.at its default setting.

Open up Audacity and also Pulse Volume Control.  In Audacity, click the wee drop-down by the microphone symbol and select ‘Start Monitoring’

Sound1

Now select Pulse Audio Control and go to the Recording Tab.

In the resulting screen, you will see Audacity listed as ALSA Plug-in [Audacity]

Sound2

All that is required now is to make your selection from the drop-down list provided.  Select one that starts “Monitor of ..” and you should be OK.

That’s all.

Simple.

UPDATE

I just replaced Linux Mint 10 with Mint 11 and to my surprise, Pulse Audio Control was missing.  It took a bit of research but I fond that the package I was looking for was pavucontrol.  I tried installing it from the Software Manager but it kept getting stuck at 12%.  I then tried

$ sudo apt-get install pavucontrol

That worked perfectly!

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

The KDE saga

A Pipe and a Keyboard Posted on February 9, 2011 by RichardFebruary 9, 2011

I have been running Linux Mint for some time now.

A good friend – Kirk – suggested I try it initially, and I have been using it ever since.

I was talking to Kirk the other night and we got onto the topic of Mint 10 KDE which has been imminent for some time.  He gave me the address from which to download it, which I promptly did.  However, Kirk suggested I just update my existing KDE to 4.6.00, as I only wanted to have a look to see if it was worth switching over from Gnome.  He gave me the address for the software repository ( ppa:kubuntu-ppa/backports ) which I duly entered.

That was when the fun began.

I ran a check to see if there were any updates, knowing that there would be some, as I was running and old version of KDE.  It came up with a list of 380 updates!  The following morning, I told it to install the updates, but it refused, saying that I had a broken package.  Unfortunately it didn’t tell me which one. 

I hunted the Internet for a solution to my broken package problem and found several suggestions, none of which worked.  One of the suggestions had been to run Aptitude and supposedly it would at least tell me which package was at fault.  It didn’t but during the process I must have hit a wrong key somewhere because it suddenly announced that it was installing and uninstalling a list of programs.  I don’t know where that came from!

To my disgust, one of the programs that Aptitude removed was Oracle VM VirtualBox which I use a lot.  I tried reinstalling it from Software Manager, but it steadfastly refused.  In the end, I downloaded the package and manually installed it. 

At this stage, I was more or less back where I started, but still was none the wiser about broken packages.  I decided to install updates a block at a time, selecting just twenty updates.  That worked.  The strange thing though was that I worked my way through the entire list of 380, and not one update failed.  Weird?

With all the updates installed, I tried to run KDE by logging out and logging in again.  No go.  For some reason, I was only presented with Gnome as an option.  Back to the drawing board.

I can’t remember the exact details, but my next step was to install KDE 4.6.00 directly from Kubuntu.  That worked.  At last.

KDE 4.6.00 running Windows 7 within VirtualBox
KDE 4.6.00 running Windows 7 within VirtualBox

I used KDE for the rest of the day, and it was good.  There were a lot of features I liked, but I won’t be using it.  My distro download (which is now officially released) is tucked away for emergencies, but I won’t be installing it.  Why not?  Partly because I am so used to Gnome at this stage, but mainly because I found KDE to be a lot slower despite this laptop having 4Gb of memory.

Where I would recommend Linux Mint 10 KDE though is for someone who would like to try a Linux distro but is afraid of it being too different from Windows.  KDE 4.6.00 is a lot closer to Windows than Gnome, and would be an excellent introduction to Linux.

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

Installing Adobe Air on a 64-bit Linux Mint

A Pipe and a Keyboard Posted on January 5, 2011 by RichardMay 9, 2016

For various reasons, I decided to reformat my Linux partition recently.

One of the things I like about Linux Mint is its fast and reliable install.  I had my Mint 10 [Julia] 64-bit DVD already burned so it was simply a matter of banging it into the drive and letting it run.

Everything went as smoothly as I expected and I then set about installing all the applications I use. Again, with Mint, this is utter simplicity, and all that is really required is a little time.

I had forgotten about Adobe Air however.

For reasons unknown, Adobe have no 64-bit version of their Air installer, and any attempt to run the provided adobeair.deb will fail miserably.  However, I had done it before but hadn’t bothered writing down the instructions.  Big mistake!  What was worse, it was a nightmare trying to find the fix I had used before.

-oOo-

The rest of this article has become obsolete, as Adobe have removed Adobe Air 32 bit from their site.

I have an old copy of my modified Adobe Air 64 bit DEB file which can be downloaded from here.  It has worked every time for me so it should work for you!

If Adobe ask me to remove the file then I shall of course remove it, but in the meantime……….

-oOo-

I never did find my old fix, but have found a way around which works very well.  I am writing it up as a reference for the future, and it maybe help others in the same situation.

Download adobeair.deb from the normal location.  This is the 32-bit version so don’t try to run it.

Open a terminal in the download folder and create a temp directory –

mkdir temp

Next, extract the downloaded file into the temp directory –

dpkg-deb -x adobeair.deb temp

Now extract the control files –

dpkg-deb --control adobeair.deb temp/DEBIAN

Change the architecture from ‘i386’ to ‘all’ –

sed -i "s/i386/all/" temp/DEBIAN/control

All that remains now is to create a new DEB file –

dpkg -b temp adobeair64.deb

Now all that remains is to install the package –

sudo dpkg -i adobeair64.deb

It worked flawlessly for me, and I was immediately able to install Tweetdeck, amongst other things.

Posted in Linux | Tagged Linux | 42 Replies

The Linux adventure continues

A Pipe and a Keyboard Posted on October 5, 2010 by RichardOctober 5, 2010

I have always considered Linux to be a bit of a geeky system.

I had hoped that with time, the front end would make things simpler, in the same way that Windows more or less made DOS obsolete. That isn’t the case.

The more I have used it, the more I like it. It is extremely fast, solid and also versatile. It is now my default operating system, so all I have to do is switch on the laptop and leave it to boot up. I only have to hover over the keyboard if I want to go into Windows.

In my last post, I mentioned how I was having problems with reinstalling Linux in a virtual file. I still haven’t solved that problem (despite having put an appeal out on the forums), but am developing a couple of theories. One is that apparently a hard disk can only handle four primary partitions? I had never heard this before but it could be the reason for my problem. My hard disk came with three partitions already set up. There is one small one that has an uncertain function. There is another that contains the factory restore code and then there is the main one which is around 320 Gb in size. My first job was to split that into and OS partition and a Data partition, not realising that I had now used up all my four partitions. Some day, I may restore to the factory default and then leave Windows in one partition and Linux in another.

Because I wasn’t able to reinstall, I had to get by by restoring my Linuxmint directory, and that is what I’m working off at the moment. I was also stuck with the size I had originally specified, which was 19Gb. This filled up pretty rapidly leaving me with a setup that lacked flexibility. I hunted the Internet and came up with a solution. Apparently, Linux is able to increase a file size without recreating it. I did say that Linux was flexible?

I tried it out last night and it worked. Or at least it partly worked. This is what I did.

My NTFS Data partition is the one that hold my Linux install. Linux is mounted in a folder called “linuxmint”, in two main files – “root.disk” and “swap.disk”. I can access these files directly from Linux using the path /host/linuxmint/disks/.

Using Terminal as Root I used the following –

cd /host/linuxmint/disks
dd if=/dev/zero bs=1M count=10240 >> root.disk
e2fsck -f root.disk
resize2fs root.disk

The second line is the one that does the main work. It takes a very long time to run, and it is set to increase the size of root.disk by 10Gb. This can be varied by changing the value of “count”.

My problem now is that “root.disk” is 29Gb in size which is exactly what I intended, but when I examine the properties of any directory in Linux, it tells me that the disk size is still only 19Gb. Somehow i have to work out a solution to this little conundrum.

I will say one more thing in favour of Linux –

It certainly keeps an old man’s brain active!

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

Post navigation

<< 1 2 … 7 8 9 10 11 >>

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
↑