Showing posts with label windowManagers. Show all posts
Showing posts with label windowManagers. Show all posts

Tuesday, January 05, 2010

Imlib problems with mandriva 2010?

I'm trying to debug a windowmaker style dockapp under mandriva 2010 - it's called E Notes for putting post-it (am I allowed to use that phrase?) style reminders around the screen. It needed some fixes to get it to build and then I decided I needed to get my head around imlib (which that dockapp uses) to know what I should be looking for to solve a particular problem - the dock app was giving me windows with a black foreground and a black background so it's hard to tell what's going on :-)

So to get a better knowledge of imlib I googled and tried downloading the program I found here:
Imlib programmers guide
The first one - written for Xlib - is meant to produce a window displaying a specified image until the window is closed - I compiled (no warnings even with -Wall) ran it and I get _nothing_ no output at the command line, no window opens, sits there doing nothing until I Control-C it.

Puzzled, I then tried moving it onto a ubuntu system and once I'd built it there (that's another story, imlib1 is carefully hidden in the karmic release) it runs fine absolutely no problem, image displayed ok

So my feeling is that - at least on this system - imlib1 is broken under mandriva 2010, I have installed (at least including all imlib ish rpms)
imlib-1.9.15-8mdv2010.0
libimlib1-1.9.15-8mdv2010.0
libgdkimlib1-1.9.15-8mdv2010.0
kdepimlibs4-core-4.3.2-1mdv2010.0
libimlib2-devel-1.4.2-2mdv2010.0
libimlib2_1-filters-1.4.2-2mdv2010.0
libimlib2_1-loaders-1.4.2-2mdv2010.0
libimlib-devel-1.9.15-8mdv2010.0
libimlib2_1-1.4.2-2mdv2010.0

I'm using the imlib-1 here, anyone else seen this or has the installed
libs able to try that small app? Maybe I should try building imlib from scratch?

Once it's running I can make the buildable version available on the web and then I can start adding various extra features I have in mind..!

Monday, November 09, 2009

Upgrading to mandriva 2010

I spent a bit of time this weekend upgrading two machines from Mandriva 2009.1 to 2010. Just a few comments and pointers which might be helpful to others.
I started with a machine which is a little lacking in memory (just 256meg), I initially tried an upgrade from DVD but that crashed before getting to the 'do you want to upgrade' question, I assume this was because of the lack of memory. As I wasn't certain whether it was a DVD problem, I mounted the original downloaded ISO image and put the 4gig of rpm files into /var/cache/urpmi/rpms just to avoid having to download them all again. I then attempted to follow the procedure outlined here though I used the command
urpmi --wget --no-verify-rpm --auto-select -v --allow-force that page is a little confusing as to which options to use. This stopped after only upgrading a few packages and I found I had to do a urpmi kernel and then a repeat of the first urpmi --wget --no-verify-rpm --auto-select -v --allow-force to get the upgrade to really start. It went pretty smoothly considering the low power of the machine, I just had to confirm that certain packages really should be upgraded (maybe I should have used the --force option but it's good to know what is being forced!). Upgrade finished, that machine runs kde4 if a little slowly. With fluxbox as a window manager it is very responsive!
Then onto the mailserver (and my main home machine), the upgrade DVD booted without problems and I just set the upgrade going, went to bed, found it had finished next morning and completed the upgrade with a reboot - very, very straightforward. The only two issues so far have been:
  • the loss of the nvidia driver - post upgrade it was using the nv driver which is a little slow for 3D/crack-attack/googleearth, I'd forgotten how to re-install this - go to 'configure your computer' view the hardware, select graphic card and 'configure' and the appropriate (non-open) driver will be downloaded and installed.
  • The other problem has been with sound and amarok, I also like to use fluxbox on this machine, but sound wouldn't work until I logged in with KDE4 as the environment, amarok now works in fluxbox but the sound is choppy (which it isn't with the KDE4 environment. I've turned off pulseaudio but presumably there's something within the kde environment which I need to start manually in fluxbox, but, so far, I've not found it!

Here's the inevitable screen shot of the desktop

Oh, and another thing, mandriva doesn't appear to have an rpm for MyPasswordSafe which I've used for quite a few years to keep all my passwords including the one for kwallet (kde's password system which some applications insist on using), I have a copy of MyPasswordSafe in /usr/local/bin which runs fine in fluxbox but falls over with kde4 which is a bit of a problem!! The code off the app website won't build on this system claiming that ui file is too old (pre KDE 3.3) - but the latest version of Ubuntu has a working MyPasswordSafe in its repository, maybe I need to find Ubuntu's source for this?
Oops, forgot to add the summary that 2010 is, in my experience, far more responsive than 2009.1 everything just feels faster (and that's even if I'm running with KDE!)

Monday, June 23, 2008

What else do you need?

From the new Linux Format a Keith Packard interview:
I switched to KDE .. and recently switched to Gnome. They don't seem dramatically different to me; they're both 2D desktops. They let me start Emacs - what else do you need.
Well quite - though I'm sure you don't need anything quite as memory heavy if Emacs is all that's needed (blackbox, fluxbox,...).
exec emacs
should be quite enough.
(How come this is the first blog post I've made with an emacs label???!!!)

Saturday, March 29, 2008

graphic bells and whistles

On my work laptop I've been playing with compiz for enhanced graphic experiences -

- note the glxgears running inside the cube for a fun addition!
though I like to have 4x4 workspaces for putting the running applications and I find that sometimes on changing a workspace I end up with no panel, no menu - so I assume compiz has crashed - can't replicate it easily but I think the secret in avoiding crashes is to move the apps to the workspace rather than going directly to the workspace and opening the app there.
Then I've found that the screen is getting garbled

- the above is screen shot of a web page in firefox - a bit of googling suggests this is related to using multiple monitors - yes I like 16 workspaces and 2 monitors! - I didn't see this before the end of last week when I installed some extra software including some fonts... so for the moment it's back to the more boring but reliable fluxbox!
At work I run fluxbox with an instance of X on each monitor - haven't worked out how to do that with gnome/compiz yet - gives a nice segregation of applications!