Posts

Showing posts with the label Linux

Manage Your Java Environment

In case you are familiar with Pyhon, I guess you also have heard of virtualenv . This is a tool to create isolated Python environments, which lets you easily create or switch projects between Python 2 and Python 3. In Java, there are also different version out there. While version 7 or 8 are probably still most commonly used in production, even newer versions like 10 (current default of Ubuntu 18.04) or the preview of Java 11 (release expected in late September 2018) are available, too. Consequently, it can happen that you are working on several projects with different Java version requirements. The question is now: how can we switch between different installed JDKs? There are of course multiple possible answers. Two of them are the following... A. Setting the default Java version In case you have multiple Java versions installed, you can change the default version using the update-alternatives tool: $ sudo update-alternatives --config java This command will list you all ins...

Setup Dell C1660W printer in Ubuntu

To be honest, this post is more or less a self-memo for myself. Nevertheless, this might be still helpful for others. While drivers for almost every hardware components or peripheral devices are automatically detected and installed in Windows, this is often not the case in Ubuntu. For instance, my Dell C1660W printer was not working in a plug & play fashion on Ubuntu 17.10. In order to setup this printer, I had to do the following steps: 1. Add a device in Settings > Devices > Printers 2. Download and install the Xerox Phaser 6000 drivers 3. Open the Printer Details of the printer added earlier 4. The the Xerox Phaser 6000B v1.0 driver using Select form Database... The printer is now ready to use. However, the driver does not fully work as expected. As an example, after every printing job, I have to restart the printer. Otherwise, the printer is simply rejecting the job, or it prints the job with some minutes delay outta nowhere.

Shared Folder in VirtualBox einrichten

Image
Beim Arbeiten mit einer virtuellen Maschine ist es oft erforderlich, Daten vom einen OS zum anderen zu kopieren. Bei VirtualBox geschieht dies mit Hilfe eines Shared Folders . Wie man einen solchen einrichtet, wird folgend beschreiben… 1. Installation der Gasterweiterungen Als erstes muss man die Gasterweiterungen von VirtualBox installieren. Diese Option findet man unter Gerät > Gasterweiterungen installieren… Anschließen erscheint ein virtuelles Image der Gasterweiterungen namens VBOXADDITIONS Beim öffnen dieser Image wird diese auch als Unix-Software erkannt und kann installiert werden Bei der Installation sollte in der Regel kein Fehler passieren. Nach der Installation der Gasterweiterungen ist es nun zusätzlich möglich, die Auflösung der von Ubuntu höher als 800x600 zu stellen. Sie wird nun automatisch an die Fenstergröße angepasst. 2. Anlegen der Shared Folder Nun wird es an der Zeit die Tausch-Ordner anzulegen. Als erstes legt man einen Ordner im Host-OS an (in m...