Skip to main content

Posts

Showing posts with the label Ubuntu

Installing QNX SDP 6.6 Linux on Ubuntu 18.10

QNX SDP 6.6 (Software Development Platform) on Linux is a 32-bit application. Now it can be installed on Ubuntu 18.10 64-bit OS but you need to install the following pre-requisite libraries: $: sudo apt install libc6:i386 default-jre-headless:i386 libgtk2.0-0:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386 You should be able to run QNX Momentics at this point ( /opt/qnx660/run-qde.sh ) but you will get a lot of error messages on the console like below: (qde:8603): Gtk-WARNING **: 01:12:34.312: Unable to locate theme engine in module_path: "adwaita", . To clean it up, do: $: sudo apt install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 gtk2-engines:i386 gnome-themes-extra:i386 </>

Copy/paste text from Ubuntu 18.10 (Cosmic Cuttlefish) VM from/to Windows host using VirtualBox

Tested on: Host: Windows 10 Enterprise (1803) with VirtualBox 5.2.20 Guest: Ubuntu 18.10 (Cosmic Cuttlefish) Goal : Copy/paste text from/to Ubuntu 18.10 from/to Windows host Solution: This is not absolutely necessary but it is a good practice to update Ubuntu 18.10 to the latest using a terminal, like: $ sudo apt update $ sudo apt upgrade $ sudo apt autoremove I would advice to reboot the machine at this point so that we will be running the latest kernel. The next command may also pick the wrong version of the kernel headers if the machine(VM) is running the older version of the kernel. Now, install dkms so that VirtualBox guest additions can be compiled as part of the kernel, like: $ sudo apt install dkms Now mount VirtualBox guest additions, this will be done from the external/host UI of the VirtualBox guest VM. For example, click on Devices | Insert Guest Additions CD Image... Now head into the VM and do: $ cd /media/<username>/VBox_GAs_5.2.20 $ sudo

Install LXQt on Ubuntu 18.10 Cosmic Cuttlefish

Note: Tested on alpha version of Ubuntu 18.10 server image using daily build date 2018/06/09. Steps to install LXQt on 18.10 using server image: * Download server image and install. I have only selected Open SSH as the core function of the server. *  Install LXQt sudo apt install xorg sddm lxqt Reference: https://askubuntu.com/questions/873529/how-to-install-lxqt-on-ubuntu-server-16-04 Keywords: LXQt Ubuntu 18.10 Cosmic Cuttlefish

Lubuntu 18.04 minimal installation does not include high contrast theme

I really like the trend in Ubuntu and derivatives for offering minimal installation in 18.04. Lubuntu offered that option but it still includes a lot of applications that I don't really need, for example it included gnumeric, Abiword, etc. I am hoping that future versions will be more streamlined. Anyway, I also sometimes use high contrast theme but this is not installed by the default. To fix this do: sudo apt install gnome-accessibility-themes

Screen sharing on minimal installation of Ubuntu 18.04

Ubuntu 18.04 offered a minimalist install. This gets rid of a lot of software that I don't normally use, I really like this new feature. See below for this option during install. What you pay with this option though (at least in 18.04) is that screen sharing is not working. This is how it looks like trying to configure it.  Anyway, to get it work install vino , like: sudo apt install vino After installing vino, it should look like below. Observe that Screen Sharing option shows up just below computer name. Additionally, to connect to it from Windows using RealVNC client, you need to disable vino encryption, like: gsettings set org.gnome.Vino require-encryption false

Ubuntu 17.04 minimal Lubuntu install

Lubuntu is already pretty lightweight but still comes with a lot of applications i don't need. I need a machine that is pretty clean, with just the bare bones with GUI capabilities. Start with netinstall iso , do text based install with minimal options, then do: $ sudo apt update $ sudo apt upgrade $ sudo tasksel install lubuntu-core $ sudo reboot Add browser, I like Chromium, install it like: $ sudo apt install chromium-browser Light Docker Settings is not working on using light install, so let us fix it, do: $ sudo apt install python-gi I like "Customize Look and Feel" (lxappearance) for adjusting LXDE, to install, do: $ sudo apt install lxappearance Additional packages to install, do: $ sudo apt install xfonts-terminus

Installing VMware Workstation Professional VMware Tools in Ubuntu 16.04

It is good practice to get the latest updates before installing VMware Tools. Open terminal and run the following: $ sudo apt update $ sudo apt upgrade $ sudo reboot If the update needs to upgrade the kernel, it is a good idea to reboot the machine before installing the tools so that we are compiling against the correct kernel. From VMware Workstation menu, do VM | Install VMware Tools... . $ mount cdrom $ mkdir ~/tmp $ tar -xvzf /media/u1/VMware\ Tools/VMwareTools-9.9.5-3735633.tar.gz -C ~/tmp $ cd ~/tmp/vmware-tools-distrib/ $ sudo ./vmware-install.pl -d $ eject $ sudo reboot Where: u1 = is the username, replace it with your username VMwareTools-9.9.5-3735633.tar.gz = version of VMware Tools in the ISO, change it with what's in /media/<user>/VMware Tools/ .

Add a regular user in Kali Linux

Create a new user, say timus . # adduser timus Add user to sudoers group. This enables the user to become root when needed, for example to install new software. # usermod -a -G sudo timus References: http://8thstring.blogspot.com/2013/07/howto-create-new-user-in-lubuntu.html http://8thstring.blogspot.com/2012/12/adding-existing-user-to-group-in-ubuntu.html

How to install Squeak 5.0 on Ubuntu 15.10 64-bit

Squeak 5.0 stable as of this writing (3/21/2016) only supports 32-bit on Linux. To get this to work on 64-bit install follow the instructions below. Download Squeak 5.0 from http://squeak.org/ Extract to location, e.g., ~/apps/ Open a console $: cd ~/Downloads $: unzip Squeak-5.0-All-in-One.zip -d ~/apps/ Get 32-bit libraries Use the Squeak built-in script to get most (not all is installed) $: cd ~/apps/Squeak-5.0-All-in-One $: Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/install-libs32 This will fail with the error message below (at least on Ubuntu 15.10) Fail with the following error message: E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by regex 'lib32bz2-1.0' E: Unable to locate package libgl1-mesa-dri-lts-utopic E: Unable to locate package libgl1-mesa-glx-lts-utopic Let us fix this by running command below: $: sudo dpkg --add-architecture i386 $: sudo apt-get update $: sudo apt install lib32z1 $: sudo apt in

View library dependencies in Linux

I was trying to get Squeak VM 5.0 running on Ubuntu 16.04 beta 1 and got the following: /home/timus/Downloads/Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/bin/squeak could not find display driver vm-display-X11; either:   - check that /home/timus/Downloads/Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397//vm-display-X11.so exists, or   - use the '-plugins <path>' option to tell me where it is, or   - remove DISPLAY from your environment. ./squeak.sh: line 1:  8289 Aborted                 (core dumped) ./Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/squeak.sh To view library dependencies in Linux, do: $: ldd Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397/vm-display-X11 This should display library dependencies of vm-display-X11.

The panel encountered a problem while loading "TrashAppletFactory::TrashApplet"

Installed Ubuntu 15.04 CLI (network install), then installed Ubuntu MATE minimal installation. The issue is that every time I login I run into an application crashing. The panel encountered a problem while loading "TrashAppletFactory::TrashApplet"  I am guessing that this is for the Trash Can on the desktop, clicking on Delete will prevent this error message from showing up again next time. Of course you will not have the Trash on the desktop. References: https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/727660 https://bug654843.bugzilla-attachments.gnome.org/attachment.cgi?id=201328

Fix corrupted console font on Ubuntu 15.04

My tasksel looks like below. To fix this do: $: sudo dpkg-reconfigure console-setup Then select:  UTF-8 Guess optimal character set Terminus 8x16 Select different font type as appropriate. Keywords: tty;console;command line;cli install Refs: http://askubuntu.com/questions/173220/how-do-i-change-the-font-or-the-font-size-in-the-tty-console