Is it possible to use bzr on Launchpad without using port 22?

Apparently! With corkscrew.

sudo apt-get install corkscrew

And edit ~/.ssh/config

Host *.launchpad.net
   ProxyCommand corkscrew <proxy> <port> %h %p
   User <your launchpad account name>

Obviously sub out all the <fields> but after that any ssh command (including bzr+ssh commands) should use your proxy. I'm certain some proxies will not allow this but there are enough people suggesting this to hint that this might work for you.

Edit: Re-reading your question, I suspect there's every possibility where there's no proxy in place, or at least if there is, it's transparent and not something you can declare, as this requires you do.

In that case, you may need to fall back on an external proxy. If you have your own server, installing tinyproxy or another proxy solution (even mod_proxy in Apache) on it. As long as it's not a million miles away from you, it shouldn't add too much lag and remember, this only applies to SSH to launchpad.

I you continue to get gyp from shoddy ISPs, cut them out completely. Most ISPs support VPN connections and do nothing to interfere with them because people require them for work. If you can VPN into a better network, you can do whatever you like.


Good presentation software with smooth slide transition

It's not an application, but you can always look at prezi. It's online and if I remember correctly there is an iOS app. Used that for many presentations and the professors or people in the meeting loved it.

https://prezi.com/


Just press Shift+Print Screen and hold them while with your mouse select the rectangle of your screen you want to print.


Subwoofer doesn't work on Dell Inspiron 17R after upgrade to 13.10

I have a Dell 17R as well and had to use hdajackretask to get the subwoofer to work again.

Install hdajackretask by installing alsa-tools and alsa-tools-gui.
Open hdajackretask.
Select "Show unconnected pins".
Find pin 0x10 and choose "Internal Speaker (LFE)".
Click "Install Boot Override".
Restart and you should be good to go.


Ubuntu 14 and PXE - Variable to pass to specify install path?

I am not sure, but I struggled with this for a long time. The key for me was the   addition of "live-installer/net-image=" argument below. (thanks to a reply from Chakri in http://www.michaelm.info/blog/?p=1378). So below is what worked for me. I downloaded the server image for 14.04.3 and placed it in the "ubuntu" directory at the root of my http server:

in pxelinux.cfg/default

default menu.c32
prompt 0
timeout 15
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=0 serial console

MENU TITLE PXE Menu

label install
menu label ^Install (from my http server)
menu default
    kernel ubuntu-installer/amd64/linux console=tty0 console=ttyS0,115200n8
    append ks=http://192.168.1.1/KS/ks_ubuntu.cfg vga=normal initrd=ubuntu-installer/amd64/initrd.gz live-installer/net-image=http://192.168.1.1/ubuntu/install/filesystem.squashfs

in the kickstart file ks_ubuntu.cfg in directory "KS" at the root of my http server

install
url --url http://192.168.1.1/ubuntu


Ubuntu installer with two disks: whihc one will be selected by "erase disk and install"

After clicking Continue the next screen will ask you to confirm and shows which disks would be changed:


How do I connect to my Huawei EG 1732USB modem from terminal?

You need to tell us what modem it is (brand, model). Anyway Mitch was right on the link, although today, things are a bit easier.

For telling model of modem, on a console:

sudo lsusb

Method 1

Take a look at the output of lsusb. You should see your modem assigned to ttyUSB* ports:

sudo ls /dev/ttyUSB*

ttyUSB0 - Should be the modem
ttyUSB1 - Should be the USB module
Download a dialer

sudo apt-get install wvdial ppp

Configure your connection

gksudo gedit /etc/wvdial.conf

and use something like the following:

[Dialer hsdpa]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

You need to set your Phone number, username and password, these are values given by your operator.

Also set the connection on Modem (/dev/ttyUSB0)

The name hsdpa, is generic, you can use whatever name you want.

When dialing your connection, is this name you use.

If using PIN code add this before Init2

    Init1 = AT+CPIN=9999

where 9999 is changed for your PIN-code

Start your connection

sudo wvdial hsdpa

hsdpa is the example name i've used, you have to use the one you choosed in wvdial.conf

Source


is there a way to specify the "UbuntuOne" folder in windows?

The Ubuntu Windows application does not connect automatically.
First of all you need to add your PC to your account which I assume you have already done as it is looking at the C: Drive

When you right click on the status icon by the clock you should see Status : Idle.
Click on this and it will change to syncing.
Only after this point will it create a UbuntuOne folder.

This should then allow you to play around with your files 'cross-platform'.
There are a few limitations to the public Beta however based on the recent changes to the home page and the removal of the Beta link from one.Ubuntu.com you can assume it will be released or at least made RTM very soon.


Too slow to Download USB bootable Ubuntu program

If it is possible for you to download via the torrent, you should do so.  I found I was able to download the latest 14.04 iso via bittorrent very quickly compared to downloading directly from the web site.


Ubuntu 13.10: Trying to set default applications for .py files that aren't in the 'Open With' applications

I had the same problem. This how I solved it:

Uninstall idle from where you installed it.
Install IDLE (using Python-3.3) from the Ubuntu Software Center. (It didn't work when I installed from Synaptic)
Enter in terminal: gksudo gedit /usr/share/applications/idle-python3.3.desktop
Edit file so it looks like this (exactly):

[Desktop Entry]
Name=IDLE (using Python-3.3)
Comment=Integrated Development Environment for Python (using Python-3.3)
Exec=/usr/bin/idle-python3.3 %F
Icon=/usr/share/pixmaps/python3.3.xpm
Terminal=false
Type=Application
Categories=Application;Development;
MimeType=text/x-python;
StartupNotify=true

Then it was visible in the menu for me.


PHP configured with “magic_quotes_gpc=Off” but phpinfo() shows it as 'On'

EDIT

Is this problem still persists ? If you have missed the semicolon in php.ini, the changes will not reflect. try adding semicolon after each setting if you have missed.

If you are in shared hosting, there will be an option in your control panel to end the current session (something like End Web in GoDaddy). Kill that to start a new session to load your newly configured php.ini . .

PS: If the problem is in local machine, you have to restart your webserver. Also, in some hosting providers, configuration files will take effect from a specified time, like 12 00 hours GMT etc. In that case you can contact your hosting provider for that.


To answer my question, yes it's a mess (it was).

I completely removed Cuda by following the instructions found here (uninstalling cuda with its dependencies), then I installed Cuda 9.0 by following the instructions contained here (you can skip the uninstallation part if you did it properly before).

After that, in order to install the Cuda libraries within a virtual environment set by Conda and install within the Caffe2 library, I followed the following instructions:

Setting up of a virtual env
Installing Cuda libraries
Installing the Caffe2 library compatible with Cuda 9.0

  conda install -c caffe2 caffe2-cuda9.0-cudnn7


How to enable user list in lxdm login manager?

As of Ubuntu 12.04, the disable=0 in /etc/lxdm/lxdm.conf is working.

The whitelist setting does not seem to work, but the blacklist one does, and the syntax seems to be user names separated by spaces.  LXDM appears to include in the user list the first three users it finds whose home directory (as specified in /etc/passwd) are under /home, which is why you will see users like syslog and usbmux listed.

This also means that if you put a user's home directory in a non-standard location (other than /home) then the user name won't be listed.  I worked around that by putting in a softlink from /home/[username] to the real location, so I could leave /home/[username] in /etc/passwd and get lxdm to show it in the list.


In all likelihood the way you installed Chrome messed up some font used by Firefox. Google Chrome is not officially supported on Ubuntu, not available from the official repositories and no automatic updates are released for it. You should have installed Chromium instead; you'll find it in the Software Centre.


So I submitted a bug report and the response was this:

You're not supposed to have xserver-xorg-input-libinput installable, that's not possible
because it's bound to the server input ABI

install xserver-xorg-input-libinput-hwe-16.04 instead

Installing the renamed package worked. These appear to have been recently renamed which is where the confusion is coming from.


There is a built in solution. Use the /dev/disk/by-id link, for example -

$ ls -l /dev/disk/by-id | grep sda
lrwxrwxrwx 1 root root  9 Mar 11 21:56 ata-ST95005620AS_5YX07EY0 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 11 21:56 ata-ST95005620AS_5YX07EY0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 21:56 ata-ST95005620AS_5YX07EY0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 11 21:56 ata-ST95005620AS_5YX07EY0-part5 -> ../../sda5

That output means /dev/disk/by-id/ata-ST95005620AS_5YX07EY0 will always be the drive that is currently "/dev/sda".


How to check what local server is installed in my machine?

you can use netstat -atup

here

-t : Select all TCP services
-u : Select all UDP services
-a : Display all listening and non-listening sockets.
-p : Display the PID and name of the program to which each socket belongs

you will get all the services along with the PID.


How do I find DNS servers in use by my Xubuntu 14.04 Server?


BQ Aquaris E4.5 - USB network adapter via OTG

Most probably it will not work, unless the kernel would be recompiled with driver enabled. Ubuntu touch by default shaves a lot of drivers (so much for being same linux as desktop) as it needs every MB to run unity. It is supposed that built in WiFi is enough for doing the 'conventional' stuff for using webapps(tweeting, fasebooking, and so on) or staring to UT calendar or calculating 1+1. Not cool by default. If you want to use UT devices for productivity you need to reconfigure and recompile the kernel. (the best instruction how to do it is here:

https://sturmflut.github.io/ubuntu/bq/2015/07/02/hacking-the-bq-part-4-building-and-booting-a-kernel/)


Ubuntu 12.04 LTS ati / amd driver not able to install

I have tried to install the proprietary drivers for ati because of the overheating problem like you. At last I found the best solution for me was to turn off the ati and use my Intel integrated graphics card instead. If your laptop support switchable graphics, you may tries this:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

For more details, see this.

Hope this can help you. :-)


Why can't I access super-user mode with su?

Ubuntu uses sudo instead of an explicit root account. You can log in as root directly with sudo su, if that's more comfortable for you.

See Advantages and Disadvantages of sudo for why Ubuntu does this.


Error while installing ubuntu 12.04.3 from usb drive. Now harddrive is undetectable, how can this be fixed?

I had this problem a few weeks ago. Also using 10.04 on my live USB stick. I ended up formatting that USB stick and downloading the latest 12.04 live USB installer after that  everything worked.


What driver is required for my Realtek wifi adapter 802.11n?

from link: https://github.com/Mange/rtl8192eu-linux-driver/blob/realtek-4.4.x/README.md
you need to download the driver from ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip


Window chrome disappears and reappears causing jumpy windows

Just a wild guess here: I had the same problem on WinXP, and forcing screen DPI helped. Here are the instructions for Ubuntu, try setting it to 120. Won't hurt anyway.
P.S. When you solve the problem, please take time to file a bug at Launchpad on it.


How do I switch between virtual terminals in a guest system?

Press Host + F1.

Host inserts Ctrl + Alt on the guest system.

The actual key on your keyboard for Host is visible in the right bottom of the VM window and can be configured.

Open the VirtualBox Manager
Open File -> Preferences
Open the Input tab
Click on the field next to Host key
Press the preferred key for Host
Save the settings by pressing the OK button

On my system, I've chosen for Right Ctrl. The Host key is also used for toggling fullscreen (Host + F).


Connecting a Samsung Galaxy S3 in Ubuntu 13.04

I had problems mounting Android devices by myself. Maybe you forgot to unlock your android device. As long the security log is activated (pattern or number) the fuse-MTP module will not be able to mount the device, which is quite sensible from a security view.


Switch layouts with one key on 18.04 (bug?)

As possible duplicate answers state - this is almost impossible in the GNOME Shell.

But it is possible in Unity. It is still available for 18.04 LTS.

You can install it with sudo apt-get install ubuntu-unity-desktop.

Then setup your keyboard layout keys:

  Switch to next source using Print
  Switch to previous source using Shift+Print

It works as expected:


After installing Ubuntu 12.10 desktop edition, here's how you remove Unity, X11 and any graphical applications that come installed by default:

Log out, and press Ctrl-Alt-F1 to enter the first virtual terminal, leaving X's graphical environment. If you're using VirtualBox and are in a virtual machine, press Right Ctrl-F1 instead.
Enter your username and password.
Run this command to remove Unity:

sudo apt-get remove unity \
unity-asset-pool \
unity-services \
'unity-lens-.*' \
'unity-scope-.*' \
'liboverlay-scrollbar.*' \
appmenu-gtk  \
appmenu-gtk3  \
appmenu-qt \
firefox-globalmenu \
thunderbird-globalmenu \
unity-common \
'libunity.*' \
unity-greeter \
'unity-webapps-.*' \
'indicator-.*' \
xul-ext-unity

Run this command to remove X, graphical programs and anything else that you
wouldn't expect on a server. This list was generated by comparing the list of
installed packages on a freshly installed Ubuntu 12.10 desktop system, and a
freshly installed Ubuntu 12.10 server system.

sudo apt-get remove \
account-plugin-aim \
account-plugin-facebook \
account-plugin-flickr \
account-plugin-google \
account-plugin-icons \
account-plugin-identica \
account-plugin-jabber \
account-plugin-salut \
account-plugin-twitter \
account-plugin-windows-live \
account-plugin-yahoo \
acl \
acpi-support \
activity-log-manager-common \
activity-log-manager-control-center \
adium-theme-ubuntu \
aisleriot \
alsa-base \
alsa-utils \
anacron \
apg \
app-install-data \
app-install-data-partner \
apport-gtk \
aptdaemon-data \
aptdaemon \
apturl-common \
apturl \
aspell-en \
aspell \
at-spi2-core \
avahi-autoipd \
avahi-daemon \
avahi-utils \
bamfdaemon \
baobab \
bluez-alsa \
bluez-cups \
bluez-gstreamer \
bluez \
branding-ubuntu \
brasero-cdrkit \
brasero-common \
brasero \
brltty \
checkbox \
checkbox-qt \
colord \
compiz-core \
compiz-gnome \
compiz \
compiz-plugins-default \
cracklib-runtime \
cryptsetup-bin \
cups-bsd \
cups-client \
cups-common \
cups-filters \
cups \
cups-ppdc \
dbus-x11 \
dc \
dconf-gsettings-backend \
dconf-service \
dconf-tools \
deja-dup \
desktop-file-utils \
dictionaries-common \
diffstat \
dmz-cursor-theme \
dnsmasq-base \
doc-base \
duplicity \
dvd+rw-tools \
empathy-common \
empathy \
enchant \
eog \
espeak-data \
evince-common \
evince \
evolution-data-server-common \
evolution-data-server \
example-content \
file-roller \
firefox-gnome-support \
firefox \
firefox-locale-en \
folks-common \
fontconfig-config \
fontconfig \
fonts-freefont-ttf \
fonts-kacst \
fonts-kacst-one \
fonts-khmeros-core \
fonts-lao \
fonts-liberation \
fonts-lklug-sinhala \
fonts-nanum \
fonts-opensymbol \
fonts-sil-abyssinica \
fonts-sil-padauk \
fonts-takao-pgothic \
fonts-thai-tlwg \
fonts-tibetan-machine \
fonts-tlwg-garuda \
fonts-tlwg-kinnari \
fonts-tlwg-loma \
fonts-tlwg-mono \
fonts-tlwg-norasi \
fonts-tlwg-purisa \
fonts-tlwg-sawasdee \
fonts-tlwg-typewriter \
fonts-tlwg-typist \
fonts-tlwg-typo \
fonts-tlwg-umpush \
fonts-tlwg-waree \
foomatic-db-compressed-ppds \
foomatic-db-engine \
foomatic-filters \
freerdp-x11 \
gcalctool \
gconf2-common \
gconf2 \
gconf-service-backend \
gconf-service \
gcr \
gdb \
gedit-common \
gedit \
genisoimage \
geoclue \
geoclue-ubuntu-geoip \
gettext \
ghostscript-cups \
ghostscript \
ghostscript-x \
gir1.2-accounts-1.0 gir1.2-appindicator3-0.1 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-freedesktop gir1.2-gdata-0.0 gir1.2-gdkpixbuf-2.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomekeyring-1.0 gir1.2-goa-1.0 gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-gudev-1.0 gir1.2-indicate-0.7 gir1.2-javascriptcoregtk-3.0 gir1.2-messagingmenu-1.0 gir1.2-notify-0.7 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-rb-3.0 gir1.2-signon-1.0 gir1.2-soup-2.4 gir1.2-syncmenu-0.1 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gir1.2-ubuntuoneui-3.0 gir1.2-unity-5.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 gir1.2-wnck-3.0 \
gksu \
glib-networking-common \
glib-networking \
glib-networking-services \
gnome-accessibility-themes gnome-bluetooth gnome-contacts gnome-control-center-data gnome-control-center gnome-control-center-signon gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-games-data gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-mahjongg gnome-media gnome-menus gnome-online-accounts gnome-orca gnome-power-manager gnome-screensaver gnome-screenshot gnome-session-bin gnome-session-canberra gnome-session-common gnome-session gnome-settings-daemon gnome-sudoku gnome-system-log gnome-system-monitor gnome-terminal-data gnome-terminal gnome-user-guide gnome-user-share \
gnomine \
growisofs \
gsettings-desktop-schemas \
gsfonts \
gstreamer0.10-alsa \
gstreamer0.10-gconf \
gstreamer0.10-nice \
gstreamer0.10-plugins-base-apps \
gstreamer0.10-plugins-base \
gstreamer0.10-plugins-good \
gstreamer0.10-pulseaudio \
gstreamer0.10-tools \
gstreamer0.10-x \
gtk2-engines \
gtk2-engines-murrine \
gtk3-engines-unico \
gucharmap \
guile-1.8-libs \
gvfs-backends \
gvfs-bin \
gvfs-common \
gvfs-daemons \
gvfs-fuse \
gvfs \
gvfs-libs \
gwibber \
gwibber-service-facebook \
gwibber-service-identica \
gwibber-service \
gwibber-service-twitter \
hardening-includes \
hicolor-icon-theme \
hpijs \
hplip-data \
hplip \
humanity-icon-theme \
hunspell-en-us \
hwdata \
ibus-gtk3 \
ibus-gtk \
ibus \
ibus-pinyin-db-android \
ibus-pinyin \
ibus-table \
im-switch \
indicator-appmenu \
indicator-datetime \
indicator-printers \
inputattach \
intel-gpu-tools \
intltool-debian \
iputils-arping \
iw \
kerneloops-daemon \
landscape-client-ui-install \
language-pack-en-base \
language-pack-en \
language-pack-gnome-en-base \
language-pack-gnome-en \
language-selector-gnome \
libaa1 libaccount-plugin-1.0-0 libaccounts-glib0 libaccounts-qt1 libappindicator1 libappindicator3-1 libapt-pkg-perl libarchive12 libarchive-zip-perl libart-2.0-2 libasound2 libasound2-plugins libaspell15 libasyncns0 libatasmart4 libatk1.0-0 libatk1.0-data libatk-adaptor-data libatk-adaptor libatk-bridge2.0-0 libatkmm-1.6-1 libatspi2.0-0 libaudio2 libavahi-client3 libavahi-common3 libavahi-common-data libavahi-core7 libavahi-glib1 libavahi-gobject0 libavc1394-0 libbamf3-0 libbluetooth3 libboost-date-time1.49.0 libbrasero-media3-1 libbrlapi0.5 libburn4 libcaca0 libcairo2 libcairo-gobject2 libcairomm-1.0-1 libcairo-perl libcamel-1.2-40 libcanberra0 libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra-gtk-module libcanberra-pulse libcap2-bin libcap2 libcdio13 libcdio-cdda1 libcdio-paranoia1 libcdparanoia0 libclone-perl libclutter-1.0-0 libclutter-1.0-common libclutter-gst-1.0-0 libclutter-gtk-1.0-0 libcmis-0.2-2 libcogl9 libcogl-common libcogl-pango0 libcolord1 libcompizconfig0 libcrack2 libcroco3 libcrypt-passwdmd5-perl libcryptsetup4 libcups2 libcupscgi1 libcupsfilters1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3-nss libdaemon0 libdatrie1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libdbusmenu-qt2 libdconf1 libdecoration0 libdee-1.0-4 libdevmapper-event1.02.1 libdigest-hmac-perl libdiscid0 libdjvulibre21 libdjvulibre-text libdmapsharing-3.0-2 libdotconf1.0 libdrm-nouveau2 libdv4 libebackend-1.2-5 libebook-1.2-14 libecal-1.2-15 libedata-book-1.2-15 libedata-cal-1.2-18 libedataserver-1.2-17 libemail-valid-perl libenchant1c2a libespeak1 libevdocument3-4 libevview3-3 libexempi3 libexif12 libexiv2-12 libexttextcat-1.0-0 libexttextcat-data libfarstream-0.1-0 libfile-basedir-perl libfile-copy-recursive-perl libfile-desktopentry-perl libfile-mimeinfo-perl libflac8 libfolks25 libfolks-eds25 libfolks-telepathy25 libfontconfig1 libfontembed1 libfontenc1 libframe6 libfreerdp1 libfreerdp-plugins-standard libfs6 libgail18 libgail-3-0 libgail-common libgck-1-0 libgconf-2-4 libgcr-3-1 libgcr-3-common libgd2-xpm libgdata13 libgdata-common libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgee2 libgeis1 libgeoclue0 libgettextpo0 libgexiv2-1 libgksu2-0 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglew1.8 libglewmx1.8 libglib2.0-bin libglib2.0-data libglibmm-2.4-1c2a libglib-perl libglu1-mesa libgmime-2.6-0 libgnome-bluetooth11 libgnome-control-center1 libgnome-desktop-3-4 libgnomekbd8 libgnomekbd-common libgnome-keyring0 libgnome-keyring-common libgnome-media-profiles-3.0-0 libgnome-menu2 libgnome-menu-3-0 libgoa-1.0-0 libgoa-1.0-common libgpgme11 libgphoto2-2 libgphoto2-l10n libgphoto2-port0 libgpod4 libgpod-common libgrail5 libgrip0 libgs9-common libgs9 libgssdp-1.0-3 libgstreamer0.10-0 libgstreamer-plugins-base0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2-perl libgtk-3-0 libgtk-3-bin libgtk-3-common libgtkmm-2.4-1c2a libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview-3.0-common libgtkspell-3-0 libgtop2-7 libgtop2-common libgucharmap-2-90-7 libgudev-1.0-0 libgupnp-1.0-4 libgupnp-igd-1.0-4 libgusb2 libgutenprint2 libgweather-3-1 libgweather-common libgwibber3 libgwibber-gtk3 libgxps2 libhpmud0 libhunspell-1.3-0 libhyphen0 libibus-1.0-0 libical0 libice6 libicu48 libido3-0.1-0 libiec61883-0 libieee1284-3 libijs-0.35 libimobiledevice3 libindicate5 libindicator3-7 libindicator7 libio-pty-perl libio-socket-inet6-perl libipc-run-perl libisofs6 libjack-jackd2-0 libjasper1 libjavascriptcoregtk-3.0-0 libjbig0 libjbig2dec0 libjpeg8 libjpeg-turbo8 libjs-jquery libjson0 libjson-glib-1.0-0 libjte1 libkpathsea6 liblcms1 liblcms2-2 liblightdm-gobject-1-0 liblircclient0 libllvm3.1 liblouis2 liblouis-data libltdl7 liblua5.1-0 liblvm2app2.2 libmailtools-perl libmeanwhile1 libmessaging-menu0 libmetacity-private0a libmhash2 libminiupnpc8 libmission-control-plugins0 libmng1 libmtdev1 libmtp9 libmtp-common libmtp-runtime libmusicbrainz5-0 libmx-1.0-2 libmx-bin libmx-common libmythes-1.2-0 libnatpmp1 libnautilus-extension1a libneon27-gnutls libnet-dns-perl libnet-domain-tld-perl libnetfilter-conntrack3 libnet-ip-perl libnettle4 libnice10 libnl-route-3-200 libnm-glib4 libnm-glib-vpn1 libnm-gtk0 libnm-gtk-common libnm-util2 libnotify4 libnotify-bin libnspr4 libnss3-1d libnss3 libnss-mdns libnux-3.0-0 libnux-3.0-common liboauth0 libogg0 libopencc1 libopenobex1 liborc-0.4-0 libpackagekit-glib2-14 libpam-cap libpam-freerdp libpam-gnome-keyring libpam-xdg-support libpango1.0-0 libpangomm-1.4-1 libpango-perl libpaper1 libpaper-utils libpeas-1.0-0 libpeas-common libperl5.14 libpixman-1-0 libplist1 libpoppler28 libpoppler-glib8 libportaudio2 libprotobuf7 libprotoc7 libproxy1 libproxy1-plugin-gsettings libproxy1-plugin-networkmanager libpth20 libpulse0 libpulsedsp libpulse-mainloop-glib0 libpurple0 libpurple-bin libpwquality1 libpython3.2 libqjson0 libqpdf8 libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtgui4 libqtwebkit4 libquvi7 libquvi-scripts libraptor2-0 librasqal3 libraw1394-11 libraw5 librdf0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-impress libreoffice-math libreoffice-ogltrans libreoffice-pdfimport libreoffice-presentation-minimizer libreoffice-presenter-console libreoffice-style-human libreoffice-style-tango libreoffice-writer librest-0.7-0 librhythmbox-core6 librsvg2-2 librsvg2-common librsync1 libsamplerate0 libsane-common libsane-hpaio libsane libsecret-1-0 libsecret-common libsensors4 libsgutils2-2 libshout3 libsignon-extension1 libsignon-glib1 libsignon-plugins-common1 libsignon-qt1 libsm6 libsmbclient libsndfile1 libsnmp15 libsnmp-base libsocket6-perl libsonic0 libsoup2.4-1 libsoup-gnome2.4-1 libspectre1 libspeechd2 libspeex1 libspeexdsp1 libssh-4 libstartup-notification0 libstlport4.6ldbl libsyncdaemon-1.0-1 libsync-menu1 libsysfs2 libt1-5 libtag1c2a libtag1-vanilla libtalloc2 libtdb1 libtelepathy-farstream2 libtelepathy-glib0 libtelepathy-logger2 libthai0 libthai-data libtheora0 libtiff5 libtimezonemap1 libtotem0 libtotem-plparser17 libtxc-dxtn-s2tc0 libubuntuoneui-3.0-1 libudisks2-0 libufe-xidgetter0 libunistring0 libupower-glib1 liburi-perl libusbmuxd2 libutempter0 libuuid-perl libv4l-0 libv4lconvert0 libvisual-0.4-0 libvisual-0.4-plugins libvncserver0 libvorbis0a libvorbisenc2 libvorbisfile3 libvte-2.90-9 libvte-2.90-common libwacom2 libwacom-common libwavpack1 libwbclient0 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwmf0.2-7-gtk libwmf0.2-7 libwnck22 libwnck-3-0 libwnck-3-common libwnck-common libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libx11-xcb1 libx86-1 libxatracker1 libxaw7 libxcb-dri2-0 libxcb-glx0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-util0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxkbfile1 libxklavier16 libxmu6 libxp6 libxpm4 libxrandr2 libxrender1 libxres1 libxslt1.1 libxt6 libxtst6 libxv1 libxvmc1 libxxf86dga1 libxxf86vm1 libyajl2 libyaml-tiny-perl libyelp0 libzeitgeist-1.0-1 libzephyr4 \
lightdm \
lightdm-remote-session-freerdp \
light-themes \
lintian \
linux-headers-generic-pae \
linux-sound-base \
lvm2 \
mcp-account-manager-uoa \
media-player-info \
metacity-common \
mobile-broadband-provider-info \
modemmanager \
mousetweaks \
mscompress \
mtools \
nautilus-data \
nautilus \
nautilus-sendto-empathy \
nautilus-sendto \
nautilus-share \
network-manager-gnome \
network-manager \
network-manager-pptp-gnome \
network-manager-pptp \
notify-osd-icons \
notify-osd \
nux-tools \
obex-data-server \
obexd-client \
onboard \
oneconf \
openprinting-ppds \
overlay-scrollbar-gtk2 \
overlay-scrollbar-gtk3 \
overlay-scrollbar \
patchutils \
pcmciautils \
pkg-config \
plymouth-label \
plymouth-theme-ubuntu-logo \
pm-utils \
policykit-1-gnome \
policykit-desktop-privileges \
poppler-data \
poppler-utils \
pptp-linux \
printer-driver-c2esp \
printer-driver-foo2zjs \
printer-driver-gutenprint \
printer-driver-hpcups \
printer-driver-hpijs \
printer-driver-min12xxw \
printer-driver-pnm2ppa \
printer-driver-postscript-hp \
printer-driver-ptouch \
printer-driver-pxljr \
printer-driver-sag-gdi \
printer-driver-splix \
protobuf-compiler \
pulseaudio \
pulseaudio-module-bluetooth \
pulseaudio-module-gconf \
pulseaudio-module-x11 \
pulseaudio-utils \
python3-aptdaemon.gtk3widgets \
python3-aptdaemon \
python3-aptdaemon.pkcompat \
python3-brlapi \
python3-cairo \
python3-crypto \
python3-defer \
python3-gi-cairo \
python3-httplib2 \
python3-louis \
python3-lxml \
python3-oauthlib \
python3-pkg-resources \
python3-pyatspi2 \
python3-pycurl \
python3-software-properties \
python3-speechd \
python3-virtkey \
python3-xkit \
python-appindicator \
python-apport \
python-aptdaemon.gtk3widgets \
python-aptdaemon \
python-cairo \
python-configglue \
python-cupshelpers \
python-cups \
python-dbus-dev \
python-dbus \
python-debtagshw \
python-defer \
python-dirspec \
python-gconf \
python-gi-cairo \
python-gi \
python-gnomekeyring \
python-gobject-2 \
python-gobject \
python-gst0.10 \
python-gtk2 \
python-httplib2 \
python-ibus \
python-imaging \
python-libxml2 \
python-lxml \
python-mako \
python-markupsafe \
python-notify \
python-oauth \
python-pexpect \
python-piston-mini-client \
python-problem-report \
python-protobuf \
python-pycurl \
python-pyinotify \
python-qt4-dbus \
python-qt4 \
python-renderpm \
python-reportlab-accel \
python-reportlab \
python-simplejson \
python-sip \
python-smbc \
python-twisted-names \
python-twisted-web \
python-ubuntuone-client \
python-ubuntuone-control-panel \
python-ubuntuone-storageprotocol \
python-ubuntu-sso-client \
python-uno \
python-xdg \
python-zeitgeist \
qdbus \
qpdf \
qt-at-spi \
radeontool \
remmina-common \
remmina \
remmina-plugin-rdp \
remmina-plugin-vnc \
remote-login-service \
rfkill \
rhythmbox-data \
rhythmbox \
rhythmbox-mozilla \
rhythmbox-plugin-cdrecorder \
rhythmbox-plugin-magnatune \
rhythmbox-plugins \
rhythmbox-plugin-zeitgeist \
rhythmbox-ubuntuone \
rtkit \
samba-common-bin \
samba-common \
sane-utils \
seahorse \
sessioninstaller \
session-migration \
shared-mime-info \
shotwell \
signond \
signon-keyring-extension \
signon-plugin-oauth2 \
signon-plugin-password \
signon-ui \
simple-scan \
smbclient \
sni-qt \
software-center-aptdaemon-plugins \
software-center \
software-properties-common \
software-properties-gtk \
sound-theme-freedesktop \
speech-dispatcher \
ssh-askpass-gnome \
ssl-cert \
syslinux-common \
syslinux \
syslinux-legacy \
system-config-printer-common \
system-config-printer-gnome \
system-config-printer-udev \
telepathy-gabble \
telepathy-haze \
telepathy-idle \
telepathy-indicator \
telepathy-logger \
telepathy-mission-control-5 \
telepathy-salut \
thin-client-config-agent \
thunderbird-gnome-support \
thunderbird \
toshset \
totem-common \
totem \
totem-mozilla \
totem-plugins \
transmission-common \
transmission-gtk \
ttf-dejavu-core \
ttf-indic-fonts-core \
ttf-punjabi-fonts \
ttf-ubuntu-font-family \
ttf-wqy-microhei \
ubuntu-artwork \
ubuntu-docs \
ubuntu-drivers-common \
ubuntu-extras-keyring \
ubuntu-mono \
ubuntuone-client-gnome \
ubuntuone-client \
ubuntuone-control-panel \
ubuntuone-control-panel-qt \
ubuntuone-couch \
ubuntu-release-upgrader-gtk \
ubuntu-settings \
ubuntu-sounds \
ubuntu-sso-client \
ubuntu-sso-client-qt \
ubuntu-system-service \
ubuntu-wallpapers \
ubuntu-wallpapers-quantal \
udisks2 \
udisks \
unattended-upgrades \
uno-libs3 \
unzip \
update-inetd \
update-manager \
update-notifier \
upower \
ure \
usb-creator-common \
usb-creator-gtk \
usb-modeswitch-data \
usb-modeswitch \
usbmuxd \
vbetool \
vino \
wamerican \
watershed \
wodim \
x11-apps \
x11-common \
x11-session-utils \
x11-utils \
x11-xfs-utils \
x11-xkb-utils \
x11-xserver-utils \
xbitmaps \
xcursor-themes \
xdg-user-dirs-gtk \
xdg-user-dirs \
xdg-utils \
xdiagnose \
xfonts-base \
xfonts-encodings \
xfonts-mathml \
xfonts-scalable \
xfonts-utils \
xinit \
xinput \
xorg-docs-core \
xorg \
xserver-common \
xserver-xorg-core \
xserver-xorg-input-all \
xserver-xorg-input-evdev \
xserver-xorg-input-mouse \
xserver-xorg-input-synaptics \
xserver-xorg-input-vmmouse \
xserver-xorg-input-wacom \
xserver-xorg \
xserver-xorg-video-all \
xserver-xorg-video-ati \
xserver-xorg-video-cirrus \
xserver-xorg-video-fbdev \
xserver-xorg-video-intel \
xserver-xorg-video-mach64 \
xserver-xorg-video-mga \
xserver-xorg-video-modesetting \
xserver-xorg-video-neomagic \
xserver-xorg-video-nouveau \
xserver-xorg-video-openchrome \
xserver-xorg-video-qxl \
xserver-xorg-video-r128 \
xserver-xorg-video-radeon \
xserver-xorg-video-s3 \
xserver-xorg-video-savage \
xserver-xorg-video-siliconmotion \
xserver-xorg-video-sis \
xserver-xorg-video-sisusb \
xserver-xorg-video-tdfx \
xserver-xorg-video-trident \
xserver-xorg-video-vesa \
xserver-xorg-video-vmware \
xterm \
xul-ext-ubufox \
xul-ext-websites-integration \
yelp \
yelp-xsl \
zeitgeist-core \
zeitgeist-datahub \
zeitgeist \
zenity-common \
zenity \
zip

You might want to consider install Ubuntu server edition instead. It's a minimal installation, so you can install the packages you need, rather than remove the ones you don't.


How to create a .tar.gz file to install a custom application

To generate the application distribution archive, developer uses some tools called GNU Autotools. These tools help you create the configure & Makefile which generates the distribution archive for you.

Check:

Official site (autogen,autoconf, automake)
Quick Tutorial

After making the correct setup, you should be able to generate the source archive using:

make dist

Notes:

These tools were developed primarily for use with c/c++ projects. Look for corresponding tool to use with other languages (Like Ant for Java, setup-tools for Python).
There are also some alternatives, example for c/c++ cmake, qmake with Qt.
A correct workflow, start with generic source archive .tar.gz then distribution specific packages like Debian source package and .deb/Debian binary package.


The scrambled error message points to an issue with Windows line endings. You can convert the line endings in the file to linefeeds (Unix format) with:

sed -i 's/\r$//' /path/to/your/script

or (you may need to install dos2unix  first):

dos2unix /path/to/your/script

Further reading:

https://askubuntu.com/a/372691/507051
https://en.wikipedia.org/wiki/Newline
https://stackoverflow.com/a/33320706


When I look up the specs for the monitors I find that they have different refresh rates. The 2311xi is the one I'm most interested in because it runs, according to spec, at a higher refresh rate than the other two. I've personally had issues with monitors for computer builds before -- mainly those that supported high refresh rates. On those (on Windows even) I needed to install monitor profiles in order for them to work properly, black flickering, tearing and complaints like that.

Am I figuring this issue might have to do with the different refresh rates the monitors run at rather than the connector it is running over?

Could you open up a terminal and run xrandr and update your question? Whenever you find that one will prefer a higher refresh rate try xrandr --screen 0 -s 1920x1080 -r 60. Where 1920x1080 is your resolution and screen should be the target screen running higher, you can find the screen number in the initial xrandr as it will show per connected monitor.

You could also try the SA300 and Z23I as a pair and see if the problem still persists if that's possible, these both run at 60Hz. I wouldn't know the connectivity as I don't know what specific SyncMaster model you have.


WiFi driver for Qualcomm Atheros rev[30]

I had the same issue on my laptop which has Qualcom wi-fi on Ubuntu 16.04.02 LTS.

  06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

The issue was fixed when I updated to Ubuntu 16.04.03 LTS. All I had to do was connect through cable and run sudo apt update & sudo apt upgrade


Be prepared to ditch a lot of what you know from Windows. In particular, to install the security2 module, install libapache2-mod-security2:

sudo apt-get install libapache2-mod-security2

The module shared library files go in /usr/lib/apache2/modules, not that you should use your own when there's a packaged version available.


Did a net search - rtl8723be and ubuntu? Discovered that there are problems with setting up this Realtek wireless device. Some info was available about configuring this device that will be helpful to you. One caveat here - Follow instructions and enter commands Carefully! There seem to be some modprobe commands. This command works with kernel modules and are not to be used without healthy respect. You will have to connect to the net with either another PC or use the wired ethernet connection to get the information and any downloads that may be required. This search could be done on the Ask Ubuntu page as well.


How to install Ubuntu on Intel NUC10i7FNH

Have you check out this supported OS for your NUC? Seems like they're only supporting Windows 10 at the moment.

Unrelated, but we also recently purchased a handful units of the same model, NUC10i7FNH, to run our CI/CD pipelines, and our custom Yocto OS isn't booting on these guys either.


sudo apt-get update error to fix grub menu

Those warnings mean that some cdroms are selected as repositories and when you ran apt-get update, they were not mounted, so it could not find them.

There is an option in your System settings > Software & Updates where you can (un)check whether you want to have your installation media as repository or not. I would advise you tu uncheck it. In my case, it's the option at the bottom of the window, but it might look different in other versions and languages.

You could also manually edit the file /etc/apt/sources.list and convert the lines starting with cdrom to comments (writing an # before them), that should do the same trick.

But except that you should always keep your system up to date (with sudo apt-get update && sudo apt-get upgrade or any other package manager), this has nothing to do with GRUB. The command to create a fresh grub.conf and update the OS list is sudo update-grub.

If you want to run boot-repair you have to add its PPA first and install it. This is achieved by the following commands:

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

Explanation:

adds the PPA to the repository list. apt-get can't find it otherwise.
updates the index of available software from your repos
this command actually installs boot-repair
now it's time to launch it!


VMWare 10 Windows 8 (host) Ubuntu 14.04 (guest) shared folder won't mount

This is because the VMware Tools are not modified yet for the 14.10+ kernel.  As such, the Shared Folders functionality fails to build.

Ultimately, we have to see if there are alternative options.  And there is.  First, remove the VMware Tools from the guest.  Then, install open-vm-tools which is an open source spin of the VMware Tools onto the guest.  That program exists in the repos so you can install it with apt-get

This should then help a little with the shared folders.


W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available:

The second approach mentioned in this link worked for me. Manually download the key and add it. Hope that helps others too.

The link above provides detailed explanation with screenshots. It also has some other simple methods that could be tried before doing this manually. Since it is not accessible from some regions let me describe the method that worked for me : Youtube.

Go to the OpenPGP Public Key Server. There you can enter your key into the Search String field, leaving everything else as is, then click "Search!".When searching for a key, always prepend 0x to it! This means that, for example, you have to search for 0x6AF0E1940624A220 instead of 6AF0E1940624A220.
Click on the link provided in the pub section. This should take you to page containing the key. The page's heading should be similar to Public Key Server -- Get "0x6AF0E1940624A220"
Copy everything from underneath the title (starting from -----BEGIN PGP PUBLIC KEY BLOCK-----) and save it in a file (e.g. key1).
Once you have the file, run the following command

sudo apt-key add key1

You will get an "OK" response.

And you are done. Repeat the procedure of other keys that might be missing.


Replace Windows 7 with Ubuntu 11.10, keep Windows D: partition

During installation from the LiveCD or LiveUSB, the Ubuntu installer will detect your partitions. Instead of C: or D:, you'll see sda1, sda2, sdb, etc., but they are the same as what you see from Windows. Make sure you don't select "Use full drive" (or something similar), as Ubuntu will overwrite all of your partitions. Instead, click on Manual and do your partitioning from there.

Just make sure you know how the size of your C: and D: to be able to differenciate them from the installer, or you'll end up overwriting the wrong one.

Whatever you do, always back up beforehand.


Workspace indicator on applications preview Ubuntu 17.10

I like the Workspaces to Dock GNOME Shell extension.

Drag the mouse pointer to the right side of the screen. A dock will slide out. In the dock, you can see what apps are running and where. And to move a window to another workspace, just drag the desired window from one workspace to another.

Find it at https://extensions.gnome.org/extension/427/workspaces-to-dock/


How do I set up PHP and MySQL cronjobs on Ubuntu 12.04 (Precise Pangolin) server?

The easiest way that keeps all the code together is to create a web script (authenticated by some "secret", so random people can't call it for you) and call it from cron using:

wget -O - http://<yoursite>/cron.php?secret=<mybigsecret>

Then you need to add a cron entry (either using crontab -e), or just placing a file into:

/etc/cron.d/

with following contents:

0 3 * * * nobody wget -O - http://yoursite/cron.php?secret=<mybigsecret>

This will call the script every day at 03:00, for more information on crontab files syntax please consult crontab(5) man page (e.g. run "man 5 crontab").


Ubuntu is not booting after installation

Almost everything is wrong on this partition scheme.  I see an ext4 partition with no mount point, a linux-swap partition using 59.65 GB ??? and there is no boot flag anywhere, therefore there is no active partition which the system can boot from.  This scheme is definitely created manually and it's not going to work.

Since you do not want to use any other operating system on your computer, the easiest way to make it work is to re-install Ubuntu using the installer's preconfigured partition scheme.  Just select the option that erases everything and installs Ubuntu from scratch.

You can refer to this page: How to use manual partitioning during installation? if you want to partition your disks manually.


14.04 - VPN established but ssh kills it

Try to make vpn connection with this script, not with NM.

Maybe on this way all will work.

Create file with some name and put in

nano name_of_script

script

#!/bin/bash
function routeadd {
    route add -host xxx.xxx.xxx.xxx dev ppp0
    route add -net xxx.xxx.xxx.xxx/xx dev ppp0
}
function makepptp {
   echo pty \"pptp xxx.xxx.xxx.xxx --nolaunchpppd\" >> /etc/ppp/peers/vpn;
   echo remotename PPTP >> /etc/ppp/peers/vpn;
   echo require-mppe-128 >> /etc/ppp/peers/vpn;
   echo file /etc/ppp/options.pptp >> /etc/ppp/peers/vpn;
   echo ipparam vpn >> /etc/ppp/peers/vpn;
pppd call vpn &
}
if [ -a /etc/ppp/chap-secrets ];
        then
        rm /etc/ppp/chap-secrets
    echo $1 PPTP $2 '*' >> /etc/ppp/chap-secrets;
else
    echo $1 PPTP $2 '*' >> /etc/ppp/chap-secrets;
fi

if [ -e /etc/ppp/peers/vpn ];
    then
    rm /etc/ppp/peers/vpn;
    echo name $1 >> /etc/ppp/peers/vpn;
    makepptp;
    sleep 8;
    routeadd;
else
    echo name $1 >> /etc/ppp/peers/vpn;
    makepptp;
    sleep 8;
    routeadd;
fi

In script change you host ip and add network or/and host witch you wish to connect via vpn

Usage:

sudo /path_to_script/name_of_script username password

note: set execute permision to script


I can't create a bootable win 10 pen drive

To create a windows bootable USB, use mkusb, to install it:
sudo add-apt-repository universe
sudo add-apt-repository ppa:mkusb/ppa
sudo apt update
sudo apt install mkusb usb-pack-efi

help.ubuntu/mkusb


If you suspect that the extra partition is the problem, try boot up from a Ubuntu Live system. I.e., If it boots fine, then the extra partition is not the problem/cause.

And while your Ubuntu Live is booted, try to mount all partitions from your HD, especially the boot partition and the OS partition. Do the mount under 'sudo su -' from the command line, when you can see if anything went wrong, so that you can fix the problem.

While Ubuntu is booting up with a splash screen, hit ESC to see what's actually going on. Pay close attention to the message flied by. Last time my Ubuntu boot up froze on me, it was because of line about 20 lines before the last message, which says something like "Press S to fix the disk" (or maybe "C", can't recall the details)


Actually are trying to fix this in the wrong  place
Go to termial
and type
 sudo amdcccle
It will open a AMD catalyst Center Window, There you can go and displays, check the right resolution for your displays and then reboot.Everything will work like a charm!

Voila!


Here you can find a tutorial about your problem.It works for me http://thelinuxvideo.com/?p=164
Good luck


Ubuntu 18.04 and Nvidia 340.107 drivers glitch

I have artifacts on display too

Version driver: 340.107 from nvidia-340 (too)
Model video card: GeForce 210

But before install 18.04 i didn`t have these artifacts.
I think its bug in last version Nvidia derivers.


How to find out if I'm using Bluetooth 3.0 + HS

Run the hciconfig -a command, it'll list all Bluetooth devices and the supported versions

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:1C:7B:A5:91:F2  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING PSCAN
        RX bytes:1090 acl:0 sco:0 events:38 errors:0
        TX bytes:1381 acl:0 sco:0 commands:37 errors:0
        Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'machine-0'
        Class: 0x5a0100
        Service Classes: Networking, Capturing, Object Transfer, Telephony
        Device Class: Computer, Uncategorized
        HCI Version: 2.1 (0x4)  Revision: 0x12e7
        LMP Version: 2.1 (0x4)  Subversion: 0x12e7
        Manufacturer: Cambridge Silicon Radio (10)

As you can see, my device only supports 2.1 (HCI Version).


See if you can get into the bios:

http://www.computerhope.com/issues/ch000192.htm

Set it to boot from the cd (you can do this with USB too), put a cd (or USB stick) in that has the Ubuntu version (e.g. .iso cd) and reboot.


In a shell (Ctrl+Alt+T to open one) type:

sudo lshw -C disk

This should show you all disk devices including DVD/CDROM drives. They will be noted with their logical names included.

lshw should be installed, but sudo apt-get install lshw will install it if it's not.


How can I get a Wi-Fi network support after he cut the connection. can not connect to the network again until restar I have kubuntu 14,04

run  rfkill list  before the WiFi disconnects and after the disconnection.
Let me know what is the output.

Drivers for the WiFi chipsets that Lenovo uses are buggy.


Try using aptitude:
sudo aptitude install <package-name>
If you don't have aptitude installed on your machine sudo apt-get install aptitude.


Why is git trying to connect on port 8080? To me this is suggestive of somebody making a prior git configuration and forgetting about it. It should be connecting on port 443 for https.

So hunt out what's setting that. It's probably in ./.git/config.

While you're at it, I would advocate swapping to connecting over ssh+git. That gives you the nice option of ssh key authentication.


php5-sqlite only installs the SQlite plugin for php5.  sqlite and sqlite3 are both separate programs, and they aren't php5 plugins.

Run sudo apt-get install sqlite sqlite3 to install both of the command-line SQlite client utilities.  The php5 plugins don't need the binaries, so they're not actually installed by your apt-get command you say you ran.


I am guessing this question already exists, so i googled it to come up with this page :

How can I install Windows after I've installed Ubuntu?

guesss that should provide you with an answer


If Ubuntu is the only Operating System you wish to install, select the option "Erase Disk and Install Ubuntu". This is recommended for beginners.

However, if you wish to change the amount of swap etc. you will have to manually partition the drive. For more information on that, you can refer to these pages - 1 2


How can I keep two different font sizes on two different documents?

Changing the font size in a plain text editor will only change how your file is shown, but not, which font size it actually has (this can't be changed in a plain text file, it contains only the text, no formattings). If you want to have an document with different font sizes you have to use an office suite, for example Libre Office


Based on a Google search, I am not at all persuaded that this is an ath9k_htc device. It is, however, easy to temporarily test it. Please open a terminal and do:

sudo modprobe ath9k_htc
echo "1eda 2315" | sudo tee /sys/bus/usb/drivers/ath9k_htc/new_id

Did your wireless spring to life? Is a wireless interface created?

iwconfig

Are there any interesting clues in the log?

dmesg | grep ath

If you wish to disable your internal device, please do:

sudo -i
modprobe -r ath9k
echo "blacklist ath9k"  >>  /etc/modprobe.d/blacklist.conf
exit


Finally!
I used MenuLibre and it works perfectly!
The debian can be found here.


how to boot without desktop environment?

While your system is running use:

systemctl isolate multi-user.target

If you were happy with what you've got, set multi-user as your default systemd target:

sudo systemctl set-default multi-user.target

Alternatively you can kill the "X" or disable display manger service...


The driver has nothing to do with this, it just manages the device and allows the kernel to communicate with it. What you want is a much higher lever function.

The way to do this is using udev, the device manager for the Linux kernel:

Create a script that will send the notifications. Save the following lines in a file in your home directory, for example ~/usbnotify.sh:

#!/bin/bash
export DISPLAY=":0"
notify-send "New device plugged in: $@"

Make the script executable by running chmod +x ~/usbnotify.sh
Create a new file called /etc/udev/rules.d/95-usbnotify.rules with the following contents (adapted from here):

KERNEL!="sd[a-z]*", GOTO="media_by_label_auto_mount_end"
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="media_by_label_auto_mount_end"

# Get label
PROGRAM=="/sbin/blkid -o value -s LABEL %N", ENV{dir_name}="%c"
# use basename to correctly handle labels such as ../mnt/foo
PROGRAM=="/usr/bin/basename '%E{dir_name}'", ENV{dir_name}="%c"
ENV{dir_name}=="", ENV{dir_name}="usbhd-%k"

ACTION=="add", ENV{dir_name}!="", RUN+="/home/akshay/usbnotify.sh %c", GOTO="media_by_label_auto_mount_end"

# Exit
LABEL="media_by_label_auto_mount_end"

Make sure to use the correct path to the script, I used /home/akshay/usbnotify.sh but edit to point to your home directory.

Save the script and that's it. You should now receive a notification for every device that you plug in that is mounted as a drive. This will probably not work for cameras and the like but any storage device that is attached as /dev/sd* should work.


how to know where pycharm community version is installed

Pycharm Community Edition is installed in /opt/pycharm-community-2017.2.x/ where x is a number. You can uninstall it by removing the pycharm-community-2017.2.x directory and its contents recursively.

cd /opt/google/
ls # to show the exact name of the pycharm-community-2017.2* directory
sudo rm -r pycharm-community-2017.2*


Understanding how LAMMPS manages files and directories

From which directory must a job be submitted to run?

Once you've installed the program, you can invoke it from any directory by:

lmp_linux < /path/to/your/inputfile.txt

where the inputfile.txt is the script you want to run. Here's some information on how to write input scripts.

  How can I set/where I can find the outputs of the jobs submitted?

You can use the below option:

  -log file

to specify a log file for LAMMPS to write status information to. In one-partition mode, if the switch is not used, LAMMPS writes to the file log.lammps. If this switch is used, LAMMPS writes to the specified file.

  Where are the scripts for running the program?

Not exactly sure what you mean by scripts here. If you are taking about input scripts, here there are few example scripts in the bench and example directories (of the unzipped source). You can see more tutorials here.


Are there any packages that do all the recommended configuration settings for a secured server environment?

There is no special actions for ubuntu server or for another operating system server e.g.
Just know that security of your server is security of services used for access and performing operations on your server.

Special tools for this tasks are not demanded. Best way to perform this do tuning of special programs for your needs.

http://www.cyberciti.biz/tips/linux-security.html

Also if you have gui on your server, you can use gnome-control-center there is can be placed things such as apparmor or other security tables.


Not sure what linux distro you have.  Under Ubuntu 14.04 server, the config is in "/etc/default/lxc-net", and change

USE_LXC_BRIDGE="true"

to

USE_LXC_BRIDGE="false"

or maybe just delete it altogether if you no longer have lxc.  Surprised that lxc didn't clean after itself.


"Wireless" option does not show in System Settings > Network?

You need to upgrade the kernel to 4.4 to get this wireless adapter working.

Connect to the internet by wire and run

sudo apt-get update
sudo apt-get install linux-generic-lts-xenial linux-firmware

and reboot.

This will install the required kernel and upgrade the linux-firmware package that has firmware for the 7260 chip.


How can run a gsettings command inside a postinst script from a custom .deb package?

could it be that you oversee the fact that a .deb installer (and thus the postinst script) run from root? wallpapers are set on user level.

What you are actually trying to do is give the user "root" a nice wallpaper.


Keyboard not working in Ubuntu but working fine in BIOS

Maybe not the exact right commands for that specific distro, but interesting path you could follow.
(you can figure out the right command by yourself through  tab completion and -h , I assume.)

https://unix.stackexchange.com/questions/174091/mouse-and-keyboard-not-working-in-ubuntu-14-04

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

 sudo apt-get install xserver-xorg-input-all

I'm gonna try the same once I get home.
I'm encountering the same issue on Lubuntu 19.04.


In case anyone wonders about this, here are the default UPS accounts for DNS-320 SC NAS:

[root]
password = 123
upsmon master

[client]
password = 123
upsmon slave


How can I find out the % of Australians that use Ubuntu?

Statcounter may display the general Linux usage percentage in your country. Ubuntu as the most popular distro should have a big part of that percentage.

Australia OS Stats


Aquaris E4.5 Ubuntu Edition adb unauthorized after recovery

When doing a factory reset adb will be turn off by default. You can change this by using the --developer-mode argument with the ubuntu-device-flash command. You will also need to provide a password and wipe the device like so:

ubuntu-device-flash --channel ubuntu-touch/stable/bq-aquaris.en --wipe --developer-mode --password=password123

If you have already factory reset without enabling developer mode you can enable it from the settings app if you go to "About" > "Developer mode" and tap the "Developer Mode" switch. You will need to add a password or pin before you can enable developer mode.


Different computers have different requirements on bootable usb sticks, most of which make exactly 0 sense. You will be able to boot from a usb stick if you use this command:

sudo dd bs=8M if=/path/to/image.iso of=/dev/sdx

To get what to put instead of /dev/sdx, enter df -h when your thumb drive is mounted. You'll see a line like

/dev/sdb1                  30G   30G  706M  98% /media/christoph/Ubuntu 15.04 amd64

For your thumb drive.

The unfortunate thing about this solution is that it's really ugly. It'll destroy all partitions on the thumb drive. After you used it, to get the usb stick back to normal, open GParde, switch to your usb stick, and choose Device → Create Partition Table, then make a partition again.

Note that a lot of computers have a problem with more than 1 partition on a bootable usb stick, so removing additional partitions might be enough and you don't have to revert to this ugly solution.


Multitouch Gestures on 15" retina macbookpro and ubuntu 13

Install touchegg

its in the repositories, so just go:

 sudo apt-get install touchegg

since its a terminal program you can run it directly from terminal to "test" gestures
It allows moves like three finger swipe , pinch etc.


Freeze while at almost full RAM / High HDD usage

As for ethereum: bottleneck is your HDD. If you using Mist or Geth you should have SSD for normal working ethereum node. If you just want desktop Eth wallet then try Parity, it can run on PC with HDD.


Virtual Windows 7 on Ubuntu host; Not able to share folders

What do you know, I found the answer myself!
This video http://www.youtube.com/watch?v=_5f1p3fZJPc even do it is made for XP, worked for me.


How to make Ubuntu 18.04 LTS ask for action when I press ACPI Power button/key on VirtualBox (now immediately shutdowns)?

I ran a fresh upgrade on May 6, 2018 on Ubuntu 16.04 clone to 18.04 and confirmed when pressing the power button the "old" menu appears for a split second and then the machine suspends.

I checked gsettings using:

gsettings list-recursively | sed 's/  */\n/;s/  */\n/;s/\&/\&amp;/g' | yad --list --title "gsettings" --item-seperator='\n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup

sorted by "key" and scrolled down to "power". You can confirm your settings with:

$ gsettings get org.gnome.settings-daemon.plugins.power power-button-action
'interactive'

Checking with Ubuntu 16.04 set it the same using:

$ gsettings set org.gnome.settings-daemon.plugins.power power-button-action suspend

Double check the settings:

$ gsettings get org.gnome.settings-daemon.plugins.power power-button-action
'suspend'

You don't need to reboot. Simply press the power button and now the menu will come up and stay where you can select from:

I borrowed this .gif from another answer I wrote. It shows how the lock screen option was missing and how to bring it back.


how to increase the ulimit limit in ubuntu 18?

Did you try without Sudo or Root privileges?
Also -

There are two kinds of limits:

Soft limits are simply the currently enforced limits
Hard limits mark the maximum value which cannot be exceeded by setting a soft limit

Soft limits could be set by any user while hard limits are changeable only by root. Limits are a property of a process. They are inherited when a child process is created so system-wide limits should be set during the system initialization in init scripts and user limits should be set during user login for example by using pam_limits.

There are often defaults set when the machine boots. So, even though you may reset your ulimit in an individual shell, you may find that it resets back to the previous value on reboot. You may want to grep your boot scripts for the existence ulimit commands if you want to change the default.


program for Compressing and Downloading updates in ubuntu like delta rpm in fedora

Debian packages are standard Unix ar archives that include two tar
  archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz
  (lzma2)...
  http://en.wikipedia.org/wiki/Deb_%28file_format%29

As for delta updates; relevant info can be found here:
When will Ubuntu include delta updates?

https://wiki.ubuntu.com/UbuntuDebdeltaSupport

How can I get "delta" packages to optimize apt-get upgrade downloads?

debdelta-upgrade is already available in Universe ; however there is no apt integration and it can only be used for a successive apt-get upgrade.


Ubuntu Gnome: screen "zoomed" in and stuck

I ended up restoring all my configuration files (ie those files and directories in my home directory whose names begin with a . or have paths beginning ~/.) from a backup and that fixed it. But I never figured out what caused it.


Network Manager is by default present in Ubuntu

To open it

1) Click on the network icon you will find in top right corner of the screen you will see a drop down list like as shown:

Click on the option of Edit Connections..

2) A new window will pop showing the different kinds of connection from there you can configure your network manually.


Its possible to install tomcat 6 and tomcat 7 in the same server?

Yes you can install both on the same server, you just need to configure different ports for both the instances.


How to install grphics card driver installation on dell inspiron N5010

Do you have an Nvidia card ?    here is a set of commands I've used to good effect :

Blank screen after installing nvidia restricted driver


It can be happen when GRUB can not loading properly or some files are missing or can not accessing at loading time so try to repair your GRUB by Boot Repair:-

$ grub-install -v ( to check GRUB version of ubuntu and here is GRUB file:- /boot/grub/grub.cfg )

$ sudo add-apt-repository ppa:yannubuntu/boot-repair

$ sudo apt-get update

$ sudo apt-get install -y boot-repair

$ boot-repair ( start the boot-repair )
and see advanced options at:-
http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

It will reinstall and repair your GRUB.


How to make an encrypted home folder accessible by two local users?

I thought this would be similar to LUKS with pam_mount using one home partition for all users (I don't know if that can be done or would be a good idea using LUKS) or using separate partitions for each user, which in case of LUKS would be more cumbersome. Reading the FAQ having both users being logged in sould be sufficient, or so it seems:

  Once one user can access an eCryptfs file, any users with permission
  can also access the file. Should not eCryptfs require all users to
  have the key in order to access the files?

  eCryptfs deliberately makes no attempt to re-implement the
  discretionary and mandatory access control mechanisms already present
  in the Linux kernel. eCryptfs will simply require that a File
  Encryption Key (FEK) be associated with any given inode in order to
  decrypt the contents of the file on disk. This prevents an attacker
  from accessing the file contents outside the context of the trusted
  host environment; for instance, by removing the storage device or by
  booting a live CD. This is the only type of unauthorized access that
  eCryptfs is intended to prevent.

  Once eCryptfs has associated that FEK with the inode, it does not
  impose any additional restrictions on who or what can access the
  files, deferring to the standard user/group/other permissions,
  capabilities, SE Linux type enforcement, and so forth to regulate
  access to the files. eCryptfs maintains no pedigree regarding how the
  FEK found its way to the inode, so it has no way of knowing that any
  particular UID should or should not be able to open the file, nor
  should eCryptfs do such a thing.

  Having eCryptfs impose additional access control onto the decrypted
  file contents in a trusted host environment would provide no
  additional security while introducing unintended usability issues. For
  instance, a user may wish to share his decrypted files with certain
  other users on the system without having to share his key with them or
  add their keys to a set of keys wrapping the inode's FEK. Users expect
  to be able to accomplish such a task via users, groups, capabilities,
  and types, and eCryptfs defers access control decisions on trusted
  host environments to these existing access control mechanisms.

You can find the complete FAQ in /usr/share/doc/ecryptfs-utils/ecryptfs-faq.html or online.

Another workaround would be to use an eCrypfs folder outside the users home folders that can be shared and that has a single password that the users can share (working around that both users would have to log into their accounts).


Can't adjust backlight on an Nvidia 335m GT

Got my nvidia backlight working with https://github.com/guillaumezin/nvidiabl
So there was no need to reconfigure kernel or other things


How to upgrade VirtualBox to the latest version?

Head on over to this page and download the Ubuntu package for your version / architecture.

Be sure to get the VirtualBox extension pack too. (This provides USB 2.0 and RDP support.) The most recent version can be found on the VirtualBox Downloads page.


Boot repair hanging on purge kernels then reinstall last kernel

Ended up cancelling this and mounting the new drive, and chroot into the mounted drive and running the commands from there.


How to upgrade or downgrade the Kernel in Ubuntu (to any stable or testing release)

Here are generic instructions that work on any version of Ubuntu:

There's a lag between when a Kernel is released, and when it's available packaged in  Ubuntu updates.  To add a new Kernel to the list of boot options, get the packages from here:

http://kernel.ubuntu.com/~kernel-ppa/mainline/

You'll need to match your Ubuntu version, and your 32 or 64 bit system type.
Download those files to your /tmp partition using wget or something similar, and run:

sudo dpkg -i linux-*.deb

Optionally, to remove an old Kernel, find the right version number then run:

sudo apt-get purge linux-image-YYYYYY*

Once a Kernel is installed it will be available to select at boot time.  Be sure to leave at least one Kernel at all times, preferably leave two (the one your system was originally supplied with, and your current version).


How to mount external Linux hard drive on Ubuntu?

Normally, provided the drive is not encrypted and connected via USB, you plug it in and enjoy (On Linux). Macos cannot read regular Linux file systems.

If it is a SATA drive (connected via SATA in e.g. a tower), you would have to mount it.

You normally mount (make accessible) a hard drive  by issuing the following command on the command line:

sudo mount /dev/sdb1 /mnt

That command is assuming you have but two SATA drives (CD-ROM/DVD/BlueRay, Hard drive) in your system and /mnt is not used for mounting anything else (you would know). To access it, you access /mnt. If you have three, e.g. two hard drives and an optical disk (CD/DVD/BR), it would be mount /dev/sdc1 /mnt).

SATA devices live in /dev/sd<some_letter> and usually have one or more partitions /dev/sd<some_letter><some_number>. So, /dev/sdb1 translates to the first partition of the second drive.

To get a list of all hard drives and partitions, you issue fdisk -l on the command line.

If it is SATA and encrypted, you would have to use the tools of program you used to encrypt it to mount it.


Will formatting a USB drive remove the Ubuntu Bootloader installed in it?

No. Formatting will not typically remove the MBR. The MBR and the partition table both live in the first 512 bytes of the drive. Wiping the first 512 bytes of the drive will eliminate both which is not what you have in mind. To eliminate only the content of the MBR (Master Boot Record) issue the command `sudo dd if=/dev/zero of=/dev/sdX bs=446 count=1 where /dev/sdX is the drive you wish to wipe the boot record from.

Be careful to confirm that you have the right device beforehand by checking the output of sudo fdisk -l or lsblk or lsscsi

Ideally, in your situation I think what you wish to do is to install grub to the MBR of the Hard Disk

Source: https://www.cyberciti.biz/faq/howto-copy-mbr/


Obtaining automatic IP with network-manager fails, but static works with wicd

Many Linux wireless drivers seem to be access point sensitive. In my experience, there are several things you might try.

First, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.

Next, I recommend that your regulatory domain be set explicitly. Check yours:

sudo iw reg get

If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Set it permanently:

gksudo gedit /etc/default/crda

Use nano or kate or leafpad if you don't have the text editor gedit.

Change the last line to read:

REGDOMAIN=IS

Of course, substitute your country code if not Iceland. Proofread carefully, save and close the text editor.

Next, I'd set IPv6 to Ignore in Network Manager: http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/images/netconfig/network-connections-ipv6-ignore.png  This example is for ethernet, but you want wireless.

Next, you might try updating the driver.

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtlwifi-new-dkms linux-firmware

This is the same driver as https://github.com/lwfinger/rtlwifi_new, but packed as dkms.

Reboot and let us have your report.


How do I know where (from which directory) the process is commanded?

Perhaps you'll want to use the history command to see which command you actually used?


You can make your Ubuntu look exactly like OS X.

Some screenshots:

Just add the Macbuntu PPA

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update

and install the following packages.

For themes, icons and cursors

sudo apt-get install macbuntu-os-icons-lts-v7 macbuntu-os-ithemes-lts-v7

To install Slingscold Launcher

sudo apt-get install slingscold

For Spotlight

sudo apt-get install albert

For Plank dock

sudo apt-get install plank macbuntu-os-plank-theme-lts-v7

Finally install some tweak tools to select mac theme:

sudo apt-get install unity-tweak-tool gnome-tweak-tool

And for final touch install these mac wallpapers.

Done.


Since the file /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz is missing, it looks like steam-launcher is not installed.  Apparently, the steam package has been replaced by steam-launcher.

Try the following to uninstall the old package and install the new one:

sudo aptitude purge steam steam:i386
sudo aptitude install steam-launcher libatk-bridge2.0-0

If steam-launcher is not available, try installing steam-installer instead.

sudo aptitude install steam-installer libatk-bridge2.0-0

The package steam-launcher does not install Steam itself.  Rather, it is a program that downloads and installs Steam into the user's home directory at $HOME/.local/share/Steam.  If Steam is already installed, it is run.

That Steam was interrupted during an update and is now crashing indicates a problem with the installation directory.  You can force a reinstall by moving the installation folder:

mv "$HOME/.local/share/Steam" "$HOME/.local/share/Steam.bak"
mkdir "$HOME/.local/share/Steam"
cp -rl "$HOME/.local/share/Steam.bak/package" "$HOME/.local/share/Steam/package"

Then select the option to "reinstall" when running steam.  A few-hundred megabytes of data may need to be downloaded.

After successfully reinstalling and running Steam, you can look for old games in $HOME/.local/share/Steam.bak and move them to the new installation $HOME/.local/share/Steam.  If you have nothing you want to move, $HOME/.local/share/Steam.bak is safe to delete.
Last Resort: If none of the above fixes the problem, and you don't mind reinstalling Steam from scratch, you can try deleting all Steam-related files from your home directory:

\rm -rf $HOME/.steam*
\rm -rf $HOME/.local/share/Steam*


Which Open Source Tool can I use to create a website tree diagram using Ubuntu?

GraphViz:

  Graph visualization is a way of representing structural information as
  diagrams of abstract graphs and networks. It has important
  applications in networking, bioinformatics,  software engineering,
  database and web design, machine learning, and in visual interfaces
  for other technical domains.

Perhaps with a little script to do the crawling first


Unclear about USB drive ejection: "don't unplug until finished"

I have had this in the past and found a solution that works for me.

The command sync will ensure everything is written to all attached disks.

You should not need sudo sync for this unless the disk has some log files owned by root for example that also need writing.

If the sync command ends with no errors I've found it is safe to remove the drive.


This basic script will do the job:

#!/bin/bash
status=$(nmcli -t -f WIFI nm)
if [ $status = "enabled" ] ; then
    notify-send -i network-wireless-disconnected "Wireless" "Wireless disabled"
    nmcli nm wifi off
else
    notify-send -i network-wireless-none "Wireless" "Wireless enabled"
    nmcli nm wifi on
fi
exit 0


libhal1 needs to be reinstalledbut cant find an index for it

If you have Ubuntu 12.04 installed:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libhal1


You can use DBAN to clear a disc

However, if you can't boot into the Ubuntu installer then you probably won't be able to boot into this either.

Have you tried booting to a USB from the Advanced Startup?

I've known people unable to USB boot otherwise to have success with that method.

In the same menu you might also be able to access the BIOS settings and disable secure boot which can also be preventing you from booting from USB.


If you really don't want to reinstall Ubuntu, you can try to convert your install into UEFI mode this way. But it may fail as your Ubuntu disk is not GPT.

If it fails, then backup your documents onto an external disk, format your sda disk in GPT, set up your BIOS (UEFI firmware) in UEFI mode, and reinstall Ubuntu on sda.


Seeking music file through mplayer in terminal

Basic Navigation:

You are after these basic navigation keys for MPlayer, which will all operate while your clip is playing:

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

These can be seen in the man pages of course but the small selection demonstrated here is taken from the list shown by simply running the command mplayer in a Terminal window.

Complex Navigation and Control:

If you are after more complex control you can create the file input.conf in the $HOME/.mplayer directory and place within this file the following details:

##
## MPlayer input control file
##
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
## add new ones here.
## See DOCS/tech/slave.txt for possible commands that can be bound.
## Also see mplayer -input cmdlist for other possible options.
## The file should be placed in the $HOME/.mplayer directory.
##
## If you wish to unbind a key, use key ignore.
## e.g. ENTER ignore
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
PGUP seek 600
PGDWN seek -600
m mute
# switch_audio          # switch audio streams
+ audio_delay 0.100
= audio_delay 0.100
- audio_delay -0.100
[ speed_mult 0.9091 # scale playback speed
] speed_mult 1.1
{ speed_mult 0.5
} speed_mult 2.0
BS speed_set 1.0    # reset speed to normal
q quit
ESC quit
ENTER pt_step 1 1       # skip to next file
p pause
. frame_step            # advance one frame and pause
SPACE pause
HOME pt_up_step 1
END pt_up_step -1
> pt_step 1             # skip to next file
< pt_step -1            #         previous
INS alt_src_step 1
DEL alt_src_step -1
o osd
I osd_show_property_text "${filename}"     # display filename in osd
P osd_show_progression
z sub_delay -0.1        # subtract 100 ms delay from subs
x sub_delay +0.1        # add
9 volume -1
/ volume -1
0 volume 1
* volume 1
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
( balance -0.1          # adjust audio balance in favor of left
) balance +0.1          #                                  right
d frame_drop
D step_property deinterlace  # toggle deinterlacer, requires -vf yadif or kerndeint
r sub_pos -1            # move subtitles up
t sub_pos +1            #                down
#? sub_step +1      # immediately display next subtitle
#? sub_step -1      #                     previous
#? sub_scale +0.1   # increase subtitle font size
#? sub_scale -0.1   # decrease subtitle font size
f vo_fullscreen
T vo_ontop              # toggle video window ontop of other windows
w panscan -0.1          # zoom out with -panscan 0 -fs
e panscan +0.1          #      in
c capturing             # save (and append) file/stream to stream.dump with -capture
s screenshot            # take a png screenshot with -vf screenshot
                        # S will take a png screenshot of every frame

h tv_step_channel 1
l tv_step_channel -1
n tv_step_norm
b tv_step_chanlist

##
## Joystick section
## WARNING: joystick support has to be explicitly enabled at
##          compiletime with --enable-joystick
##

JOY_RIGHT seek 10
JOY_LEFT seek -10
JOY_UP seek 60
JOY_DOWN seek -60
JOY_BTN0 pause
JOY_BTN1 osd
JOY_BTN2 volume 1
JOY_BTN3 volume -1
JOY_BTN4 set_menu main

##
## Apple Remote section
##
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
##

AR_PLAY pause
AR_PLAY_HOLD quit
AR_NEXT seek 30
AR_NEXT_HOLD seek 120
AR_PREV seek -10
AR_PREV_HOLD seek -120
AR_MENU menu up
#AR_MENU menu cancel
AR_MENU_HOLD mute
AR_VUP volume 1
AR_VDOWN volume -1

##
## OSD Menu movement keys
##
## If you are using only the keyboard it is enough to define one command (like
## "menu up"), because then that single key will display the menu, which can
## then be navigated with the cursor keys and ENTER (defined in menu.conf).
##
## LIRC users should bind each "menu" command to a button on their remote.
##
## The set_menu command directly displays the (sub)menu specified as
## its argument. Usage should be self-explanatory (although not likely
## to be needed), after reading input.conf.
##

#MOUSE_BTN0 menu up
#y menu down
#y menu ok
#y menu cancel
#y menu hide
#y set_menu general_pref

##
## DVDNAV
## Requires dvdnav://
##

UP    {dvdnav} dvdnav up          # DVDNav UP
DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
ESC   {dvdnav} dvdnav menu        # DVDNav MENU
ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)

AR_VUP    {dvdnav} dvdnav up      # DVDNav UP
AR_VDOWN  {dvdnav} dvdnav down    # DVDNav DOWN
AR_PREV   {dvdnav} dvdnav left    # DVDNav LEFT
AR_NEXT   {dvdnav} dvdnav right   # DVDNav RIGHT
AR_MENU   {dvdnav} dvdnav menu    # DVDNav MENU
AR_PLAY   {dvdnav} dvdnav select  # DVDNav SELECT (ok)

#? seek_chapter -1      # skip to previous dvd chapter
#? seek_chapter +1      #         next

##
## Advanced seek
## Uncomment the following lines to be able to seek to n% of the media with
## the Fx keys.
##
#F1 seek 10 1
#F2 seek 20 1
#F3 seek 30 1
#F4 seek 40 1
#F5 seek 50 1
#F6 seek 60 1
#F7 seek 70 1
#F8 seek 80 1
#F9 seek 90 1
#
## Use - to combine multiple keys into a key combination
##
#CTRL-. osd_show_property_text "Playing: ${filename}"

Spend as much time as you wish tweaking these options :)

Work on something else:

As for working while your clip is playing: my own practice is to open a new Terminal window but another option is to open another Tab in your existing Terminal window, if this is supported.


iTunes in wine black screen on Ubuntu 18.04

You have to use iTunes version 12.9.3 and older (32bit). It does not work with newer versions of iTunes (thanks Apple).

I highly recommend using the installation procedure described here.

Works great and there is no need for PlayOnLinux.


File truncated to 0 bytes during power failure

Normally editors rename the file to a backup, usually with a '#' or '~' in the name, and then save the new file.  In your case, the power failed before the new file was written, so just look for the backup.


Diodon does not save anything copied to the clipboard

Diodon 1.1.0 uses Zeitgeist as storage so when Zeitgeist is disabled nothing will be added to the history.

If you want to disable Zeitgeist but still want Diodon to add items you can go to "Security & Privacy"  -> "Files & Applications" settings and simply disable all include possibilities but leave Documents activated. See screenshot.


The system will block everyone except aldimere from getting to anything past /media/aldimere.

You can either mount the partition somewhere else like /media/ef018901-2b4c-41f4-ba56-f17a751c0a3a

Or you can edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this line:

force user = aldimere

Then restart smbd:

sudo service smbd restart


ubuntu server: login with new created user > get dollar shell

The command to have useradd create a home is

sudo useradd -d /home/user -m user

Where user (2 times) is your account name.

(The files in the new home directory are copied from the /etc/skel folder)


Is there a way to open startup applications minimized or on a hidden workspace in 18.04?

The solution to this required a bit of trickery:

The GNOME extension Auto Move Windows is able to place a program window on a different workspace if dynamic workspaces are disabled in Tweaks. However, it will also switch to that workspace if no other program is open.

The way to solve this at startup is to use xdotool to synthesize a keyboard shortcut to switch workspaces. E.g.:

Add your startup programs in Tweaks.
Add the same programs to Auto Move Windows and select the appropriate workspace.
Define a keyboard shortcut to switch to an empty workspace, in my case I used Ctrl+Alt+1.
Setup a startup bash script with these two lines:

sleep 2

xdotool key ctrl+alt+1

This way your programs should open on another workspace than the first one and xdotool will switch to an empty workspace at start.


Do I need the package plasma-workspace on 18.04 with GNOME?

You don't need the package plasma-workspace in Ubuntu 18.04 and you can safely remove it with sudo apt remove plasma-workspace if you haven't installed any packages that have plasma-workspace as a dependency.

Here are the reverse dependencies of plasma-workspace  in Ubuntu 18.04.

$ apt-cache rdepends plasma-workspace
plasma-workspace
Reverse Depends:
  plasma-workspace-dev
  sddm-theme-breeze
  plasma-workspace-wayland
  plasma-widgets-addons
  plasma-desktop-data
  plasma-desktop
  libkscreenlocker5
  kinfocenter
  kde-config-screenlocker
  drkonqi
  libkf5xmlrpcclient-data
  plasma-mediacenter
  openbox-kde-session
  libkf5globalaccel-data
  libkf5globalaccel-bin
  latte-dock
  kde-plasma-desktop
  kubuntu-web-shortcuts
  kubuntu-full
  kubuntu-desktop

The following command will show if any of these packages are currently installed.

apt policy plasma-workspace-dev sddm-theme-breeze plasma-workspace-wayland plasma-widgets-addons plasma-desktop-data plasma-desktop libkscreenlocker5 kinfocenter kde-config-screenlocker drkonqi libkf5xmlrpcclient-data plasma-mediacenter openbox-kde-session libkf5globalaccel-data libkf5globalaccel-bin latte-dock kde-plasma-desktop kubuntu-web-shortcuts kubuntu-full kubuntu-desktop


There is a much better way to do this without moving files and setting links. Just open a terminal with  CTRL+ALT+T and perform this command:

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

Then set up Nemo to handle your desktop:

gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

Revert this changes:

gsettings set org.gnome.desktop.background show-desktop-icons true
gsettings set org.nemo.desktop show-desktop-icons false
xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


CONFIG_KVM=m in my .config, but why is KVM in the output of lsmod?

As describe here kvm is automaticaly loaded on boot on cpus which support hardware virtualization.

If you don't need virtualization you can disable VT-d/AMD-V in your BIOS to prevent module kvm to load on boot

Update:

Build as module allows you to have a faster boot by loading only specific features onboot. It does not guarantee to you that a module will not be loaded. If a ressource need this module it could be loaded directly by the binary like iptables does.

Example:
nf_conntrack is an iptables modules which allows you to track connections through the firewall CONFIG_NF_CONNTRACK=m. This module will not be loaded unless you add a rule using -m conntrack.

Other example:

My computer have an ethernet card using driver e1000.

grep CONFIG_E1000 /boot/config-4.15.0-91-generic

CONFIG_E1000=m
CONFIG_E1000E=m
CONFIG_E1000E_HWTS=y

It shows me the e1000 driver is built as module.

Using modinfo e1000 | alias will gives all aliases that will load the kernel module automatically

alias:          pci:v00008086d00002E6Esv*sd*bc*sc*i*
alias:          pci:v00008086d000010B5sv*sd*bc*sc*i*
alias:          pci:v00008086d00001099sv*sd*bc*sc*i*
alias:          pci:v00008086d0000108Asv*sd*bc*sc*i*
...

Since my ethernet card is an intel (VendorID 8086) it matches to the alias, so the module is loaded as shown in dmesg

[    1.520584] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k

All the modules you see in lsmod after a fresh boot were used during the boot process.


running command on remote host by ssh fails when running inside script

Try this:

sshpass -p '[MYPASSWORD]' ssh [USER]@[HOST] 'bash -s' < PATH/TO/LOCALSCRIPT

It seems that command is needed in the case when there is no terminal at all.

(found here)


Finally could make it work, just needed to replace native_file_string() with string().
And inside basename function replaced return fspath.leaf() with return boost::filesystem::basename(path)


Please make sure you have LibreOffice installed. If you have it installed, when you right click on the file, the dropdown menu should say "Open with LibreOffice Calc". If you don't see the option, click on "Open with other application". In recommended applications list, if you don't find it, click on "View all applications". Click on the appropriate application and click select.

If you have multiple distribution of LibreOffice installed, you might have library conflicts between different versions. To reinstall LibreOffice, remove installations of LibreOffice:

sudo apt-get remove libreoffice-core

If you also want to remove LibreOffice configuration files, use the purge switch:

sudo apt-get remove --purge libreoffice-core

Now to install LibreOffice, you can use official ppa:

sudo add-apt-repository ppa:libreoffice/ppa

Update your apt repository

sudo apt update

Install LibreOffice

sudo apt install libreoffice

Now it should open with LibreOffice.


Remembering Window Positions (and preferrably sizes, too) in Ubuntu 14.04

(My other answer describes why restoring a window position is not possible for the general case.)

For special cases where saving and restoring a window position is feasible,
one can use shell scripts to save and restore the position or geometry (geometry is position plus size) for cases that can not be handled by the window manager configuration (see below).

There are various command line tools to read and set properties of windows -  for example wmiface and wmctrl.
A minimal example:

Get the geometry of a window in X geometry format (usually WxH+X+Y) (note the y coordinate - I am using 16 compiz virtual desktops/viewports):

$ wmiface windowGeometry 46137711
1256x814+1186+5005

Move the window elsewhere (note the different format for geometry):

wmctrl -i  -r 46137711 -e "0,1186,4005,1256,814"

Another approach is to define fixed positions for certain windows instead of restoring its position. This can usually be configured in the details of window handling configuration, like ccsm.


When I close my Laptop lid my external monitor turns off

This is a known issue in 11.10. I have resolved it by upgrading kernel to 3.2, but I would not recommend it since the upgrade might cause all sorts of problems.

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/766490


Where does the Virtual Box draw space from for installing a different OS?

The virtual machine definition itself will occupy little space. The thing that will occupy space is the virtual disk where the client OS will be installed, as long as the possible snapshots you'll take1.

Normally the disks are installed in a directory called VirtualBox VMs under your home; so it will by default occupy space in your home partition. Native Virtualbox virtual disks are dinamical; they will grow till occupying the allocated space (10G in your case) when the guest OS will use the space.

To check where you have yor disks, open "settings":

...as you see, I have mine in another partition --- namely one mounted on /home/vbox. To create the virtual disk (VDI) in a non standard place, you simply select the directory where to put it on creation (you can move it later too, in a lot of way, the most easy being to move the containing directory and put a symlink in its place).

The VDI is a file as much as Linux is concerned, so you cannot put it in an unallocated space on disk2, so you have to partition, format and mount your unallocated space beforehand.

Footnotes:

1 and it will grow up, but it will not grow down --- this is much more complex. In my experience, 10G is far too little for a Windows installation --- especially if you plan to put Office on it.

2 well, you probably can. But it's not a standard way to do it.


Boot-repair should have fixed it! Check for removable media such as USB drives, printers with card readers, or other media that your computer may be booting from by accident.


Integrate an application with GNOME search

This is a very general answer. I suggest you to post the question to StackOverflow for more specific solutions.

Assuming that, you're referring to this geeknote which is an evernote client, you need to change the application to integrate with gnome dash search. The application is opensource so you can fork the repository and work on it.

As a help, you can look into gnote's source code to see how things are implemented. Here is the overview page of the Gnome Development guide.

But if you aren't a developer and looking for a solution from end-user's point, the best bet would be to create an issue with geeknote to request an implementation of the search. Other than this, I don't think there would be any third party plugin to help integrate geeknote with gnome dash.


What is the minimum size of the LAMP server?

First off, consider using 32-bits if you are space conscious. The binaries are smaller, as is the memory footprint, and if you have a small disk footprint system, its likely you won't even have 4GB of RAM to take advantage of the 64-bit memory management.

If you just choose the "LAMP Server" task then base system + all of that can be a lot. However, LAMP itself is just Linux, Apache, Mysql, and PHP, so really all you need are the bits to tie those together. That would be:

mysql-server
php5-mysql
libapache2-mod-php5

Also you can try installing it with --no-install-recommends" which will avoid bringing in things that are normally used, but not absolutely necessary, for the operation of a LAMP site (like SSL, and the php CLI command).

SO you can run

apt-get --no-install-recommends install mysql-server php5-mysql libapache2-mod-php5

When I do this in a 64-bit EC2 10.10 instance I get this:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              15G  793M   14G   6% /
none                  290M  108K  290M   1% /dev
none                  297M     0  297M   0% /dev/shm
none                  297M   52K  297M   1% /var/run
none                  297M     0  297M   0% /var/lock

And on a 32-bit instance:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              15G  761M   14G   6% /
none                  294M  108K  294M   1% /dev
none                  298M     0  298M   0% /dev/shm
none                  298M   52K  298M   1% /var/run
none                  298M     0  298M   0% /var/lock

BTW, if you're curious where the space is used up:

sudo du -m /* | sort -rn | head -20

Will show you the top 20 (the numbers are MB of space used)


You need to use sudo to install the snap package and to install any snap application. The sudo command need grant permission. No need to be root and no need to have UbuntuOne to install snap or snap app.


printers not working after distribution upgrade

From accepted answer which author will hopefully post here:

I encountered the same problem. To track back its origin I looked into
"/var/log/cups/error_log"
In my case, I discovered that the problem was caused by icc profiles used by ghostscript. I had the following error:

  Started filter pstops (PID 26489)
  ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc
  ./base/gsicc_manage.c:2261: gsicc_init_iccmanager(): cannot find default icc profile
  ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc
  ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
  **** Unable to open the initial device, quitting.

So what worked out for me has been to manually remove the icc profiles and then re-install libgs9-common (following Broken ghostscript configuration) :

  sudo rmdir /usr/share/ghostscript/9.25/iccprofiles
  sudo apt-get install --reinstall libgs9-common

Hope this helps


What to do when a bootable USB stick doesn't work properly?

When you've downloaded an .iso image for Ubuntu and written it to a USB flash drive, and then you successfully boot it but experience problems during installation, the first things you should always do (if you haven't already) are:

MD5 test the .iso image. (It can be corrupted during download or afterwards.)
Check the USB flash drive for defects. (It can be corrupted during write or afterwards, or you could have bad hardware.)

Both the above steps apply to:

all versions of Ubuntu
both CD/DVD/Bluray and USB media


You'll probably have to change your boot sequence in BIOS or UEFI to boot from a bootable USB drive on hardware capable of doing that. How you get to the BIOS/UEFI interface to change the boot sequence depends on the hardware you're using.


Installer doesn't detect existing partition table/windows 7 partition

It looks like this disk used to use GPT, but then you used a non GPT aware tool to redo the msdos partition table, so now the system isn't sure which partition table it should be using.  You will need to remove the broken GPT to properly go back to using the msdos table, which you can do with the gdisk utility.


Dell Inspiron 3593, Linux Ubuntu - how to change backlight PWM frequency? intel_reg read 0xC8254 doesn't work

Looks like there is lack of proper permissions to map the memory. Is this command running by privileged user?
intel_reg read 0xC8254

This error suggests that:
(intel_reg:9325) intel-mmio-CRITICAL: Last errno: 13, Permission denied

Also here is the output from my machine (different vendor and model, but still Intel GPU):
$ intel_reg_read 0xC8254
Test assertion failure function intel_mmio_use_pci_bar, file intel_mmio.c:145:
Failed assertion: !(error != 0)
Last errno: 13, Permission denied
Couldn't map MMIO region

And with root privileges:
$ sudo intel_reg_read 0xC8254
0xC8254 : 0x5EB2

Notice, the syntax of the command may be different as I am using different distribution, but I think this should help you with the investigation.
EDIT: To be more explicit I use the 2.99.917 version of the intel-gpu-tools, which is significantly newer then your 1.14. I think that the debuging tool is not aware of your newer (I assume) GPU.
I'll try to update my answer if this doesn't solve your problem.


Viewing a part of the screen in a window on Linux

Hier ist a repost of the answer from Unix&Linux from jofel:

(Please, go to the original answer and give +1 there, if you like it)

  You can achieve this using the xrandr extension. Read this wiki
  page and/or this article for more information.

  Make sure that the virtual desktop is not greater than your laptop
  screen. With the --pos option of xrandr you can then mirror parts of
  your screen to the projector, e.g. for a 1600x900 laptop screen and a
  1024x768 projector at position 100,100:

xrandr --fb 1600x900 --output VGA --mode 1024x768 --pos 100x100

  For a dual-head presentation, you can also use the following tools
  (depending on the format of the presentation you uses):

  pdfpc
  pympress
  LibreOffice Impress (perhaps also OpenOffice  Impress)


How to replace consecutive characters from directory names, recursively

Initial situation:

$ find .
.
./foo---foo...foo
./foo---foo...foo/foo...foo...foo
./foo---foo...foo/foo...foo...foo/file..name...name.extension
./foo---foo...foo/foo-+-+-+-+-+X
./foo---foo...foo/foo-+-+-+-+-+X/07. Testing.mov
./foo---foo...foo/foo------------foo
./foo---foo...foo/foo------------foo/01. Introduction.mov

Now execute:

$ find . -depth -execdir rename -E 's%^./%%' -E "s/[-_\.+\"'\?]{2,}/-/g" {} \;
./07. Testing.mov not renamed: 07. Testing.mov already exists
./01. Introduction.mov not renamed: 01. Introduction.mov already exists
./. not renamed: . already exists

Result:

$ find .
.
./foo-foo-foo
./foo-foo-foo/foo-foo-foo
./foo-foo-foo/foo-foo-foo/file-name-name.extension
./foo-foo-foo/foo-foo
./foo-foo-foo/foo-foo/01. Introduction.mov
./foo-foo-foo/foo-X
./foo-foo-foo/foo-X/07. Testing.mov

Your question should really contain examples like I added with "Initial situation:" and "Result:". Only that way anyone is able to understand what you want. Without it, it is just guessing game.