Showing posts with label manjaro. Show all posts
Showing posts with label manjaro. Show all posts

Monday, 10 June 2024

How To Install Mkchromecast on Ubuntu and Ubuntu based Distros

Mkchromecast is a way to stream any sound from your desktop to your Chromecasts, which to me makes it a lot more useful than the Android app for streaming, particularly for streaming offline music to the no longer made Chromecast Audios. Just like Google Home, you can stream to just one or to a Home Group. As per my previous article, I was using Mkchromecast on Manjaro until recent updates killed it, so I switched that particular laptop to KDE Neon, which is my favourite distro. Anyway, here's how to install Mkchromecast: 


Firstly, install git, and then download Mkchromecast from git: 

    sudo apt install git

    git clone https://github.com/muammar/mkchromecast.git 


Then, switch to the mkchromecast directory and install the dependencies:

    cd mkchromecast

    pip install -r requirements.txt


Then install Mkchromecast

You can install from Discover or with apt (sudo apt install mkchromecast) and now it should work fine. I usually use mkchromecast -s to scan for devices and choose my Home group to stream all simultaneously. It's a shame Google discontinued the Chromecast Audio because it works pretty well, and is much cheaper than expensive streaming solutions like Sonus.





Tuesday, 21 May 2024

From Manjaro to KDE Neon on My Dell Vostro 3300

So there was a huge update on Manjaro recently to KDE plasma 6 and it killed Mkchromecast again on my Dell Vostro, but this time I wasn't able to get it working again. However I worked out how to get it working in 'buntu based distros, so I decided to switch it to my preferred 'buntu-based distro, KDE Neon. Neon is based on the Kubuntu LTS but with the latest KDE installed. The installer was even easier and smoother than it used to be, so after backing up stuff I wanted to keep, I installed Neon in about 5 or so minutes. This machine has an old hard drive but it still feels fairly snappy to use. 



One of the first things I like to do with KDE now is turn off the stupid Offline updates setting. Seriously KDE devs, this isn't Windows, I don't want or need to have updates run on shutdown! Linux doesn't need to reboot for most updates! I also switched to Breeze Dark theme, and moved the panel to the top, disabling the new floating panel setting. That's what I like about KDE, everything is configurable, unlike Gnome where they have a like it or lump methodology. And the search feature in Settings works very well. Also I discovered that my Dell Vostro has a back-lit keyboard, I accidentally hit the Fn keyboard shortcut to turn it on! 


I also installed all the usual items such as GIMP, Audacious music player, Filezilla, Cantata (mpd front-end) Yakuake (a drop down terminal) and Kubuntu-restricted-extras. In general this fresh install has gone very smoothly compared to an upgrade, though I did have a slight issue with menus not popping up from the system tray, Switching from Wayland to X11 at the login screen sorted that out. Another little tweak I do is re-enabling the Leave option in the desktop right-click menu. So, other than that slight issue, this fresh install has gone very smoothly, and I'll likely keep KDE Neon on this laptop until the hardware dies whenever that might be, this Vostro is a tough old thing.







Tuesday, 19 September 2023

From KDE Neon to Manjaro KDE on my Acer Chromebook 14

So, I only had KDE Neon on my Acer Chromebook 14 CB3-431 for a short time but there was no way round the performance issues with YouTube at 1080p. You can't really install another DE on Neon because the way it's built it would break it trying to install Lubuntu or other desktops. I decided to install Manjaro KDE, since it is running so well on my old Dell Vostro. Also, on Manjaro (and Arch) it has the most supported desktops, either unofficially or through the community, so if I need to choose a different desktop, that's lighter on resources, it's easy enough to switch between them...or so I thought... 


As with KDE Neon, I used my Dell Vostro laptop to put the Manjaro KDE ISO onto a USB stick using OpenSuse Image Writer.  Installing was a Breeze, just a USB boot and install from the live desktop as with Neon, since the tricky bit of replacing the bootloader on my Chromebook was already done as per my previous post. And, also as before, the first thing I did after install was set shortcuts for the Display brightness in KDE Settings, and set it to Breeze Dark theme so I wasn't half blinding myself on every boot! I also set all the other shortcuts again while I was there. And yet again re-adding the Leave option to the right-click desktop menu. I am not going to install too much, as it only has a 32GB onboard eMMC, and there's currently only about 8GB left. As with KDE Neon, all the hardware works fine, including sound, trackpad, suspend and resume, webcam, etc. Also one quick fix that needs doing on Manjaro is getting ssh enabled, since for some reason when you install the service it isn't enabled by default, and I found a fix here.

Then I installed Google Chrome using this tutorial (I used the second option of installing it using the AUR Helper, yay, which can be installed from the package manager if required) and made sure that YouTube played 1080p without stuttering or stopping completely, which it did just fine. Hurrah! I also installed any updates available through Manjaro's package manager. After a reboot for the kernel update, I then installed my favourite apps again, such as Audacious, GIMP, Filezilla, etc, though I didn't have to install VLC this time since it was already there. I have found that if I want to watch YouTube videos with as little jitter as possible, it's best to only have YouTube open, and absolutely no Facebook tabs! Facebook uses way too much memory and CPU. 

I also tried to install Lxqt desktop, just to see if I could save some resources, using these instructions, with no success, it does not load the whole desktop, just openbox itself, and caused a very slow boot too for some reason. I then tried Fluxbox desktop but the extra packages listed on that tutorial were unavailable to install and I couldn't get any apps to run. And on the reboot, it failed to boot. So very frustrating. So it turns out switching desktops on Manjaro is not as easy as I thought! I then had to reinstall and setup everything again.... It's a good job installing is so quick! So if you do want to try other desktops with Manjaro, it's best to just download the specific ISO for that desktop. 

So Manjaro is now running fine again. I could have used Google's ChromeOS Flex to extend the life of this Chromebook but I don't really want to go back to ChromeOS after the flexibility and freedom of running Linux on it.  It has a nicer screen for photo editing than my Thinkpad so that's what it will get used for, when not using my main desktop. The only slight downside is the lack of storage space, have to be careful not to use too much of the 15GB or so left on the drive. I have put a little USB stick in the side just in case I need it. I'll keep Manjaro KDE on it for as long as it continues to work well on it. Feel free to suggest any other distros that might suit it better. 






Tuesday, 17 January 2023

I got a Dell Vostro 3300 for a bargain price and it works just fine after a few upgrades.

 A charity I used to volunteer from put a Dell Vostro 3300 on their eBay and idly just put the minimum bid on, 20 quid, thinking I would probably not get it, got outbid once, but then put a bid on an hour before it ended, won it with that 22 quid bid, absolute bargain! It's got a 2.27Ghz i3 CPU, and arrived with a single 2GB RAM stick and 320GB HDD installed. 

There's just two screws to remove to release the bottom panel to access Memory and hard drive and two screws to release the HDD. There's a Windows 7 COA under the battery but I doubt I will ever need that. I run Linux on all my laptops.


I then did a bit of musical chairs with parts in my other laptops. I took 8GB of RAM from a poorly Thinkpad X201 and put that in my 2012 Macbook Pro (been meaning to do that for a while) and put the MBP's original 4GB in the Vostro. Then I replaced the 320GB hard drive in the Vostro with the SSD from my Dell Latitude E6500, which has Manjaro KDE on. The E6500 is one of the oldest laptops I have in use and is a bit tatty, so the Vostro makes a good replacement for it. I won't bin the E6500, it'll go on the spares shelf. Once the SSD was in and everything put back properly, it booted up the Manjaro KDE install with no issues.      

The only slightly annoying downgrade from my other laptops, but particularly the E6500, is it only has VGA out rather than DisplayPort. There's an eSATA port which I doubt I will ever use, 2 USB 2.0 ports (one either side) and an Ethernet port. The trackpad is good, just as good as the one on my ThinkPad T430s and the keyboard is decent (though has no back light, like the Thinkpad does, though Dell did have one as an option on a slightly better spec model). 

The Vostro has a reasonably decent 13.3 inch anti-glare screen with a default resolution of 1366x768, which is a bit low compared to the 14 inch on the Thinkpad T430s, which runs at a very nice 1600x900 resolution. The Vostro was basically a midway point between the consumer garbage Inspiron range and the Latitude business range, so this laptop doesn't quite have the best components compared to Latitudes but is still a solid machine. In terms of other specs, it has a slightly slower i3 M350 CPU than the i5-3320M in the Thinkpad and a few less ports, and no USB 3. There's an SD card slot but no Express Card slot to add more ports. Overall, it's a handy little laptop, especially for just 20 quid! It runs Manjaro KDE perfectly fine, and is a useful replacement for the E6500, so I am pleased with it.

Wednesday, 27 July 2022

Goodbye Endeavour Linux, Hello Manjaro!

Goodbye Endeavour!

After a surprisingly long stint of usage with Endeavour Linux on my Dell Latitude E6500, one night the streaming app, the one I specifically installed Endeavour for, Mkchromecast, stopped working for no obvious reason. It's an old app that hasn't been updated since 2017 so I suppose it's easily broken if something else changes. Also I was getting tired of the distro for a few other things, and felt it getting a little sluggish.  Anyway, I went looking for other Arch-based distros, since mkchromecast only seems to work on them, it doesn't work properly on my favourite Linux flavour, KDE Neon, which is Ubuntu based. I was looking at easy to install and use variants of Arch, since I just wanted to quickly get the next distro installed and use it as quickly as possible. 

Hello Manjaro!

I have tried Manjaro before but it was a long time ago, a long time before KDE 5 came out, so it was an opportunity to see if it has improved since then. Naturally I chose the KDE variant, which is currently on version 5.24.6, though it also comes in Gnome and XFCE official flavours. There are also community flavours including Budgie and Cinnamon desktops. I used Balena Etcher to pop the KDE edition onto a USB stick for installation. The Manjaro installer is pretty neat apart from one thing, it does not have an easy way to make a dual partition setup, with a separate /home partition. I tried to create it manually but when I clicked next it came up with some warning about creating an 8MB blank boot partition for GPT, in the end I gave up and stuck with a single partition. 

Apart from that slight annoyance, the install went smoothly, and I was greeted by a Manjaro-ised KDE desktop with it's green accents and icons, which I am really not keen on. Of course the great thing about KDE is it's so customisable. I switched the theme to Breeze Dark and installed Papirus icons from the handy Pamac graphical package manager that comes with Manjaro. 


It's also nice that my favourite terminal app, Yakuake (a Quake style terminal emulator) was already installed, (all i had to do was add it to Autostart) as was VLC. I then installed all my favourite tools, including GIMP, K3B, Clementine music player, qbittorrent, Soundkonverter, Filezilla and Latte Dock. Manjaro has some neat touches like in the terminal it shows how long a task took to complete on the bottom right-hand side. 


Installing Chrome on Arch-based distros is still a bit of a faff, there are a couple of different ways, both requiring copy and pasting a bunch of commands, I used this howto here. Installing Dropbox also required a little tinkering too, similar to Endeavour, and I used this installation tutorial. Next up I installed Mkchromecast (with yay -S mkchromecast) and then eventually realised it will not work without also installing python-pychromecast and now it works a treat, much to my relief.

There is one elephant in the room though, Manjaro's track record for security is not great, and they keep back packages in the distro for two weeks, which can cause issues with the very up to date packages in AUR. So far I haven't had any serious issues, and everything seems to be running fine so far, but we'll see! I am open to suggestions of other distros that Mkchromecast will run on. My Dell Latitude E6500 is basically a dedicated player/server casting to a bunch of Chromecasts, main laptop duties have gone to my newly acquired Lenovo Thinkpad T430s.