pdftk package is reported missing from Ubuntu 18.04 Bionic. To me, the easiest way to install it out of a few suggested methods is as follows,
sudo snap install pdftk
Read more about
snap here.
pdftk package is reported missing from Ubuntu 18.04 Bionic. To me, the easiest way to install it out of a few suggested methods is as follows,
sudo snap install pdftk
snap here.
vmware-toolbox-cmd -v
apt-show-versions open-vm-tools
git commit, I would observe the following,
$ git commit -m "done something trivial"
error: bad index file sha1 signature
fatal: index file corrupt
git commit is successful. As discussed in issue #90, this is the result that the tools cache file attributes and entries and causes a cache inconsistency. The 5-second delay is the waiting time before the cached items get updated.npm install to fail.
sudo add-apt-repository ppa:ci-train-ppa-service/3152
sudo apt-get update
sudo apt-get upgrade open-vm-tools open-vm-tools-desktop open-vm-tools-dkms
10.2.0.1608 (build-7253323), and it seems to work fine although some seem to observe some issues, such as, a race condition.
"On the contrary, VMware Player 7 documentation states,
Use Unity Mode
You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop.
"
"It is clearly that Linux support has been dropped.
Use Unity Mode
You can switch virtual machines that have Linux or Windows 2000 or later guest operating systems to Unity mode to display applications directly on the host system desktop.
"
sudo apt-get install gnome-flashback gnome-session-flashback
mkdir mysite
cd mysite
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'execjs'" >> Gemfile
echo "gem 'therubyracer'" >> Gemfile
echo "gem 'github-pages', group: :jekyll_plugins" >> Gemfile
sudo apt-get install ruby ruby-dev ruby-bundler zlib1g-dev build-essential
bundle install
bundle exec jekyll build
bundle exec jekyll serve --host=127.0.0.1 --port=4000
$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update
$ sudo apt-get install ruby2.3 # or ruby2.2
$ sudo apt-get install ruby2.3-dev
systemd as its default system and service manager, i.e., the init manager. Although systemd offers many benefits, such as, aggressively starting services concurrently, you may sometimes want to switch back to upstart, the older system and service manager for Ubuntu because some services that you still have to run depend on it. Below are the steps that you can play with to switch to back upstart. However, since Ubuntu 16.04 is now designed with systemd as default system and service manager, many other services and applications are not designed to work without systemd. As a result, the following steps, as a few readers have noticed, may render your Ubuntu installation unusable. To run a Linux system without using systemd, the best approach is, to select and set up a Linux distribution that does not rely on systemd. See the Without-Systemd Wiki for more information and a list of Linux distributions. upstart-sysv and remove systemd-sysv.
sudo apt-get install upstart-sysv
Ubuntu to reflect the change that you just made.
sudo update-initramfs -u
systemd package in the system. This step removes package including libpam-systemd.
sudo apt-get purge systemd
[ 26.664057] systemd-logind[4445]: Failed to start user service, ignoring: Unknown unit: user@1000.service
upstartd back at the helm.
sudo apt-get clean all
sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
sudo apt-get update
sudo apt-get install adobereader-enu
sudo add-apt-repository -r "deb http://archive.canonical.com/ precise partner"
sudo apt-get clean all
sudo apt-get update
acroreader, such as,
......
(acroread:19366): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
......
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
gtk2-engines-murrine, libcanberra-gtk-module,
libatk-adaptor, and libgail-commonfor i386 as follows,
sudo apt-get install gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 libatk-adaptor:i386 libgail-common:i386
Gnome like I do, then the last step is to set up default application for open PDF files. This is to edit the /etc/gnome/defaults.list file.
sudo gedit /etc/gnome/defaults.list
The editing is to find and replace the line
application/pdf=evince.desktop
application/pdf=acroread.desktop
and add the following lines to the end of the file,
application/fdf=acroread.desktop
application/xdp=acroread.desktop
application/xfdf=acroread.desktop
application/pdx=acroread.desktop
nautilus to apply change if you do not wish to log out and log back in.
nautilus -q
\documentclass[review]{elsarticle}
\usepackage{lineno,hyperref}
lineno,
! LaTeX Error: File `lineno.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
textlive-humanities package,
sudo apt-get install texlive-humanities
texlive-collection-humanities package,
sudo yum install texlive-collection-humanities
$ dpkg-query -s gnome-shell
dpkg-query: package 'gnome-shell' is not installed and no information is available
......
$ dpkg -s gnome-session-flashback
Package: gnome-session-flashback
Status: install ok installed
......
$ dpkg-query -l gnome-shell
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gnome-shell <none> <none> (no description available)
$ dpkg-query -l gnome-session-flashback
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii gnome-session- 1:3.8.0-1ubu all GNOME Session Manager - GNOME Fla
$ dpkg-query -l gnome*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gnome <none> <none> (no description available)
ii gnome-accessib 3.10.0-1ubun all Accessibility themes for the GNOM
ii gnome-applets 3.5.92-0ubun i386 Various applets for the GNOME pan
......
sudo apt-get install linux-headers-generic build-essential
sudo apt-get purge \
unity unity-common unity-services \
unity-lens-\* unity-scope-\* unity-webapps-\* \
gnome-control-center-unity \
hud libunity-core-6\* libunity-misc4 \
libunity-webapps\* appmenu-gtk \
appmenu-gtk3 appmenu-qt\* overlay-scrollbar\* \
activity-log-manager-control-center \
firefox-globalmenu thunderbird-globalmenu \
libufe-xidgetter0 xul-ext-unity \
xul-ext-webaccounts webaccounts-extension-common \
xul-ext-websites-integration \
gnome-control-center gnome-session
sudo apt-get install gnome-session-fallback
sudo apt-get game\* purge ace-of-penguins gnome-mahjongg gnome-mines \
berusky biniax2 gnurobbo groundhog gtkballs hitori \
four-in-a-row gnect gbrainy gnome-sudoku chess\* \
nibbles\* solitaire\* iagno\* klotski\* tetravex\* \
drascula gtkboard oneisenough openyahtzee ri-li \
scribble swell-foop quadrapassel\* lightsoff \
five-or-more gnome-robots gtali
sudo apt-get purge webbrowser-app thunderbird\*
sudo apt-get purge libreoffice\*
sudo apt-get purge software-center\*
/var/cache directory can easily have a few hundred megabytes data. We can trim it down.
sudo apt-get clean
automove,
sudo apt-get autoremove
sudo apt-get purge yelp\*
sudo apt-get install octave
dd if=/dev/zero of=zerofile; \
sleep 5; sync; \
sleep 5; sync; \
sleep 5; sync; \
rm -f zerofile;
sudo apt-get install bleachbit; sudo bleachbit
sudo apt-get update; sudo apt-get install gnome-session-fallback
$ gnome-session --version
gnome-session 3.9.90
sudo apt-get install xfce4
or
if you want more bells & whitsles, apt-get install xubuntu-desktop
sudo apt-get install lxde
or
if you want the full desktop environment, apt-get install lubuntu-desktop
sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --no-install-recommends \
ubuntu-mate-core ubuntu-mate-desktop
At this point, you can switch to VMware Unity mode. However, the application menu of the VMWare Unity mode is empty. This is the result that the VMware tools at present only recognoizes three desktop environments, Gnome, KDE, and Xfce -- if you run vmware-xdg-detect-de in your Ubuntu guest, you will see that the output of the script is empty. I made one minor change to the script, and the VMWare Unity mode menu appeared. Below is the diff result on the script before and after the revision.
diff \
/usr/bin/vmware-xdg-detect-de \
$HOME/vmware-tools-distrib/lib/bin32/vmware-xdg-detect-de
63,67d62
< elif `dbus-send --print-reply --dest=org.freedesktop.DBus \
< /org/freedesktop/DBus \
< org.freedesktop.DBus.GetNameOwner \
< string:org.mate.SessionManager > /dev/null 2>&1` ; \
< then DE=gnome; # pretent to be gnome
sudo apt-get update; sudo apt-get install gnome-session-fallback
Initially, I thought GNOME Flashback/Fallback stopped working with VMware Unity mode on Ubuntu 14.04. However, once I investigated further, I discovered that Ubuntu 14.04 reports the value of environmental variable XDG_CURRENT_DESKTOP as Unity. The solution is still to let vmware-xdg-detect-de return gnome. What I did is shown in this diff result,diff /usr/bin/vmware-xdg-detect-de \
$HOME/vmware-tools-distrib/lib/bin32/vmware-xdg-detect-de
58,60d57
< DE=gnome
< xdgDE=gnome
GNOME in the user profile, e.g., adding the following line to $HOME/.profile, VMware Unity mode remains NOT working.
export XDG_CURRENT_DESKTOP=GNOME
It begins to work only after I made the revision to vmware-xdg-detect-de as described above.
sudo apt-get install --reinstall gnome-session-flashback
| Desktop Environment | Display Name in Login Screen | VMWare Unity Mode Works? |
|---|---|---|
| Ubuntu Unity | Ubuntu Default | No |
| GNOME 3 | GNOME | No |
| GNOME 3 | GNOME Flashback (Compwiz) | No |
| GNOME 3 | GNOME Flashback (Metacity) | Yes (See the note on Gnome above and download vmware-xdg-detect-de) |
| Xfce | Xfce | Yes |
| Xfce | XUbuntu | Yes |
| LXDE | LXDE | Yes |
| LXDE | LUbuntu | Yes |
| Mate | Mate | Yes (See the note on Mate above and download vmware-xdg-detect-de) |
| Awesome | Awesome | No |
1. Press CTRL-ALT-F1 to switch to the console screen
2. Log in on the console screen
3. Install Gnome desktop environment, by running
$ sudo apt-get install gnome
4. Kill and restart X or simply reboot the machine, by running
$ sudo reboot
5. When the Graphical Login screen appears, click on the little
icon to the right of the user name, and choose any of Gnome
desktop environment, (Gnome Classic, Gnome Classic ...)
6. Then log in.
You should be in without any problem.
ethernet0.virtualDev = "vmxnet3"
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
userfoo@ubuntu:~$ dpkg -l | grep linux | grep 3.0
ii linux-image-3.0.0-12-generic 3.0.0-12.20 i386 Linux kernel image for version 3.0.0 on x86/x86_64
userfoo@ubuntu:~$
userfoo@ubuntu:~$ sudo apt-get remove linux-image-3.0.0-12-generic