Home Blog Page 948

How to Delete User Accounts with Home Directory in Linux

In this tutorial, I am going to take your through steps you can use to delete a user’s account together with his/her home directory on a Linux system. To learn how to create user…

[[ This is a content summary only. Visit my website for full links, other content, and more! [[

 
Read more at TecMint

GalliumOS: The Ideal Linux Distribution for Chromebook Hardware

gallium install I must confess that I’m a big fan of the Chromebook. I do all initial drafts of my novels on a Pixel (the screen/keyboard/trackpad are simply the best) and use an Acer C720 as a “grab and go” device. However, as much as I enjoy working with Chrome OS, there are some things that simply cannot be done with Google’s platform. For example—working with an editor on Google docs is cumbersome. Editing or creating images with Pixlr is like working with half of GIMP’s power. If I want to record, forget having the flexibility and performance of Audacity.

So, when I want those tools available to me, at full strength, what do I do? One option is to install Linux on a Chromebook. And why not? This allows you to take advantage of low cost hardware by installing a full-blown, powerhouse platform that is ready to undertake any task you can throw at it. Of course, if you happen to have a standard piece of hardware lying around, and you want a Chrome OS experience, you can always install CloudReady (see my piece “Neverware’s CloudReady Brings a Chromium-Fueled Chromebook OS to Standard Hardware”).

I’ve outlined the installation of Bodhi Linux on a Chromebook (see “How to Install Linux on an Acer c720”). To some Bodhi is a great platform for the Chromebook. To others, the quirkiness of the distribution leaves a bit to be desired. That’s where GalliumOS comes into play. Gallium is an ideal Linux-to-Chromebook platform because:

  • It is based on Xubuntu, which is already an incredibly lightweight and performance-centric desktop environment.

  • It offers a much faster boot time than other Chromebook-ready Linux distributions.

  • It offers an integrated ChromeOS touchpad driver for better performance/responsiveness.

  • Kernel watchdog timer has been disabled for improved power saving.

  • Kernel has been further optimized to gain as much performance as possible.

  • Zram is used for swap for higher performance.

Under normal circumstances, I’ll install Linux on my Acer c720, use it for a few days, and then return the device back to Chrome OS. After testing Gallium OS for a couple of weeks, I have decided to keep the Linux distro running on the little Chromebook. Why? Because Gallium OS is that good.

Interest piqued yet? Good. Let’s install Gallium OS.

NOTE: Before you install Gallium, I highly recommend you install the Chromebook Recovery Tool and create a recovery USB drive. Without this recovery drive, you’ll have a hard time reverting back to Chrome OS.

Hardware considerations

Before you jump into creating the bootable USB drive, there are a few considerations you must make. First is hardware compatibility. The developers of Gallium OS have released a compatibility matrix that lists out all devices known to work with the distribution, as well as their included chipset (an important bit of information you’ll need later on). Check through the list to ensure your hardware is included (and note the chipset of your device).

The next consideration is the chipset. If your device has a Haswell chipset, you’re good to go (the only thing you have to do for preparation is to enable a couple of boot flags). If, however, you have either a Broadwell or Bay Trail chipset, you’ll need to follow these instructions in order to prepare your device for Gallium OS. My Acer c720 is a Haswell-powered device, so I will walk you through the steps of getting Gallium OS installed and running.

Creating the USB drive 

The first thing you must do is create the bootable USB flash drive. Download the correct image for your device on your Linux machine (keeping in mind the proper chipset), to the ~/Downloads directory, and follow these steps: 

  1. Open up a terminal window

  2. Change into the Downloads directory with the command cd ~/Downloads

  3. Rename the downloaded file to galliumos.iso

  4. Plug in your USB drive

  5. Issue the command lsblk and locate the name associated with the USB device (it will be something like /dev/sdj

  6. Unmount your USB drive (if mounted) with the command umount /dev/sdX (Again, where X is the name of the drive)

  7. Create the bootable drive with the command sudo dd bs=1M if=galliumos.iso of=/dev/sdX (Where X is the name of the USB drive)

  8. Allow the process to complete.

NOTE: If you use a desktop distribution that doesn’t take advantage of sudo, you will su to the root user and issue the dd command without sudo.

You can now remove the USB drive and plug it into your Chromebook. 

The next step is to reboot your device in developer mode. This is done by holding down the Escape and Refresh button and then tapping the Power button. When the device reboots, you will be greeted by a screen with a warning. Tap CTRL+D to continue on. You now have access to the developer mode and can enable the necessary boot flags. Here’s what you need to do:

  1. Press CTRL+Alt+T

  2. In the bash screen, type shell and hit Enter

  3. Enable to necessary flags with the command sudo crossystem dev_boot_usb=1 dev_boot_legacy=1

You can now insert your USB drive and reboot your Chromebook. When you are presented with the same warning screen as earlier, hit CTRL+L and the device will boot from the USB drive.

Installing Gallium OS 

At this point, you should be in familiar territory, as Gallium OS will have booted into a live instance of the OS. You will want to connect to your wireless network and then double-click the Install Gallium OS icon. This will fire up an all-too familiar installation wizard (Figure A).

The installation wizard is the standard fare, so anyone who has installed Linux will zip through this with ease. When you finish the installation, reboot and enjoy a full-blown Linux distro on your Chromebook. 

Usage 

Fortunately, the desktop environment will be immediately familiar. By using Xfce, Gallium has a very shallow learning curve. It also offers up a bit of flexibility in the layout of the desktop. In the end, however, this is all about getting the most out of your portable hardware. One of the first things I did with Gallium on my Acer C720 was to install Audacity to create a portable recording studio (Figure B).

gallium audacity

You’ll find installing applications as simple as opening up Synaptic, search for the app, and installing. Or, if you prefer the command line, you can open up a terminal window, and issue the command to install the desired app (Figure C).

gallium clementine

Limited storage

The one caveat to take into consideration is the limited storage space on your Chromebook. Gallium does such a great job of making you feel right at home using Linux on your device, you might be tricked into thinking you have far more storage space than you really do. Keep that in mind when installing apps and you’ll do just fine.

Gallium OS might well be the ideal platform for those wanting to get more out of their Chromebook devices. The installation isn’t terribly challenging and what you gain by installing Linux is beyond impressive. Give this full-blown Linux distro a try and see if it doesn’t greatly expand your Chromebook usage.

This Week in Linux News: Apple Ports Swift to Linux, Industry Leaders to Back ‘Hour of Code’, & More

Hour of CodeThis week in Linux news, Apple ports its programming language to Linux, industry leaders will support Hour of Code during Computer Science Education week, and more! Don’t miss these top headlines from the past week in Linux news

1) Apple releases a Linux-compatible port, alongside launch of the open source Swift program language.

Apple Ports Its Swift Programming Language to Linux– iClarified

2) Jaime Watson shares first impressions of the $5 Raspberry Pi “Zero” with packaging details and more.

Hands-On with the Raspberry Pi Zero– ZDNet

3) Industry leaders to support Computer Science Education Week with Code.org’s “Hour of Code” teaching effort.

Apple, Microsoft Among Top Tech Vendors Backing Hour of Code Programs Dec. 7-13– NetworkWorld

4) Open Networking Summit (ONS) joins the Linux Foundation event portfolio to help reach the broader open source community.

The Linux Foundation Becomes Steward of the Open Networking Summit– Ostatic

5) Microsoft further endorses Linux and open source by reccommending Debian Linux for its Azure virtual machines.

Microsoft Adds Debian Linux to the Azure Marketplace– Redmond Magazine

Let’s Encrypt Automation on Debian

Free SSL certificates for everyone! the https://letsencrypt.org/ initiative backed by Akamai, Cisco, Mozilla and EFF, is going to offer free certificates. On this post I am going to explain how I have automated the process of creation and renewal of certificates, on a Debian server with a lot of virtualhosts with the minimal modification of the apache conf files.

The idea of the projects is to extend the use of SSL certificates everywhere, the aproach of the projects is that the process of provisioning certificates is selfprovisioned from the servers with no manual interaction, to force that the certificates expiration is 90 days, forcing sysadmins to automate the proccess.

Read more at Damia Blog.

GSequencer v0.6.28 comes with enhanced stability

GSequencer v0.6.28 comes with enhanced stability

Many problems GSequencer had, were just fixed. Like dead-locks, race-conditions or non thread-safe access to common objects. It’s a great release although not all bugs are fixed but they won’t hurt. One of those bugs affects seeking within navigation. Yeah, currently this is the only known bug with GSequencer v0.6.28.

Setting up Advanced Gtk+ Sequencer working environment

On debian GNU/Linux unstable you might want to issue and completing with LADSPA plugins of your choice:

apt-get install gsequencer ladspa-sdk cmt caps swh-plugins hydrogen hydrogen-drumkits fluid-soundfont-gm fluid-soundfont-gs timgm6mb-soundfon

Once fetched program and sound files you may want to invoke GSequencer like following:

wget -c http://gsequencer.org/The_A-Tune.xml
gsequencer --filename The_A-Tune.xml

Note it might take some time to parse the 4 MB sized file. There is an audio export of the file available on the web:

https://youtu.be/Rf4CTWSYblA

Unstable GSequencer v0.7.x

Some highlights of unstable GSequencer are JACK audio output and MIDI input as well DSSI support. The 0.7.0 branch brings library routines first to you. It features a MIDI parser or builder and many other exciting things not fully implemented, yet. Further an automation editor is the way, too. To stay informed about progres please visit:

https://github.com/gsequencer/gsequencer/issues

Screenshot

The following screenshot shows you Advanced Gtk+ Sequencer with LADSPA plugin enabled AgsMixer as well AgsMatrix and AgsDrum sequencers. On the bottom there’s the pattern editor used with AgsMatrix sequencer.

gsequencer-screenshot-0 6 22

Building A Cheap Intel Skylake System For Linux Use

Here are a few parts recommendations I have if you are looking to build a low-cost Intel Skylake system while achieving decent performance on Linux this holiday season.

Read more at Phoronix

GE Cloud CTO: Look for These Skills When Hiring for Cloud

I believe that obtaining the right skills for any organization is as much a cultural challenge as a skills-based one. Of course, as we pursue GE’s public cloud strategy, it’s valuable to find people with the right cloud skills on different platforms. It’s just as important, however, that they also have the willingness and openness to help mentor others that are just beginning their careers or are just starting to leverage these new cloud technologies.

To really obtain the benefits of cloud, the traditional infrastructure technology silos need to be broken down and team members need to become “full-stack engineers.” This shift to more generalized cloud skill sets requires a strong company culture to navigate the change, but the payoff in speed, efficiency and quality is tremendous.

Read more at Enterprisers Project. 

Fedora Stakeholders Discuss Moving Away From Grubby

It doesn’t look like this proposal will end up panning out, but Fedora stakeholders are discussing the prospects of dropping Grubby in favor of just using grub2-mkconfig…

Read more at Phoronix

6 Useful LibreOffice Extensions

2015 Yearbook

LibreOffice is the best free office suite around, and as such has been adopted by all major Linux distributions. Although LibreOffice is already packed with features, it can be extended by using specific add-ons, called extensions.

The main LibreOffice extensions website is extensions.libreoffice.org. Extensions are tools that can be added or removed independently from the main installation, and may add new functionality or make existing functionality easier to use.

read more

Read more at OpenSource.com

Hands-On with the Raspberry Pi Zero, Part 3: Software

With the hardware basics out of the way, it’s time to take a look at the software: Raspbian Linux.

Read more at ZDNet News