Setting up Python on Spacemacs and using Pyenv to use Python3

21 Dec 2017 - 2 minute read
categories: foss notes tags: fedora python spacemacs

After diving into Spacemacs yesterday, I was able to setup LaTeX properly. Only SyncTeX is left to be setup although, right now I can live without it. After tweeting about it, I got a reply about setting up Python on Spacemacs. I had installed the python layer but had not tested it. There was no hitch, although I faced a small issue with having python2 as well as python3 on my system.

Adding xfce4 Keyboard Shortcuts for Clementine or Spotify

20 May 2017 - 1 minute read

xfce4 has default media key settings for Pragha music player. Although, if you use clementine music player you can use keyboard shortcuts to control it with DBus and MPRIS. Clementine is known as org.mpris.clementine and you can add the following entries to your Keyboard Settings > Application Shortcuts If you use spotify, it is registered as org.mpris.MediaPlayer2.spotify on qdbus. qdbus org.mpris.clementine /Player org.freedesktop.MediaPlayer.Next qdbus org.mpris.clementine /Player org.freedesktop.MediaPlayer.Pause qdbus org.mpris.clementine /Player org.

Working with J2ME on Linux in 2017

07 Feb 2017 - 2 minute read

I recently had to work on the J2ME platform for a course at my university. It is an old technology and does not have many recent articles about using or installing J2ME on Linux. J2ME SDK has had no support for Linux for a long time. The SDK 3.x only has support for Mac and Windows. The last version available was by Sun which is called the Sun Java Wireless Toolkit 2.

Share WiFi via Ethernet on Gnome 3.20

07 Aug 2016 - 1 minute read
categories: foss notes tags: fedora gnome linux

There is a hidden method to share your WiFi over Ethernet in the latest Gnome. I stumbled upon this while trying to connect my RaspberryPi 3B with my University’s Internet. Type nm-connection-editor in your terminal. Add a shared network connection by pressing the Add button. Choose Ethernet from the list and press Create. Click IPv4 Settings in the left. Choose Shared to other computers by clicking the Method drop-down menu.