liam_on_linux: (Default)
In the context of the `apt` command, `update` means "refresh the database containing the current index of what versions are in the configured repositories". It does not install, remove, upgrade or change any installed software.

I wonder if this is because of people lacking historical context?

The important things to know are 3 concepts: dependencies, recursion, and resolution.

The first Linux distributions, like SLS and Yggrasil and so on, were built from source. You want a new program? Get the source and compile it.

Then package managers were invented. Someone else got the source, compiled it, bundled it up in a compressed archive with any config files it needed and instructions for where to put its contents on your computer.

As programs got more complex, they were built using other programs. So the concept of "dependencies" appeared. Let's say text editor "Superedit" can import RTF (Revisable Text Format) files, and save RTF (Rich Text Format) files. It does not read these formats itself: it uses another tool, rich_impex, and rich_impex needs rft_import and rtf_export.

(Note: RTF and RFT are real formats and they are totally different and unrelated. I picked them intentionally as their names are so similar.)

If you need a new version of Superedit, then you first need new version of rich_impex. But rich_impex needs rtf_import and rtf_export.

So in the early days of Linux with package managers, e.g. Red Hat Linux 4, if you tried to install superedit.2.rpm, it would fail, saying it needed rich_impex-1.1.rpm. This is called a dependency.

And if you tried to install rich_impex-1.1.rpm, it said you needed rft_import 1.5 and rtf_export 1.7.

So to install Superedit 2, you had to try, fail, note down the error, then go try to install rich_impex, which would fail, then note down the error, then go install rft_import 1.5, and rtf_export 1.7.

THEN you could install rich_impex 1.1.

THEN you would find that it was now possible to install superedit_2.rpm.

It was a lot of work. Installing something big, like KDE 1, would be almost impossible as you had to go find hundreds of these dependencies, by trial and error. It could take days.

Debian was the first to fix this. To its package manager, dpkg, it added another tool on top: apt.

Apt did automatic dependency resolution. So when you tried to install superedit 2, it would check and find that superedit-2 needed rich_impex-1.1 and install that for you.

This is no use if it does 1 level and stops. It would fail when it couldn't install rich_impex because that in turn had its own dependencies.

So what is needed is a tool that goes, installs your dependencies, and their dependencies, and their dependencies, all the way down, starting with the ends of each chain. This requires a  programming technique called recursion:
https://dev.to/rapidnerd/comment/62km

Now, let's imagine that superedit-2, which depends on rich_impex, which depends on rft_import and rtf_export.

But sadly, the maintainer of rft_import got run over by a bus and died. So, no new versions of rft_import. That means no new version of rich_impex which means no new version of superedit.

So someone comes along, reads the source code of rft_import, thinks they could do it better, and writes their own routine. They call it import_rft because they don't want to have to fix any bugs in rft_import.

The writer of rich_impex does a new version, rich_impex 2. They switch the import filter, so rich_impex 2 uses import_rtf 1.0 and rft_export 1.8.

Superedit 3 also comes out and it uses rich_impex 2. So if you want to upgrade from superedit 2 to superedit 3, you need to upgrade rich_impex 2 to v3. To get rich_impex 3, you need to remove rft_import and install a new dependency, import_rft.

When you start doing recursive solution to a problem, you don't know where it's going to go. You find out on the way.

So apt has 2 choices:

[1] recurse, install newer versions of anything needed, until you can upgrade the target package (which could be "all packages"), but don't add anything that isn't there

OR

[2] recurse, install all newer versions of anything needed INCLUDING ADDING NEW PACKAGES, until the entire distribution has been upgraded

#1 is meant for 1 program at a time, but you can tell it to do all programs. But it won't add new packages.

So if you use `apt-get upgrade` you will not get superedit 3, because to install superedit 3, it will have to install rich_impex 2, and that means it would need to remove rft_import and install import_rft instead. `upgrade` won't do that -- it only installs newer versions. So your copy of superedit will be stuck at v2.

#2 is meant for upgrading the whole installed system to the latest version of all packages, including adding any new requirements it needs on the way.

If you do it, it will replace superedit 2 with superedit 3, because `dist-upgrade` has the authority to remove the rft_import module and install a different one, import_rft, in its place.

Neither of them will rewrite the sources listed in /etc/apt/sources.list. Neither of them will ever upgrade the entire distro to a new release. Neither of them will ever move from one major release of Ubuntu or Debian or Crunchbang or Mint or Bodhi or whatever to a new release.

All they do is update that version of the distribution to the newest version of that release.

"Ubuntu 20.04" is not a distribution. "Ubuntu" is the distribution. "20.04" is a release of the distribution. It's the 32nd so far. (W, H, B, D then through the alphabet from E to Z, then back to A. Now we're at F again.)

So `dist-upgrade` does not upgrade the release. It upgrades your whole DISTRO but only to the latest version of that release.

If you want a new release then you need `do-release-upgrade`.

Do not use `apt upgrade` for upgrading the whole distro; `apt dist-upgrade` does a more thorough job. `apt upgrade` will not install superedit 3 because it won't add new packages or remove obsolete ones.

In the old days, you should have used `apt-get dist-upgrade` because it will replace or remove obsoleted dependencies.

Now, you should use `apt full-upgrade` which does the same thing.

Relax. Rest assured, neither will ever, under any circumstances, upgrade to a new release.
liam_on_linux: (Default)
A response to a Reddit question.

I can only agree with you. I have blogged and commented enough about this that I fear I am rather unpopular with the GNOME developer team these days. :-(

The direct reason for the sale is that in founder Mark Shuttleworth's view, Ubuntu's bug #0 has been closed. Windows is no longer the dominant OS. There are many more Linux server instances, and while macOS dominates the high-end laptop segment, in terms of user-facing OSes, Android is now dominant and it is based on the Linux kernel.

His job is done. He has helped to make Linux far more popular and mainstream than it was. Due to Ubuntu being (fairly inarguably, I'd say) the best desktop distro for quite a few years, all the other Linux vendors [disclaimer: including my employer] switched away from desktop distros and over to server distros, which is where the money is. The leading desktop is arguably now Mint, then the various Ubuntu flavours. Linux is now mainstream and high-quality desktop Linuxes are far more popular than ever and they're all freeware.

Shuttleworth used an all-FOSS stack to build Thawte. When he sold it to Verisign in 1999, he made enough that he'd never need to work again. Ubuntu was a way for Shuttleworth to do something for the Linux and FOSS world in return.

It's done.

Thus, Shuttleworth is preparing Ubuntu for an IPO and floatation on the public stock market. As part of this, the company asked the biggest techie community what they'd like to see happen: https://news.ycombinator.com/item?id=14002821

The results were resounding. Drop all the Ubuntu-only projects and switch back to upstream ones. Sadly, this mostly means Red Hat-backed projects, as it is the upstream developer of systemd, PulseAudio, GNOME 3, Flatpak and much more.

Personally I am interested in non-Windows-like desktops. I think the fragmentation in the Linux desktop market has been immensely harmful, has destroyed the fragile unity (pun intended) that there was in the free Unix world, and the finger of blame can be firmly pointed at Microsoft, which did this intentionally. I wrote about this here: https://www.theregister.co.uk/Print/2013/06/03/thank_microsoft_for_linux_desktop_fail/

The Unity desktop came out of that, and that was a good thing. I never like GNOME 2 much and I don't use Maté. But Unity was a bit of a lash-up behind the scenes, apparently, based on a series of Compiz plugins. It was not super stable and it was hard to maintain. The unsuccessful Unity-2D fork was killed prematurely (IMHO), whereas Unity 8 (the merged touchscreen/desktop version) was badly late.

There were undeniably problems with the development approach. Ubuntu has always faced problems with Red Hat, the 800lb gorilla of FOSS. The only way to work with a RH-based project is to take it and do as your told. Shuttleworth has written about this.
https://www.markshuttleworth.com/archives/654
(See the links in that post too.)

Also, some contemporary analysis: https://www.osnews.com/story/24510/shuttleworth-seigo-gnomes-not-collaborating/

I am definitely not claiming that Ubuntu always does everything right! Even with the problems of working with GNOME, I suspect that Mir was a big mistake and that Ubuntu should have gone with Wayland.

Cinnamon seems to be sticking rather closer to the upstream GNOME base for its different desktop. Perhaps Unity should have been more closely based on GNOME 3 tech, in the same way.

But IMHO, Ubuntu was doing terrifically important work with Unity 8, and all that has come to nothing. Now the only real convergence efforts are the rather half-hearted KDE touchscreen work and the ChromeOS-on-tablet work from Google, which isn't all-FOSS anyway TTBOMK.

I am terribly disappointed they surrendered. They were so close.

I entirely agree with you: Unity was _the_ best Linux desktop, bar none. A lot of the hate was from people that never learned to use it properly. I have seen it castigated for lacking stuff that is basic built-in functionality that people never found how to use.

In one way, Unity reminded me of OS/2 2: "a better DOS than DOS, a better Windows than Windows." And it *was*! Unity was a better Mac OS X desktop than Mac OS X. I'm typing on a Mac now and there's plenty of things it can't do that Unity could. Better mouse actions. *Far* better keyboard controls.

I hope that the FOSS forks do eventually deliver.

Meantime, I reluctantly switched to Xfce. It's fine, it works, it's fast and simple, but it lacks functionality I really want.
liam_on_linux: (Default)
I've been playing a bit with the new LTS edition of Ubuntu in VMs. As of the last version, Ubuntu abandoned its homegrown Unity desktop -- a pragmatic business decision, but one that personally dismayed me as it was by far my favourite Linux desktop environment.

The last release of Ubuntu, 17.10, featured GNOME 3 as the default desktop, and I didn't like it at all. I even made it onto Hacker News!

But now, the rough edges have been smoothed off a little -- as they should, as this is a long-term support release and will be the current Ubuntu for 2 years for many people.

It's improved. I don't like it, but it's better. OMGUbuntu has done its usual things to do after you install piece and makes some good points. The only thing I'd question is the themes one -- all right, and maybe the need for Snap/Flatpak, but fair enough.

But here are my suggestions for a few tweaks that I find really useful, though...

"Extend Panel Menu" -- https://extensions.gnome.org/extension/1201/extend-panel-menu/

UPDATE: now replaced by "Panel Indicators" -- https://extensions.gnome.org/extension/2416/panel-indicators/

Splits the combined system menu back into separate options, and moves the clock over to the right where it belongs.

"Pixel Saver" -- https://extensions.gnome.org/extension/723/pixel-saver/

Merges the title bar of maximised windows with the top panel. Not as elegant as the Unity way (there's no menu so the panel remains mostly wasted space; the window controls get mixed in with your status indicators) but it works.

"Dash to Dock" -- https://extensions.gnome.org/extension/307/dash-to-dock/

The full version of the tool Ubuntu uses to make the "launcher" into a dock.

"Topicons Plus" -- https://extensions.gnome.org/extension/1031/topicons/

This puts app indicators in the panel where they belong.

I personally also add "Hide activities button" and "no topleft hot corner" but they might be more controversial. :-)

I also install the un-castrated Cinnamon file manager, Nemo, and make it manage the desktop: https://askubuntu.com/questions/294421/how-do-i-install-nemo-file-manager

Saying all that, I still don't like GNOME 3 much. I am currently pondering upgrading my personal travel laptop to the new edition, or waiting for a while and reinstalling with a Unity remix.
liam_on_linux: (Default)
Something I seldom see mentioned, but I use a lot, is Linux systems installed directly onto USB sticks (pendrives).

No, you can't install from these, but they are very useful for system recovery & maintenance.

There are 2 ways to do it.

[1] Use a diskless PC, or disconnect your hard disk.

This is fiddly.

SUSE has some info on how to do this.

[2] Use a VM.

VirtualBox is free and lets you assign a physical disk drive to a VM. It's much harder to do this than it is in VMware -- it requires some shell commands to create, and other ones every time you wish to use it -- but it does work.

Here's how:

http://www.sysprobs.com/access-physical-disk-virtualbox-desktop-virtualization-software

Read the comments!

Every time you want to run the VM, you must take ownership of the USB device's entry in /dev

E.g.

chown lproven:lproven /dev/sdc

N.B. This may require sudo.

Then the VM works. If you don't do this, the VM won't start and will give an unhelpful error message about nonexistent devices, then quit.

(It's possible that you could work around this by running VirtualBox as root, but that is not advisable.)

The full Unity edition of Ubuntu 16.04 will not install on an 8GB USB key, but Lubuntu will. I suspect that Xubuntu would also be fine, and maybe the Maté edition. I suspect but have not tested that KDE and GNOME editions won't work, as they're bigger. They'd be fine on bigger keys, of course, but see the next paragraph.

Also note that desktops based on GNOME 3 require hardware OpenGL support, and thus run very badly inside VMs. This includes GNOME Shell, Unity & Cinnamon, and in my experience, KDE 4 & 5.

Installation puts GRUB in the MBR of the key, so it boots like any other disk.

Hints:

  • Partition the disk as usual. I suggest no separate /home but it's up to you. A single partition is easiest.

  • Format the root partition as ext2 to extend flash media life (no journalling -> fewer writes)

  • Add ``noatime'' to the /etc/fstab entry for the root volume -- faster & again reduces disk writes

  • No swap. Swapping wears out flash media. I install and enable ZRAM just in case it's used on low-RAM machines: http://askubuntu.com/questions/174579/how-do-i-use-zram

  • You can add VirtualBox Guest Additions if you like. The key will run better in a VM and when booted on bare metal they just don't activate.

I then update as normal.

You can update when booted on bare metal, but if it installs a kernel update, then it will run ``update-grub'' and this will add entries for any OSes on that machine's hard disk into the GRUB menu. I don't like this -- it looks messy -- so I try to only update inside a VM.

I usually use a 32-bit edition; the resulting key will boot and run 64-bit machines too and modern versions automatically run PAE and use all available RAM.

Sadly my Mac does not see such devices as bootable volumes, but the keys work on normal PCs fine.

EDIT: It occurs to me that they might not work on UEFI PCs unless you create a UEFI system partition and appropriate boot files. I don't have a UEFI PC to experiment with. I'd welcome comments on this.

Windows can't see them as it does not natively understand ext* format filesystems. If you wish you can partition the drive and have an exFAT (or whatever format you prefer) data partition as well, of course.

I also install some handy tools such as additional filesystem support (exFAT, HFS etc.), GParted, things like that.

I find such keys a handy addition to my portable toolkit and have used them widely.

If you wish and you used a big enough key, you could install multiple distros on a single key this way. But remember, you can't install from them.

I've also found that the BootRepair tool won't install on what it considers to be an installed system. It insists on being installed on a live installer drive.

If you want to carry around lots of ISO files and choose which to install, a device like this is the easiest way:

http://www.zalman.com/contents/products/view.html?no=212
liam_on_linux: (Default)
So a regular long-term member of one of the Ubuntu lists is saying that they don't trust Google to respect their privacy. This from someone who runs Opera 12 (on Ubuntu with Unity) because they had not noticed it had been updated... for three years.

I realise that I could have put this better, but...

As is my wont, I offered one of my favourite quotes:

Scott McNeally, CEO and co-founder of Sun Microsystems, said it best.

He was put on a panel on internet security and privacy, about 20y ago.

Eventually, they asked the silent McNeally to say something.

He replied:

"You have no privacy on the Internet. Get over it."

He was right then and he's right now. It's a public place. It's what it's for. Communication, sharing. Deal with it.

Run current software, follow best-practice guidelines from the like of SwiftOnSecurity on Twitter, but don't be obsessive about it, because it is totally pointless.

You CANNOT keep everything you do private and secure and also use the 21st century's greatest communications tool.

So you choose. Use the Internet, and stop panicking, or get off it and stay off it.

Your choice.

Modern OSes and apps do "phone home" about what you're doing, yes, sure.

This does not make them spyware.

http://www.zdnet.com/article/revealed-the-crucial-detail-that-windows-10-privacy-critics-are-missing/?tag=nl.e539&s_cid=e539&ttag=e539&ftag=TRE17cfd61

You want better software? You want things that are more reliable, more helpful, more informative?

Yes?

Then stop complaining and get on with life.

No? You want something secure, private, that you can trust, that you know will not report anything to anyone?

Then go flash some open-source firmware onto an old Thinkpad and run OpenBSD on it.

There are ways of doing this, but they are hard, they are a lot more work, and you will have a significantly degraded experience with a lot of very handy facilities lost.

That is the price of privacy.

And, listen, I am sorry if this is not what you want to hear, but if you are not technically literate enough to notice that you're running a browser that has been out of date for 3 years, then I think that you are not currently capable of running a really secure environment. I am not being gratuitously rude here! I am merely pointing out facts that others will be too nervous to do.

You cannot run a mass-market OS like Windows 10, Mac OS X or Ubuntu with Unity and have a totally secure private computer.

You can't. End of. It's over. These are not privacy-oriented platforms.

They do exist. Look at OpenBSD. Look at Qubes OS.

But they are hard work and need immense technical skill -- more than I have, for instance, after doing this stuff for a living for nearly 30y. And even then, you get a much poorer experience, like a faster 1980s computer or something.

As it is, after being on my CIX address for 25 years and my Gmail address for 12, all my email goes through Gmail now -- the old address, the Hotmail and Yahoo spamtraps, all of them. I get all my email, contacts and diary, all in one place, on my Mac and on both my Linux laptops and on both my Android and Blackberry smartphones. It's wonderful. Convenient, friendly, powerful, free, cross-platform and based on FOSS and compatible with FOSS tools.

But it means I must trust Google to store everything.

I am willing to pay that price, for such powerful tools for no money.

I am a trained Microsoft Exchange admin. I could do similar with Office 365, but I've used it, and it's less cross-platform, it's less reliable, it's slower, the native client tools are vastly inferior and it costs money.

Nothing much else could do this unless I hosted my own, which I am technically competent to do but would involve a huge amount of work, spending money and still trusting my hosting provider.

You have a simple choice. Power and convenience and ease, or, learning a lot more tech skills and privacy but also inconvenience, loss of flexibility and capability and simplicity.

You run a closed-source commercial browser on what [another poster] correctly points out is the least-private Linux distro that there is.

You have already made the choice.

So please, stop complaining about it. You chose. You are free to change your mind, but if you do, off to OpenBSD you go. Better start learning shell script and building from source.
liam_on_linux: (Default)
(Repurposed CIX post.)

Don’t get me wrong. I like Apple kit. I am typing right now on an original 1990 Apple Extended II keyboard, attached via a ABD-USB convertor to a Core i5 Mac mini from 2011, running Mac OS X 10.10. It’s a very pleasant computer to work on.

But, to give an example of the issues — I also have an iPhone. It’s my spare smartphone with my old UK SIM in it.

But it’s an iPhone 4. Not a lot of RAM, under clocked CPU, and of course not upgradable.

So I’ve kept it on iOS 6, because I already find it annoyingly slow and iOS 7 would cause a reported 15-25% or more slowdown. And that’s the latest it will run.

Which means that [a] I can’t use lots of iPhone apps as they no longer support iOS 6.x and [b] it doesn’t do any of the cool integration with my Mac, because my Mac needs a phone running iOS 8 to do clever CTI stuff.

My old 3GS I upgraded from iOS 4 to 5 to 6, and regretted it. It got slower & slower and Apple being Apple, *you can’t go back*.

Apple kit is computers simplified for non-computery people. Stuff you take for granted with COTS PC kit just can’t be done. Not everything — since the G3 era, they take ordinary generic RAM, hard disks, optical drives, etc. Graphics cards etc. can often be made to work; you can, with work, replace CPUs and runs OSes too modern to be supported.

But it takes work. If you don’t want that, if you just max out the RAM, put a big disk in and live with it, then it’s fine. I’m old enough that I want a main computer that Just Works and gives me no grief and the Mac is all that and it cost me under £150, used. The OS is of course freeware and so are almost all the apps I run — mostly FOSS.

I like FOSS software. I use Firefox, Adium, Thunderbird, LibreOffice, Calibre, VirtualBox and BOINC. I also have some closed-source freeware like Chrome, Dropbox, TextWrangler and Skype. I don’t use Apple’s browser, email client, chat client, text editor, productivity apps or anything. More or less only iTunes, really.

What this means is that I can use pretty much the same suite of apps on Linux, Mac and Windows, making switching between them seamless and painless. My main phone runs Android, my travelling laptop is a 2nd-hand Thinkpad with the latest Ubuntu LTS on it.

As such, many of the benefits of an all-Apple solution are not available to me — texting and making phone calls from the desktop, seamless handover of file editing from desktop to laptop to tablet, wireless transparent media sync between computers and phone, etc.

I choose not to use any of this stuff because I don’t trust closed file formats and dislike vendor lock-in.

Additionally, I don’t like Apple’s modern keyboards and trackpads, and I like portable devices where I can change the battery or upgrade the storage. So I don’t use Apple laptops and phones and don’t own a tablet. iPads are just big iPhones and I don’t like iPhones much anyway. The apps are too constrained, I hate typing on a touchscreen “keyboard” and I don’t like reading book-length texts from a brightly-glowing screen — I have a large-screen (A4) Kindle for ebooks. (Used off eBay, natch.) TBH I’d quite like a backlight on it but the big-screen model doesn’t offer one.

But I don’t get that with Ubuntu. I never used UbuntuOne; I don’t buy digital content at all, from anyone; my Apple account is around 20 years old and has no payment method set up on it. I have no lock-in to Apple and Ubuntu doesn’t try to foist it on me.

With Ubuntu, *I* choose the laptop and I can (and did) build my own desktops, or more often, use salvaged freebies. My choice of keyboard and mouse, etc. I mean, sure, the Retina iMac is lovely, but it costs more than I’m willing to spend on a computer.

Android is… all right. It’s flakey but it’s cheap, customisable (I’ve replaced web browser, keyboard, launcher and email app, something Apple does not readily permit without drastic limitations) and it works well enough.

But it’s got bloatware, tons of vendor-specific extensions and it’s not quick.

Ubuntu is sleek as Linuxes go. I like the desktop. I turn off the web ads and choose my own default apps and it’s perfectly happy to let me. I can remove the built-in ones if I want and it doesn’t break anything.

If I could get a phone that ran Ubuntu, I’d be very interested. And it might tempt me into buying a tablet.

I’ve tried all the leading Linuxes (and most of the minor ones) and so long as you’re happy with its desktop, Ubuntu is the best by a country mile. It’s the most polished, best-integrated, it works well out of the box. I more or less trust them, as much as I trust any software vendor.

The Ubuntu touch offerings look good — the UI works well, the apps look promising, and they have a very good case for the same apps working well on phone and tablet, and the tablet becoming a usable desktop if you just plug a mouse in.

Here’s a rather nice little 3min demo:
https://www.youtube.com/watch?v=c3PUYoa1c9M

Wireless mouse turned on: desktop mode, windows, title bars, menus, etc.
Turn it off, mid-session: it’s a tablet, with touch controls. *With all the same same apps and docs still open.*
Mouse back on: it’s in desktop mode again.

And there’s integration — e.g. phone apps run full-size in a sidebar on a tablet screen, visible side-by-side with tablet apps.

Microsoft doesn’t have this, Apple doesn’t, Google doesn’t.

It looks promising, it runs on COTS hardware and it’s FOSS. What’s not to like?

I suspect, when the whole plan comes together, that they will have a compelling desktop OS, a compelling phone OS and a compelling tablet OS, all working very well together but without any lock-in. That sounds good to me and far preferable to shelling out thousands on new kit to achieve the same on Apple’s platform. Because C21 Apple is all about selling you hardware — new, and regularly replaced, too — and then selling you digital content to consume on it.

Ubuntu isn’t. Ubuntu’s original mission was to bring Linux up to the levels of ease and polish of commercial OSes.

It’s done that.

Sadly, the world failed to beat a path to its door. It’s the leading Linux and it’s expanded the Linux market a little, but Apple beat it to market with a Unix that is easier, prettier and friendlier than Windows — and if you’re willing to pay for it, Apple makes nicer hardware too.

But now we’re hurtling into the post-desktop era. Apple is leading the way; Steve Jobs finally proved his point that he knew how to make a tablet that people wanted and Bill Gates didn’t. Gates’ company still doesn’t, even when it tries to embrace and extend the iPad type of device: millions of the original Surface tablets are destined for landfill like the Atari ET game and Apple Lisa. (N.B. *not* the totally different Surface Pro, but people use it as a lightweight laptop.)

But Apple isn’t trying to make its touch devices replace desktops and laptops — it wants to sell both.

Ubuntu doesn’t sell hardware at all. So it’s trying to drag proper all-FOSS Linux kicking and screaming into the twenty-twenties: touch-driven *and* by desk-bound hardware-I/O, equally happy on ARM or x86-64, very shiny but still FOSS underneath.

The other big Linux vendors don’t even understand what it’s trying to do. SUSE does Linux servers for Microsoft shops; Red Hat sells millions of support contracts for VMs in expensive private clouds. Both are happy doing what they’re doing.

Whereas Shuttleworth is spending his millions trying to bring FOSS to the masses.

OK, what Elon Musk is doing is much much cooler, but Shuttleworth’s efforts are not trivial.
liam_on_linux: (Default)
Back in early September, Ubuntu announced that the nightly builds of Ubuntu now supported their new Mir display server, the planned replacement for X.org.

So I tried it. My impressions from that time were:

<<
As of last night - very late last night - I have Ubuntu "Saucy Salamander" up & running with the Mir display server. I am really quite excited about this. Glitches everywhere, but it works!

It's what would have been beta 1 if they still did things like alpha & beta releases, which they don't, because the SABDFL knows all and we must trust in his wisdom. Or something.

Also, I was very amused to read its kernel startup messages.

The kernel version is "Linux 3.11 for Workgroups", & it says:

MODSIGN: Loaded cert 'Magrathea: Glacier signing key XXXXX'

... during boot. :-)
>>

Soon after, I was horrified to discover the vconsole bug.

But it's getting there.

A fortnight later, ish, I've had another look at the alpha.

It's improved, significantly. They've fixed the security issue - stuff typed in a vconsole no longer appears in the foreground XMir app.

There is still a fair bit of screen flickering, but substantially less. From a quick play, I'd go so far as to say it's usable now; it's gone from horrible to merely distracting. It's the sort of thing I probably lived with in the era of OS/2 2 and Windows 3. :¬)

It's not there yet, not ready for prime-time, but then, they have about a month to go. I'd say it was approaching beta-ready.
liam_on_linux: (Default)
A couple of months ago, I tried to update my 2007 Toshiba Satellite Pro P300-1AY laptop from Ubuntu 12.04 to 13.04. It failed, badly -- my AMD RV620 GPU is no longer supported by fglrx, the proprietary AMD/ATI graphics driver. But Ubuntu used it anyway, resulting in a broken GUI.
Read more... )
liam_on_linux: (Default)
I had problems with this a few years back, but the fix has changed now. Merely installing the Virtualbox Additions does not seem to be enough to get hardware OpenGL working. Also, the instructions I've found only mention Fedora.

To see if you are running with hardware or software rendering, use the command ``glxinfo''. You'll need to install the ``mesa-utils'' package; the info you're after is on the first page of output from glxinfo, so pipe it through ``less'' like so:

glxinfo | less

Read more... )
liam_on_linux: (Default)
I quite like VirtualBox. Yes, VMWare has strengths, but VBox works a treat, does the seamless-desktop thing with certain
hosts/guests, and basically why pay?

I use VMware Player when I'm doing stuff that requires direct USB access - it's a lot less hassle than VBox for that. You need to run it with admin rights, though, which is a snag.

But when I am revewing operating systems, I tend not to use virtual machines.  I mean, sure, they work, but - for instance - one will not feel or experience the ways in which Ubuntu is a lot better than Windows unless one's running it on the actual hardware. E.g. the fast boot and shutdown times, the improved performance one gets when one doesn't need an antivirus program scanning every sodding disk access and all the crap that runs in the background in Windows.

Raw Ubuntu is quicker and feels quicker, and personally, I prefer the UI to Windows 7's. Win7 is the result of 17 years of work on the Win95 Explorer and yet in some ways it's inferior to the original. I preferred the original taskbar and the original file manager,  TBH.

Ubuntu is a breath of fresh air.

And if Ubuntu is nice and quick, then the stripped-down "remixes" of it, such as Lubuntu and Bodhi Linux, can be breathtaking. You don't get a real feel for that in a VM.

Another issue is drivers. There's the delightful way that Linux and Mac OS X just use generic drivers, rather than Windows' endless dicking around with that vendor's particular driver for that rebranded Taiwanese POS and the pointless fucking icon it sticks in your notification area.

There's the joy of no serial numbers, no activation, and an OS that you can just copy onto an external drive or onto an entirely different PC with totally different hardware and which Just Works™ without falling in a heap because the drive controller chipset has changed or because you've changed more bits of hardware than some evil fatcat bastard's minions in Seattle have decided you're allowed to.

You don't get any of that in a VM.

Running an OS in a VM is like trying to understand what it's like to pet a cat, or perhaps cuddle a baby if you like the things, when it's in an isolation chamber and your arms are in giant rubber gloves and you're peering at it through a small window.

Yeah, it's better than nothing, but it's Not The Same. You don't get a real feel for it.
liam_on_linux: (Default)
Since none of my spare or test machines have hardware 3D, I was unable to try it until recently. Then I was testing an MSI Wind Top all-in-one touchscreen Atom PC as part of the Simplicity Computers project. (We've decided against it now.)

(The Wind Top works OK with *buntu, but for one entertaining bug: the axes on the touchscreen are reversed. Move your finger left, the pointer goes right; move finger up, pointer goes down. Install the drivers and config to fix this (which depends on HAL, and so doesn't work right on modern *buntu) and the screen image moves offcentre and goes all blurry, so though the touchscreen now works, you can barely read anything, it's all ugly, and the picture is offset about 5mm vertical & 1cm horizontal from where it should be and thus where the pointer is. As it's an all-in-one, there are no screen geometry controls, hardware or software. At which point, we gave up and sent it back.)

Anyway, I got Natty alpha 3 or so working on it.

Compiz crashes more times than Aeroflot in volcano season, taking the "desktop" - not that that word is accurate any more - with it.

The autohiding menu bar is insane, combining the worst of MacOS (menus randomly changing depending which window is active and having no spacial association with whichever window they control - if they control any visible window) and the worst of the Amiga (on which menus are hidden unless you whack the mouse up to the top of the screen and then right-click.) It's about as discoverable as Minoan Linear A.

The NotADockHonest™ is weird and feels raw and unfinished, not like something that shipped as part of Ubuntu 10.04 and 10.10 Netbook Remix. I don't like it as much as the Mac OS X Dock - and I don't like that much - but I am prepared to give the Unity Dock time. Maybe I'll adapt to it.

I mean, I don't like GNOME panels much, either, after all. They're much more customisable than Windows ones, except not in the ways I want (e.g. vertical orientation (b0rked), e.g. large panels but small icons; (no, you can't have that. And you can't have any pudding, either. Bad user, no biccie.))

(Incidentally again, if you like vertical docks and panels, Docky and GLX-Dock and AWM are all broken, too. If you want a nice, attractive dock that actually works quite well in a vertical orientation, try ADeskBar. It's good. Best I've found for Linux yet. Homepage seems to be down, though.)

Mind you, after a little playing, I like the WindowMaker docks much less than OS X ones. (I mean, no labels or tooltips? You are taking the mickey, right?)

But so far, the new Ubuntu 11.04 layout, from a play with a flaky, unstable implementation, just felt like it wasn't something powerful and capable enough to run a PC with. Not yet.

I have no choice but to stick with GNOME 2 on my laptop. It's seven years old, but rock-solid and nicely fast & responsive with Maverick. Much much better than Windows XP on the same hardware. But its ATI Radeon Mobility - actually a 16MB Rage II or III, roughly - doesn't work with Compiz and to give good performance (and to be able to drive a 1280×1024 external monitor) it has to be dropped to 65K colours.

Which Ubuntu provides no UI at all to do, of course.

So you have to edit /etc/X11/xorg.conf.

Only *buntu >10.x doesn't have an xorg.conf file any more. So you have to write one of your own. (I found a blank one that can be adapted, which is very handy.)

Once you've done that and got the graphics working, then you might, perhaps, want suspend/wake and hibernate/resume to work. That means adding "nomodeswitch" to the kernel boot parameters.

That means you lose the graphical boot sequence (which has the colours corrupted on this machine, anyway.)

So you might want to add "vga=791" to the kernel boot params too, to get a graphical boot back, in the same resolution as your desktop.

After doing all this, it works like a dream and is really nice, but forget any hardware 3D, so forget the Netbook interface - or the new Unity one. And also, I think, that means forget GNOME 3, as well.

The obscure and poorly-supported make of this weirdly non-standard machine?

IBM.

Not Lenovo, actual IBM. It's from 2004. A Thinkpad X31.

Saying all that, I still prefer *buntu to the alternatives.

But I think that as of or after Natty, I might be going over to Linux Mint full-time...

Mint, of course, is based on GNOME 2 and has no truck with any of this netbook or unity or GNOME 3 business.

But what is going to happen when GNOME 2 is no longer supported or updated, I wonder?

I mean (*shudder*) I might have to go over to KDE. But the ugly, it burnsssssss... I don't want 23,452,356 options to tweak, I want it to work, and it really helps if it looks vaguely professional and smart while it's at it, not like a red/green colourblind 13 year old's LSD nightmare.
liam_on_linux: (Default)
In unrelated news, I had to bring up my main fileserver to retrieve the OpenSolaris & PC-BSD ISOs. Alas, its evaluation copy of Windows 2003 SBS has expired, but I get 1h to pull files off it each reboot, apparently.

I am considering trying to install Windows 2008 Server over the top. I don't care about saving my settings, I just don't want to have to backup & completely reformat. Alas, I seem to have lost my ISO of that.

Going looking, I found that W2k8 R2 is out & it is Micros~1's first ever 64-bit onlyOS. I'd missed this one. It's the server version of Windows 7, basically.

And I had no idea if the fairly-late-model Pentium 4 in my HP Proliant was a 64-bit capable one or not. I know it has hyperthreading, but not if it sports 64-bit extensions.

It doesn't have a mouse of its own and I couldn't get Ubuntu's rdesktop client to connect so I could run CPUID on it, so I tried logging in - only to be told that my time was up and be spanked with a BSOD. Thanks, Redmond.

An idea occurred. I could try booting my 64-bit Ubuntu CD. If it worked, it's 64-bit capable; if it doesn't, it's not.

Well, it's not, and Ubuntu helpfully printed a little message to tell me that I needed an x86-64 CPU and it could only find an x86-32 one. No worries; I am limited to original W2K8 Server then. I am sure I'll cope.

On a whim, I tried my copy of 32-bit Ubuntu 9.10, and to my considerable surprise, not only did it boot but it found the RAID controller and happily mounted my NTFS volume. I tried all manner of Linux distros on this last year - Ubuntu 8.04, 9.04, CentOS and SME Server - and none of them could see the RAID5 volume on its Dell-badged ALI MegaRAID card. So at some point late last year, they fixed the driver in the kernel.

Which was nice.

Which leaves me wondering... try to upgrade it to a newer Windows Server, in which I could do with more experience, or stick Ubuntu on it, which will probably be quicker and easier and more use, and won't date-expire on my in 6mths...?
liam_on_linux: (Default)
One commenter to my big post about VirtualBox the other day - an old mate from CIX, [livejournal.com profile] syllopsium - said that he found VBox's support for OSs other than Windows or Linux to be pretty poor.

So, I thought I'd try the only couple of ISOs I have of OSs that don't belong to either of those families: OpenSolaris (0609 build) and PC-BSD 7.1 (a distro of FreeBSD 7). Interesting both BSD & Solaris are on VBox's list of supported VM types, so I guess they ought to work. Certainly both booted happily from their ISO files, straight into functioning GUIs. OpenSolaris is a live desktop, so I was even able to get Web access from it.

I'm particularly amused by OpenSolaris. It took 2min to boot. On my old PC - an AthlonXP 2800+ with 2G of RAM, so old but not an antique - the same copy of OpenSolaris, burned to a CD, took about 20-25min to boot, and when it did, I had no working Ethernet ports so no working Internet access either. It's a great deal faster in a VM on this machine than on bare metal on the old ones. OK, so, access to a cached ISO file is quicker than a physical optical disk, but not that much faster on the other OSs I have tried. Linux Mint didn't install hugely quicker than on a physical machine - I doubt it was as little as half the time, more like 2/3 of the time.

I must try both of these on the native hardware soon.

I'm discovering some limitations to the XP support, though. It is as one person in CIX:linux (slightly scornfully) described it: "a transparent-desktop job". XP windows do not intermingle with Linux windows; all XP windows form a single layer on the Linux desktop. Either they're all on top or none of them are. Also, in seamless mode, I can't move XP windows off the primary monitor onto my secondary screen - the seamless window is auto-sized to my primary monitor and that's all you get.

Neither of these is killer problems. One that is more awkward is that because GNOME sees the XP VM as a single task, although I have a Spotify window on my Linux desktop, I can't alt-tab to it or select it from the GNOME window selector (when that is actually working, which on a vertical panel is fairly seldom). I think that both VMware Fusion and Parallels on the Mac have solved this.

I still think it's pretty damn fantastic, all the same, mind...

July 2025

S M T W T F S
  1234 5
6789101112
13141516171819
20212223242526
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 08:17 pm
Powered by Dreamwidth Studios