Monday, October 27, 2014

Monodevelop does not start on Linux Mint 17

I have installed Monodevelop using Software Manager in Linux Mint 17. It seems like all went okay but nothing was working. It turns out that missing dependencies was the culprit. To fix it do the following:

$: sudo apt-get install mono-complete
$: sudo apt-get install gtk-sharp3

Reference(s):
http://stackoverflow.com/questions/25791149/monodevelop-will-not-start-in-mint-17

Sunday, October 26, 2014

HowTo: Fix "user is not in the sudoers file. This incident will be reported" in Debian

In Debian, the user created during installation is not automatically added to the sudoers list. To fix do:
  1. Change to root user by typing su in a terminal.
  2. As root, do visudo.
  3. Search for line root    ALL=(ALL:ALL) ALL.
  4. Copy that line (in nano, do Ctrl+K then Ctrl+U to uncut and on more Ctrl+U to duplicate the line).
  5. Change that new line to like timus    ALL=(ALL:ALL) ALL. This adds user timus to the sudoers.
Reference(s):
http://ubuntuforums.org/showthread.php?t=1837295

LXPanel no status bar in Debian Sid/Jessie

I just installed latest Debian Sid/Jessie (testing branch-10/25/2014) and selected LXDE as my desktop environment via network install. The problem was that no start menu or status bar was shown. Seems like a bug somewhere in LXDE but as a workaround do:

$: cp -rp /etc/xdg/lxpanel/profile/LXDE/* ~/.config/lxpanel/LXDE/

Reference(s):
https://bugs.launchpad.net/raspbian/+bug/1080966


HowTo: Install linux kernel headers in Debian

As root user, do:

#: apt-get install linux-headers-$(uname -r)

Reference(s):
http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/

HowTo: Logout from LXDE via the command line

$: lxsession-logout

Reference(s):
http://wiki.lxde.org/en/LXSession#Logging_Out

Saturday, October 25, 2014

Re-install grub in Debian 8 Jessie

So I was trying to install Debian Jessie beta 2 (Debian 8) and was not really paying attention what I was doing. It ended up that I don't grub installed.So who do you fix this? As usual in Linux/Debian there so many ways to do this but below are the steps that I have done:
  1. Boot the machine using the boot media, I was using debian-jessie-DI-b2-amd64-netinst.iso and yes I am using VirtualBox.
  2. Select Advanced options | Rescue mode.
  3. Follow text based wizard, change the values as you see fit. I did English for Select a language. Then United States for Select your location. American English for Configure the keyboard. Used debian in Configure the network - note that this does not have to match to the machine that you want to recover.  Left blank for the domain. Then for Configure the clock I selected Central.
  4. In Enter rescue mode, I have selected /dev/sda1 as I only have one SATA HD and I know that the first partition was my root. You probably to make guesses if you want to do quick and dirty fix. Of course you can always mount the partition and check if it looks like a root partition.
  5. In Enter rescue mode, second screen, select Reinstall GRUB boot loader.
  6. In Enter rescue mode, third screen, I did /dev/sda. This will change depending on your specific circumstance. In my scenario it was easy as it was a VM and it was the only operating system on the disk.
  7. Select Reboot the system and you are done.

Sunday, October 19, 2014

Set IPython qtconsole font to terminus

ipython qtconsole --ConsoleWidget.font_size=10 --ConsoleWidget.font_family="Terminus"

Or create ~/.ipython/profile_default/ipython_config.py Reference(s):
http://stackoverflow.com/questions/9906938/change-ipython-qtconsole-settings

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...