Posts

Fix Virtualbox clipboard (copy & paste) functionality between the host and guest machine

Image
First make sure you have this option enabled Then on your guest machine (i.e. running on Virtualbox), kill the  VBoxClient  process then run  VBoxClient-all . I'm not sure, but I strongly think this should only work only after installing the Virtualbox additions.

Ubuntu 13.10: Installing Xfce 4.12

I had a very nice impression when I tried Xubuntu. That was exactly the idea I had about linux. Stylish, very fast, space savvy and highly configurable. There is nothing I've tried to customize with Xubuntu's panels that I couldn't. Here is how to have this nice experience alongside Ubuntu's Unity sudo su add-apt-repository -y ppa:xubuntu-dev/xfce-4.10 add-apt-repository -y ppa:xubuntu-dev/xfce-4.12 apt-get -y update apt-get -y install xfce4 The -y switch is to assume "yes" to all questions Adding xfce 4.10 ppa will avoid you some dependencies problems

Linux: How to reset root's or any other user's password

I've tried this only  on Ubuntu server but it should work on all Linux-based machines. But first you must fulfill the following requirements: Have physical access to the machine Can command the machine to boot from CD or USB Have a live Linux image on a CD or a USB stick. You can usually boot an installable image and choose to "Try" Linux and not install it. Now: Boot the your machine and login to your live Linux image.  Decide on which disk does your original Linux system reside one (i.e. the one you need to reset the root password for). sudo fdisk -l Mount your original Linux system's hard drive on a directory of your choice sudo mount /dev/sda1 /media/your_drive chroot your mounted drive sudo chroot /media/your_drive Change any username's password sudo passwd (i.e. for root) or sudo passwd anyusername

Google Chrome: Middle click scrolling in Ubuntu

Middle-click scrolling doesn't work on Chrome when it's running on Ubuntu (Not sure if this also applies to all Linux distros), for a reason I do not know about. But I know a workaround (not a solution to the root cause), it's this chrome extension . After installing the extension, Remember to reload your page for the extension to take effect.

Ubuntu: Install .deb package and it's dependencies

There are 2 ways to do that A) Manually sudo dpkg -i your_package.deb (This will install the package but with the missing dependencies, if there is) sudo apt-get install -f (This will download the missing packages, after that, your are good to go) B) Or you can use gdebi . This package has 2 version, command line and one with a GUI. The GUI one integrates with your file explorer so you right-click your package, and select to open it using Gdebi. The command line version can be installed by runing this command  sudo apt-get install gdebi-core , the GUI version for GNOME can be installed by running the command sudo apt-get install gdebi . For KDE, run the following command sudo apt-get install gdebi-kde . To use the command line version of gdebi. Just run the following command sudo gdebi your_package.deb .

Ubuntu 13.10: Google chrome window closes when Ctrl+F is pressed

Image
On Ubuntu 13.10, the keyboard shortcut Ctrl+F is set to close windows ! You should simply click on that shortcut, which will allow you to pick another shortcut. You probably would like to press Alt+F4 .

Installing Eclipse Kepler on Ubuntu 13.10

I don't know an apt-get way to install the latest Eclipse Kepler for Java EE development. So you just download the archive file and extract it somewhere. I also have Juno for OC4j development so I also created a "sub" shortcut, or as it's technicly known, a shortcut group within the one shortcut we'll create on the launcher. Basically, you can run your main eclipse environment just by clicking on a launcher icon, and you can also run another application just by right-clicking this icon, and choosing the application you configured. on your ~/.local/share/applications directory, create a file and call it eclipse.desktop (Or whatever, AFAIK the name doesn't matter). Put the following in it and change the paths respectively. [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Java EE - Eclipse Kepler Icon=/home/mgelbana/Downloads/IDE/eclipse_kepler/icon.xpm Path=/home/mgelbana/Downloads/IDE/eclipse_kepler Exec=env UBUNTU_MENUPROXY=0 /home/mg...