Posts Categorized: ubuntu

Manic Miner on Linux

I was reminded about how much time I had spent as a kid playing Manic Miner on an Amstrad 464 and decided to give it a try on my current desktop (Linux Mint) so for future reference… I grabbed the code created by here: git clone https://github.com/lkundrak/manicminer.git Installed a few dependencies: apt-get install libx11-dev libxext-dev… Read more »

Dell racadm on Linux

I’m currently using Linux Mint and wanted to communicate with the iDRAC interfaces on Dell servers. Install racadm: sudo echo ‘deb http://linux.dell.com/repo/community/ubuntu xenial openmanage’ | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list sudo gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F gpg -a –export 1285491434D8786F | sudo apt-key add – sudo apt-get update sudo apt-get install srvadmin-idracadm8 Test with: /bin/racadm -R… Read more »

Customise Yakuake Tabs On Start

Yakuake

I’ve been recommending the slide-down terminal Yakuake to people for some time now and I couldn’t live without it myself. Although I use Cinnamon as a desktop I much prefer Yakuake over Guake and can live with the extra RAM usage of the KDE libraries. When logging in I wanted to have tabs created for… Read more »

Arduino Serial Port Menu Greyed Out

On Linux Mint (Ubuntu) I had installed the Arduino IDE from the repository and that had installed version 1.0.5. Despite setting the permissions on the Arduino USB device, the ‘Serial Port’ option in the IDE menu was greyed out and would not allow for selecting the device – it thus defaulted to using COM1 –… Read more »

Kerberos Keytab File Creation on Ubuntu

To create a kerberos keytab file on Ubuntu and with the kerberos packages installed (e.g. sudo apt-get install krb5-user ) root@jmcc02:~# ktutil ktutil: addent -password -p myusername@DOMAIN.TLD.COM -k 1 -e RC4-HMAC Password for myusername@DOMAIN.TLD.COM: ktutil: wkt username.keytab ktutil: quit root@jmcc02:~# After completing those steps there should be a keyfile created in the current directory. That… Read more »

Customise the Unity Launcher from Command Line

I am rolling out some Linux desktops, specifically Ubuntu, and I wanted to customize the icons available in the Unity Launcher. I wanted to remove the LibreOffce Calc and Impress icons and the darned ‘Amazon’ one, so: Create a new gschema override file for our customisations: vi /usr/share/glib-2.0/schemas/99_launcher.favorites.gschema.override Add some content (the com.canonical.Unity.gschema.xml file in… Read more »

Create Password Hashes From the Command Line

I wanted to generate a password hash for use in the /etc/shadow file. My local Linux Mint (Ubuntu) Desktop already has mkpasswd available, your distribution may vary. mkpasswd -m SHA-512 This prompts for the password and will generate the hash.    

Screen Annotation on Linux

I was testing a HP EliteBook 2730p with Linux Mint 17.2. The laptop/netbook/tablet comes with a touchscreen and stylus. USB booting did not work for me but I was able to network/pxeboot an installation. When it came to drawing on the touchscreen I was able to get up and running after installing Gromit i.e. sudo… Read more »

Local Ubuntu Repository

I wanted to set up a local repository for DEB packages I create to be installed among a number of cluster nodes. After building the deb package I added it to my home folder as follows and created the Packages.gz file: apt-get install dpkg-dev mkdir -p /home/jonnymcc/ubuntu_repo cp slurm-14.03.3_14.03.3-1_armhf.deb /home/jonnymcc/ubuntu_repo cd /home/jonnymcc/ubuntu_repo dpkg-scanpackages . /dev/null… Read more »

Linux Mint 64-bit and Steam

I had the following error message on Linux Mint when trying to play a new game: This application requires either the GL_EXT_texture_compression_s3tc, or the GL_EXT_texture_compression_dxt1 + GL_ANGLE_texture_compression_dxt3 + GL_ANGLE_texture_compression_dxt5 OpenGL extensions. Please install S3TC texture support. Solved by installing the 32-bit libtxc as follows: sudo apt-get install libtxc-dxtn-s2tc0:i386