User called backup1... what is it for? how to know if it's not compromised?

I don't recognize that user name offhand, but that doesn't necessarily mean anything (since it is not my system).

What is the uid of the user?  Normally, any uid between 100 and 999 are dynamically created by packages installed on the system.  You can search through package postinst scripts to find packages which may have created it:  $ fgrep backup1 /var/lib/dpkg/info/*.postinst.  Does the user have a password in /etc/shadow?  Is the account locked?  What is the user's default shell?

Followup to additional information:

A uid of 1006 is a "normal" login account, not a system account.  Additionally, since the user has a home directory in /home, has a login shell, and has a password this all indicates that the account was created by someone running adduser as root.  The account is not locked.  A locked account will have an '!' before the password hash.  You can lock the account by running passwd -l backup1.

Potential sources for the creation of this account include:

other system administrators
third-party software installers or packages that are not from the official Ubuntu repositories

You can also use the lastlog command to see when that account last logged in.


How do I use a Yubikey NEO in 14.04 to log into a Google account through Chrome?

I had your same problem (on ubuntu 16.04), and this worked for me:

Create a new file called /etc/udev/rules.d/50-security-key.rules:

  SUBSYSTEMS=="usb", ATTRS{idVendor}=="1050", OWNER="root",
  GROUP="plugdev", MODE:="0660"

Once that file is saved, run

  sudo udevadm control --reload-rules

and then restart Chrome.

The question is old, but hopefully this will save time to someone else.
Source: http://www.sowbug.com/post/131363489376/enabling-yubico-u2f-security-key-on-chrome-for


Deleted partition didn't fix windows boot

You should restorce your boot records, using the method described here. So, run the system restore option of a Windows installation media, then get a command prompt, and write this in it:

bootrec /rebuildbcd

That should fix it.


SYSLINUX: No DEFAULT or UI configuration directive found!

General answer

Generally the iso image that are intended to be burned and booted from CD/DVD has all the files required for boot in the isolinux folder. Whereas the iso images that are intended to be run from USB has all the files required for boot in the syslinux folder. So when you try to burn and boot a CD/DVD iso from USB, it cannot recognize the type of boot medium as it will not have syslinux folder it will simply give Boot failure : No DEFAULT or UI configuration directive found!.

General solution for the Error

Open the USB installation media, then rename the following:

isolinux –> syslinux (folder)
isolinux.bin –> syslinux.bin
isolinux.cfg –> syslinux.cfg

The system looks for these two files (.bin & .cfg) in the syslinux folder at root of the device. So make sure you have both files in the syslinux folder.

source: http://www.geekzground.com/index/?p=27
same: http://techie-buzz.com/how-to/syslinux-no-default-ui-error-fix.html
http://www.syslinux.org/archives/2010-October/015756.html


Command-line torrent client that supports multi-tracker extension the way uTorrent does it

Deluge supports multi-tracker torrents, and it has a command-line client available in the Ubuntu repositories, deluge-console


Ralink RT3290 bluetooth adapter is not working [full process]

RT3290 buetooth adapter doesn't work for most of the user. I'm writing this process for them, how to enable RT3290 bluetooth:

(i) Open terminal. (CTRL+ALT+T)

(ii) Install RT3290 driver by typing following commands:

sudo add-apt-repository ppa:blaze/rtbth-dkms
sudo apt-get update
sudo apt-get install rtbth-dkms

(iii)Now you have installed bluetooth driver successfully. Automate the initialization process to avoid manual initialization every time when the computer switched on. For use the following commands:

(a) Open /etc/rc.local file

sudo pico /etc/rc.local (you can also use gedit instead of pico)

(b) /etc/rc.local file is now opened and looks like:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

(c) Just before "exit 0" add the command "modprobe rtbth &> /dev/null", now the file looks like:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

modprobe rtbth &> /dev/null

exit 0

(d) Save the file. (Press CTRL+Z -> Press y -> Press Enter key) (Press CTRL+S and the close file, for gedit)

(e) Now give the file executable permission(for all):

sudo chmod 777 /etc/rc.local

(iv) I've tested inbuilt bluetooth available under settings, but it really can't handle both way transfer. I was unable to transfer any file from my phone to pc. So, avoid it. Open "system settings" -> "Bluetooth" -> Untick "Show Bluetooth status in the menu bar"

(v) Install Blueman(It is going to be alternative for native bluetooth software):

sudo apt-get install blueman

(vi) Now reboot your pc.

(vii) After rebooting, go to "Dash Board" and search "Bluetooth Adapters" and open it. (I think after installing Blueman it is already pinned in your launcher). Boom. The bluetooth is working now. You can control(switch on/switch off/transfer files) your bluetooth from the bluetooth sign available in the menu bar.


Deleted Ubuntu 20 alongside windows 10 and unable to install again

Looks like your installer is corrupt.

Re-download the installer .iso
Check the hash to verify a good download
Re-make the install USB with the verified .iso.


Boot loader failure and reinstalling help

So if you just want Ubuntu.

  When you get up to this stage click something else click contiune

  Then Select Free space and create a new Partition

  Create a new partition take 1000 MB off the Size. use as an EXT4, use
  / as the mount point

  Create a Swap Partition

  Now make sure Ubuntu has selected the right device for the grub boot
  loader  so if your drive is called /dev/sda you don't want to install
  the boot loader to a partition is may cause problems  so if ubuntu
  selected the boot loader to be installed on /dev/sda1 you need to
  change it to /dev/sda

If the boot loader fails to install after flowing these steps take a screen shot or even better copy the error and post it here.


These are not errors. These are warnings and all warnings are to be ignored.

With that said, you should use sudo -i to run gtk applications with sudo.

sudo -i nautilus

These warnings are normal and are to be ignored safely.

Although a fix is not necessary, there is a workaround.

The only work around requires you install the development files:

sudo apt-get update
sudo apt-get install libgdk-pixbuf2.0-dev
sudo gdk-pixbuf-query-loaders --update-cache
sudo killall nautilus

That should take care of most of the warnings.

If you don't like to see output in the terminal after running the command, you can use the nohup command like so:

nohup sudo -i nautilus

or

nohup sudo -i nautilus &

Again, in the future, you can ignore warnings like these unless there is a problem running the application.


I installed ubuntu 16.04 on my lenovo G500 wifi off

Connect your notebook to UTP network cable and try this:

Check "Additional drivers" and see if driver for broadcom corporation BCM43142 is there and install it - select Using Broadcom 802.11 Linux STA wireless driver source and press Apply Changes.

My screenshot of Aditional drivers

If there is no option in Additional drivers try to install it manually from terminal with following command

apt-get install bcmwl-kernel-source

My output is (using wl driver):

$ lspci -knn | grep Net -A2
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611]
    Kernel driver in use: wl


dpkg error processing packages, cannot complete install desktop/GUI from terminal

sudo apt-get autoremove
sudo apt-get --purge remove && sudo apt-get autoclean
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo dpkg-reconfigure -a
sudo dpkg --configure -a

Worked for me in the end, hopefully someone can use this for future reference!


Unable to enter gnome session - configuration GNOME power manager failed to install

Edited (and expanded based on comments) as a part of clean-up.

This is a typically problem of not enough space left on your root partition.

You can make space with sudo apt-get clean, enlarging your partition size with gparted, or removing unnecessary files.

In this case , pahnin resolved the issue by removing a large iso (see comments).

Regards,

Ilias el Matani


Nothing system-wide, it seems, but good news:  OpenOffice Writer has this function built in!  http://wiki.services.openoffice.org/wiki/Word_Completion

In fact a lot of linux apps have some kind of autocomplete.  The bash shell responds to the TAB key, so do most places in gnome where you enter a filename.  If you're a programmer, then you'll get this (aka intellisense) in most IDEs, such as geany, eclipse, bluefish.  Even the humble gedit has a plugin that does this.  http://www.cyberciti.biz/faq/gedit-python-c-cpp-autocomplete-plugin/gedit-autocomplete/

If you're looking for something system-wide, the only thing I can recommend is AutoKey, which really just expands abbreviations that you've set up in advance.  Not ideal, but it's a start.  Just install it using Ubuntu Software Center.

Hope these tools are enough to attract your friend to this superb OS!


Redirect http page to another inside my computer?

You would need a webserver running on localhost so that when your host's modification points, to use your example, yahoo.com to 127.0.0.1, it would query the local webserver which would show the page.

For a lightweight server, i'd recommend lighttpd


Ubuntu 12.04 LTS Display resolution degraded after updating from kernel 3.11.0 to linux-3.18.2

I guess the issue might be with the default configurations that I used during the new kernel build process.  I was able to resolve the issue with these steps:

After rebooting with new kernel image (V3.18.2), i went to Settings > Display and tested with various available resolutions. Changing the resolution to 1366x768 worked in my case.
After applying the new resolution, A pop-up prompts you to confirm that you want the new resolution to be set as the default. Select Keep This Configuration.


How can I know which folders are created by which program?

Try:

apt-cache depends <package-name>  |  grep gtksourceview

With Mousepad, I get this:

$ apt-cache depends mousepad | grep gtksourceview
  Depends: libgtksourceview2.0-0

The others (Geany and Medit) don't depend on version 2.0 of GtkSourceView.

As a side note, to check which packages provide a directory/file, you can use dpkg -S <package-name> if the file is in your system or apt-file for the general case:

dpkg -S /usr/share/gtksourceview-2.0       # local file/directory
apt-file find /usr/share/gtksourceview-2.0 # works even if the file is not installed

Since apt-file is not installed by default you need to sudo apt-get install apt-file. With the above command, I get (among other results) the package libgtksourceview2.0-common. Now I can use apt-cache rdepends to seek for packages which directly/indirectly provide the directory:

$ apt-cache rdepends libgtksourceview2.0-common
libgtksourceview2.0-common
Reverse Depends:
  libgtksourceview2.0-0
  libgtksourceview2.0-0

$ apt-cache rdepends libgtksourceview2.0-0 | grep 'geany\|medit\|mousepad'
  mousepad

This also seems to work (and possibly more general):

apt-cache rdepends libgtksourceview2.0-common \
  --recurse \
  --no-recommends \
  --no-suggests | grep 'geany\|medit\|mousepad'


From a networking side it could be related to the default gateway being bound to the wireless interface.

We would need to see the output for the following to confirm:

ifconfig

and

route -n

The other possible reason is from an application layer.  These services may not be configured to listen on an IP associated with that interface.  The following command will show you what is listening and on what IP.

netstat -an | less


Is There any Problems with installing vlc in laptop causing damage for laptop speakers

It looks like this belief is due to stupid customer support using it as an excuse to make a laptop's warranty void, and charge the customer.

You can safely install VLC, it won't harm your speakers. Aside from the fact that VLC developers are not fools, speakers' power output is set in the firmware, and can't be arbitrarily changed to an excessive value by a program so to damage them.


How do I reset Notification style to default in xubuntu?

This issue was due to i3wm. I guess dunst notification daemon override the default one. You may refer to some other helpful solutions:
how-do-i-disable-dunst-and-go-back-to-notify-osd
notify-osd-notifications-appear-unthemed-in-top-left-corner


using ubuntu 12.04 LTS but also have Windows 7 on same computer- how to I wipe windows?

If I understood you well use Wubi Migrating tool, here you have documentation: https://help.ubuntu.com/community/MigrateWubi

Remember to plug the charger If you are using a laptop.


Mount LUKS Ext4 USB Pen Drive in Nautilus

Ok I found what was the problem: wrong permissions in /media/<username>.
If you have the same error message, then umount everything, go to /media, and delete your directory. Nautilus will recreate it with (hopefully) the right permissions.
WARNING: Be sure nothing is mounted int /media/<username>, because you might loose your data.
NOTE: If this problem comes up again, I'll create a bug report on launchpad.


GRUB_DEFAULT = _ is not working properly

Take a backup of your current grub.

sudo cp /etc/default/grub /etc/default/grub.bak
Now, open the file.

sudo gedit /etc/default/grub
Open another terminal and type:

cat /boot/grub/grub.cfg | grep 4.2.0-16

You will see a line like this:

  menuentry 'Ubuntu, with Linux 4.2.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-18-generic-advanced-esx5367c-b4ug-19sd-v6j8-ty2hj01ui3kj' {..........

Copy this line & paste it:

EDITED FROM:

  GRUB_DEFAULT ="gnulinux-4.2.0-16-generic-advanced-2e2221b2-b6c7-4553-815f-67afdc924a98"

EDITED TO:

  GRUB_DEFAULT ="gnulinux-advanced-2e2221b2-b6c7-4553-815f-67afdc924a98>gnulinux-4.2.0-16-generic-advanced-2e2221b2-b6c7-4553-815f-67afdc924a98"

Save the file.
Now, type the command:

sudo update-grub


Can I unplug USB media installation while installing?

Not all of the information is loaded into RAM. If you pull the drive Ubuntu will stop working because the commands are still on the USB drive.

I just tested this out, and I am replying to this without my USB drive in the system and it is working fine while I am still in the Try Ubuntu.

On your USB drive, modify boot/grub/grub.cfg and add toram to the following so both the Try and Install will work without the USB drive in:

menuentry "Try Ubuntu without installing" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash toram --
    initrd  /casper/initrd.lz
}
menuentry "Install Ubuntu" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash toram --
    initrd  /casper/initrd.lz
}


Uninstall ubuntu-desktop with unity, gnome etc

See http://www.psychocats.net/ubuntu/purekde for keeping only KDE
http://www.psychocats.net/ubuntu/purexubuntu for keeping only Xubuntu

for a list of applications to remove for the various desktops.

To remove gnome,

sudo apt-get purge adium-theme-ubuntu aisleriot apg apport-gtk aptdaemon aptdaemon-data apturl at-spi2-core bamfdaemon banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore baobab binfmt-support bluez-gstreamer branding-ubuntu brasero brasero-cdrkit brasero-common checkbox checkbox-gtk cli-common compiz compiz-core compiz-gnome compiz-plugins-default compiz-plugins-main-default compizconfig-backend-gconf deja-dup desktop-file-utils dmz-cursor-theme doc-base duplicity empathy empathy-common eog espeak espeak-data evince evince-common evolution-data-server evolution-data-server-common example-content file-roller firefox firefox-globalmenu firefox-gnome-support gamin gbrainy gcalctool gcc gcc-4.6 gconf2 gconf2-common gedit gedit-common geoclue geoclue-ubuntu-geoip ginn gir1.2-appindicator3-0.1 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dbusmenu-gtk-0.4 gir1.2-dee-0.5 gir1.2-freedesktop gir1.2-gconf-2.0 gir1.2-gdkpixbuf-2.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gtk-2.0 gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-indicate-0.6 gir1.2-launchpad-integration-3.0 gir1.2-notify-0.7 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-soup-2.4 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gir1.2-unity-4.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 gir1.2-wnck-3.0 gksu gnome-accessibility-themes gnome-bluetooth gnome-codec-install gnome-control-center gnome-control-center-data gnome-desktop-data gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-games-common gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-mahjongg gnome-media gnome-menus gnome-nettool gnome-online-accounts gnome-orca gnome-power-manager gnome-screensaver gnome-screenshot gnome-search-tool gnome-session gnome-session-bin gnome-session-canberra gnome-session-common gnome-settings-daemon gnome-sudoku gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gnome-user-guide gnome-user-share gnome-utils-common gnomine gstreamer0.10-gconf gstreamer0.10-nice gstreamer0.10-plugins-base-apps gstreamer0.10-tools gtk2-engines gtk2-engines-murrine gtk3-engines-unico gucharmap guile-1.8-libs gvfs gvfs-backends gvfs-bin gvfs-fuse gwibber gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter humanity-icon-theme hwdata ibus ibus-gtk3 ibus-pinyin ibus-pinyin-db-android ibus-pinyin-db-open-phrase ibus-table indicator-application indicator-appmenu indicator-datetime indicator-messages indicator-power indicator-session indicator-sound indicator-status-provider-mc5 intel-gpu-tools jockey-gtk language-selector-gnome launchpad-integration libappindicator0.1-cil libappindicator1 libappindicator3-1 libatk-adaptor libatkmm-1.6-1 libatspi2.0-0 libavahi-glib1 libavahi-gobject0 libavahi-ui-gtk3-0 libbamf0 libbamf3-0 libboost-serialization1.46.1 libbrasero-media3-1 libburn4 libc-dev-bin libc6-dev libcairo-perl libcairomm-1.0-1 libcamel-1.2-29 libcanberra-gtk-module libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libcap2-bin libcdio-cdda0 libcdio-paranoia0 libcdio10 libcompizconfig0 libcroco3 libdbus-glib1.0-cil libdbus1.0-cil libdconf-dbus-1-0 libdconf-qt0 libdconf0 libdecoration0 libdee-1.0-1 libdotconf1.0 libebackend-1.2-1 libebook1.2-12 libecal1.2-10 libedata-book-1.2-11 libedata-cal-1.2-13 libedataserver1.2-15 libedataserverui-3.0-1 libespeak1 libevent-2.0-5 libevince3-3 libexempi3 libfolks-telepathy25 libfolks25 libgail-3-0 libgail-3-common libgail-common libgail18 libgamin0 libgck-1-0 libgconf2-4 libgconf2.0-cil libgcr-3-1 libgd2-xpm libgdata-common libgdata1.7-cil libgdata13 libgdiplus libgdu-gtk0 libgdu0 libgee2 libgeoclue0 libgexiv2-0 libgkeyfile1.0-cil libgksu2-0 libglew1.5 libglewmx1.5 libglib-perl libglib2.0-bin libglib2.0-cil libglib2.0-data libglibmm-2.4-1c2a libgmime-2.4-2 libgmime2.4-cil libgnome-bluetooth8 libgnome-control-center1 libgnome-desktop-3-2 libgnome-media-profiles-3.0-0 libgnome-menu-3-0 libgnome-menu2 libgnome2-common libgnomekbd-common libgnomekbd7 libgnomevfs2-0 libgnomevfs2-common libgoa-1.0-0 libgomp1 libgpod-common libgpod4 libgrip0 libgssdp-1.0-2 libgstfarsight0.10-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk-sharp-beans-cil libgtk-vnc-2.0-0 libgtk2-perl libgtk2.0-cil libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview-3.0-common libgtkspell0 libgtkspell3-0 libgtop2-7 libgtop2-common libgucharmap-2-90-7 libgudev1.0-cil libgupnp-1.0-3 libgupnp-igd-1.0-3 libgvnc-1.0-0 libgweather-3-0 libgweather-common libgwibber-gtk2 libgwibber2 libibus-1.0-0 libidl0 libido3-0.1-0 libindicate-gtk3 libindicator-messages-status-provider1 libindicator3-6 libindicator6 libisofs6 libjson-glib-1.0-0 libjte1 libkpathsea5 liblaunchpad-integration-3.0-1 liblaunchpad-integration-common liblaunchpad-integration1 liblaunchpad-integration1.0-cil liblightdm-gobject-1-0 liblircclient0 liblouis-data liblouis2 liblua5.1-0 libmetacity-private0 libminiupnpc5 libmission-control-plugins0 libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo4.0-cil libmono-corlib4.0-cil libmono-csharp4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-zeroconf1.0-cil libnatpmp1 libnautilus-extension1 libnice10 libnm-gtk-common libnm-gtk0 libnotify-bin libnotify0.4-cil libnotify4 libnux-1.0-0 libnux-1.0-common liboauth0 libopencc1 liborbit2 liboverlay-scrollbar-0.2-0 liboverlay-scrollbar3-0.2-0 libp11-kit0 libpam-gnome-keyring libpango-perl libpangomm-1.4-1 libpeas-1.0-0 libpeas-common libpoppler-glib6 libportaudio2 libprotobuf7 libprotoc7 libpurple-bin libpurple0 libqtbamf1 libqtdee2 libqtgconf1 libquadmath0 libquvi0 librarian0 libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-style-human librest-0.7-0 librsvg2-2 librsvg2-common librsync1 libsdl1.2debian libsdl1.2debian-pulseaudio libsigc++-2.0-0c2a libstartup-notification0 libsyncdaemon-1.0-1 libt1-5 libtaglib2.0-cil libtelepathy-farsight0 libtelepathy-glib0 libtelepathy-logger2 libtotem-plparser17 libtotem0 libubuntuone-1.0-1 libubuntuone1.0-cil libunique-1.0-0 libunique-3.0-0 libunity-2d-private0 libunity-core-4.0-4 libunity-misc4 libunity6 libutouch-geis1 libuuid-perl libvte-2.90-9 libvte-common libvte9 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwmf0.2-7 libwmf0.2-7-gtk libwnck-3-0 libwnck-3-common libwnck-common libwnck22 libxklavier16 libxres1 libyaml-tiny-perl libyelp0 libzeitgeist-1.0-1 libzephyr4 light-themes lightdm linux-headers-3.0.0-12 linux-headers-3.0.0-12-generic linux-headers-generic linux-libc-dev make manpages-dev media-player-info metacity metacity-common mono-4.0-gac mono-gac mono-runtime mousetweaks nautilus nautilus-data nautilus-sendto nautilus-sendto-empathy nautilus-share network-manager-gnome network-manager-pptp-gnome notify-osd notify-osd-icons nux-tools onboard oneconf overlay-scrollbar pinyin-database pkg-config plymouth-theme-ubuntu-logo policykit-1-gnome protobuf-compiler pulseaudio-module-gconf python-appindicator python-aptdaemon python-aptdaemon-gtk python-aptdaemon.gtk3widgets python-aptdaemon.gtkwidgets python-brlapi python-configglue python-dateutil python-defer python-egenix-mxdatetime python-egenix-mxtools python-farsight python-gconf python-gnomekeyring python-gst0.10 python-gtk2 python-ibus python-indicate python-libproxy python-libxml2 python-louis python-notify python-openssl python-pam python-papyon python-piston-mini-client python-protobuf python-pyatspi2 python-pyinotify python-serial python-speechd python-support python-telepathy python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol python-virtkey python-vte python-webkit python-wnck qt-at-spi rarian-compat rdesktop seahorse sessioninstaller shotwell simple-scan sni-qt software-center software-properties-common software-properties-gtk speech-dispatcher ssh-askpass-gnome system-config-printer-gnome telepathy-butterfly telepathy-gabble telepathy-haze telepathy-idle telepathy-indicator telepathy-logger telepathy-mission-control-5 telepathy-salut thunderbird thunderbird-globalmenu thunderbird-gnome-support tomboy totem totem-common totem-mozilla totem-plugins transmission-common transmission-gtk ubufox ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-mono ubuntu-sounds ubuntu-sso-client ubuntu-system-service ubuntu-wallpapers ubuntuone-client ubuntuone-client-gnome ubuntuone-control-panel ubuntuone-control-panel-gtk ubuntuone-couch ubuntuone-installer unity unity-2d unity-2d-launcher unity-2d-panel unity-2d-places unity-2d-spread unity-asset-pool unity-common unity-greeter unity-lens-applications unity-lens-files unity-lens-music unity-scope-musicstores unity-services update-manager update-notifier usb-creator-gtk vinagre vino whois xdg-user-dirs-gtk xdiagnose xul-ext-ubufox yelp yelp-xsl zeitgeist zeitgeist-core zeitgeist-datahub zeitgeist-extension-fts zenity zenity-common && sudo apt-get install kubuntu-desktop sudo apt-get remove adium-theme-ubuntu aisleriot apg apport-gtk aptdaemon aptdaemon-data apturl at-spi2-core bamfdaemon banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore baobab binfmt-support bluez-gstreamer branding-ubuntu brasero brasero-cdrkit brasero-common checkbox checkbox-gtk cli-common compiz compiz-core compiz-gnome compiz-plugins-default compiz-plugins-main-default compizconfig-backend-gconf deja-dup desktop-file-utils dmz-cursor-theme doc-base duplicity empathy empathy-common eog espeak espeak-data evince evince-common evolution-data-server evolution-data-server-common example-content file-roller firefox firefox-globalmenu firefox-gnome-support gamin gbrainy gcalctool gcc gcc-4.6 gconf2 gconf2-common gedit gedit-common geoclue geoclue-ubuntu-geoip ginn gir1.2-appindicator3-0.1 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dbusmenu-gtk-0.4 gir1.2-dee-0.5 gir1.2-freedesktop gir1.2-gconf-2.0 gir1.2-gdkpixbuf-2.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gtk-2.0 gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-indicate-0.6 gir1.2-launchpad-integration-3.0 gir1.2-notify-0.7 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-soup-2.4 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gir1.2-unity-4.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 gir1.2-wnck-3.0 gksu gnome-accessibility-themes gnome-bluetooth gnome-codec-install gnome-control-center gnome-control-center-data gnome-desktop-data gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-games-common gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-mahjongg gnome-media gnome-menus gnome-nettool gnome-online-accounts gnome-orca gnome-power-manager gnome-screensaver gnome-screenshot gnome-search-tool gnome-session gnome-session-bin gnome-session-canberra gnome-session-common gnome-settings-daemon gnome-sudoku gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gnome-user-guide gnome-user-share gnome-utils-common gnomine gstreamer0.10-gconf gstreamer0.10-nice gstreamer0.10-plugins-base-apps gstreamer0.10-tools gtk2-engines gtk2-engines-murrine gtk3-engines-unico gucharmap guile-1.8-libs gvfs gvfs-backends gvfs-bin gvfs-fuse gwibber gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter humanity-icon-theme hwdata ibus ibus-gtk3 ibus-pinyin ibus-pinyin-db-android ibus-pinyin-db-open-phrase ibus-table indicator-application indicator-appmenu indicator-datetime indicator-messages indicator-power indicator-session indicator-sound indicator-status-provider-mc5 intel-gpu-tools jockey-gtk language-selector-gnome launchpad-integration libappindicator0.1-cil libappindicator1 libappindicator3-1 libatk-adaptor libatkmm-1.6-1 libatspi2.0-0 libavahi-glib1 libavahi-gobject0 libavahi-ui-gtk3-0 libbamf0 libbamf3-0 libboost-serialization1.46.1 libbrasero-media3-1 libburn4 libc-dev-bin libc6-dev libcairo-perl libcairomm-1.0-1 libcamel-1.2-29 libcanberra-gtk-module libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libcap2-bin libcdio-cdda0 libcdio-paranoia0 libcdio10 libcompizconfig0 libcroco3 libdbus-glib1.0-cil libdbus1.0-cil libdconf-dbus-1-0 libdconf-qt0 libdconf0 libdecoration0 libdee-1.0-1 libdotconf1.0 libebackend-1.2-1 libebook1.2-12 libecal1.2-10 libedata-book-1.2-11 libedata-cal-1.2-13 libedataserver1.2-15 libedataserverui-3.0-1 libespeak1 libevent-2.0-5 libevince3-3 libexempi3 libfolks-telepathy25 libfolks25 libgail-3-0 libgail-3-common libgail-common libgail18 libgamin0 libgck-1-0 libgconf2-4 libgconf2.0-cil libgcr-3-1 libgd2-xpm libgdata-common libgdata1.7-cil libgdata13 libgdiplus libgdu-gtk0 libgdu0 libgee2 libgeoclue0 libgexiv2-0 libgkeyfile1.0-cil libgksu2-0 libglew1.5 libglewmx1.5 libglib-perl libglib2.0-bin libglib2.0-cil libglib2.0-data libglibmm-2.4-1c2a libgmime-2.4-2 libgmime2.4-cil libgnome-bluetooth8 libgnome-control-center1 libgnome-desktop-3-2 libgnome-media-profiles-3.0-0 libgnome-menu-3-0 libgnome-menu2 libgnome2-common libgnomekbd-common libgnomekbd7 libgnomevfs2-0 libgnomevfs2-common libgoa-1.0-0 libgomp1 libgpod-common libgpod4 libgrip0 libgssdp-1.0-2 libgstfarsight0.10-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk-sharp-beans-cil libgtk-vnc-2.0-0 libgtk2-perl libgtk2.0-cil libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview-3.0-common libgtkspell0 libgtkspell3-0 libgtop2-7 libgtop2-common libgucharmap-2-90-7 libgudev1.0-cil libgupnp-1.0-3 libgupnp-igd-1.0-3 libgvnc-1.0-0 libgweather-3-0 libgweather-common libgwibber-gtk2 libgwibber2 libibus-1.0-0 libidl0 libido3-0.1-0 libindicate-gtk3 libindicator-messages-status-provider1 libindicator3-6 libindicator6 libisofs6 libjson-glib-1.0-0 libjte1 libkpathsea5 liblaunchpad-integration-3.0-1 liblaunchpad-integration-common liblaunchpad-integration1 liblaunchpad-integration1.0-cil liblightdm-gobject-1-0 liblircclient0 liblouis-data liblouis2 liblua5.1-0 libmetacity-private0 libminiupnpc5 libmission-control-plugins0 libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo4.0-cil libmono-corlib4.0-cil libmono-csharp4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-zeroconf1.0-cil libnatpmp1 libnautilus-extension1 libnice10 libnm-gtk-common libnm-gtk0 libnotify-bin libnotify0.4-cil libnotify4 libnux-1.0-0 libnux-1.0-common liboauth0 libopencc1 liborbit2 liboverlay-scrollbar-0.2-0 liboverlay-scrollbar3-0.2-0 libp11-kit0 libpam-gnome-keyring libpango-perl libpangomm-1.4-1 libpeas-1.0-0 libpeas-common libpoppler-glib6 libportaudio2 libprotobuf7 libprotoc7 libpurple-bin libpurple0 libqtbamf1 libqtdee2 libqtgconf1 libquadmath0 libquvi0 librarian0 libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-style-human librest-0.7-0 librsvg2-2 librsvg2-common librsync1 libsdl1.2debian libsdl1.2debian-pulseaudio libsigc++-2.0-0c2a libstartup-notification0 libsyncdaemon-1.0-1 libt1-5 libtaglib2.0-cil libtelepathy-farsight0 libtelepathy-glib0 libtelepathy-logger2 libtotem-plparser17 libtotem0 libubuntuone-1.0-1 libubuntuone1.0-cil libunique-1.0-0 libunique-3.0-0 libunity-2d-private0 libunity-core-4.0-4 libunity-misc4 libunity6 libutouch-geis1 libuuid-perl libvte-2.90-9 libvte-common libvte9 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwmf0.2-7 libwmf0.2-7-gtk libwnck-3-0 libwnck-3-common libwnck-common libwnck22 libxklavier16 libxres1 libyaml-tiny-perl libyelp0 libzeitgeist-1.0-1 libzephyr4 light-themes lightdm linux-headers-3.0.0-12 linux-headers-3.0.0-12-generic linux-headers-generic linux-libc-dev make manpages-dev media-player-info metacity metacity-common mono-4.0-gac mono-gac mono-runtime mousetweaks nautilus nautilus-data nautilus-sendto nautilus-sendto-empathy nautilus-share network-manager-gnome network-manager-pptp-gnome notify-osd notify-osd-icons nux-tools onboard oneconf overlay-scrollbar pinyin-database pkg-config plymouth-theme-ubuntu-logo policykit-1-gnome protobuf-compiler pulseaudio-module-gconf python-appindicator python-aptdaemon python-aptdaemon-gtk python-aptdaemon.gtk3widgets python-aptdaemon.gtkwidgets python-brlapi python-configglue python-dateutil python-defer python-egenix-mxdatetime python-egenix-mxtools python-farsight python-gconf python-gnomekeyring python-gst0.10 python-gtk2 python-ibus python-indicate python-libproxy python-libxml2 python-louis python-notify python-openssl python-pam python-papyon python-piston-mini-client python-protobuf python-pyatspi2 python-pyinotify python-serial python-speechd python-support python-telepathy python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol python-virtkey python-vte python-webkit python-wnck qt-at-spi rarian-compat rdesktop seahorse sessioninstaller shotwell simple-scan sni-qt software-center software-properties-common software-properties-gtk speech-dispatcher ssh-askpass-gnome system-config-printer-gnome telepathy-butterfly telepathy-gabble telepathy-haze telepathy-idle telepathy-indicator telepathy-logger telepathy-mission-control-5 telepathy-salut thunderbird thunderbird-globalmenu thunderbird-gnome-support tomboy totem totem-common totem-mozilla totem-plugins transmission-common transmission-gtk ubufox ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-mono ubuntu-sounds ubuntu-sso-client ubuntu-system-service ubuntu-wallpapers ubuntuone-client ubuntuone-client-gnome ubuntuone-control-panel ubuntuone-control-panel-gtk ubuntuone-couch ubuntuone-installer unity unity-2d unity-2d-launcher unity-2d-panel unity-2d-places unity-2d-spread unity-asset-pool unity-common unity-greeter unity-lens-applications unity-lens-files unity-lens-music unity-scope-musicstores unity-services update-manager update-notifier usb-creator-gtk vinagre vino whois xdg-user-dirs-gtk xdiagnose xul-ext-ubufox yelp yelp-xsl zeitgeist zeitgeist-core zeitgeist-datahub zeitgeist-extension-fts zenity zenity-common

As you can see it is a long list, and likely could be simplified. You might wish to review the list and make sure there are no applications you wish to keep.

In addition, you may want to clean the configuration files in your home directory. (apt-get will not remove them).

If you are open to a few suggestions, if at all possible it is sometimes easier to run Ubuntu in a Virtual Machine, such as VirtualBox or KVM. You can try various packages or window managers and settle on a set you like.

You then install the appropriate version (l/x/k/ubuntu) on your hardware.


You can use Subtitle Edit, it works on Ubuntu. To install it run

sudo apt install mono-complete libhunspell-dev libmpv-dev tesseract-ocr

You may also need to install some tesseract-ocr-??? packages if you want to convert subtitles in languages other than English.

Download the portable version from here and unzip it to wherever you want.

Now you can run the program with

mono /path/to/SubtitleEdit.exe

This is how to convert PGS subtitles to SRT using Subtitle Edit.


It's a 'duel', all right! Insert the Windows install disk, reboot into it and choose Repair Windows option. Wait for it to finish, then reboot (and remove Windows installation disk).

Now, you will only see Windows at startup. Boot into Windows and disable Fast Startup.

Insert the Ubuntu installation disk and reboot (yes, again!). Boot into a Live Ubuntu session, open a Terminal window and type:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

If everything worked good, now you should have GRUB menu with both Ubuntu and Win options. You can find more details about this procedure here:  https://help.ubuntu.com/community/Boot-Repair.

Alternatively, you could try to install 'grub-customizer' and edit the list of operating systems. Find more here: http://ubuntuhandbook.org/index.php/2016/04/install-grub-customizer-ubuntu-16-04-lts/.


Ubuntu Server 16.10 won't allow connection through open port 80

Nevermind, in the end it was the Nginx rule, which I would have thought would be specific to Nginx, but apparently blocked off the whole port, even after port 80 was specifically opened with ufw.

Fixed like this:

iptables -D ufw-user-input 1


How to find the list of all available packages along with the lastest version number available in the repositories?

apt-cache policy '.*' displays detailed version information for all packages.

If you want a more compact output with one line per package, you can use aptitude. The following command lists available versions (see the manual for output format specifications) for all packages except cross-architecture ones (e.g. 32-bit packages on a 64-bit system) (see the manual for search patterns):

aptitude search -F '%54p %24V' '~rnative'


"Operating system wasn't found ,try disconnecting drives and press cltr+alt+del to restart "

You need to burn a disk containing Ubuntu.
go out to the drug store and buy a pack of five blank DVDR disks.
on your computer :
download the latest version of Ubuntu :
from here : http://cdimage.ubuntu.com/daily-live/current
windows :
go to http://imgburn.com and download the program
insert one of the blank DVDs from the pack you bought at the drug store.
find your Ubuntu ISO, right click on it, and select "burn using img burn".
uncheck the "verify" box
change "aws" to "2x"
click write
wait for the disk to finish burning
boot from it
mac : go to utilities > disk utility
insert one of your blank disks
click the "burn" button
find your iso
click burn
wait for burn to complete
boot from your disk
linux :
open a terminal
insert one of your blank disks
in the terminal,
enter
sudo wodim /path/to/your/ubuntu.iso
and enter your password when prompted.
When your prompt returns, boot from your disk.
When you hear the drum sound, click your language, and then click the "install ubuntu" button.
click through the prompts, until at the "this computer currently contains ___" where ___ is your current operating system. Click the "erase ____ and install Ubuntu" option, and then click continue. Keep on following prompts until your install completes, then remove the disk and click reboot.


playstation3 via hdmi input on ubuntu audio issue

"Pulse Audio Volume Control" Application may be your answer or may not.

Download it from Software Center and then check the devices under Input Devices Tab.


I've been researching more into the issue, and I have provided myself with a poor solution, but I will share it here in case it helps others.

If after the login sound I type my password, and then press the (Fn)+F5 key (Brightness control hotkey) the screen will light up as normal.

I still find it most annoying not seeing the beautiful lockscreen and/or having my computer usable from start.

Does anyone know a way to make a startup script that changes brightness before login?


After upgrade of Virtual Box, kernel sources are missing

Looks like you don't have the kernel headers installed, dkms needs then to install the Virtual Box kernel drive, to install then run:

sudo apt-get install linux-headers-`uname -r`

Afterwards,

/etc/init.d/vboxdrv setup

should work.


ubuntu 14.04 Extremely slow login AFTER logout

Finally, I believe that my problems were due to tracker acting up. I disabled it following the dconf-editor advice found at:

tracker-store and tracker-miner-fs eating up my CPU on every startup


mismatch between installed versions of pycharm in launcher

Probably a workaround, but finally I downloaded the tar file for the 2018 version, and modified the .desktop file using that .sh file.


apt-get install -f got the error message

Fixed it with 2 commands:

sudo dpkg -P linux-image-generic
sudo dpkg -P linux-generic


Unable to install MAAS directly using DVD

I get this same error every time I try to build a maas server off the 16.04 iso.

I select Install Ubuntu Server and in Software selection I choose PostgreSQL database and openSSH server

After the system builds, at the command line, I use:

sudo apt-get update
sudo apt-get install maas
reboot

At that point I think you are in the same place you would be if you selected installed MaaS directly from the ISO.


how to install inspircd on my ubuntu version 17.04 server from the usb drive

If you have it as deb packages you can install it using "dpkg -i /path/to/the/package", but remember to install all required/dependency packages.


Ubuntu 15.04 freezes before installation

Did you test the ISO after you burned it? I've had symptoms like this before with poor quality CD-R's/DVD-R's

I would try burning a new disc or use good old unetbootin and install from a USB stick


How to disable hibernation and fastboot from windows so dual boot works in Ubuntu 14.04

Boot into Windows, disable hibernation and Fast Boot.
Open command prompt as administrator and execute:

powercfg /h off

Open the "old" version of Windows Control Panel.
Go to the Power Settings and uncheck Fast startup.
In case it is not visible, enable show hidden settings.

Shutdown the machine completely, do NOT reboot.
Boot into BIOS and select Ubuntu as default system.
Now you can select the OS to boot from GRUB menu.


Figured it out. Putting the .desktop file under /usr/share/gdm/greeter/autostart/ will start the program/script when gdm loads the login screen (before actual user login).

But this has some strings attached, for instance, dconf-service isn't loaded until the user logs in so libdconf won't be able to read anything. This holds true even after the user logs in since dconf-service loads under the logged in session.


There are bugs concerning wifi in recent kernel drivers . Please check if  you're affected, e.g.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1086985
In any case you should report a bug. Wifi should simply work. If your bug report will be valid you'll most probably get assistance directly on launch pad.


What kind of content is in the Canonical Partners repository? Is it as secure & safe as the Main repo?

The Canonical Partner repository contains closed source third party software that doesn't cost any money. Canonical doesn't have access to the source code, they just package and test it and may provide feedback and help to the author if there are issues.


You've got several things going on here. I'll try to address all of them.

The CSM

The Compatibility Support Module (CSM) provides support for booting BIOS boot loaders (and therefore OSes) on an EFI-based computer. This is also known as "legacy" support. Thus, three names may be used to refer to the same thing -- BIOS, CSM, and legacy. Note that you cannot disable the EFI on an EFI-based computer -- the firmware on the computer is an EFI, full stop. (There is a partial exception in some older EFI implementations for x68/x86-64, like Gigabyte's Hybrid EFI, but they're something of a footnote in firmware history.) The most you can do is to tell it to ignore EFI-mode boot loaders -- and on many computers, even if you do that, it's treated more as a suggestion than as a command; the computer may still boot an EFI-mode boot loader under certain circumstances. Disabling the CSM, OTOH, is usually more reliable; this usually prevents any BIOS-mode boot loader from running on the computer.

Most computers that ship with Windows 8 and later are configured by default to boot in EFI mode only. They're also configured with Secure Boot active by default. Thus, if you want a universal boot medium, it should support both BIOS-mode and EFI-mode booting, and with Secure Boot support for the latter. This is possible, but it can be rather tedious to set up. There are several questions/answers on this site that cover this topic:

Ubuntu on a USB stick - boot in both BIOS and UEFI modes
Boot usb key on both UEFI and MBR?
Making a pen-drive with a image from scratch bootable both in BIOS and UEFI mode

GRUB Boot Options

GRUB's boot menu is controlled via a file called grub.cfg, which is normally located in the /boot/grub directory. This configuration file is normally generated by scripts that come with GRUB, and is customized for a particular installation. Thus, when you installed to a USB flash drive on a system that had Windows XP on its hard disk, your grub.cfg file included an entry for that Windows XP installation, and that entry persisted on other computers, despite the fact that the entry would become useless. When you ran update-grub on a system that included Windows 7, the Windows 7 entry replaced the Windows XP entry because the scripts found Windows 7 but not Windows XP. There are several ways to fix this problem:

Run the update-grub command on a system that has no OS installed except for the Ubuntu on the USB drive.
Use the GRUB Customizer tool to edit grub.cfg. (I'm not 100% positive that it will enable you to remove your unwanted entries, though, since I've never used this tool myself.)
Manually edit grub.cfg. (This is generally a bad idea because of the risk of error, but it might be necessary in some cases.)
Switch to a boot loader other than GRUB. Most such boot loaders require manual editing of their configuration files -- but those files are simpler and therefore easier to edit than grub.cfg. My own rEFInd boot manager detects OSes on every boot, which makes it less reliant on configuration files and more adaptable to the current system. OTOH, rEFInd is an EFI-only tool -- which is true of most boot loaders. Thus, if you switch, you may need different BIOS-mode and EFI-mode boot loaders. (This isn't necessarily much of a drawback; EFI-mode and BIOS-mode versions of GRUB can be tricky to get to coexist.)

Note that any solution you try might be undone by an update to GRUB or to your Linux kernel, since the scripts that generate the configuration file run after every kernel or GRUB update. (A kernel update won't trigger a switch back to GRUB from another boot loader, but a GRUB update might.)

Missing USB drive

Some EFIs include a feature called "fast startup" or something similar (or completely different -- the lack of standardization in names is frustrating) that disables USB initialization, or at least cuts it back to the bare minimum. It could be that this feature is active on your Dell Alienware system, and is preventing GRUB from accessing the USB flash drive. This would result in the symptoms you describe. If so, the solution is to disable this feature in the firmware setup utility. Some systems offer fine-grained control over USB initialization, so you might look for options about that, too.

A similar issue might arise if the system treats different USB ports differently. For instance, USB 2 and USB 3 ports might be initialized differently. If so, moving the USB drive from one port to another might help.

One doubt I have about this explanation is that the system was obviously able to load GRUB itself, presumably from the USB drive. This suggests that USB access is active, which flies in the face of my hypothesis. Perhaps it's active enough to load the initial boot loader but not to let GRUB access the USB drive, though. Another possibility is that GRUB was loading from somewhere else, such as your hard disk. Yet another possibility relates to your Ubuntu version....

Ubuntu 14.04... Really?

Although Ubuntu 14.04 is still officially supported, it's getting a bit long in the tooth, and is likely to fail completely on the most modern hardware. This is because new hardware often requires new drivers, and the older Ubuntu 14.04 may lack these drivers. Thus, rather than Ubuntu 14.04, you may want to use 16.04.2, 16.10, or even the 17.04 beta that was recently released.

There's a slim chance that this accounts for your Dell's inability to boot, too; there could be a bug or missing driver in GRUB that's causing it to fail to access the USB drive.

Device Names

Don't worry too much about this. Ubuntu identifies disks by their UUID values, which are unique 128-bit identifiers of filesystems. Thus, if the USB drive on which Ubuntu is installed switches from (say), /dev/sdb to /dev/sdc, the system should continue to boot and work just fine.

I've already alluded to one exception to this rule: If a computer uses a new type of USB controller, the USB device might not be visible to the older Ubuntu 14.04. There may be other exceptions, too, such as if a computer's hard disk has a filesystem with the same UUID as one on your USB drive -- but such a collision is very unlikely unless you deliberately clone the filesystem or duplicate its UUID. There might be other reasons problems might crop up, but nothing else springs immediately to mind.


Access denied for user 'debian-sys-maint' - installing mysql?

A bit late but here it is:
Firstly I'm on

Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10
Codename:   yakkety

I had to "uncheck" some software repositories. It can be easily done on Software & Updates GUI on the Other Software tab. I unchecked:

unstable repos
xenial repos
"disabled on upgrade to yakkety" repositories

The only checked repositories for me were:

software&updates window

Then, I solved the problem this way:

  sudo su

root@iqbal: mysql -u root -p
Enter password:
mysql> GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '<your password>';
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

If the error(1819) is raised, type this on the mysql terminal

mysql> uninstall plugin validate_password;

Then restart mysql: systemctl restart mysql

Finally

apt install -f

to fix broken dependencies

If error continues, enter again to mysql terminal, login:
type this:

mysql> GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '<your password>'

apt -f install for the last time.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libmecab2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.engine_cost                                  OK
mysql.event                                        OK
mysql.func                                         OK
mysql.general_log                                  OK
mysql.gtid_executed                                OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.innodb_index_stats                           OK
mysql.innodb_table_stats                           OK
mysql.ndb_binlog_index                             OK
mysql.plugin                                       OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.proxies_priv                                 OK
mysql.server_cost                                  OK
mysql.servers                                      OK
mysql.slave_master_info                            OK
mysql.slave_relay_log_info                         OK
mysql.slave_worker_info                            OK
mysql.slow_log                                     OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK
The sys schema is already up to date (version 1.5.1).
Checking databases.

(your databases will be shown here...)

Upgrade process completed successfully.
Checking if update is needed.
Setting up mysql-server (5.7.17-0ubuntu0.16.10.1) ...

Other way to solve was: apt -u dist-upgrade


start-stop-daemon keeps editing my shebang making it impossible to run

Edit the command as follows:

start-stop-daemon --name flaskserver --start --chuid root --exec /bin/bash /root/worker/start.sh

or

start-stop-daemon --name flaskserver --start --chuid root --exec /root/worker/start


This is a fatal error. There is no way you can correctly restore the file permissions. So, reinstall or restore from a system backup.


Slap Editor Installation problem, (sudo: npm: command not found)

Easy solution would be to run with full path sudo /home/geo/nodejs/bin/npm ... blah-blah

To determine where is npm, run which npm.


Gave up waiting for suspend/resume device

I just had a similar issue on an ubuntu only system. I solved it with
update-initramfs -u


FTP connection problem (Could not retrieve Directory Listing)

I've had very good results in mixed network environments (window-ubuntu) with this method:

1) Press alt+F2 >> type gksu gedit /etc/nsswitch.conf

2) Look for this line: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

3) Add "wins" so it looks like this: hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4

4) Install the "winbind" package: sudo apt-get install winbind (or via software center or synaptic)

5) Reboot or restart your network


Turn router off overnight, hope lease expires, get new IP (it may take longer than this).

Alternatively change MAC address of router, either via cloning/spoofing (if router supports this..see the manufacturer webpage), or just request a new router from ISP (or buy new router).


You already have the newest driver installed, as it is preinstalled by ubuntu.

You even get automatic updates.


From your error message, it seems you're running a version of Ubuntu that uses systemd. I think it would be easier if you separated out the mail-sending part into a separate script and execute it using a systemd service.

So, taking out the mailing part (and simplifying it):

#! /bin/sh
EMAIL="email@email.com"
SUBJECT="[$HOSTNAME] - System $1"

if [ "$1" = startup ]
then
    ACTION="started successfully"
else
    ACTION="is shutting down"
fi

# a printf format string to simplify a long body
BODY="This is an automated message to notify you that %s %s.\nDate and Time: %s\n"

printf "$BODY" "$HOSTNAME" "$ACTION" "$(date)" | mail -s "${SUBJECT}" "${EMAIL}"

Save this as, say, /usr/local/bin/bootmail.sh, make it executable, etc.

Then, to create a systemd service, create a file in /etc/systemd/system with extension .service (for example, /etc/systemd/system/bootmail.service) containing:

[Unit]
Description=Run Scripts at Start and Stop

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/local/bin/bootmail.sh startup
ExecStop=/usr/local/bin/bootmail.sh shutdown

[Install]
WantedBy=multi-user.target

Now, do:

systemctl daemon-reload
systemctl enable bootmail.service

Now, you should get mails on startup and shutdown (assuming mailing is configured correctly, etc.).


According to Ubuntu's screen sharing guide, one must have the Vino package installed for Screen Sharing to be visible.

Vino is the default VNC server in Ubuntu to share your existing desktop with other users.

sudo apt install vino

Logout/login then try again any screen sharing attempt, you can navigate to settings and see if the Sharing now display screen sharing option.

Source: https://www.hagensieker.com/wordpress/2018/04/27/how-to-do-screen-sharing-on-ubuntu-18-04/


Icons missing in gnome-shell, nautilus, totem

I've experienced the same issue (Ubuntu 12.10 - Gnome desktop) after updating librsvg packages to 2.36.3-0ubuntu1.1.

Downgrading them manually to 2.36.2-0ubuntu1 fixed the issue. You need to downgrade librsvg and librsvg-common.

Hope this helps,


Port 515/tcp is the line printer spooler port. You could run a print spooler to listen to port 515, but....

The modern, Ubuntu way is to use CUPS (Common Unix Printing System), which listens to the Internet Printing Protocol on port 631/tcp. Read man cups. Administer CUPS with a browser pointer to http://localhost:631

And, an easier way to see what's listening (or not) to a port is with lsof (and you get more information):

$ sudo lsof -i tcp:515 -i tcp:631
[sudo] password for w3:
COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
cupsd   17693 root   10u  IPv4 4833522      0t0  TCP *:ipp (LISTEN)
cupsd   17693 root   11u  IPv6 4833523      0t0  TCP *:ipp (LISTEN)


Touchpad gestures don't work on Dell XPS 15 L521x

Try this solution.

Install xserver-xorg-input-multitouch and xserver-xorg-input-synaptics

sudo apt-get update
sudo apt-get install xserver-xorg-input-multitouch
sudo apt-get install xserver-xorg-input-synpatics

It has solved touchpad issues on other brand name laptops, don't know about Dell.


I lost my ownership to my personal files

This will convert USER & GROUP the owner of DIRECTORY:

sudo chown -R $USER:$GROUP DIRECTORY

Replace this command with your values and run it.

For instance if your personal files are under /home/pepe/ do sudo chown -R $USER /home/pepe/. This would work because $USER represents your actual user.

Maybe you need to restart your system to take effect.


How to downgrade Java. For example Java 7u72 to 7u67

Download

Go to official java download page, scroll down to the bottom of the page until you see Previous Releases. Click Download

Choose Java SE 7 on the next page and you will see web-page where you can choose specific Java version. If you unsure what to choose, choose Development Kit - it will cover all your needs

Now you will get this page. And you see something like screenshot below. Choose tar.gz depending on your architecture, I highlighted two of them that fits Ubuntu:

Oracle may ask you to sign up before download

Installation

Now you have file jdk*.tar.gz. Here is great manual about installing java. I took out the instruction and changed it a little bit.

Uncompress .tar.gz

tar -xvf jdk*

The JDK package is extracted into jdk.xxx directory. Check carefully this folder name, because we will use it the next step. I'm assuming that path to this new extracted folder is path_to_jdk_folder and folder name is folder_name, you should manually change it before executing commands below.

Usually it is:

  path_to_jdk_folder - /home/c0rp/Downloads/jdk1.7.0

  folder_name - jdk1.7.0

Installing

Run sudo update-alternatives --list java to check if you have configured java already.

$ sudo update-alternatives --list java
/usr/lib/jvm/jdk1.6.0_45_x586/bin/java
/usr/lib/jvm/jdk1.7.0_21/bin/java
/usr/lib/jvm/jdk1.8.0/bin/java

If it is saying update-alternatives: error: no alternatives for java run this set of commands. Don't forget replace path_to_jdk_folder and folder_name:

sudo mkdir /usr/lib/jvm
sudo mv path_to_jdk_folder /usr/lib/jvm/folder_name
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/folder_name/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/folder_name/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/folder_name/bin/javaws" 1
sudo chmod a+x /usr/bin/java
sudo chmod a+x /usr/bin/javac
sudo chmod a+x /usr/bin/javaws

If there is no errors and your java list is not empty, run this set of commands.  Don't forget replace path_to_jdk_folder and folder_name:

LNUM=$[$(update-alternatives --list java | wc -l) + 1]
sudo mv path_to_jdk_folder /usr/lib/jvm/folder_name
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/folder_name/bin/java" "$LNUM"
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/folder_name/bin/javac" "$LNUM"
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/folder_name/bin/javaws" "$LNUM"

Run

sudo update-alternatives --config java

You will see output similar to the one below - choose the number of new jdk1.7.0 (folder_name) - for example 2 in this list (unless you have have never installed Java in your computer in which case a sentence saying There is nothing to configure will appear):

    $ sudo update-alternatives --config java
    There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      auto mode
  1            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      manual mode
  2            /usr/lib/jvm/jdk1.7.0/bin/java                   1         manual mode
* 3            /usr/lib/jvm/jdk1.8.0/bin/java                   1         manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/jdk1.8.0/bin/java to provide /usr/bin/java (java) in manual mode

Repeat the above for:

sudo update-alternatives --config javac
sudo update-alternatives --config javaws

Check installation

java -version


Installing OpenSSH 7.4 on Ubuntu 14.04

sudo apt install -y build-essential libssl-dev zlib1g-dev
wget "https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.4p1.tar.gz"
tar xfz openssh-7.4p1.tar.gz
cd openssh-7.4p1
./configure
make
sudo make install && sudo service ssh restart && ssh -V


How to restore app switcher hotkey Alt Tab in xfce4?

Easier method: Settings Manager > Window Manager > Keyboard tab. Change the "Cycle Windows" shortcut to Alt-Tab by either double-clicking on the entry or pressing the "Edit" key. When you do either, you will be prompted with a dialog box to press the keyboard combination - press "Alt+Tab".


Following another question I found the solution which works in my case:

Modified this file: /etc/initramfs-tools/conf.d/resume.

In this file, a line with

RESUME=none

(instead of the UUID that was here) will disable waiting for a resume device.
Run

sudo update-initramfs -u

to apply the changes.


By "graphics card" you probably mean "discrete graphics card" as opposed to "integrated graphics card". There is no requirement at all to have discrete one.


Ubuntu doesn't start from USB after installation

Try create bootable USB with Ubuntu one more time from scratch. Sometimes it goes wrong. I'm usig UNetbootin http://unetbootin.sourceforge.net/


Computer slows down when I plug in a USB 3 flash drive

Do not know if this model is similar enough, but have seen other Gigabyte boards needing IOMMU in UEFI changes and the boot parameter iommu=soft

GIGABYTE GA-970A-DS3 motherboard not working with 64 bit kernel - IOMMU GRUB_CMDLINE_LINUX="iommu=soft"

https://ubuntuforums.org/showthread.php?t=2188370

Similar issues:

http://ubuntuforums.org/showthread.php?t=2111223&page=5

http://ubuntuforums.org/showthread.php?t=2292025


why are jpeg previews included with each photo in the directory?

Not clear which version of ubuntu are you using. I have tried this on 12.04.

Assuming that you are seeing image previews on nautilus, the file manager, click edit/preferences, last tab Preview. Set up the show thumbnails option to never or to other settings to your liking.


Unable to create VPN connection in Ubuntu 16.04?

I had a similar problem. There was also no file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn.so".
The installation of the "network-manager-openvpn-gnome" package helped.


Founnd this problem solved on the Ubuntu Forums site at this link

To summarise, in gnome-tweak-tool the keybinding theme was set to "Emacs" in gnome-tweak-tool. Switched it to "Default" and everything works.


Autopilot (ceph/ceph) how is space allocated?

I figured I would answer this having more knowledge in CEPH then when I asked the question.  Although, I can't say why the defaults are the defaults in Horizon.  If they are generated or just a starting place for openstack.

Landscape drive usage is pulled from ceph, which already includes replication.

    cluster eabab000-231c-4edb-855c-dd30b1bab56d
     health HEALTH_OK
     monmap e2: 3 mons at {juju-machine-0-lxc-4=10.14.0.53:6789/0,juju-machine-1-lxc-0=10.14.0.62:6789/0,juju-machine-2-lxc-4=10.14.0.60:6789/0}
            election epoch 12, quorum 0,1,2 juju-machine-0-lxc-4,juju-machine-2-lxc-4,juju-machine-1-lxc-0
     osdmap e358: 13 osds: 13 up, 13 in
      pgmap v324244: 1091 pgs, 14 pools, **132 GB data**, 35396 objects
            **378 GB used**, 3636 GB / **4014 GB avail**
                1091 active+clean
  client io 1740 B/s wr, 0 op/s

As you can see, there is a total of 132GB of data spread across the 14 pools.  In my case, cinder contains 99% of the usage data.

ubuntu@juju-machine-0-lxc-4:~$ sudo ceph df
GLOBAL:
    SIZE      AVAIL     RAW USED     %RAW USED
    4014G     3636G         378G          9.42
POOLS:
    NAME                                         ID     USED     %USED     MAX AVAIL     OBJECTS
    rbd                                          0         0         0         1126G           0
    .rgw.buckets                                 1      1894         0         1126G           2
    .rgw.root                                    2       848         0         1126G           3
    .rgw.control                                 3         0         0         1126G           8
    .rgw.gc                                      4         0         0         1126G          32
    .rgw.buckets.index                           5         0         0         1126G           1
    .rgw.buckets.extra                           6         0         0         1126G           0
    .log                                         7         0         0         1126G           0
    .intent-log.usage                            8         0         0         1126G           0
    .users.users.email.users.swift.users.uid     9         0         0         1126G           0
    glance                                       10     500M      0.01         1126G          68
    .rgw                                         11      404         0         1126G           2
    .users.uid                                   12      417         0         1126G           3
    cinder                                       13     132G      3.30         1126G       35277

132GB is actual data, but there is 378GB used.  That's becuase of the replication level.

ubuntu@juju-machine-0-lxc-4:~$ sudo ceph osd dump | grep -i cinder
pool 13 'cinder' **replicated size 3** min_size 2 crush_ruleset 0 object_hash rjenkins pg_num 166 pgp_num 166 last_change 358 flags hashpspool stripe_width 0

Our total space is simply calculated from USED x Replication Level.  So, Horizon is displaying the correct space, 378GB / 4TB available.  Every 100GB file, counts against 300GB space.


What filesystem should I use for a Seagate Momentus XT Hybrid ST750LX003?

I've had one of these drives, you likely want plain ext4, these drives do all their magic at the hardware level so you don't need to do anything special.


My Alfa AWUS036NH wireless card autorun installation disk will not run

If the card is already detected and running then the driver for the card is working properly.

Its a pity that that nice GUI tool that you have on the CD only works in Windows but most likely will be useless in Linux. Use the tools already provided in Ubuntu or look for one that works under Linux.


Can I run fsck or e2fsck when Linux file system is mounted?

No.

Do not run fsck on a live or mounted file system. fsck is used to check and optionally repair a Linux file systems. Running fsck on a mounted filesystem can usually result in disk and/or data corruption.

This will force a check on next boot:

sudo touch /forcefsck

So will this but it will also reboot the machine at the moment you hit enter:

shutdown -rF now

There are more ways (like telling the machine to go to init 1 and then umount the partition/disc your want to check) but these 2 are the easiest.


How to correctly delete libertine containers on Ubuntu Touch

It seems the error occurred because I had earlier tried to create lxc containers and the Ubuntu-touch kernel doesn't currently support this.

Details on https://bugs.launchpad.net/libertine/+bug/1609086

eDevise and Bjarne Roß both give working methods to destroy containers in their answers. The most 'correct' way is the following syntax

libertine-container-manager destroy -i container_name

As outlined in the bug comments this isn't an issue that should affect users from now on.


Ubuntu: keyboard and mouse not working (Mac)

When you went through your install did you select your keyboard manually or did you have it detect it automatically? I usually just select my keyboard, which would be English US in my case. I have noticed when you let it auto-detect keyboard by going through the guide for you to press certain keys I always have issues with that no matter what it is on.


Ubuntu runs perfectly fine on laptops. If your laptop isn't very old, you should download the Ubuntu Desktop 64 bit release, which you can get here


Image from webserver is not shown in web browser

I can see your files with read write permissions JUST for the owner but not to the group or other (world universe).
Try the next in a terminal:
sudo chmod 775 -R /opt/lampp/htdocs/madeTemplet/basicTemplet/_images

This will provide read permissions for the world universe of users, this way you will be able to see the files without problem when browsing in a localhost environment or the net.
The reason because of the files and images are properly shown when you run file:///opt/lampp/htdocs/madeTemplet/basicTemplet/templet03.html is because of the owner of the files is allowed to read/write over them. But the rest of the people won't be able to reach certain files that won't meet the requirements for worldwide access.
Additionally, you may need to assign anonymous read permissions to the folder where the files resides by running sudo chmod 775 /opt/lampp/htdocs/madeTemplet/basicTemplet/_images -R
-R = Recursively: All the files/folders inside will also be affected.
Please give this a try and let us know if this is doing the work for you, if you need further assistance don't hesitate to let us know by dropping a message and the contents of this answer may be changed or deleted depending on your results.
Good luck!


QGIS not working with Python installation on Wily 15.10: broken paths/dependencies

I had the same problem, but it is working again now.

It was fixed in this update which I was able to install today:

http://hub.qgis.org/issues/13981


Unable to boot Ubuntu - dual environment with Raid

See this bug report, there are several work arounds.  You may just need the grub.cfg stub in the efi partition to load the RAID drivers and find grub in the RAID.

grub doesn't boot with efi and md raid root

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1229738


There is a limit on the number of primary partition on HDD. The reason is the structure of MBR (Master Boot Record). MBR has only 64 bytes to store the partition table. One partition's information will take 16 bytes. So apply your mathematics here and you will find only 4 Primary partitions are possible in HDD. If you create all the 4 primary partition and still you have some free space in HDD, it will become unusable.

To overcome the limit of four partition, you can create an Extended partition in which you can create Logical partitions. And remember Extended partition itself is a primary partition. In this way we can create more than 4 partitions.

So basically it is Extended partition which allows to create more than 4 partitions in a HDD. The extra partitions which we simply call Logical partition will always come under Extended partition.

I've found following links so helpful, hope you would like it:

What are partitions and logical drives?
Disk Partitioning

However, most new computers use the newer GUID Partition Table (GPT) system instead. GPT supports up to 128 partitions by default (and that value can be raised, if necessary) and does not distinguish between primary, extended, and logical partitions.

Thanks to Rod Smith for this quite useful information! :)


How to play civilization 5 on ubuntu 11.10?

Have you got it working yet?

If not, please install Wine, then install the game by simply starting Setup.exe from the DVD.

If installation goes well, simply start the game. The Wine AppDB states that DirectX 11 mode does not work but that DirectX 9 works.


Do you have an AMD video card?
I have Intel graphics and I had a similar (radeon) error using Padoka I assume it's because the AMD packages are not required for intel..?

Also Oibaf drivers are bleeding edge and can be unstable, I would use Padoka stable or x-swat
https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates


What is the file /etc/crack? Should it be there at all?

As wjandrea has posited this sub-directory is from the package crack-common. The file list that can be seen in /etc/crack from this application's package is as follows:

/etc/Crack/dictgrps.conf
/etc/Crack/dictrun.conf
/etc/Crack/globrule.conf
/etc/Crack/network.conf
/etc/Crack/rules.basic
/etc/Crack/rules.fast
/etc/Crack/rules.perm1
/etc/Crack/rules.perm1u
/etc/Crack/rules.perm2
/etc/Crack/rules.perm2u
/etc/Crack/rules.perm3
/etc/Crack/rules.perm3u
/etc/Crack/rules.perm4
/etc/Crack/rules.perm4u
/etc/Crack/rules.perm5
/etc/Crack/rules.perm5u
/etc/Crack/rules.perm6
/etc/Crack/rules.perm6u
/etc/Crack/rules.perm7
/etc/Crack/rules.perm7u
/etc/Crack/rules.prefix
/etc/Crack/rules.prefixu
/etc/Crack/rules.suffix
/etc/Crack/rules.suffixu
/etc/Crack/rules.weird

A full listing of all of the files can be seen here... The application crack which uses this package is a password guessing program which has been installed on your system.


Connecting Laptop to External Monitor with DisplayPort returns Power Saving Message

Rankie Gold-Plated DP DisplayPort to HDMI/Display Port to HDMI Cable you have mentioned is a DP-to-HDMI adapter. However in your case, you need an HDMI-to-DP adapter.

HDMI-to-DP adapters are active converters, so they are more expensive than DP-to-HDMI adapters.
You can't chain HDMI to get dual even if you convert it to DP. (You can't promote it, it is limited at the level of your 1st HDMI connection)

A,C&D are electrically compatible with single-link DVI-D.
B is electrically compatible with dual-link DVI-D.

So only type B, may have passive splitter same as dual-link DVI-D adapters to run two separate monitors.

References:
https://en.wikipedia.org/wiki/HDMI
https://en.wikipedia.org/wiki/Digital_Visual_Interface


Is dual booting the answer, or separate OS per device?

The biggest issue I have with dual booting is the fact that a reboot is needed to run a program from the other OS. Which obviously include closing all your running applications, sometimes just to run a quick program in the other OS and then come back, having to reopen what was open before.

So, unless the program you need to run in Windows doesn't work from inside a VM (which might be the case for games, depending on the game and your hardware), I would recommend using a VM. That way you can keep your Ubuntu programs open and run the Windows programs you need, without having to reboot.

Often, you won't even need a VM. You can use WINE to run Windows programs from inside Linux, but a lot of programs don't work out of the box, and setting them up inside WINE may not be trivial. It's hard to say which solution would be best because it's highly dependent on which Windows programs you need to run, among other factors.


How to install specific older version of Deluge with all the dependencies?

Original method for Ubuntu 19.10
You can simply install packages from disco on your eoan system with
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-common_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-gtk_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge_1.3.15-2_all.deb
sudo apt install ./deluge*.deb

and then lock their versions with single long command:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-deluge
Package: deluge
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-common
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-gtk
Pin: version 1.3.15-2
Pin-Priority: 1337
EOF

and enjoy:

$ deluge --version
deluge: 1.3.15
libtorrent: 1.1.13.0

Updated method for Ubuntu 20.04 LTS
You can simply install packages from bionic on your focal system with
mkdir -p ~/Downloads/deluge
cd ~/Downloads/deluge
wget http://archive.ubuntu.com/ubuntu/pool/universe/libt/libtorrent-rasterbar/python-libtorrent_1.1.5-1build1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libt/libtorrent-rasterbar/libtorrent-rasterbar9_1.1.5-1build1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/b/boost1.65.1/libboost-python1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-common_1.3.15-2_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/t/twisted/python-twisted-core_17.9.0-2ubuntu0.1_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/t/twisted/python-twisted-bin_17.9.0-2ubuntu0.1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/i/incremental/python-incremental_16.10.1-3_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-5.1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/notify-python/python-notify_0.1.1-4_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-common_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-gtk_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge_1.3.15-2_all.deb

sudo apt install ./*.deb

and then lock their versions with single long command:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-deluge
Package: deluge
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-common
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-gtk
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: libtorrent-rasterbar9
Pin: version 1.1.5-1build1
Pin-Priority: 1337
EOF

and enjoy:

$ deluge --version
deluge: 1.3.15
libtorrent: 1.1.5.0


How to fix overlapped partitions in the MBR table?

Fixing the partition table with sfdisk:

Boot with live Ubuntu disk;
Confirm the problem on your disk device, here /dev/sda with parted e.g.

sudo parted /dev/sda unit s print

which should show:

Error: Can't have overlapping partitions.

Partition details can be checked with:

sudo fdisk -l -u /dev/sda

which, for you, according to your post is:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x49fec944

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *      616448   257441624   128412588+   7  HPFS/NTFS/exFAT
/dev/sda2       452753408   484210687    15728640    7  HPFS/NTFS/exFAT
/dev/sda3       484210688   488394751     2092032    c  W95 FAT32 (LBA)
/dev/sda4       257433598   452753407    97659905    5  Extended
/dev/sda5       257433600   452753407    97659904   83  Linux

Checking the overlaps: You can see that your end of primary partition /dev/sda1 overlaps the beginning of extended partition /dev/sda4.

sda1end = 257441624

sda4start = 257433598
As suggested in the documentation that - "In cases where we do not know if the starting or ending sector is the problem, we assume that the starting sector of each partition is correct, and that the ending sector might be in error", we assume that the starting sector of extended partition sda4 is correct. Hence we will be looking to change the end sector of primary partition sda1.

Calculations:

sda1newEnd = sda4start - 1 = 257433598 - 1 = 257433597

sda1newSize = sda1newEnd - sda1start + 1 = 257433597 - 616448 + 1 = 256817150
Dumping a copy of the partition table in an file using the sfdisk command:

sudo sfdisk -d /dev/sda should dump the partition table details. This can be dumped to a file, which after necessary corrections are made, can be fed back to sfdisk. [To OP: Please edit your Question and include the output of sudo sfdisk -d /dev/sda]

Dump a copy of partition table with:

sudo sfdisk -d /dev/sda > sda-backup.txt

which for you would look something like this:

# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=   616448, size=256825177, Id= 7, bootable
/dev/sda2 : start=452753408, size= 31457279, Id= 7
/dev/sda3 : start=484210688, size=  4184064, Id= c
/dev/sda4 : start=257433598, size=195319810, Id= 5
/dev/sda5 : start=257433600, size=195319808, Id=83

Open the file with root privilege, created in the previous step, using text editor of your choice. In the example I'll use nano.

sudo nano sda-backup.txt

(sda-backup.txt assuming the file is in the current directory, else repalce it with the file's absolute path.)

Change the old size of sda1 (256825177) to the corrected size (256817150) so that your new partition table dump would look something like:

# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=   616448, size=256817150, Id= 7, bootable
/dev/sda2 : start=452753408, size= 31457279, Id= 7
/dev/sda3 : start=484210688, size=  4184064, Id= c
/dev/sda4 : start=257433598, size=195319810, Id= 5
/dev/sda5 : start=257433600, size=195319808, Id=83

Save the file (Ctrl+O for nano) and close the editor (Ctrl+X for nano).
Feeding back the corrected partition details to the partition table using the sfdisk command:

sudo sfdisk /dev/sda < sda-backup.txt

Confirm if the problem is resolved by running parted on your disk device:

sudo parted /dev/sda unit s print

If step 9 confirm that the partition table is fixed, you can then use GParted or other partition editors with the device.

The GParted documentition also suggests an alternative method, using testdisk to scan the disk device to rebuild the partition table. The testdisk application is included on GParted Live. So if you are not comfortable with the command-line way, you can try the alternative.

source


My dualboot windows 8.1 ubuntu is not working

I had the same problem two weeks ago. I didn't have a pre-installed Win8.1. I started out with a clean HDD.

If you do have Win8 pre-installed, deactivate fast boot and secure boot.

If that doesn't help, try with the utility tool boot-repair from a LiveUSB.

For my problem in particular, after using boot-repair, my win8 didn't appear afterwards in GRUB, so I also did a

sudo update-grub


You can download the Intel Linux graphics installer 1.0.1 here, and try it.

Support for Ubuntu 12.04 effectively ended when the Intel Linux Graphics Installer version 1.0.1 was released (20 May 2013), hence 12.04 would be considered obsolete (as far as the Intel Linux graphics installer.Intel


How to solve package issues/dependencies

proj has to be installed as libproj0. You also need to install libgdal-dev package.

sudo apt-get install build-essential gcc g++ bison flex perl tcl-dev tk-dev blt libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-1.0-0 openmpi-bin libopenmpi-dev libpcap-dev autoconf automake libproj0 libgdal1-dev libfox-1.6-dev libgdal-dev libxerces-c-dev


How can I boot Ubuntu trial from USB drive on Windows 8.1 PC with SSD?

I created USB stick containing Ubuntu 15.10.

Inserted the USB stick(pendrive) to USB port.

Turned on the computer and pressed F12 when Lenovo appeared on screen(My laptop is Lenovo G40-70) to enter boot menu.

I selected option containing USB and pressed enter.

This way you can boot from USB without changing boot order.

the button for entering boot menu may be F8 or other depending on your laptop


You can start any process as another user with su or sudo, no need for both.

sudo -H -u otheruser bash -c 'echo "I am $USER, with uid $UID"'

So, to start TeamSpeak as the teamspeak user, use

sudo -H -u teamspeak <path_to_TeamSPeak>/TeamSpeak

See Run a shell script as another user that has no password for more details.

To "autorun" this at start up, there are many ways to do this. You could use an rc script:

Place the line above into a text file called autostart_teamspeak.sh, and save it in /usr/local/bin, for example. You could run chmod +x autostart_teamspeak.sh as well, to make it executable.
Edit /etc/rc.local to add the line sh +x /usr/local/bin/autostart_teamspeak.sh which will call the script, upon start up.

For other ways for achieving the same, see Execute script on start-up.


I found out what the problem was.

In this version of php, in the /etc/php/7.0/apache2/php.ini by default the short_open_tag = Off.
That mean's the lines

<?

?>

are not recognize as php code and there for not processed.
you can either enable short tags or add a "php" at the end of the first line

and it works.


There are no packages for the current ubuntu release you use, you should contact with the authors or those PPA's.

Also notice that Ubuntu 14.04 was recently released and it may take time for the repository authors (if they plan to) to build packages for it.


Corrupt USB drive only detected by kernel

Have you tried installing Smartmontools?

It's able to detect some devices by vendor/manufacturer 1f75 (Innostor Technology Corporation). According with your logs, 1f75 is the manufacturer of your device, hence I would give Smartmontools a try.

[edit]: since no GUI application has so far detected your USB device, I am in the hope that by installing and running Smartmontools your device will be detected by it and become visible inside Smartmontools' window, hence making it able for you to identify it's special device file (/dev/something) or at least its serial number (which is part of its unique id).

In order to install Smartmontools' precompiled package in Ubuntu, just run:

sudo apt-get install gsmartcontrol

...and then run it as root:

sudo gsmartcontrol-root

After this, plug in your Intenso Ultra Line drive at any USB port and then at the Smartmontools application window hit Ctrl R in order to rescan the SMART-capable devices. If your USB drive shows up (as expected), you'll see which special device file should be used in order to try to mount it by hand. E.g. if Smartmontools shows your device at /dev/sdb, then you should be able to mount its first partition (/dev/sdb1) by running a command like this (at the example below I'm assuming that your USB drive's first partition filesystem is VFAT):

sudo mkdir /mnt/intenso && sudo mount /dev/sdb1 /mnt/intenso -w -t vfat -o nodev,nosuid,uid=1000,gid=1000,flush,shortname=mixed,utf8=1,dmask=0077,showexec

If Smartmontools (gsmartcontrol-root) doesn't show your device's special device file but shows its serial number (e.g. 14122400007141, according to your "Broken USB drive" kernel log), then you can use the command below in order to look for the device's full id code:

ls -las /dev/disk/by-id | grep -i 14122400007141

...which shall return something like this:

usb-Intenso_Ultra_Line_14122400007141-0

usb-Intenso_Ultra_Line_14122400007141-0:0-part1

...so then you'll be able to mount its first partition by running a command like this:

sudo mkdir /mnt/intenso && sudo mount /dev/disk/by-id/usb-Intenso_Ultra_Line_14122400007141-0\:0-part1 /mnt/intenso -w -t vfat -o nodev,nosuid,uid=1000,gid=1000,flush,shortname=mixed,utf8=1,dmask=0077,showexec

If your drive isn't visible not even inside the Smartmontools (gsmartcontrol-root) application window, you can create a udev rule for your device by adding the following to a file in /etc/udev/rules.d/, such as (e.g.) 8-intenso-ultra-line.rules. Assuming that you have Gedit installed (if not: sudo apt-get install gedit), run this:

sudo gedit /etc/udev/rules.d/8-intenso-ultra-line.rules

...and then add this to the file:

# Intenso Ultra Line USB drive by Innostor Technology Corp.
KERNEL=="sd*", ATTRS{serial}=="14122400007141", ATTRS{idVendor}=="1f75", ATTRS{idProduct}=="0917" SYMLINK+="intenso%n"

(the serial, idVendor and idProduct attributes can be confirmed by running the command sudo lsusb -v | grep -A 5 1f75)

Now save the file /etc/udev/rules.d/8-intenso-ultra-line.rules, exit Gedit and then run the command below so udev updates this info and restarts its daemon:

sudo udevadm trigger && sudo service udev restart

After this, you can see if your device's symlinks (e.g. intenso1, for its first partition) are listed in /dev:

ls /dev

If no changes happened, restart your system (sudo telinit 6) and then try mounting the USB drive:

sudo mkdir /mnt/intenso1 && sudo mount /dev/intenso1 /mnt/intenso1 -w -t vfat -o nosuid,uid=1000,gid=1000,flush,shortname=mixed,utf8=1,dmask=0077,showexec

If it works, you can add it to /etc/fstab so you don't have to always run it by hand. Just:

sudo gedit /etc/fstab

...then append something like this:

# Intenso Ultra Line USB drive by Innostor Technology Corp. (first partition):
/dev/intenso1 /media/intenso1 vfat rw,nosuid,uid=1000,gid=1000,flush,shortname=mixed,utf8=1,dmask=0077,showexec 0 0


How to stop my boot partition continually filling up

Resizing /boot partition is not that hard even when your main partition is encrypted.

You can actually do this with GUI. KDE Partition Manager 3.0 can resize encrypted partitions, see demo video here.

The only problem is that KDE Partition Manager is not released right now (estimated release date is 18 December 2016) but you can already find snapshots in some live CDs. An easy way to get latest KDE Partition Manager snapshot is to boot Neon Developer Live CD and run sudo apt install partitionmanager. You'll need a live CD to to resize rootfs anyway. Or you can wait a bit since this is not urgent.

Once you are running KDE Partition Manager you can unlock your encrypted partition. You just need to resize your rootfs partition. You didn't tell your disk setup but most likely you are using LVM on top of LUKS. Your rootfs is probably LVM Logical Volume. Once you shrink it, your LVM Volume Group will have some free space. Then you can resize your encrypted LVM physical volume on your real disk. All these steps are fairly quick. The only long step is to move your encrypted partition. Before you do that you need to deactivate LVM and close your encrypted luks partition.


USB bootable computer doesn't recognize the content of the key

Consider the partition from which you want to install Ubuntu (for example the USB stick) could not be NTFS.

To enable USB boot, check the BIOS for HDD boot priority. In some hardwares to boot from a USB stick, you must choose HDD in boot priorities and USB stick in HDD priorities  (of course you should insert USB stick before you enter the BIOS).


Did you look at any Dell specific instructions (Any Dell version). You typically need to update UEFI, update SSD firmware Then add AHCI driver to Windows and change RAID/Intel RST in UEFI. You have to have fast start up off in Windows (and probably bitlocker). And usually better to have fast boot off in UEFI as that assumes no configuration changes.

And if nVidia, you will need nomodeset boot parameter to boot live installer and first boot. Then install nVidia driver. Lastest version of Ubuntu will now install nVidia driver as part of install.

https://www.dell.com/support/article/us/en/04/sln151664/how-to-install-ubuntu-linux-on-your-dell-pc?lang=en

https://ubuntuforums.org/showthread.php?t=2353288

UEFI install  Windows 10

How do I install Ubuntu alongside a pre-installed Windows with UEFI?

Details on change to AHCI in Windows:

Install dual boot ubuntu with windows 10 and RAID on

General UEFI install instructions & info:

https://ubuntuforums.org/showthread.php?t=2147295


GNOME Shell - how to add a custom favorite app / change favorite's path?

If the application appears in "Activities" overview, then it probably has an associated .desktop file either in /usr/share/applications/ or in ~/.local/share/applications/.

Look for the asociated .desktop file in those two locations. If you find it in /usr/share/applications/ first copy it to ~/.local/share/applications/. Then edit the copied file using a text editor. Look for an Exec= line inside the .desktop file. Change it to a command you prefer.

If you just want to add another command without replacing the current one, you may add a custom [Desktop Action] in the .desktop file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.

Alternatively, you may create a new .desktop launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:

[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image

If you wish to use a GUI tool to edit application launchers, you may try alacarte (aka "Main Menu"). You can install it by running

sudo apt install alacarte


Telegram stopped loading on BQ Aquaris E5 HD

Yes, it is a known issue, some users reported experiencing this bug. Try this solution:

  WARNING: Your secret chats (if any) will be gone forever.

Uninstall the app
Delete all the directories which look like ./home/phablet/cache/QML/Apps/com.ubuntu.telegram_x.x.x.x (x.x.x.x. = 2.0.4.0, 2.0.8.0 etc.)
Delete the folder .config/com.ubuntu.telegram
Reinstall the app and register once again


How to boot Ubuntu 14.04 on an Macbook pro intel

If you have done the bootable USB already shut down the MBP and when powering it on leave the left Alt button pressed and then select the pendrive to boot.


Your wireless interface is wlp7s0b1 not wlan0.


Why does Caja file manager can't be executed from terminal?

At first I can reproduce the issue on clean Ubuntu 18.04 LTS VM.
I'm very dissappointed by the fact that I can't run Caja by any command like:
caja --browser
caja --no-desktop
caja --force-desktop

and what is interesting is that caja --check does not show any errors, also the ~/.xsession-errors file is empty.
I have remembered that bug was reported previously as https://pad.lv/1846612 .
I do not have time to debug this unpredictable GNOME Shell behaviour.
So I would recommend to ignore GNOME Shell (or even remove) and install Ubuntu MATE instead as simple as:
sudo apt install ubuntu-mate-desktop^

Or start Caja with something like
caja --no-desktop ~


Bluetooth not working in ubuntu 14.04 LTS

Use rfkill to ensure there isn't any hard/soft block on your bluetooth device. Issue:

rfkill list

If block is there, use the unblock option to unblock it :

rfkill unblock wlan1

Replace wlan1 with the type for your bluetooth device.

Refer Here


Port seems open on Ubuntu Guest, I cannot connect to it from windows host using telnet

To connect to desired port, allow it in your firewall:

sudo ufw allow 5432

Or you could even try

sudo ufw allow postgress

You could also configure configure your network connection using bridge, not NAT and check. But it is better to enable firewall and allow specific ports.

If you need to use NAT, then try to specify your port in Port Forwarding window, adding there 5432:


Run this command in a terminal:

sudo amdconfig --initial

after installing the amd drivers.


I can't use my wifi connection in a live environment after restarting

All changes made to a live environment are not persistent. So, if you save anything, install, remove, modify, all changes will be lost as soon as you reboot the system. The only way to keep changes is to install Ubuntu directly to the USB instead.


Tears in chrome after upgrading from 15.10 to 16.04

Seems like ticking the Use hardware acceleration when available option in the advanced settings in chromium fixed this problem.

I still don't know why it started only after upgrading to 16.04 though.


How do I partition using the Lubuntu installer? (14.04)

It's indeed much more convenient to work from GUI tool (it is simple even for beginners) like [gparted](www.gpated.org]. If you can install it then go for this, sudo apt-get install gparted or download it as .deb file and then sudo dpkg -i file.deb

Also you can do your partitioning stuff from another Live CD like Ubuntu or even from Gparted Live CD.

You could do it right now on your machine by fdisk but check this example out and believe me, you first want gpared:

Example:

$ sudo fdisk /dev/sda

Command (m for help): p

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     9437183     4717568   83  Linux

Command (m for help): d
Selected partition 1

Command (m for help): p

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 1): 1
First sector (2048-10485759, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-10485759, default 10485759):
Using default value 10485759

Command (m for help): p

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    10485759     5241856   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.

Again, it is critical that the new partition starts at the same block as the old. The Id should also match (83 for Linux systems). Be prepared to lose all your data at the slightest typo.

By now it should be apparent why people recommend using a live CD. ;-)

However, once the partition is resized (and the system rebooted, if necessary), it's a simple matter of running resize2fs on the file system, and you can do this even when it's mounted as the root partition.

Example:

$ sudo resize2fs /dev/sda1