Wednesday, 18 October 2023

Making Mint Mobile

 For a long time I've wanted a Linux Tablet.  Something that got me away from Android and Apple tablets, but still reasonably secure.  Recently I was given a Microsoft Surface Pro 3 tablet, and the I was lucky enough to acquire another.  That meant I could play around with an idea I had wondered about for some time.  Originally the plan was to simply replace Windows.  But that would lose a few advantages Windows can actually have running the Surface, including losing access to the camera and sacrificing battery life etc.

The Surface tablets have a microSD slot.  Because Raspberry Pi runs quite successfully from a MicroSD card only, I hoped a Surface Pro could be booted from one as well.

A little searching suggested they are not designed in such a way the they can run like that.  So I started experimenting with booting from a flash drive in the USB port.  

...  To be continued ...

A couple of suggestions from my friends at Bargaintech:   https://www.ebay.com.au/usr/bargain.tech?_trksid=p4429486.m3561.l2559  who successfully put L:inux on a number of their rescued New and Near new Laptops  brought me back to the idea of trying Mint Cinnamon on the Surface Pro 3.

I tried booting both Kubuntu and Cinnamon from a live Fashdrive (used these days to install Linux on a computer) and it worked.  

The next thing was to install Linux, Kubuntu on one Surface and Cinnamon on the other.  But which would go on what?  And what about my licenced Windows 10 on the 4/64GB Surface, and Windows 11 Pro on the 256GB device? 
I thought about it for a while and decided I could live boot whichever version of Linux I wanted at any time on the device I wanted to use on the day.
That of course meant that each time I booted into a Live USB drive I had to set up locality (Location, Time and Date etc.) and any Theming I changed.  Also I could not install Apps, which meant no VPN, one of the reasons I wanted the tablet in the first place.

Enter the idea of a Persistent Live Bootable Flash Drive.
I had heard of this idea, but never needed it.  So into the Net I dived and came out wet and happy.  There are a few ways to skin this particular cat, bnt I chose to use something called 'mkusb'.

**
**

I booted each OS in turn on separate machines, made enough changes to each, installed some Apps, created a couple of documents on both saved to the Flash Drives and to the Documents folders of the Windows installations on both Surface Pros, then shut them down.

I swapped the Flash drives and booted the tablets again.  All the changes I made were kept and the documents were all spot on as well.  I did the same again on both.  Just made enough changes that I would klnow they had been changed, and tested saving documents to all logical places.
As a last test I booted both tablets into their Windows again, then repeated it all over using the Flash drives.

One last swap and boot and it was proved.  The Persistent drives were doing their work.  There was no noticeable difference in performance between running the Surface Pro 3 on Windows or Linux, and I still can;t make up my mind if I prefer working in KDE (Kubuntu) which I have always preferred since my Mandrake Linux days around the turn of the Century, or if I can get used to Cinnamon.  


Kubuntu running on the Surface Pro 3 in Landscape mode (Swapping to Portrait must be done manually each time in Settings):


The USB Flashdrive is pretty unobtrusive and creating a Persisten Live installation on it means I can run any debian or Ubuntu based Linux, keeping any changes I make as well as any documents I want to keep portable - or unplug, reboot and run Windows.

Kubuntu running OpenOffice in Landscape Mode on the Surface Pro 3

Because I prefer working with Kubuntu, I would be prepared to live without using the Surface Pro in Portrait mode.  My intention was to use it mostly as a limited Laptop / Notebook most of the time anyway, and I love the way Kubuntu works, and that its floating Keyboard on the screen 'just works'.


Cinnamon on the other hand has an interface that is not so intuitive for me, but once I got the hang of it again after all these years of using Xfce and KDE, I could see myself enjoying some features, including that there's a setting to Disable the Screen Autorotation Lock.  Once I did that the display moved between Landscape and Portrait mode as I rotated the Surface tablet.




I initially installed Kubuntu and Cinnamon onto separate 64GB USB Flashdrives that are so physically small that they are barely noticeable plugged into the USB port.  I chose 64GB because, well, that was all I had available at the local Officeworks store.

I wondered if it would work on a flashdrive with more storage.  A quick search on the Net suggested the Surface 3 can handle 256GB, and as it happened, Amazon Prime days arrived with the tiny Sandisk drives I am using on special.  I ordered 3 for the same price delivered, as I was paying for a single 64GB unit.  No prizes for guessing what I did.

I watched the tracking with interest, because they shipped from Japan.  And they arrived in only a few days, well before their suggested date.  And they were in Japanese Sandisk packaging.  Surely a good omen.

Unfortunateky, while Kubuntu and Cinnamon will install on these drives and work perfectly on various computers - they simply refuse to play nicely with the Surface Pro 3.



I will wait until Amazon Prime has the 128GB version of this Sandisk unit on super special, and repeat the test.  It will still be cheaper than buying a single drive here.

Once that was sorted, the last hurdle was Battery Life!
Microsoft seem to have worked out the wrinkles in power management of the Surface Pro 3 pretty well, although some of the 'Power remaining' predictions, while they look great when I first saw them, are very optimistic in practice.  A '10 hours remaining' quickly turns into '3 hours and 50 minutes remaining' within half an hour or so.

However, even that is better than either Kubuntu or Cinnamon, where '4 hours 30 minutes remaining' becomes '2 hours 40 minutes' after 30 minutes of use.

I installed TLP, but if anything all it does is make the predicted time shorted - but more accurate.  All the above is with the screen turned down to 5% brightness, Blue Teeth OFF, and WiFi running.  Also they are NOT when watching video.  I have a feeling the Surface Pro 'might' make it through a movie if it started at 100% battery charge.

SOMETHING TO NOTE !!!
When shutting the Persistent Live Flashdrive, the usuall prompt will appear onthe screen saying to remove the boot media and press Enter.  

Simply pressing ENTER at this prompt has been shutting the Surface Pro 3 with no problems at all so far.  It jsut scrolls the message as it goes through what seems to be a 'normal' shurdown.
And there's no risk of losing the Flashdrive - because it stays plugged in, ready for booting again.

Microsoft's own App shows the tablets have 94% and 98%  Battery Health, which is probably not too bad for their age - and of course I have no idea exactly when they were originally sold nor how they were used.

Overall, my first month with the Surface Pro 3 tablets has been an interesting one, and one where I have learned quite a bit more about Linux, as well as experienced Windows 10 and Windows 11, and learned again why it was so important to move to Linux back in the 1990s.  I've never, ever seen so many suspected malware threat warnings as I have in this last month, whever Windows and I are no the Internet.
I'm still looking for a decent Free Anti-Virus program to replace the one I am testing out now.

--  to be continued  --










Tuesday, 19 September 2023

MInt 21.2 and I have finally worked out a compromise

 MInt 21.2 and I have finally worked out a compromise.  Mint 21.2 has been rock solid since it was released, and all the mods I did to Xfce, exploring its theming / styling were more or less working - but not quite.

The whole Theming adventure over the last couple of years has kept me busy, but really it was all related to the fact that no matter what I did, I could not get Linux Mint to look and feel the way I 'like' my OS to look and behave.  A lot of that is the restlessness I have felt with Mint since the Team dropped support for KDE and stopped releasing a Mint KDE version.


I could get most of my Mint Xfce looking fairly consistent using a combination of drastic mods to GTK themes and tweaking Qt stuff, but there was something missing in the hybrid approach.  Eventually I remembered Kubuntu Backports and stuff suddenly began falling into place.

Now I have a more or less Integrated Mint KDE designed just the way 'I' like it.  And I while Mint is considering releasing an 'Edge' ISO with the hot new 6.2 Linux Kernel, I'm currently running comfortably on the 6.5.3 Kernel. 
Not only that, but my KDE is at 5.25 and Plasma Frameworks is sitting at 5.98.
I don't think I will get up to KDE 6 until Mint 22 comes out some time around the middle of next year, but that doesn't matter.

As usual I am making the most of the ability for many KDE Apps to be themed with a bit of Transparency, and I am also pleased that while LibreOffice doesn't yet have a Qt version, it does have KDE Integrations, which adds a Qt level to the Theming engine somehow, so it is more or less the same thing.

LibreOffice manages this far better than almost any other Non Qt App I have seen so far and I am impressed.


The one big thing I am not using in KDE, as I usually don't, is the Kwin Window Manager.  
Because I create my KDE version on top of Mint Xfce, I tend to use Compiz for Window Management.  It doesn't matter that Compiz is 'Old Hat'.  Many of us still prefer its maturity, and we will miss it once Wayland takes over Window Management in most Linux Desktop Environments.  Compiz just has so many day to day things that are handy, quite apart from its 'tricks'.  Like the Compiz Cube - one of many different ways to switch Workspaces. 
Wayland has something similar, but without some of the pretty bits . .
I happen to like this Compiz idea of a 'Cube'  :-)


Pretty bits aside though, what I like most about Mint with KDE is that Mint has a history of being remarkably well built and Stable.  KDE is also very stable, especially the Kubuntu base that I use to get my KDE.  But I prefer the way Mint does stability.







Wednesday, 26 July 2023

Linux Mint 21.2 with Xfce 4.18 - plus my own little spin on the thing. Mint 21.2 KdXfce (or XfcKde - take your pick)

 It's probably way past time I did an update here.  A lot has been happening in my life, including changing some of my computers, catching a dose of CoVid, a couple of other health dramas and various other glitches.  

On top of that Google has had a major glitch with the Blogger platform that saw them sending out emails advising people that the code on the pages of Blogger posts was formatted incorrectly or some other such rubbish.  This on 'Blogger', where of course, they themselves provide all the code and we just type content and pop in a few photographs etc using their tools!

So I just haven't been in the mood for messing around with their rubbish.  However this site still pops up when people do a search on certain topics, so I'll do some more updates.

A month or more ago when the Xfce people advised that Xfce 4.18 was ready, I managed to install it on Mint 21.1 and test it in anticipation of Mint 21.2 using 4.18.   About the same time the Minit team announced it would indeed be in 21.2, so I was happy to find a couple of useful items in the new Xfce 4.18.

Most were not all that exciting, but the big one for me was the return of panel 'Profiles', allowing users to easily backup their Panel layout.

At first glance this is not a big deal unless you screw up your panel and have to recover it, but think about it for a moment.  You can set up a number of different panel layouts with different Icons and Apps ready for quick use - and switch between them quickly when you want to work on specific projects.

It is a bit like a poor man's Plasma Activities, albeit without the way Activities can save all the open Apps for a session.  So, the ability to rescue a lost panel is certainly a great idea, and it was briefly available previously.  However, although I haven't tested it for that particular porpoise, the ability to set up a number of Panel Profiles and quickly switch between them could be fantastic, either for specific projects, for Multimedia or for enabling specific Panel layouts to be applied by different users sharing a computer.

The other main focus of my recent activities has been swapping my main daily machines around.  The Lenovo m93p Tiny is now my secondary computer accessed through NoMachine VNC, and the Lenovo m900 Tiny has become the main system.

It sort of made sense, because although the m93p has a higher Turbo speed, the m900 is newer and a little faster in other ways.  

Both systems were updated to 16GB RAM and 2TB SSDs as well, and both are now connected to a bank of mixed external SSDs and magnetic drives via some Powered Hubs.  That allows 18 external drives to be hooked up through hubs while another 20 or so TB of drives can be swapped in through the USB3 ports if needed.

I've got Mint 21.2 running KDE 5 nicely, and switched out Plasma's Kwin Windows Manager for Compiz - which performs so much better than anything else, at least until Wayland matures enough for daily use (hopefully some time this century).

 Mint 21.2 Xfce with KDE 5 running Compiz on the Lenovo m900 Tiny:

 

And again:

Mint 21.2 Xfce with KDE 5 running Compiz on the Lenovo m993p Tiny in NoMachine VNC:


Ditto:


Below, the Lenovo m900 Tiny as it is currently:

So far it is all pretty well bullet proof.  About the only disappointment is that switching the Window Manager from Kwin to Compiz means I lose Plasma's 'Activities', and even though most people don;t use them, I used to find them useful.

I did notice however, that the m93p, when it was started today, opened up with a particular set of Apps I'd left open when I shut it down yesterday, opened up with each App where I'd left it and with the data intact - even though I hadn't saved it.  that was as soon as I switched to Compiz (using the Fusion-Icon).
I haven't seen that happen before, so it bears looking into. 

Friday, 19 November 2021

Linux Mint and retired iPhone 5 - Adding Music

 A while ago someone gave me their old iPhone 5 and suggested it might be useful to replace an iPod touch I have had for about ten years and that I haven't used much because its battery doesn't last as long as it used to and I didn't think it had Bluetooth connectivity.  

These days I run my audio for all my computers via a Logitech Bluetooth Adapter, and since I have all the computers running on a single Monitor and all controlled from a single keyboard and mouse, it is simply a matter of scrolling across to a computer and switching it to the Bluetooth Adapter.

Of course, in the process of messing around with stuff we discovered that 1) the iPhone only had about 1.6GB storage free, and 2) the old iPod does in fact have Bluetooth.

I also discovered that there is almost no way to access a folder on the iPhone from Linux Mint, to easily copy mp3 files across (the only files that are small enough to be much use).

Then I read about an iPhone App called Evermusic.  Evermusic was supposed to be an 'Offline Music Player' and there's a Free version with some functions limited, and a Pro version that costs $14.99.  Initial impressions suggest I might be parting with some cash shortly :-)

Evermusic surprised me because a couple of interesting dialogs popped up immediately after install offering to help me set up any cloud/online accounts I have that contain Music.  For the moment I skipped that and the next thing it showed me was computers connected to my local wireless network.

I tapped one of them and it asked for my login and password.  I answered with that computer's network credentials and the next screen showed all the shared folders on that computer.
I navigated to a folder that had music in it, then remembered I have limited space on the iPhone and changed to a folder with MP3 files.

The music player screen opened to a list of songs.  I chose one and tapped and it began playing.

Next I opened Settings on the iPhone and turned Bluetooth on, the iPhone found my Logitech Adapter, I connected to it, and the iPhone is playing music across Bluetooth.

A little looking around and I discovered that if I tap on the three dots  ...  at the right end of any song in the list, I can download it.  A little more poking around and I realised I can tap 'Select All'  and download all the songs in a folder once it is opened for playing.
I can't download a complete folder, but it seems that might be an option on the paid version.

For now though, I have a cheap music player and one more iPhone saved from scrap!


BLOGGER Seems to be working on Mobiles Again!

 Since my post in April, I haven't had a chance to do anything with the blogs again.  However I checked the Isla Blog just now and it seems the problem has been fixed - or resolved itself.  

I have not edited a blog since the post about the resizing problem, but I'm happy to report that ALL of our Blogger posts ARE WORKING, and scaling properly to mobile devices again !     :-)

Monday, 21 June 2021

Linux Mint 20.1 Xfce and VNC

 Since I closed my computer business in 2007 and started spending all my time concentrating on learning how to live with recovering from all the injuries, then two lots of open heart surgery and a couple of brain injures, so much has happened.  Now that I reached retirement age, I have other challenges.

Cyclone Ului in 2010 and Cyclone Debbie in 2017 destroyed my yachts in Shute Harbour, and with them, the part time live aboard lifestyle i was enjoying.  Changes in my personal life as well as Australian Government legislation changes, followed by the 2017 medical emergency and surgery meant my retirement plan, to live on the resort I helped set up in the Philippines, is no longer viable.  

Now I'm relegated to living in what used to be my computer workshop and classroom.  While I have always had computers (since the 1970s) I have rarely been interested in them as anything more than a work tool.
Now I am beginning to 'enjoy' aspects of computing that I previously only bothered with for 'work'.

This blog is testament to my keeping computers around, and to my still experimenting with different aspects of the things.  However over the last week I have done something I never bothered to do when I was working.  
I set up a Home Network.  Not only that, instead of having several computers on one desk, each with its own dedicated tasks and its own monitor, I have three computers connected to one monitor (a 55 inch TV) by a different HDMI port each.

I didn't bother with a network, because as before, I didn;t need one.  I could do everything from one computer.  The m93 has become my everyday computer because the i5 processor is a little more powerful and responsive than the Brix' Celeron.  The Raspberry Pi was just there because, well, it's a Raspberry Pi.

Last week, the Realtek sound chip in the m93p lost a channel.  I liesten to music a lot.  Like, 'all the time'.  I have several mp3 devices, some hooked up to dedicated speaker systems.  But having the m93 unable to play music or show a video irked me.

Obviously I could play music on the BRIX or the Pi, but then I had to switch HDMI ports every time I wanted to adjust the volume.  Something had to change.  

I remembered VNC.  If I set the BRIX up as a VNC Server, I could view and control it through a window in one of the Virtual Desktops (Workspaces) in the m93p.  That would allow me to control the volkume, and the playlist etc. from the m93p, without the hassle of grabbing the remote and swapping HDMI inputs to the screen, and grabbing another keyboard and mouse to drive the BRIX.

It should have been dead easy.

It wasn't.

Linux has plenty of VNC server programs available.  It also has a number of VNC viewers.  I installed several servers one at a time on the BRIX, and viewers, one at a time on the m93p to test each server.  The viewers on the m93p were not seeing any of the servers I installed on the BRIX,  

Then while I had the tigerVNC-scrapin-server  running on the BRIX, and I installed a remote viewer I had not noticed in the repositories, called    'vinagre'   on the m93p.

Immediately it recognised the IP address I typed in as the Host, as the BRIX, and opened a window to its Desktop.

I installed tigerVNC-scraping-server on the Pi as well, and that was also immediately found and opened.

In the next post, I'll try to lay out the steps I went through to set this up.

Friday, 28 May 2021

LIBRE OFFICE and that annoying Lock File problem

 For years now users on the Libre Office forums have been discussing a problem where some kind of lock file issue prevents LibreOffice saving, or in some cases even opening files.

This is not limited to a certain type of file, but I first came across it with LibreOffice .odt (text) files when I tried to save one and was told that LibreOffice could not get access to permissions to lock usage of ...   or some rubbish warning along those lines.

Later I got a similar warning when I tried to open an existing LibreOffice document.


Now, when this happened some years ago, i managed to clear the problem by finding and deleting the offending ~lock  file in my /home/Documents directory.  This year however, and perhaps it can be blamed on Covid, I could not clear the problem.  I tried every trick I know and then stalked the LibreOffice and other forums, only to find that there is no known solution. 
Basically, if it happens to you, you 'might' be able to clear it by finding and deleting the offending lock file, but otherwise, you're stuffed.

So I found a couple of work-arounds.  None are perfect, but one way or another they work.


All Linux distributions regardless of their Desktop Environment have a couple of programs for Text editing (Abiword) and Spreadsheeting (Gnumeric).  

The one that might be noticed though is LibreOffice Impress (Presentation Manager).  There are some options in the repositories, but one I have always had access to was Calligra Stage - part of the old KDE KOffice Suite.

For that matter, Calligra Words and Calligra Sheets are also good replacements for LibreOffice, although they have a bit of a learning curve due to their unusual implementation of some common functions.
That said though, they are excellent.

So between AbiWord, Gnumeric, Calligra Words, calligra Sheets and Calligra Stage, I had all my requirements covered.


Then I remembered a program I use on my Android Tablets that I chose because it is almost identical to LibreOffice in looks and function.
That program is SoftMaker Office.  It can be downloaded from:

SoftMaker Office Home Page

The Download page is here:

DOWNLOAD SOFTMAKER OFFICE for Linux


The Current version (2021) is NOT Free.  It costs about $64 one time payment, but divided by a year that's about One Dollar a week.  That's pretty cheap for commercial software, and the charge includes appropriate on-going updates.  Instructions are on the site are provided to set the PPA for updates.

However, there are a couple of previous versions, with the latest of these the 2018 version available HERE:


The 2018 version has TextMaker (Writer equivalent) and PlanMaker (Calc equivalent) plus Presentations (the Presentation manager). 
This is Free to download and use, but requires a Product Key.  I cannot remember how I got the product key, but SoftMaker emailed one to me.

SoftMaker Office early versions Download


I'm going to hit PUBLISH, but I intend getting back to this to add some images and further comments.

There is one more useful link on the SoftMaker website:

Tips & tricks: Installing SoftMaker Office 2021 for Linux


My 2018 version of SoftMaker Office is Free to use, although it did require email registration.


If for some reason you cannot get SoftMaker Office to send you a registration Product Key, Calligra Stage works nicely as a Presentation Manager, and calligra Words with Calligra Sheets, teamed with Abiword and Gnumeric will get you out of trouble.

Desktop Publishing is covered nicely by Scribus !

Wednesday, 28 April 2021

GooGle changes mean BLOGGER is broken on MOBILES !

 GooGle changes mean BLOGGER is broken !

I have been using Google's Blogger for years.  One of the reasons I like it, was that no matter what device someone was reading a blog on, the screen conten always fitted, whether it was being viewed on a Computer, Tablet, Phone etc.

Recently Google announced that it was no longer supporting mobile devices!

This came as a complete shock to me.  Google Blogger has always been great at resizing content at its default settings.  I am getting too old to start rewriting all my blog pages now.  

I just checked Wordpress, and my blogs there still fit all devices on all browsers by default.  I don;t understand what caused Google to stop supporting Mobile Devices, but I think it is a fairly strange thing to do.

It looks like I might have to start redirecting or mirroring all my BLOGGER posts across to WordPress, including the Resort business content!

I apologise now for any inconvenience caused by this very strange GooGle action.

RossD 

Linux, Music and Cheap Stereo Equipment

 Linux Mint 20, Music and Cheap Stereo Equipment seems like a bit of a weird combination, but there's something exciting about getting results on a budget.

I like listening to music.  Over the years I have ripped almost all my CD and DVD collections to file so I can listen to them on modern devices like computers, phones, tablets and mp3 players.  I decided not to do what I did when cassette tapes became fossils.  I spent so much money before mp3 was a thing.

So, I have been using a set of Logitech X-230 speakers for years.  These things are quite old, have been in use for years, and can't handle much volume if the Bass is turned on anyway, so I was thinking about doing some surgery, either piggy backing a set of bigger car speakers to the little twin 2" speakers in each satellite.  I thought I might get some extra mid range without losing too much bass or treble.

Than my son mentioned he had a set of X-230 speakers that he was planning to sell on ebay.  He had to fly up for a visit, so he brought them along for the ride.  That way I could pick the best set to keep original and perform surgery on the others.

I forgot about them for a few days, then when I was looking through a box of 'stuff' I found a 6 inch male to female one into two splitter cable for 3.5mm audio, and an idea started to form.

The problem was distortion in the small speakers if I had the Bass turned up.  The Logitech X-230 set have a volume control on one of the satellites, and on the sub-woofer.

What if I connect both X-230 sets to the splitter, dial UP the Bass on one, and dial the corresponding satellite volume down until any distortion stops?

On the other set, I could try dialing the Bass DOWN on the sub-woofer and dial the volume on that satellite pair up.

So I tried it.  Then after an exciting day listening to a vastly improved stereo experience, I remembered Linux Mint uses PulseAudio, and I had installed PulseEffects!
So I started PulseEffects and tried some equalizer presets I had experimented with around Christmans.

W O W !!

I have the two 8 inch sub-woofer boxes stacked one on the other with a layer of foam between them. 
I have one pair of speakers each side of, and behind my 55 inch monitor (about 1.5 metres apart), with the Sub on the floor about 1.5 metres lower and dialed down to about 20%(ish).  
I have the other pair of satellite speakers a little further apart, about 200mm further to the front and about 200mm lower and that Sub is on top of the other and dialed to about 80%.

The volume of the satellites is simply adjusted separately until the desired richness and thump is coming out, and the mid range and treble sound crystal clear.

The whole thing is then tweaked depending on how the input of various mp3 files affects the sound over an afternoon of music, and the setup can be saved as a new preset in PulseEffects.

I had been planning to buy a new audio system for the computer, but this leaves everything I could imagine getting for dead at a total price of a couple of hundred dollars.

Providing the two speaker systems have a volume control on the sub, and another on one of the satellites, a similar system could be rigged cheaply using any couple of budget speaker sets.  Mixing brands or models would not be likely to affect the setup much, and the only unusual part is the 3.5mm - 1 male plug - 2 female sockets splitter, and they are available at any electronics hobby store for a couple of dollars.

For now, I am enjoying the richest sounding music experience I can remember since the 60s when we all discovered our first 'National Panasonic' affordable stereo systems  :D

Actually, this is more like when we discovered BOSE..

Thursday, 14 May 2020

Mint 19.3 Xfce THEMING


I'm still playing around with Mint 19.3 and there's a new release due next month with some exciting features like a simple file transfer system that was tested a long time ago and is being revived.


I think I have ironed out most of the wrinkles in my move from KDE based Linux back to Xfce using Mint although I'm sure I have more stuff to work out, but the basic aims were:

1 - Move from KDE Plasma back to something that 'feels like' it has less overhead (even it doesn't really).

2 - Retain some of the playful stuff I like such as transparency in some apps and the ability to use Kvantum styling on as many of my qt apps (from KDE) as possible.


3 - Find a theme I like for the GTK stuff.  Preferable not one of the new modern 'flat' themes, and preferably a 'dark' theme to be easier on the eyes with the 55 inch monitor.

4 - Said theme must have big enough borders to grab easily with the mouse, because I am constantly resizing programs to make best use of the large screen.

While I was playing with the wider borders thing, which looked decidedly ugly, I discovered that drop shadows achieved the same thing.  The area of the shadow provides the exra pixel area to grab with the mouse cursor.  I might look weird and playful to have coloured drop shadows - bu tit tells me at a glance which windows are focused at the same time.

5 - I must be able to run xwinwrap for video.


6 - I would 'like to have' have the compositing features I had in KDE/Plasma.


For some reason kwin killed my Mint Xfce.  So I reinstalled Mint 19.3 Xfrce and played with Compiz, and after a few fails, I modified a Metacity theme to give me decent min/max and close buttons on the Title Bar.


Wednesday, 6 May 2020

Still Playing with Mint 19.3 Xfce and Compiz

Compiz is still throwing some challenges at me.  I was warned that it has a few 'quirks' and I'm finding some of them.
I've played with quite a few of the weird things it can do, and now the novelty is wearing off I am settling back into a combination of the things I actually like about what it can do, and the things I used to like about KDE.


Finding out just which underlying GTK themes from xfwm4 work well in conjunction with the Metacity themes in Compiz.  Some of my favourite themes look fine, then I find something broken.
Like the GT3 theme I was using.  It worked nicely and looked good, but interfered with Thunar's ability to select text in various operations like 'Rename' for example.


I think I sorted it out though.  In the mean time my Cube has eight faces, six sides plus a top and bottom, instead of being a cylinder.

Monday, 4 May 2020

A Compiz/Xfce/Mint 19.3 Update - 2020 May 04

I've been playing with Compiz and working out a few changes to make it more stable.

Compiz uses Metacity for theming and there some really annoying things that Compiz does when it is working with Mint 19.3 Xfce that are worse than simply annoying.
Other things that 'are simply annoying' are the result of the themes for Window decorations clashing with GTK themes for Xfce.  Things like tiny or otherwise unreadable control buttons on the Titiebars for example. 

In a couple of themes I do like a lot, Compiz does strange things. The DarkCold theme for example, looks nice and works well, until I try to use the mousewheel on the Titiebar to shade the window. If the window is not Maximised, it works perfectly.
If the window IS Maximised, and I scroll the mouswwheel on the Titiebar to shade the window - I lose all Titiebars on ALL windows!

 I managed to find a little script on the web that allows me to select a Metacity friendly theme (out of those installed in Xfce) to use with Compiz. Running the script brings up a Zenity Dialog that lets me select from available themes easily.


As you can see from the Titiebar in the image, while it is still pretty plain, it is easy to see and the Buttons on the right for Min, Max and Close in the 'Human' theme are clear and big enough to use. 
In some of the other themes the buttons are almost impossible to see or to find with the mouse.

Having this script makes it simple to test which Window Decoration themes look ok and 'work', and which ones don't.

I found the Theme Selector script at:
Metacity Theme Selector

The script for the Theme Selector is:
<code>
#!/bin/bash

SAVEIFS=$IFS
IFS=$(echo -en "\n\b")

if [ ! -f /usr/bin/metacity ]; then
  zenity --warning --text="<b>You do not appear to have Metacity installed.</b>\n\nThe Compiz GTK window decorator uses Metacity libraries to operate. The Metacity theme is what this tool adjusts.\n\nInstall the metacity package if you would like to use the Compiz GTK window decorator."
fi

main_window() {
  selection=$(
    zenity --height 450 --width 320 --list --ok-label="Apply" --cancel-label="Close" --title="Metacity themes" \
    --column="Current theme: $( if [ $(gsettings get org.gnome.desktop.wm.preferences theme) == "''" ]; then
        echo Default
      else
        gsettings get org.gnome.desktop.wm.preferences theme
      fi)" \
    "Compiz GWD default" \
    $(
      for d in /usr/share/themes/*/metacity-1; do
        echo $d | sed 's:/usr/share/themes/::' | sed 's:/metacity-1::'
      done
    )
  )
}

while [ $? = 0 ]; do
if [ "$selection" == "Compiz GWD default" ]; then
  gsettings set org.gnome.desktop.wm.preferences theme ""
elif [ "$selection" != "" ]; then
  gsettings set org.gnome.desktop.wm.preferences theme "$selection"
fi
main_window
done

IFS=$SAVEIFS

</code>