Edit

For OpenVPN:

Finally, playing around my two different self owned VPN servers, I've found the solution for my case.

First, check whether the server was setup using LZO or LZ4 compressions, if the server is setup using LZ4, then check whether your client supports LZ4 compression, apparently network-manager-openvpn doesn't support it, but any openvpn above 2.4 does.

For CiscoVPN, I cannot give an exact answer, but given the cases are similar I would suggest to take a look at the compression decompression methods on both server and client side.

I can confirm that I am experiencing the same problem with OpenVPN client, I also cannot ssh into the machines that are connected to the VPN server, etc.

I know it's not some DNS resolution issue, since I cannot ping ip numbers. I have checked all the basic and advanced settings, they look fine. I've tried the solution above it didn't work. I've also tried other solutions from different articles (Topic1, Topic2) with no luck.

I've checked tcpdump, all outgoing packages no incoming. traceroute doesn't go beyond the computer when VPN is on. The outputs are the same as above.

Edit:
I still haven't solved the problem but I managed to scrape some details off, and a workaround. First, the problem in my case is related to the network manager. When I start the VPN connection via the command $ sudo openvpn --config vpnconfigfile.ovpn everything works fine. If I import the vpn config file to network manager and start it from there it does not work.

How do you use your VPN?

I have checked the output of journalctl -xe and I've found this:

...
nm-applet[1889]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
nm-applet[1889]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
nm-openvpn[7291]: OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep  5 2018
library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.08
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Can't set a parent on widget which has a parent
....
nm-openvpn[7291]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
nm-openvpn[7291]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
nm-openvpn[7291]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1570'
nm-openvpn[7291]: WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
nm-openvpn[7291]: [server_E4ejDM49LNC3gjYs] Peer Connection Initiated with [AF_INET]xxx.xx.xxx.xx:xxx
nm-openvpn[7291]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:3: block-outside-dns (2.4.4)
nm-openvpn[7291]: TUN/TAP device tun1 opened
nm-openvpn[7291]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --debug 0 7285 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_22 --tun --  tun1 1500 1552 10.8.0.3 255.255.255.0 init
systemd-udevd[7292]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
NetworkManager[1010]: <info>  [1538869518.6350] manager: (tun1): new Tun device (/org/freedesktop/NetworkManager/Devices/16)
cinnamon[1870]: JS LOG: Unknown network device type, is 16
nm-applet[1889]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
nm-applet[1889]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
NetworkManager[1010]: <info>  [1538869518.6401] vpn-connection[0x561394b487d0,9ace9715-f9a7-4e9e-a602-b2ae3bbccebf,"xxx",0]: VPN connection: (IP Config Get) reply
  received.
 ....


Missing certificate GeoTrust DV SSL CA - G4

This

 update-ca-certificates --fresh

is only useful if you previously copied the certificate to /usr/local/share/ca-certificates.

Steps:

download the .pem file you need. (Here is the official download).
copy the file over from your download location to /usr/local/share/ca-certificates using sudo but with the extension .crt. Example command (use the actual name instead of "filename"):

sudo cp ~/Downloads/filename.pem /usr/local/share/ca-certificates/filename.crt
run update-ca-certificates.


How do I set permissions for a specific (mounted) location?

Assuming you mount /win32 as CIFS from an fstab entry, then you can set the uid and gid (as well as other options related to user mapping and permissions - see man mount.cifs) in the mount options in /etc/fstab.

I have no Windows partitions to verify this, but am quite sure that you could mount them more than once.  So you would mount the root of the Windows partition as read-only on /win32, and the user home directory read-write somewhere else.
I'm not sure if that could be at /win32/Users/Owner, i.e. overlaying the mounted /win32 tree.  It can for some filesystems, not for all.

If CIFS doesn't allow such a mount, then maybe a bind mount (see man mount) can do the trick.  Otherwise of course you could mount it outside the /win32 tree, e.g. at ~user/win32 or something.


[16.04]Unable to run unity-control-center and gnome-control-center because of undefined symbol

I solved the issue by restoring from backup the file

/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37

that was mentioned in the error message. The file that broke unity-control-center were a link to a file called

libwebkit2gtk-4.0.so.37.28.2

while my old file and now working, is a link to the file

libwebkit2gtk-4.0.so.37.14.10

booth files exists and the link wasn't broken. It was just the wrong version of the file that was needed. what the file does, I have no idea but this is were this nightmare, hopefully, ends.


Grub2 won't detect Ubuntu 11.10 OS after reinstalling Win XP hal.dll.

I solved a similar missing hal.dll problem for a dual-boot of XP and Ubuntu 12.04 (which I installed after Windows) and Grub2.  I couldn't boot up Ubuntu so I used Boot-Repair which fixed Grub2 and let me boot Ubuntu, but broke my Windows XP boot, ironically (I believe) because I had selected "Repair Windows boot files" option.

The solution I found was to boot into Ubuntu and edit Windows' C:/boot.ini file.  When I compared this file to the boot.ini.bak file, I saw that the partition number had been inappropriately changed from the original:

default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

to

default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS

Once I restored boot.ini to the original (by pasting the contents of boot.ini.bak into boot.ini) such that XP booted from partition(2) and not partition(3), Windows XP booted up just fine!

I am really new to this stuff, but I believe this problem occurs because Boot-Repair recognized my Ubuntu swap drive (which is a logical/extended and not a primary partition) as an extra partition, whereas Windows XP did not.  Thus, Boot-Repair will potentially break your Windows boot.ini file if there are logical partitions preceding your Windows installation.


How can I start DHCP3-server later, so that it waits for a bridge interface to initialise before loading?

One solution is to tell the dhcp-server not to start automatically and then add the following two lines to you /etc/network/interfaces file for you bridge definition

post-up /etc/init.d/dhcp3-server start
pre-down /etc/init.d/dhcp3-server stop

So it will end up looking like this

iface br0 inet static
    bridge_ports eth0 eth1
    address 192.168.1.2
    broadcast 192.168.1.255
    netmask 255.255.255.0
    gateway 192.168.1.1
    post-up /etc/init.d/dhcp3-server start
    pre-down /etc/init.d/dhcp3-server stop

This way the network management (ifup/ifdown, NOT network-manager) will start the DHCP server after bringing up the bridge, and shut it down before removing the bridge.


Dual boot two Linux distributions on one disk

Ubuntu (and generally most other UI based distros) have an option to "shrink a partition", it's probably labeled under "Install along side x". As long as you have enough room to shrink the partition to a usable size for the distribution you pick, you should be fine. I know for sure Ubuntu and Manjaro has these (shrinking partitions) options, but I'm not sure about other ones. You should be able to do this from the live install of the distribution your adding, not your Lubuntu live install, if I remember correctly.


Installation of Skype 4.3.with Synaptic to Ununtu 14.10

You can just install the main program (skype) without the other packages. The other packages are plugins for other chat applications (Pidgin and Empathy, in this case) to use Skype.

If you don't use Pidgin or Empathy, you won't gain anything by installing pidgin-* or empathy-*.


You can use ClassicMenu Indicator for application menu.

For adding files/folders you can use autokey and use this script to the open the particular folder and make sure you ☑ the option "show in notification menu"


update-grub does not update /boot/efi/EFI/ubuntu/grub.cfg

I ran into this as well.  To update your EFI grub.cfg, you want to do:

grub-install --efi-directory=/boot/efi

If your EFI is mounted at /boot/efi.


After install ati radeaon drivers when I open tty using (Ctrl+Alt+F1) the monitor shuts down

With that radeon series you should use the radeon driver instead of the closed source catalyst. There is no gain from using the closed source driver.


Installing latest version of Zabbix agent

You can install zabbix-agent 2.2.0 with ppa:dottedmag/zabbix-agent repository in 12.04.

sudo add-apt-repository ppa:dottedmag/zabbix-agent

sudo apt-get update

sudo apt-get install zabbix


You specify the filesystem type with the -t option. As described in man mount:

   -t, --types fstype
          The argument following the -t is used to indicate the filesystem
          type.  The filesystem types which are currently supported depend
          on the running  kernel.   See  /proc/filesystems  and  /lib/mod‐
          ules/$(uname  -r)/kernel/fs  for a complete list of the filesys‐
          tems.  The most common are ext2, ext3, ext4, xfs,  btrfs,  vfat,
          sysfs, proc, nfs and cifs.

So, to mount a FAT32 (vfat) drive, you would run:

sudo mount -t vfat /dev/sdc /media/usb

However, you don't mount devices, you mount partitions. What you're after is probably:

 sudo mount /dev/sdc1 /media/usb

Or, if it still complains:

sudo mount -t vfat /dev/sdc1 /media/usb

For more details, update your question with the output of sudo fdisk -l /dev/sdc.


A Virus Scan indicated large number of known viruses - What should I do?

If you get a message that says something like:

----------- SCAN SUMMARY -----------
Known viruses: 4746163
Engine version: 0.99
Scanned directories: 30
Scanned files: 135
Infected files: 0
Data scanned: 23.82 MB
Data read: 21.28 MB (ratio 1.12:1)
Time: 9.010 sec (0 m 9 s)

...there is nothing to worry about. The Known viruses are what the clamscan program checks to find if there are any infected files that match any of its known malware signatures.

The message that you have to worry about is if there are any Threats Found, in which case I usually delete all the infected files if they are not system files. If ClamAV finds an infected file, you can either delete or quarantine it. See How to quarantine or delete infected files with ClamAV?.


Samba share file size error with Windows 8.1

try increasing the write cache size, in in /etc/smb.conf file.


Mounted NFS shares interrupting shutdown?

Is your NFS server still up when you shut down your machine? If so, that seems to be a bug in the shutdown ordering in 10.10; the network interface must still be up in order to unmount NFS.

I don't use 10.10 yet, so I can't confirm whether that's the case. But as a stopgap, you might try doing a soft mount instead of a hard one. Soft mounts allow the NFS requests to time out. But you'd better be sure to sync very fully before you shut down!


Can I use ls -R to show up to 2 folder depth?

Use wildcards for your search like

ls /main/*/*/

That will list with a search depth of 2. User more wildcards for deeper search.


How long after release will the last LTS get a HWE kernel?

We have seen a few HWE stacks now so can can look at the repo-creation dates for a bit of historical background:

trusty-updates/linux-meta-lts-utopic 2014-11-24, 32 days after Utopic
precise-updates/linux-meta-lts-trusty 2014-04-25, 8 days after Trusty
precise-updates/linux-meta-lts-saucy 2013-11-08, 22 days after Saucy
precise-updates/linux-meta-lts-raring  2013-05-05, 14 days after Raring
precise-updates/linux-meta-lts-quantal 2012-11-14, 27 days after Quantal

An average would suggest something like 1-2 weeks for a -proposed update and 3-4 weeks for an -updates update after the release date.


apache forbidden to acces `index` file on ntfs partition

Since this is Ubuntu 13.10, Apache 2.4 is installed which means that this can be the problem - I had the same problem yesterday and changed the permissions of every directory up to DocumentRoot which did not help and then found the linked to post.

In the <directory> section (which you might have to add) just change Allow from all to Require all granted.


after upgrading to kernel 5.3 screen flickering started Refresh rate in 60.01 Hz

I realised that only Google chrome was having flickering problem after upgrading to kernel 5.3. I disabled settings in Google chrome  "use hardware acceleration when available" under settings ->advanced settings>system. Now it is working fine.


Do you need to have a device plugged into your SD card at all times? From the looks of the error, the SD reader is losing power (as part of the shut down process) before /oldroot is unmounted. As a result, when the OS tries to unmount that device, there is no SD reader anymore and the system waits ... and waits ... and waits ... until it times out.
There are a couple of options for you:

Remove SD cards before shutting down
Add a script that runs whenever you shut down (or restart) the computer to first unmount any SD cards before initiating the shut down sequence


you have different temperature sensors on your mac book by default.

here is a small list of commonly used sensors + the shortcut

TB0T Temperature Battery Temperature <-- that's the one we are looking for.

TC0D Temperature CPU0 Die Temperature

TC0P Temperature CPU VR area

TG0H Temperature GPU0 Heatsync

TG0P Temperature GPU0 Proximity

TG0T Temperature GPU0 Discrete Thermal Diode

Th0H Temperature NB/CPU/GPU HeatPipe 0 Proximity

Th1H Temperature NB/CPU/GPU HeatPipe 1 Proximity

TM0P Temperature FBDIMM Riser A incoming air Temp

Tm0P Temperature Misc Temperature (clock chip) Proximity

Ts0P Temperature Palm rest L

Ts1P Temperature Palm rest R

Since your battery is dead as you say it can be the reason that a wrong temperature is displayed here. For sure -127° C is not correct and I would not be concerned about it.


Unity Tweak tool not launching from terminal or launcher

Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.


If it were me I would try adding a custom mode to your desired monitor resolution but using what's called "reduced blanking". If it does not fix it then at least you have eliminated a possible cause.
First use cvt to generate a modeline on your system:
cvt -r 1920 1080
In my case I get this result:
# 1920x1080 59.93 Hz (CVT 2.07M9-R) hsync: 66.59 kHz; pclk: 138.50 MHz
Modeline "1920x1080R"  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync

Then create a new xrandr mode using your resulting modeline  (omitting the "Modeline" keyword) so in my case it would be:
xrandr --newmode "1920x1080R"  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync
Now apply it to your DisplayPort DP-1 output:
xrandr --addmode DP-1 1920x1080R
More details here including how to make permanent if it helps: https://wiki.archlinux.org/title/Xrandr


As suggested in this answer, prefer the TextField component:

The corresponding code:

import QtQuick 2.0
import Ubuntu.Components 0.1
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1

MainView {
    id: main
    width: 200
    height: 200

    TextField {
        anchors.centerIn: parent
        placeholderText: "0"
        text: "0"
        horizontalAlignment: TextInput.AlignHCenter
        style: TextFieldStyle {
            textColor: "black"
            background: Rectangle {
                radius: 20
                color: "#F0EBEB"
                implicitWidth: 40
                implicitHeight: 24
                border.color: "#000000"
                border.width: 1
            }
        }
    }
}


WSL Ubuntu why does cpanm install Perl5 modules in the wrong spot?

To avoid the use lib in your script, you could modify your perl search paths in your ~/.bashrc file, like I do:
PERL5LIB="/home/*****/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;


When applications are written, they are simply a large group of text files called the source code that developers have typed out in whatever programming language they have chosen to write the program in. To actually run the program, these files need to be compiled using a software program called a "compiler" into binaries. Binaries are the files that are computer-readable, and when programs are distributed or downloaded through the Software Center they are the compiled and packaged versions of the program.

Software patches are files that describe changes to be made to the source code. patch is the name of the program used to patch source code. To patch software, you download (or create) a patch file and use the patch program on the patch file to patch the source code (confusing!).

This takes a long time for big programs like Wine, but it can be done. In your situation, you will need to remove the Wine package you have installed, download and extract the Wine source code (making sure it is roughly the same software version), apply the patch, and then compile and install the patched source code. This will be easily accomplished using the terminal with tools provided by the apt software management suite. You can open the Terminal from the dash or with ctrl - alt - T.

After you open the Terminal, remove the packaged version of Wine that you got from the software center along with all of the other packages it relies on, and all of their configuration files with the command below, which you can copy and paste. This will not remove all of the Wine programs, like GTA, that you have installed.

sudo apt-get -y purge wine && sudo apt-get -y --purge autoremove

This and every other command that starts with "sudo" will require that you type in your password, which will not appear, and then press [Enter]. It provides programs with administrator/root priveleges. When this finishes and you are at a prompt (denoted with the $ symbol) again, create a new folder and move into it. This will create a folder called "wine" in your Downloads folder. I don't know if you want all of this going into your Downloads folder, but you can modify it to taste - just don't delete the folder!

mkdir ~/Downloads/Wine
cd ~/Downloads/Wine

Next, download the source code for Wine from the Ubuntu repositories, and cd to the Wine source tree.

sudo apt-get -y build-dep wine1.4
apt-get source wine
cd wine1.4-1.4.1/

A long list of packages will be installed and the source code will be downloaded and checked (you can ignore any warnings). When finished, download and apply the patch so that your game will work correctly. The echo command combined with the use of >> will add a newline to the end of the patch file - which Dropbox stripped - so that the patch command will not complain. The apt-get commands install the wget program, which is a command line tool for downloading files from the web.

sudo apt-get -y install wget
wget https://www.dropbox.com/s/0c9e1qjurpjxi3m/patchfile1.patch
patch -p1 < patchfile1.patch
dpkg-buildpackage -rfakeroot -b

It would be advisable to go get a coffee, or two, or three at this point, because it will take a loooooooonnnnnnnnnnngggg time to compile Wine!

Once that is all finished and you see the $ again, change one directory up and install the packaged version of the freshly compiled source code.

cd ..
sudo dpkg -i *.deb

Hope it works!


Updated answer for 2020-2021
Here are the steps to run this 16-bit App:

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' I am using 20.04, but change focal to groovy if you are using 20.10.
sudo apt install --install-recommends winehq-devel Change winehq-devel to winehq-stable if you would like to use the stable version instead
Run winecfg once so it installs all required packages to work correctly like gecko. In some cases as mentioned below, it would be needed to set the Windows version to XP.
Visit the Castle in the Wind folder. For me it showed both versions inside of it:

Go to Castle1 for example and on the terminal type wine CASTLE1.EXE to begin

For Castle2, type wine CASTLE2.EXE in the terminal, inside this folder to play it

NOTES

I am playing in Ubuntu 20.04
I did not install any additional packages via winetricks.
There are less steps to do now with the latest wine version, which at this time is Wine 6.0-rc3
There was no need to changing the Window version inside winecfg since it worked with Windows XP, 7, 8 and 10 (In my case). The default one was windows 7, which is the one used for this test. But as noted by Adrian, he needed Windows XP (Like the previous version of this answer) to make it work.


Well, apparently darktable - which I saw, but I got confused that it had only a few of the camera parameters; then I saw https://www.darktable.org/usermanual/en/camera_settings.html and got even more confused, because it showed some properties that my darktable didn't show, but my camera had according to gphoto2 --list-all-config. And it turns out - you can add all/any of the settings manually, by clicking that very missable circle:

... right next to "property" under "additional property" under "properties". Also, my camera didn't want to accept most parameters until I set it to manual mode, which I could only find and do in camera-config-gui.py


Download Qt 5 :

https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778-ab02-bfb62735f3e5

Install Qt 5 :

chmod +x qt-unified-linux-x64-3.0.5-online.run
sudo ./qt-unified-linux-x64-3.0.5-online.run

Qt5 installion software will start.

Select option that you want to install (default installation is suffisant, we didn't need to add others packages, we don't try to code a program with Qt).

NB: I add the sudo because you can have an issue with mirror host with an error like

Network error while downloading 'http://mirrors.ukfast.co.uk/sites/qt.io/online/qtsdkrepository/linux_x64/desktop/licenses/qt.license.gplv3except/1.0.0-1meta.7z' : Mirror host is unreachable.

Install YUView

Download the source code from Github, but there is the version 2.0 here (I don't use it, the 1st link is enough for me)

Extract your ZIP folder, you will get a folder named YUView; open a terminal inside, and use the following command  :

qmake
make
sudo make install

YUView is now installed, you can now display your favorite YUV file and some format can be read (420, 422, 444 ...)

NB: YUView didn't detect the size of your picture, you must filled width and height option like I do (my picture is from a fisheye camera, 1536 x 1536)


How to get letter "ć" with the dead keys?

I set US keyboard layout, not with Dead keys.

sudo dpkg-reconfigure keyboard-configuration

Compose+, c = "ç"
Compose+' c = "ć"
Compose+' s = "ś"
Compose+a e = "æ"
Compose+o e = "œ"
Compose+' e = "é"
Compose+` e = "è"
Compose+` a = "à"
Compose+" i = "ï"
Compose+~ n = "ñ"
Compose+/ o = "ø"

I feel very nostalgic these combinations.

Compose+^ a = "â"
Compose+^ o = "ô"
Compose+^ e = "ê"

J'aime manger un gâteau à l'hôtel.
L’accent circonflexe ne disparaîtra pas de sitôt


As soon as you say "do it in the background" I'm going to suggest Celery . It involves running RabbitMQ as a local daemon that Celery uses as a intermediate data-store and Django can ask Celery to perform tasks.

If you need to track status, once you add a task, you can get a UUID for it and then query Celery for the status, and/or just have Celery stick the result in the standard Django ORM for you that you poll (or use webhooks, or whatever it is hipsters are using these days).

That is, of course, a lot of learning and a fair amount of ongoing burden for just running something in the background. You can just do it the dirty subprocess.Popen way. You won't capture any output or get any status... But it should just about work.


Error: ER_CANT_CREATE_THREAD: Can't create a new thread (errno 11);

One of the most common solutions for this situation is to update the soft nproc limit for MySQL. This is how you can do it:

Open a terminal
Edit the limits configuration file:sudo vi /etc/security/limits.conf
Look for a line that starts:mysql soft nproc
Update the value from the default of 2048 to 4096(If you don't see a line like this at all, you can add it to the bottom of the file: mysql  soft  nproc  4096)
Save the file & restart MySQL

This will boost the soft nproc and allow the server to create more threads. Based on the hardware configuration you outlined, the system will have more than enough power to handle this.
Hope this solves your problem.


Font rendering in gedit is smooth, but not smooth in NetBeans

You should be able to improve the font rendering, but it will never be like the one in Gedit. Usually all java applications using Swing have that weird rendering. If you use Eclipse, for example, the font rendering should be correct.

Font rendering can be changed in /etc/netbeans.conf:

sudo gedit /etc/netbeans.conf

and at the end of netbeans_default_options (between the quotation marks) add this:

-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=<OPTION>

where option can be "on", "gasp" or "lcd". You can get the full list here.

Try all those and see which one gives you best look. Hope it helps.

NOTE:

i don't have Netbeans installed right now to test, but depending on the way you have installed it netbeans.conf can be located somewhere else.


How to access a file belonging to some other group?

There is no official way to access a file if its permissions do not allow you to do so. Any such possibility would be a (severe) bug in the OS. So there's no magic command which reads such files or, say, a magic switch for some command:

cat --ignore-permissions /home/hacker-weekly/secret

That's why it is called a competition - you need to work around the OS security machinery or find a mis-configuration of the machine which would allow you to access the file.

In this case, I think, the give-away is the guest user which is in the secret group - I think you need somehow to become guest.

If you had physical access to the machine, you could also reboot into a single-user mode or unplug the hard drive and put it into another machine.


Boot using Ubuntu Live USB and from the Live Session open GParted. Select the drive containing Ubuntu installation from the Gparted dropdown.

Note the device name of it. Whether it is /dev/sda or /dev/sdb or /dev/sdc etc. Most probably, your booted USB would be recognized as sdb and the internal drive as sda, but it may vary.

Now since you booted from different drive than you should be able to delete those unknown partitions. Delete them. Create partitions in those free space if you want.

Then before leaving Live session (This is important) reinstall grub. To do so, Click on the right partition icon of your existing Ubuntu installation from Files to mount it, If you aren't sure which partition it was mount every partition until you see one which contains folders with name boot, bin, dev, etc, usr, var etc. This is your Ubuntu installation (unless you have multiple Linux installation). Now, press Ctrl-L to see the location of this mount point in Files. Copy it.

Then open a terminal and use

sudo grub-install --boot-directory=your-copied-location-here/boot/grub /dev/sda

your-copied-location-here is the actual location of the mount point of the Ubuntu installation you copied from previous step earlier.

See this article from CommunityWiki about reinstalling Grub - https://help.ubuntu.com/community/Grub2/Installing


MaaS KVM node - Failed Deployment - df: Warning: cannot read table of mounted file systems

It seems that it didn't like the --virt-type=qemu changing from qemu to kvm solved my problems.


Try this:

sudo mount /dev/sdc6 /mnt
sudo nano /mnt/etc/fstab

You may need to know UUID as normally the mount in fstab is or should be by UUID.

sudo blkid -o list


OP posted answer in question

  I found https://answers.launchpad.net/scribes/+question/146309 which suggests that it's not currently possible.


How do I switch between Windows 10 and Ubuntu?

I am posting this as an answer because there are already 14 comments.
First, uefi is the new "bios" - see https://www.howtogeek.com/56958/htg-explains-how-uefi-will-replace-the-bios/
At any rate, you need to select which OS to boot from within the uefi or bios menu.

legacy boot will not help as both windows and ubuntu are designed not to boot in legacy mode. You can reinstall or configure ubuntu to boot into legacy mode if you wish, but you can sometimes break windows.

At any rate see Installing Ubuntu Alongside a Pre-Installed Windows with UEFI
There is a long first answer and at the bottom there is a section troubleshooting

  TROUBLESHOOTING

  YOUR COMPUTER BOOTS DIRECTLY TO WINDOWS

  This is a common problem and if you do not get a GRUB menu , re-installing or repairing grub will NOT HELP

Every bios / uefi interface is different, so we can not tell you exactly how your works. As you boot you may have to hit F9 or F12 to get a "boot menu" which will select which OS to boot. You may have to enter your bios / uefi and select which OS to boot. Look in the location where you selected to boot from the  USB.

For example, one on my laptops, I can only switch between OS by hitting F9 as I boot and selecting an OS. Grub will boot Linux, but not windows, and I can not boot Linux when I select windows. There is no option in the bios to select an OS.

So start going through your bios / uefi menu and try to find the boot menu where you select an OS. You may need to update your bios / uefi . You may need to contact your manufacturer.

You can try to run boot-repair - it will give you a url at the end and post the url here, it will give us a lot of additional information and may give an error messages

https://help.ubuntu.com/community/Boot-Repair


Trouble dual loading 14.04 and Windows 7 64 bit

if u have installed windows before the ubuntu u need to shrink the partition that Windows 7 installed itself on. Before you do that, clean out any really unnecessary applications & data from your system i recommend "Revo Uninstaller" for this work,
after that open the computer, take note of how much space remains on your main hard drive, presumably labeled "C:". Head to the Start menu, type "disk management" into the search box, then hit Enter. (dont touch the 'reserver system' part)
Right-click on the partition (that you are wanting to install ubuntu on it), and choose Shrink Partition.
now you need to use GParted you can boot it from usb here's a link shows you how "http://gparted.sourceforge.net/liveusb.php"
when you boot with GParted you will see the HardDrive part & ur going to choose the that you made it for ubuntu delete it then make a new one as ext4.
boot with ubuntu & install it on ext4.
/maybe you need to watch some tutorial about GParted Before doing this may you will loose some data or something.


Bash script get/extract specific info/word from a line

Using grep with Perl regex support (grep -P):
$ nvcc --version | grep -Po 'release \K\d+\.\d+'
11.2

-o prints only the matched text.
release \K looks for the string release followed by a space, then excludes that from the match (\K) so that only the part after \K is included in the matched text.
The part after \K is \d+ (at least one digit) followed by a
period (\.) followed by at least one digit (\d+), matching the actual version number.


Deleting the Downloads directory shouldn't cause any errors.

Use the following commands to remove and recreate it:

rm -r /home/username/Downloads
mkdir /home/username/Downloads

Replace username as applicable, or you may use the shortcut ~ (tilde key, at the top left of your keyboard) to replace /home/username, like so:

rm -r ~/Downloads
mkdir ~/Downloads

The Ubuntu Community Help Wiki has a good overview of the terminal commands, if you're curious to learn more about them.


From man systemd-journald:

FILES
       /etc/systemd/journald.conf
           Configure systemd-journald behavior. See journald.conf(5).

       /run/log/journal/machine-id/*.journal,
       /run/log/journal/machine-id/*.journal~,
       /var/log/journal/machine-id/*.journal,
       /var/log/journal/machine-id/*.journal~
           systemd-journald writes entries to files in
           /run/log/journal/machine-id/ or /var/log/journal/machine-id/ with
           the ".journal" suffix. If the daemon is stopped uncleanly, or if
           the files are found to be corrupted, they are renamed using the
           ".journal~" suffix, and systemd-journald starts writing to a new
           file.  /run is used when /var/log/journal is not available, or when
           Storage=volatile is set in the journald.conf(5) configuration file.

And as man journalctl says:

journalctl may be used to query the contents of the systemd(1) journal
as written by systemd-journald.service(8).

These logs are managed by the systemd-journald service, so a more appropriate term would be "journald logs".


How do I mix together a real microphone input and a virtual microphone using pulseaudio as a single default recording device?

There are several solutions and the tricky part is to get a real source which can be used as a microphone by the applications.
Create a sink and loopback your real microphone to it
pactl load-module module-null-sink \
   sink_name=mix-for-virtual-mic \
   sink_properties=device.description=Mix-for-Virtual-Microphone

pactl load-module module-loopback \
   source=<your real pulse audio source here> \
   sink=mix-for-virtual-mic latency_msec=20

Create your virtual mic and send it's stream to the "mix" sink and the default audio output
pactl load-module module-pipe-source \
   source_name=virtmic \
   file=/home/pyle/dev/virtmic format=s16le rate=16000 channels=1

pactl load-module module-combine-sink \
   sink_name=virtual-microphone-and-speakers \
   slaves=mix-for-virtual-mic,@DEFAULT_SINK@

Remap the monitor of of the "mix" as a pulse audio source that apps will use as a microphone
pactl load-module module-remap-source \
   master=mix-for-virtual-mic.monitor \
   source_properties=device.description=mixed-mic

You adjust the relative level of your virtual mic by ajusting the output volume of the combine think which should be listed as "Simultaneous output to …"
Here is the setup chart


GNU make will compile this for you... Basically, you just have to run make <target> in the orac.5_3_3.r1963 directory.

First you will need the compilation tool required to build ORAC...

remi@host:~/$ sudo apt-get install gfortran

More tools and library might be required too, but you will have to check yourself : as the README doesn't say anything about dependancies, try to compile and see if it fail...

Then let's run make; several targets are supported, let choose default

remi@host:~/orac.5_3_3.r1963$ make default

When the compilation is finished you will find an executable orac_Linux in orac.5_3_3.r1963/src/default


Krita quits on startup, showing "Library key is missing"

Did you compile Krita yourself? If so, you probably also need to run kbuildsycoca4 before starting Krita. If that doesn't work, please join us on irc (irc.freenode.net, #krita, http://krita.org/chat is an easy shortcut) or on the forums (http://forums.kde.org/krita) and we'll try to help you out.


Not able to do any changes to bootable usb

Your usb is probably corrupt to a point where you can't use it anymore so I would recommend using a different usb drive


Cannot install Ubuntu 16.04.1 LTS on Acer Aspire E15 with Windows 10 pre-installed

Several of my clients have complained about a similar issue with their laptops being unable to install Linux distributions on Win 10 Signature Edition laptops.
This article may be worth your reading:

http://fossboss.com/2016/09/21/windows-10-signature-edition-blocks-installing-linux/

spawnKRON


I'm pretty sure I read somewhere that snapcraft does not yet provide option to crosscompile code for different architectures.

I wanted to do the same thing but could not figure out how to use autotools to do it. Instead I used eclipse to build my project and configured it to build for armhf. Later on I placed executable and everything needed for my app to work to one folder and used plugin: dump instead of plugin: autotools. You will need to add architectures: [armhf] if you are planning to add it to the Ubuntu store. I got the same message like you did but I already tested the code without the snap and I knew that I packaged everything I need so I just ignored it.

Alternatively you could take a look at Launchpad which could help you build it for a variety of environments.


How do I run mulitple pythons with virtualenv in production?

virtualenv is for managing Python package dependencies, not the version of Python itself. If you want to have specific versions of Python itself, it would probably be beneficial to look, instead, into Docker containers. Docker containers are capable of what you are describing.

Alternatively you can install the 2.7.11 version of Python somewhere local:

wget https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz
tar -zxvf Python-2.7.11.tgz
cd Python-2.7.11
mkdir ~/.localpy
./configure prefix=/home/$USER/.localpy
make
make install

Then, modify your virtualenv to include -p /home/$USER/.localpy/bin/python2.7


Keyboard pass-through from one Ubuntu PC to another?

You may want to try something like Synergy. You can get it legally for free from Github or buy a version from their website.

  Share one mouse and keyboard between multiple computers.
  Synergy is free and open source (free as in free speech),
  meaning you are free to run it and redistribute it with
  or without changes.

I used an older version of Synergy's predecessor years ago, and did not find it suitable for regular work due to lag and connection problems that occur from time to time. Personally, I would recommend that you invest in a physical hardware KVM switch instead (KVM = "keyboard, video and mouse"). There are numerous models that support both PS/2 and USB keyboards, and some are configurable to allow switching using custom keyboard shortcuts.


Creating an infrastructure hotspot using ubuntu 12.10

You can use ap-hotspot from the webupd8 repository to create an infrastracture AP instead of adhoc. I am using this on Ubuntu Precise (12.04), but it is available for Saucy, Raring and Quantal as well.

$ sudo su -
# add-apt-repository ppa:nilarimogard/webupd8
# aptitude update
# aptitude install ap-hotspot
# ap-hotspot configure
# ap-hotspot start

Some times the clients of this wifi do not get IP from dhcp. You can fix it by killing dnsmasq (it starts again automatically).

# killall dnsmasq


Trouble with partition on a USB flash drive

Fix the problem:
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=20 ; sync

Next: GParted--->Device--->Create Partition Table--->chose msdos


Keyboard and tracking not working on Ubuntu 20.04

Using a chuwi aerobook, had the same problem, tried most of the available solutions online and patches to no effect. I then reinstalled 20.4 to find keyboard stopped working again after half day.
As it turns out, after recovery mode boot, keyboard / track-pad work again, although lost control of screen brightness. :)
Waiting for a more 'permanent' solution.


Is it fine if I Dual Boot Windows 8.1 And Ubuntu. My hard disk space is 500gbonly

Yes, it is fine. No, performance of your laptop will not decrease, unless you will make weird partioning by yourself.

Personally, I prefer to give Windows as much space as possible, since it has a bigger appetite for resources. So, on your place, I would give Ubuntu 30Gb for root partition + 20Gb for home partition, and the rest allocate to Windows. If 20Gb is not enough, you can always mount a Windows partition(s) and keep your files in one place.


My goodness, there are a lot of things wrong here.

You aren't running your service directly; but instead your service unit is running a shell that interprets rc.local in working directory /etc.  This despite the fact that systemd has a pre-supplied service unit for running /etc/rc.local if one really wants to.  (rc.local is a mechanism that has been superseded three times over on Ubuntu, first by van Smoorenburg rc, then by upstart, then by systemd.)
But /etc/rc.local isn't running your service either.  Instead it is invoking sudo, despite the fact that it is already running as the superuser.
That's in turn running a (second) script from /etc/rcS.d, despite the fact that directory is a symbolic link farm that isn't supposed to contain actual rc script files.
That script runs by hand dæmons that systemd is clearly already running as actual services.
It thinks that the working directory should be /new not /etc.
But even that isn't your service.  Instead it is forking a shell to interpret a third script named StartServer.
It's not using exec to overlay itself.
It's using & to run that shell asynchronously.
That fourth script is then forking and running a Java program.
It too is not using exec to overlay itself.
And the icing on the cake is that that is also using & to run that Java program asynchronously.

None of this is necessary.

And you appear for no apparent reason to have plonked it in the middle of a mechanism for re-setting MAC addresses in cloned virtual machines.

[Unit]
Documentation=https://askubuntu.com/a/831314/43344
After=udhcpd.service

[Service]
WorkingDirectory=/new
ExecStart=/jre/jdk1.8.0_101/jre/bin/myserver -Xrs -Xmx1000m -jar /new/MyServer.jar nowd

[Install]
WantedBy=multi-user.target

There's also clearly an After= addition needed for whatever it is that is writing out the den-routes file that your dæmon is expecting; you, however, not providing any information to determine what that is.

Further reading

Jonathan de Boyne Pollard (2015).  The systemd House of Horror.  Frequently Given Answers.
https://askubuntu.com/a/674133/43344
https://unix.stackexchange.com/a/194653/5132
https://askubuntu.com/a/626858/43344
Warren MacEvoy (2010-10-24). How to clone an Ubuntu virtual machine without changing 70-persistent-net.rules?.
Chris Stuccio (2011-12-03).  Networking problems while cloning Ubuntu VM.


Dual boot with Linux after deletion: grub rescue

Sometimes a laptop can boot a little too quickly to let you into the BIOS. As you say you know the typical key for your laptop, give this a try:

Turn off your laptop.
Disconnect the mains power connection to your laptop.
Remove the battery (if possible) from your laptop.
Give it a minute, then plug the battery back in.
Switch on the laptop and immediately keep pressing F2 to see if it lets you in.

Thanks


Install TP-Archer 1300 mini on Ubuntu 20.10

Try this
cd rtl88x2bu
sudo dkms add .
sudo dkms install -m rtl88x2bu -v 5.6.1
Reboot


No, you can't and I will try to explain you why. There are two things that prevents you to login to tty as guest:

The default shell for guest accounts is set to /bin/false. You can check this with the following command (the shell is set on the last field on each line):

grep guest /etc/passwd

/bin/false is just a binary that immediately exits, returning false, when its called, so when someone who has false as shell logs in, they're immediately logged out when false exits.
The password for any guest account is disabled by default and this is absolutely normally: if you invite someone in your house, you don't give him your house keys.

Because of this nobody can't login normally[1] in any interactive login[2] shell. You can check this with the following command (the password is set on the second field on each line):

grep guest /etc/shadow

[1] I said normally, because you can switch from a real user to a user with the password disabled using sudo su user_with_no_passwd (like in real life: when someone knocks on your door, you open him with your keys).

[2] tty1-6 wast (and I suppose it will be) all the time an interactive login shell. And this world - login - it suggest me that I must to have a password to get over it (like in real life: when you see a lock, you need a key to open it).

Now, if you still want to login to tty as guest, follow the instructions from the below ttyrecord image:

And now you can go in tty and login as guest... a guest with password... which means that it is not anymore a guest...


location of partitions in dual-boot installation

I usually follow a principle of keeping Windows only partitions  on the left, common partitions in the middle, and Ubuntu only partitions (viz boot, swap, tmp, var, etc) at the extreme right. That means that partitions aren't mixed, and are easy to recover in case of failure. Hence by my reasoning, I would suggest the data partition D: on  the left of Ubuntu.


Unable to mount an hdd. Incorrect superblock?

You cannot usually mount /dev/sda, you need to mount a partition. If it was not a system disk, most probably it is /dev/sda1.

You can check which partitions exist on a drive using gparted or lsblk in the terminal.


Will "legacy" Linux/X11 apps run on Ubuntu Touch?

Ubuntu Touch, and desktop Unity starting in 14.04, will run on top of the new Mir display server.  Part of the Mir offering will be XMir, an X server running as a Mir client.  This will allow legacy/X11 apps to run on top of Mir without any effort.

However, even if this does allow them to run on Ubuntu Touch, most legacy/X11 applications are not designed for touch-input and small screens, so most of them would not be very usable on phones and tablets.


TuxLoL patch on Play on Linux: invalid directory

I went to this page and follow all the instructions carefully.

Copy and paste the Directory route and it worked.

http://www.ugopiemontese.eu/2014/05/31/league-of-legends-ubuntu-14-04/


Problem during Upgrade from Ubuntu 15.10 to 16.04 Beta

For some unknown reason, the upgrade was interrupted. So some packages are upgraded while some are not. Hence your system is in a unstable state. You can resume your upgrade by running dpkg --reconfigure -a. If the upgrade finished successfully, it's perfectly fine to reboot.

But if the upgrade was interrupted again, there is a fair chance that the system may not reboot properly. In that case you will have to find out what is causing the issue, fix it, restart the upgrade again (dpkg --reconfigure -a) and let it finish before rebooting.

This is all I can tell you with the information you have given.


Error message "access denied" setting up VPN

These are no commands to execute them in terminal. At the step 3 it says clear:

3: Edit /etc/ppp/pptpd-options. Comment out these lines, if you want this to work universally on all OSes:
refuse-pap
refuse-chap
refuse-mschap

You can comment this line if you want to disable encryption: require-mppe-128

So, open /etc/ppp/pptpd-options file with root privileges, using the following command:
sudo -i gedit /etc/ppp/pptpd-options

and comment those lines by adding a hash (#) character in front of each one. When you finish, save the file and clse it.


Managed to solve it.

Uninstalled both OepnJDK versions and installed the Oracle JDK via the instructions found here.

NetBeans now runs fine, seems it only has problems with OpenJDK.


How can I restore rhythmbox icon in bottom panel?

You need to go to https://extensions.gnome.org/extension/55/media-player-indicator/ and just click the switch to on and it will install the extension to gnome shell that you need to be able to control Rhythmbox or any other audio program that has D-Bus control activated. See the discussion on the page to activate the necessary setting or plugin to make it work for all sorts of different audio programs.


The program /usr/bin/pyclean seems to be missing. Make sure the package python-minimal is installed.


The sources of the zend framework package

http://archive.ubuntu.com/ubuntu/pool/universe/z/zend-framework/zend-framework_1.11.11-0ubuntu1.diff.gz - here is a link to the control files.

I was originally confused that it's a diff.gz but after that was told that it's just an old source format (ref: http://wiki.debian.org/SourcePackage#The_definition_of_a_source_package)


Ubuntu (14.04) small screen on VMware (4.2.12)

The video memory won't help much - you do need the headers though.  Try

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

This will install the headers for the version of Ubuntu that you are running, and ensure that the build tools are available.


netbeans doesn't display properly after permission change

i think i found a "solution". After the new installation i have to sudo ./netbeans inside the netbeans bin folder. After that i will have menu items missing. I have to re-enable the  plugins so that everything starts working again (usually they come enabled)


Editing Gsettings from Cron via script doesn't work

I was having a similar issue running a dconf command from cron.  In my case I added dbus-launch to the beginning of my command as well as adding a variable DISPLAY=:0 to the crontab file.

my crontab looks like this:

DISPLAY=:0
0 6 * * * dbus-launch /path/to/my/dconf-script


How to add a print dialog to an application

It seems that a reasonable way to add printing to your app with Gtk would be the Gtk.PrintOperation. This is supposed to be the high-level, portable version of a print dialog.

In Python, a basic example could look like this:

#!/usr/bin/python
from gi.repository import Gtk

class MyWindow(Gtk.Window):

    def __init__(self):
        Gtk.Window.__init__(self, title="Hello World Printing")
        self.button = Gtk.Button(label="Print A Rectangle")
        self.button.connect("clicked", self.on_button_clicked)
        self.add(self.button)

    def on_button_clicked(self, widget):
        pd = Gtk.PrintOperation()
        pd.set_n_pages(1)
        pd.connect("draw_page", self.draw_page)
        result = pd.run(
            Gtk.PrintOperationAction.PRINT_DIALOG, None)
        print result  # handle errors etc.

    def draw_page(self, operation=None, context=None, page_nr=None):
        ctx = context.get_cairo_context()
        w = context.get_width()
        h = context.get_height()
        ctx.set_source_rgb(0.5, 0.5, 1)
        ctx.rectangle(w*0.1, h*0.1, w*0.8, h*0.8)
        ctx.stroke()
        return

win = MyWindow()
win.connect("delete-event", Gtk.main_quit)
win.show_all()
Gtk.main()


How to install Autodesk Maya 2016 in Ubuntu 14.04

Have tried this enter in the terminal:

sudo aptitude install --reinstall libssl.so.0.9.8

and then this

sudo apt-get update
sudo apt-get upgrade

and it might work fine this way.


I agree with Roland. It seems that Maxthon 3 for Ubuntu is a no go, even through Wine.

There's a few reports that Maxthon 2 does work in Ubuntu via Wine. If you're interested, I have given you the instructions for it:

Step 1 - Install Wine 0.9.61 or above

Wine is an environment for running Windows applications in Linux. Please search the Internet for detailed installation instruction.

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5

Note: If you haven't installed any compression/uncompression utilities, a few have to be installed to proceed. Run the command below:

sudo apt-get install cabextract rar unrar

Step 2 - Install IEs4Linux

IEs4Linux enables the use of various versions of IE in Linux. In this case IE6 version is installed though IE7 version is already available. Please check IEs4Linux's help for detailed installation instruction.

wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Step 3 - Install Maxthon

To install Maxthon, start IE and open Maxthon's installer (Maxthon.exe) from IE's File menu ("File > Open..."). Alternatively put Maxthon's installer to the folder ~/.ies4linux/ie6/drive_c/ and run the commands below:

env WINEPREFIX="/home/<your main folder>/.ies4linux/ie6"
wine "c:\Maxthon.exe"

Step 4 - Install Additional Libraries

Start Maxthon by the running the commands below:

env WINEPREFIX="/home/<your main folder>/.ies4linux/ie6"
wine "c:\Maxthon2\Maxthon.exe"

There will be a few error messages about missing libraries, including mfc42.dll, msvcp60dll, and a few others. Copy these dlls from Windows (mostly in the System32 folder) to Ubuntu's ~/.ies4linux/ie6/drive_c/windows/system32 folder.

Step 5 - Setting Program Compatibility

By Default Wine sets compatibility mode to Windows 98 for all Windows programs. While Maxthon 2's ansi version supports Windows 98, it is the unicode version actually installed in this case. So Wine is configured to run Maxthon Windows XP compatibility mode:

open Wine's configuration window
add "Maxthon.exe" and set compatibility to Windows XP
in the "Drive" tab, map "C:\" to /home/<your main folder>/.ies4linux/ie6/drive_c


Use which instead.

$ which keytool
/usr/bin/keytool


If you want + to mean "one or more of the preceding atom", then you have to do one of:

Use -E (Extended Regular Expressions) (or -P, PCRE):

grep -E 'data=[a-z,0-9,\"]+' file

Escape + so that is treated specially in the Basic Regular Expressions used by default in grep:

grep 'data=[a-z,0-9,"]\+' file


If you haven't already, try installing matplotlib through the conda command. The libraries for anaconda are kept separate from the ones installed for python by pip and such. I'd hazard to guess anaconda can't actually find the library. Another possibility may be that its using an incompatible library, in which case uninstall matplotlib and then use conda install.


Network Printer HP Officejet Pro 8610 no color model setting

Initially posted here.

In System - Printers, selecting the printer's properties, going to "Job options" (I guess 'Auftragoptionen' :)) - "Other options", down at the end there is an empty field to add a new option; fill that field with CNGrayscale and click "Add".

The new option is now listed under "Other options", but has an empty field: fill that with TRUE, then click "Apply".

Now the new option CNGrayscale has a true/false switch that you can use to change between color and monochrome printing.


How do I remove the separators from the gnome panel?

I just loaded a 10.10 LiveCD and fiddled with them for a bit. It looks to me like those particular separators are hard-coded into the left-hand side of the Window List and Notification Area panel applets (I'm assuming it's to make their right-click menus easier to open without accidentally clicking one of their items instead).

I'd say that since their appearance can be changed by the theme used, you should be able to change some sort of image / other theme file for these to something completely transparent to make them go away completely. The themes are stored in /usr/share/backgrounds; you may want to try looking in there and see if you can find what you're looking for.

My apologies if this answer is not complete enough for you, but perhaps it might help someone else get started on an answer that can get you the rest of the way.


how to enter GRUB menu during/after start up

I will write an answer for you, but it makes some assumptions. Namely, that your install really worked, and the only issue you are having is that the video driver or something similar has issues.

Big picture outline of what this does:

Boot to live session
Mount the system partition on your disk
Edit grub to always show the menu
Update grub

Details

Boot to a live session. The media you used to install it is fine.
Choose "Try Ubuntu".
Mount the filesystem

Find out what the partition you installed Ubuntu to is, by using lsblk. It's probably sda1 but that's not guaranteed.

Mount the ubuntu partition (change sdXX to your partition)

   sudo mount /dev/sdXX /mnt

Mount the virtual filesystems:

        sudo mount --bind /dev /mnt/dev
        sudo mount --bind /proc /mnt/proc
        sudo mount --bind /sys /mnt/sys
        sudo mount --bind /usr /mnt/usr

Change root to the mounted filesystem

sudo chroot /mnt

Make your changes to /etc/default/grub using nano

Find the line GRUB-TIMEOUT_STYLE= and put menu after the =

Make sure GRUB_TIMEOUT=10

exit nano, saving your changes

run the updater

update-grub

Exit chroot : CTRL-D on keyboard.

Unmount virtual filesystems:

   sudo umount /mnt/dev
   sudo umount /mnt/proc
   sudo umount /mnt/sys
   sudo umount /mnt/usr
   sudo umount /mnt

sudo reboot

It will ask you to remove the live media, and should reboot into your system and show you the grub menu.


logwatch-7.4.0 reports pop3 and imap sessions as "unmatched"?

According to packages.ubuntu.com the next release of ubuntu(12.04) will have 7.4.0 in the repositories. You can also search for any package there and it should show which ubuntu release has which version of the package your searching for.


Apt proxy settings are not transmitting username/password

From what I picked up this is an issue with the specific version of apt. I found this bug report https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1087512. The original author mentions

  The problem is that the https transport mangles the proxy string before passing it to curl and strips the proxy credentials.

I'm not sure if you can upgrade apt to the fixed version in that report (I can't tell if it was backported to 12.04 and earlier), but if not there is a work around you can use in the last comment from rvolgers which is:

  By the way there was a workaround that allowed proxy authentication to work with https in the old version, but unfortunately this will break once the fix ships (not surprising, since it shamelessly abuses the overly permissive URI parser in apt):

  Acquire::http::proxy "http://username:password@hostname:port";

  Acquire::https::proxy "http://username:password@username:password@hostname:port";

  (In other words, duplicating the username:password@ part for the https proxy only.)

  Again, I recommend against using this, since your apt config will stop working once this fix is backported.

I hope the work around will work for you (I am unable to test myself), and if so, remember to undo this on your next upgrade.


I had the same issue. Fix:

Boot Ubuntu from live DVD or USB
choose "try Ubuntu"
install Boot Repair
Recommended repair
follow instructions
You should now get to choose between windows and ubuntu when you boot up your PC.

Worked for me.


I installed Chrome as root; why can't I run it either as root or normal user?

Try in your terminal( CTRL +ALT +T ) with

gksudo google-chrome


Benefits

You can think of LVM as "dynamic partitions", meaning that you can
create/resize/delete LVM "partitions" (they're called "Logical
Volumes" in LVM-speak) from the command line while your Linux system
is running: no need to reboot the system to make the kernel aware of
the newly-created or resized partitions.

Other nice features that LVM "Logical Volumes" provide are:

If you have more than one hard-disk, Logical Volumes can extend
 over more than one disk: i.e., they are not limited by the size of
 one single disk, rather by the total aggregate size.
You can set up "striped"  LVs, so that I/O can be distributed to
 all disks hosting the LV in parallel. (Similar to RAID-0, but a
 bit easier to set-up.)
You can create a (read-only) snapshot of any LV.  You can revert
 the original LV to the snapshot at a later time, or delete the
 snapshot if you no longer need it.  This is handy for server
 backups for instance (you cannot stop all your applications from
 writing, so you create a snapshot and backup the snapshot LV),
 but can also be used to provide a "safety net" before a critical
 system upgrade (clone the root partition, upgrade, revert if
 something went wrong).

While being most useful on server systems, I think that features
1. and 3., combined with LVM's ability to create/resize/delete LVs on
the fly, are quite handy on desktop systems as well.  (Especially if
you experiment a lot with the system.)

Downsides

Of course, all of this comes at a price: the initial setup of LVM is
more complex than just partitioning a disk, and you will definitely
need to understand the LVM terminology and model (Logical Volumes,
Physical Volumes, Volume Groups) before you can start using it.
(Once it is set up, using it is much easier, though.)

Also, if you use LVM across hard drives, you may lose all your data when only one drive fails.

Recommended reading

LVM HOW-TO from The Linux Documentation Project.


How to fix my "grub-efi-amd64-signed package failed to install into /target/" problem for ubuntu 17.10

There was an issue with grub. The grub-install wasn't the problem, but rather update-grub, thus the config file for grub is not created.

If the installer has a command line option at the bottom it will make this a lot easier. since you can go back to install grub after making this change. otherwise you will have to finish without installing grub then use a live CD to fix the problem and install grub.

The file /etc/grub.d/30_uefi-firmware is a script for adding the system uefi console to the grub menu. It errors out.

I edited mine to read:

set -e
gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2

cat << EOF

menuentry 'uefi-firmware' {
fwsetup
}

EOF

then updated grub.

if you can make this change without leaving the installer, go back to install grub and it should work.

If not then it becomes more complicated but can still be done.


Dual Booting Ubuntu 20.04 - RST / RAID / BitLocker

You need to run a partition. You can do this by going to the disks application, and then go into the main hard drive and on file system lick the settings button and resize partition to what you want then you will get the 'free space' partition, then click settings button on that, mount the operating system and make sure the box 'bootable' is ticked.
But you will need GParted first, otherwise it is almost impossible to do this.
But this might cause problems, so make sure ALL of your files are backed up, because resizing might cause problems


Personally I had problems with Duplicity & Python on 17.10, I find 18.04 alpha better. Probably because it's sourced from Debian Buster.
Anyways I would try one of the other front ends to rsync - I've found that since deja-dup uses rsync too, that other apps can usually access the same archive. Try 'Lucky Backup' or 'GRSync'. I've used the latter to recover deja-dup encrypted files before, so I'm sure it'll work fine on a non-encrypted archive. HTH!


No response form top panel / menu on Samsung N150 Plus netbook

I suspect that the default indicator settings need to be reset.

Please look at my answer here and reset the indicator settings to their default settings.


Notified brightness change is not applied

Mine's nvidia so nothing mentioned in this post is from first hand experience.

Apparently, this is an issue with the latest fglrx drivers in 12.04: Last couple of fglrx drivers on Ubuntu 12.04 have backlight support broken.

Workarounds:

The guy who asked that question, in his first answer mentions that pressing and holding the brightness keys for a few seconds changes brightness - or at least toggles between the highest and lowest possible settings. See if this works.
In the same answer, he's provided this link: https://bbs.archlinux.org/viewtopic.php?pid=1269560#p1269560 which provides a very weird workaround. Apparently, although writing to /sys/class/backlight/acpi_video0/brightness doesn't work, writing to the file very frequently for a short period of time works. The code snippet suggested in the link is:

while :; do echo 10 > /sys/class/backlight/acpi_video0/brightness ; done

in a root shell. You can terminate this while loop in a few seconds and apparently the brightness changes. If this works you can do the following:

Add the following lines to ~/.bashrc

function chbrightness {
    TIMEOUT=5
    endTime=$(($(date +%s)+$TIMEOUT))
    chbrightness_string="
        while [ \$(date +%s) -lt $endTime ]
        do
            echo $1 > /sys/class/backlight/acpi_video0/brightness
        done
    "
    sudo bash -c "$chbrightness_string"
}

Set TIMEOUT appropriately. To change brightness, simply run chbrightness <value> from terminal and provide the sudo password.

In his later answer, he mentions that a newer driver from the amd site partially fixes the issue. You may go ahead and install this or stick to the workaround (assuming it works) till the fixed drivers make it into the repositories.


Unable to install Conexant USB modem type 0572:1340 in Ubuntu 18.04

Your modem is now installed correctly as per:

dpkg --list | grep --ignore-case dgc output:

ii  dgcmodem:i386   1.13   i386   Conexant DGC USB modem driver

And relevant part of the dmesg output:

[19432.544244] cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device

Have fun exploring modem and serial commands


I have a .v2 file that contains a large amount of text. How can I save it in .txt format?

The extension probably does not matter. While some applications use or are able to use filename extensions in Ubuntu (and Linux systems generally) to identify file formats, most of the time, other methods are used to determine file type (checking for a magic number or header in the first few bytes of the file is the typical way).

You can read discussion of this in glorious detail in this question.

Since you checked the format of the file with the file command  and found that it is already UTF-8 text, the .v2 extension must be arbitrary and you probably don't need to do anything at all. However, I don't know what program you are using, so in the case that it really requires that extension, rename the file, for example with the mv command:

mv file.v2 file.txt


Script won't autostart despite making a .desktop file, placing directory in rc.local etc

The most reliable and easy way of eadling with setting up autostart scripts is doing it using tools from your Desktop Enviroment.

I think answer for your question is here:
How can I add new autostart programs in Lubuntu?

(you should look at answer: For Lubuntu 19.04+)


Gcompris produce segmentation fault error

In order to help others who may fall on similar situation:

problem occurs because UBUNTU is no longer supporting proprietary drivers for my OLD ATI card...

Here are some work around that worked for me:

Install latests version (1.1) of gcompris via SNAP:
sudo snap install gcompris

Test version:
gcompris -v # shall display gcompris-qt 1.1

run it with:
gcompris --software-renderer

=> It should work.

Alternate solution:

Download version 1.1 from here: https://gcompris.net/downloads-fr.html
=> Direct link: https://gcompris.net/download/qt/linux/gcompris-qt-1.1-Linux64.sh

Uncompress is /opt/gcompris

Run it /opt/gcompris/bin/gcompris-qt.sh
=> Alternate command line /opt/gcompris/bin/gcompris-qt.sh --software-renderer

UPDATE:
It does not work perfectly, gcompris starts but some of the embedded games fail to start and produce a segmentation fault...


No detection of Windows 7 installed already

choose manual option, and then you can choose the partiton on which you want to install.

Or simply use wubi.exe to install easily like software installation inside windows.


What ended up working for me was

When booting, edit the command line (press e) to add noapic to boot options
Use Ubuntu Mate instead of Linux Mint because Cinnamon kept crashing
Install kernel debian-test-2 from here so keyboard touchpad etc. work


Need to Access Locally Hosted (Ubuntu VM) Website from Host Machine/Another Computer

Let us know if this online post works for you.
Suggestion: Disable all firewalls on all machines while testing this out. After you get it working, you can setup firewall rules, re-enable firewall, and make sure it is working as desired.


UBUNTU 14.04 LTS

I faced the same problem, only one speaker was working. I tried everything I could get my hands on. But the solution was rather simple

I used the following command in the terminal

  alsamixer

Then In the mixers I noticed that on everything except the master volume the green-white bars were half I increased them to full and then the bars became full and my problem was solved. It seems that only one channel is open by default.

VERY WEIRD, WHY WOULD YOU DO THAT,
Any way, Thanks Ubuntu       "jazakAllah khair"


Run Adobe CS6 from Win7 install in dual-boot?

No you can't just re run the installed exe from that location.

You need to install them in linux again. You can take help of wine.
Though there is several restriction and the product may not run correctly to full extent.

Please see http://appdb.winehq.org/objectManager.php?sClass=category&iId=29&sAction=view&sTitle=Browse+Applications for know the compatibility.

Related question : Is it possible to run adobe master collection cs6 in ubuntu


It often works best to set the resolution in the software provided by the proprietary graphics drivers if available. Use Nvidia X Server Display Settings or AMD Catalyst Control Center.

Nvidia Guide

By clicking the icon you will be taken to a dialog where you can choose which version you want to install, choose the recommended driver.

Set the resolution by running the Nvidia X Server Settings app...

If you have an ATI/AMD card, then see the AMD Guide.


Something was wrong with my IPv6 configuration, so I ended up deleting the IPv6 section of my /etc/hosts file, which got everything working.

More information can be found here: https://unix.stackexchange.com/questions/232434/why-host-and-nslookup-on-ubuntu-resolve-hostnames-while-ping-and-telnet


Ubuntu server 16.04 - standard system utilities

sudo apt-get install ubuntu-standard

See http://packages.ubuntu.com/ for package names and info


Ubuntu 15.10 mysql error 1524 - unix_socket

The "unix_socket" has been called by mysql authentication process (maybe related to a partial migration of database to mariadb, now removed). To get all stuff back working go su:

sudo su

then follow:

/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql -uroot

This will completely stop mysql, bypass user authentication (no password needed) and connect to mysql with user "root".

Now, in mysql console, go using mysql administrative db:

use mysql;

To reset root password to mynewpassword (change it at your wish), just to be sure of it:

update user set password=PASSWORD("mynewpassword") where User='root';

And this one will overwrite authentication method, remove the unix_socket request (and everything else), restoring a normal and working password method:

update user set plugin="mysql_native_password";

Exit mysql console:

quit;

Stop and start everything related to mysql:

/etc/init.d/mysql stop
kill -9 $(pgrep mysql)
/etc/init.d/mysql start

Don't forget to exit the su mode.

Now mySQL server is up and running. You can login it with root:

mysql -u root -p

or whatever you wish. Password usage is operative.

That's it.


On my 20.10 test VM I see the following:

$ apt-get source linux-headers-`uname -r`
Reading package lists... Done
Picking 'linux' as source package instead of 'linux-headers-5.8.0-25-generic'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
Please use:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 182 MB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu groovy/main linux 5.8.0-25.26...

So it says that ubuntu kernel sources are located at git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy.
Other way to find the sources - is to use search on https://packages.ubuntu.com and go to linux-meta package page.
So you can browse it at
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy


Cloning a hard disk or creating a backup

I don't know which one is better, but I would go for a bitwise clone of the hard-drive using either dd, ddrescue or clonezilla. These utilities ignore the file-system and just copy the sectors. Clonezilla in particular is space efficient: by default it copies only used sectors and compresses the backup image (see Save 1st disk (sda) as an image on 2nd disk (sdb) tutorial).

The other solution would be to use a file-system-level utility like rsync or grsync. This could work reasonably well, too, especially if the drive hasn't yet developed bad or corrupted sectors. (If it has, however, see ddrescue.)

Whatever you do, though, stop using the dying drive now. Well, that is, if you put any value on your data.

See also:

How to clone to a smaller harddisk?


1920x1200 resolution shows black area on bottom right

I didn't find a solution but a workaround, I had to disable compiz Visual Effects.


DVD releases can be found in cdimage.ubuntu.com:

http://cdimage.ubuntu.com/releases/oneiric/release/

This question outlines the differences between what is on the CD and DVD:

What is on the DVD Edition of Ubuntu?

The "bundles" you mention could be fulfilled by the "variants", such as kubuntu, Ubuntu Studio (artsy one as you mention)! and others.


How to connect to the QQ Messenger network?

You can find the download page at http://im.qq.com/qq/linux/download.shtml or if you just want the direct link to the .deb package:

http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.deb


First of all read the man usermod:

"The name of the user will be changed from LOGIN to NEW_LOGIN. Nothing else is changed. In particular, the user's home directory name should probably be changed manually to reflect the new login name."

What you are trying to do is quite wrong. Your new username contains spaces, and usermod will interpret it as multiple arguments. Also you cannot change it from current user. You have to log in from recovery console and after:

usermod -l AtifMalikManchester OldUsername
usermod -d /home/AtifMalikManchester -m OldUsername


Regarding the dot:

  . (source or dot operator)

  Read and execute commands from the filename argument in the current
  shell context.

  Syntax
        . filename [arguments]

  source filename [arguments]

  source is a synonym for dot/period '.' in bash, but not in POSIX sh,
  so for maximum compatibility use the period.

And regarding

./.env

That is a hidden file (starts with a dot) called .env in the current directory (./)

Basically this command sources the file .env and from the filename you can assume it reloads environment variables. It is equivalent to

source ./.env


The answer was simple, when my friend connected his iphone to the wifi while the server was down, keeping it connected while the server was starting up, the iphone "stole" the IP and forced the server to another IP.


In Ubuntu 12.04 my mouse moves automatically, how can i stop it?

See if installing SynapticsTouchpad will solve this problem.


Send messages between 2 Ubuntu PCs (Net Send Style)

I read you wanted to do this without SSH, I believe I have a solution: netcat [nc]
It comes with Ubuntu by default.

First we need a "daemon" to run in the background. Second, we need a program to make the alert pop up.  I have zenity installed.  If you do not, please install it, or edit the script to use whatever you like [e.x. xmessage, but that is ugly]. Next, paste this into 'daemon.sh':

#!/bin/bash
port=3333
nc -l $port | while read msg; do zenity --info --text "$msg"; done

Now, make it executable chmod +x daemon.sh, now run it in the background: ./daemon.sh &

Now you're done!  Well, you actually need to do this on each computer.  You also will want to automate the start of the daemon.  Open the 'startup' applications from the menu, and add your script.  Once that's done, to send a message to the other computer, type in:

nc 192.168.1.X 3333 then type your message and hit Enter. Each enter line will make a message pop up. To exit nc, press  Ctrl  +C, or  Ctrl  +D.

Just make sure to replace 192.168.1.X with the real local IP of the other PC. [You can use ifconfig to find the IP address]

You could also make another script, say, message.sh.  In that, paste:

#!/bin/bash
nc 192.168.2.X 3333

Then chmod +x message.sh.  Then you can just type ./message.sh then type your message, then enter, and your message is sent.  Also, now that I think of it, you could also add a sound notification.  I would recommend mplayer, it's a CLI media player. Shouldn't be too hard to figure out, but if you have any questions, please don't hesitate to ask!


I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command


Progress bar for python/ quickly web browser

I haven't used progress bar widgets, but quickly has its own widget for your purpose:

from quickly.widgets import url_fetch_progressbar

Check out code for usage. You have to install quickly-widgets package.  Heres a demo


How to monitor bandwidth usage per process?

You can use nethogs  tool to monitor all your traffic on an interface.

Install it using

sudo apt-get install nethogs

Now run it using

sudo nethogs <interface name>

For example

sudo nethogs wlan0

For more detail type man nethogs after installing.


That would be:

sudo apt-get remove '.*nvidia.*'

This will remove all packages that contain the string nvidia in their names.

If you want to remove the configuration files too, use purge:

sudo apt-get purge '.*nvidia.*'

Note that, for this kind of operation, you should do a --dry-run first:

sudo apt-get --dry-run remove '.*nvidia.*'


Accessing Windows Encrypted partition in Ubuntu

No, in addition to the authentication required to unlock the encryption keys, the solution uses a filter driver in Windows to read/write encrypted data.  To my knowledge there is no driver for Linux.


What do I install to get Java to work on Ubuntu 11.10 running on Virtualbox?

It is not easy because you work against the package management. In Linux, most things are split up in lots of packages, making it easy to install with tools like apt-get, but a pain to install manually.

I would recommend getting the internet connection to work in your guest and use the package manager there.

You might have luck with Oracle's Java that hopefully comes in one big file, but I have never used that.


O.k. ill answer my own question here. first of all if there is a pop up for failure to start session. what it means is you havent finished the upgrade process yet. also you will need a constant and good internet connection, I recommend using a wifi connection that has already been set up on the computer or it wont be knoticed, and it cant be the sort that needs you to accept like starbucks. also as for code and tricks read all of whats on here some will work others wont. but you will have to make your own salad from the bar. I had to install gnome and then install desktop through the root.


How do I run a script from within the vim editor?

You can run commands inside of vim with !

:!echo "hello"

The symbol % is a shortcut for the name of the current open file, so you can execute your current file with

:!%

The console output will appear, and you press enter to return to editing your file

You can add a keybind to save and run in your ~/.vimrc

nnoremap <F5> <esc>:w<enter>:!%:p<enter>
inoremap <F5> <esc>:w<enter>:!%:p<enter>


When a .file has a dot before his name, that means it is hidden -> The long story

To display it on nautilus, you can try the shortcut ctrl + H

If you are on console, try ls -a


How to block all but one or two websites without browser extensions?

You can block websites system-wide by adding entry to hosts file. It works same as in windows.

Here's how to do it :

Open terminal and type :

  sudo nano /etc/hosts

append the file with

  127.0.0.1       facebook.com

Now whenever you'll visit facebook.com it will take you to localhost. FYI, it is not re-direct.

Worth reading:  http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/


It seems you've installed a version of Twisted into /usr/local which Python is finding, and which causes problems.

Remove that version of twisted and rely on the system version which is included with Ubuntu, and it should resume working.


Extended desktop (dual widescreen monitors)

That's actually a limitation of compositing. It affects Unity 3D and (I think) Gnome Shell. However, if you change to a different environment such as Unity 2D or Gnome Classic, that limitation should disappear.

When you log in, you can click the gear icon next to your name and choose Unity 2D. To get Gnome Classic, you have to install gnome-shell.

I presume that other interfaces such as Xfce (Xubuntu) or Lxde (Lubuntu) should work, as well.


Have to restart lightdm when opening laptop lid after 14.04 upgrade

Unfortunately this appears to be a bug in 14.04 release which prevents light locker from bringing the screen back up after a suspend when closing the lid.

In order to get your UI back up you will need to go to a text terminal ctrl+alt+f1, login and run

service lightdm restart

Unfortunately this will log you out and you will loose unsaved work.

To stop this happening in future, uninstall light-locker and light-locker-settings and make sure xscreensaver is installed.

sudo apt-get remove light-locker light-locker-extensions
sudo apt-get install xscreensaver

I hope this helps. Hopefully this sill be fixed properly soon as there is a launchpad bug opened on it:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1303736


Been thinking about this for a while. Got to some kind of conclusion

This service-accounts are not intended for interactive sessions, so they don't need a shell interpreter, they shouldn't have it indeed, for security reasons.

Systemd starts the processes of each service, and somehow assigns the corresponing user to each process.

Regarding the second question, the best way I found to test interactively the program run by a service, is simply, assiging a shell interpreter (/bin/bash tipically) to the user and the run the command:

  # su -u serviceaccount -c "executable parameters"

Off course it won't have exactly the same running env, but you could get it runnig and hopefully find the bug annoying you.

Don't forget to remove the shell interpreter from the account once you are done


Cannot authenticate new WiFi connection any longer

This must be a bug.
Work-around: Manually enter the Wi-Fi password into the respective file under /etc/NetworkManager/system-connections/ (see existing connection files there for reference).
With this, the connection can be activated and edited (no grayed-out buttons).


May 6, 2014. Here is another particular solution to this problem. I inserted a micro SD memory card into the corresponding slot of TP-Link MA180, with UNetbootin put on it Ubuntu 12.04, and had my Acer AOD270 booted into this live. It did do it, and ... there was also a great pleasant surprise to me: on the first Ubuntu screen was a little window asking for the PIN code of my SIM card! ... I gave it, and there emerged an application asking for the data necessary to establish the Internet connection. So, I could have connection apparently without any previous installation of the TP-Link software! ... I can also tell you that the Ubuntu connection was faster than that with Windows 7. Then, leaving TP-Link active, I rebooted into my HDD Ubuntu. There, I could have Internet access with the same procedure.

May 7, 2014. Now, I can access the Internet from Ubuntu with TP-Link MA180 - even without the micro SD card - on my dual-boot, Ubuntu-Windows system in a simpler way: 1) boot into HDD Windows 7, and establish a greenly blinking network connection by just giving the PIN code; 2) with TP-Link installed (I even removed it for a few seconds), reboot into HDD Ubuntu, which asks for the PIN code on its first screen (the application does not emerge any longer).

Probably, there are more similar manners to gain Internet access with TP-Link from Ubuntu.


Using Mac to create bootable usb stick for Windows

You can use UNetbootin . Download from here

Download Ubuntu iso from here

Documentation on how to install Ubuntu from USB stick here


Hauppauge HVR 1600 cannot get it to work

I had my Hauppauge HVR-1600 card working fine with Mythbuntu 12.04 LTS, but had a devil of a time getting it to work with Mythbuntu 14.04 LTS.

I discovered that there was no driver being set up in /dev for the card. There should be a file /dev/dvb/adapter0/frontend0.  If it's not there, you won't be able to set up the card in Mythbuntu Backend Setup.

I suggest you go to: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers and follow the instructions there.  You can follow the Basic Approach - no need to follow the Developers Approach.  I know it looks daunting, but take it a step at a time and it will work for you.

You can list modules loaded from the command line with the command lsmod.  You should see dvb_core, v42_common, and other modules that reference "cx18" when things load correctly. (Conexant CX23418 is a chip used in the HVR-1600 card).

You can find information on the setting up the HVR-1600 card at: http://www.mythtv.org/wiki/Hauppauge_HVR-1600#Backend_Setup.  There is also lots of useful general information on the card on this web page.


Why can't mount read files in "/etc/fstab.d/"?

/bin/mount cannot read /etc/fstab.d yet, only the library (libmount) can.
This is a known "wishlist" bug in util-linux, the package which provides mount
The feature has been added in the latest util-linux 2.21 (the release notes say "Use filter arg of scandir* to pickup /etc/fstab.d/*.fstab files")
Since even Debian Unstable (Sid) is on version 2.20-x of util-linux, I doubt we'll see 2.21 in Ubuntu until 13.04
If you need it sooner, you can either compile 2.21 from the kernel.org source, but I'd recommend you wait until it at least makes its way into Debian (util-linux provides a number of other critical system utilities/libraries as well)


Help with my problems creating USB from Windows

first of all, what usb creator are you using? I'd recommend unetbootin if only because I've used it many times. Second, check the md5sum of your .iso file -- follow these instructions:

https://help.ubuntu.com/community/HowToMD5SUM

That will tell you if the file was corrupted during the download. Finally, if none of this works, unetbootin has a useful no-mess direct download, format and install option, edit, which is worth trying, as is trying a different usb stick, a different distro etc. till something works (then work from there).


I'd like to upgrade from ubuntu 13.10 to 14.04.2 LTS, Can i do so without losing files?

Upgrading via Ubuntu update utility or Ubuntu software center is recommended if you really want to. Those iso images are used for new installation only and you may lose files which are on Ubuntu partition.


What's the best way to copy `previously run command` to another terminal?

Write out your history in the source terminal:

history -a

Then load it in your target terminal:

history -r

If you executed nothing in between, the long long command should be the third last command:

!-3

Or you can do history, note the number of the long long command (say 2365), and do:

!2365

From help history:

-a  append history lines from this session to the history file
-r  read the history file and append the contents to the history
    list
-w  write the current history to the history file
    and append them to the history list

You can also use history -n instead of -r:

-n  read all history lines not already read from the history file

Also see this SO question.


Which is more efficient, Gimp or Inkscape?

Check out this wonderful explanation for the differences between vector graphics and raster graphics.

If you want to work with photographs (raster images), GIMP is your best bet. There are lots of brush and plugin collections floating around the net, too (e.g. see here).

If you want to create logos, diagrams and illustrations (vector images), use Inkscape.


How to disable AnyDesk autostart in Ubuntu?

I've found the following approach to disable the AnyDesk service. In this way, you can run it manually.
systemctl disable anydesk.service

Now you can check its service status:
systemctl status anydesk


Stuck in login loop with an error report

IF you can't log into the GUI log into the console using Ctrl+Alt+F1 and entering your user ID and password at the prompts.

Then remove the crash report files with:

sudo rm /var/crash/*

Then use:

sudo reboot

Then try to login with the GUI again.


You can install 64-bit Lubuntu.
The i686 indicates that now a 32-bit Linux distribution is installed.
You can see that the CPU supports it:
CPU op-mode(s):      32-bit, 64-bit


Yeah, that's possible. But it not an easy task to maintain such project that will deal with much divergence:

i3wm using files (as you mention)
gnome/unity using gsettings api (for dconf)
kde using KConfig api
..

May be you can stick with few WM's depending on users base.

Another issue that comes to me, about implementation, it needs run as daemon or login/logout script and get its own settings store in user data folder. Because, gsettings/dconf for example run as daemon and loads/opens user store only when that user logs in the corresponding WM.

I'm not a professional programmer, I may miss some important aspects. So look for feedback from others.

Reply for OP comment:

Totally agree about converters (importer/exporter from/to API's), they are few and change slowly with releases.
However, I'm quite concern about key:values mapping between different DE's, specially if you make it generic (not just for shortcuts).
There will be many configuration keys for multiple tools, and each DE uses different value type and range.

If you could make those key:value mapping, can be customized by end user. That will remove much maintenance burden. Here is a similar case where such setting was hard-coded.


Super key shortcuts "unresponsive" when configured via Custom Shortcuts

I just tested it and it seems like Super will have preference always, so just add Alt to your Custom Shortcuts and you should be sorted.


How to fix No Such File Or Directory Error message while using SCP Command

Ashokkkumar Muthu isn't your username. Use your username, maybe Ashok
Your path is wrong. You're already in tomcat7_640_CS/logs
And the target? Maybe you have a folder with the name D in your home folder…

Therefore

scp messageSentLog.log ashok@10.8.51.40:D/temp

But I suspect the target system is not a Linux system.


Grub opens when trying to install Ubuntu with live USB (after deleting linux partition)

Ubuntu will install its own Grub. Your currently installed Grub doesn't know anything about the Live (USB)CD. So insert your USB-Stick, choose in your bios to start from it (like  external drive) and Ubuntu's installation process will take care of it. Removing a Linux distro will not remove your Grub.


Running from USB flash drive and can't install teamviewer

The answer is in your question =)
try to run this command in terminal:

sudo apt-get install ia32-libs

After that, the TeamViewer should be successfully established.


Ubuntu 17.10: One of the two DisplayPort monitors connected to my PC does not wake up from suspend

Unfortunately I don't know how you can fix it but I do have an idea for a workaround that at least would prevent the need for a system reset. Mind you, this will only work if you are able to start a terminal on the monitor that does wakes up.

Let say the monitor XWAYLAND1 remains asleep.
Force it off and the on again by

xrandr --output XWAYLAND1 --off
xrandr --output XWAYLAND1 --left-of XWAYLAND0 --auto


How to perform process handling routines on a Ubuntu machine on a Windows system

Well you can't.
WSL Bash in Windows 10 runs in a kind of sandbox, and has no access to windows processes.


Problem installing latest version of Python3

Do not change the already-installed version of Python3. Doing so will break your system quite horribly.

Use a Python Virtual Environment (venv) to run a different release of Python3. Stackexchange thead explaining the process

Alternately, use a Container or VM to run a different release of Ubuntu that has the version of Python3 that you want to use.


Should I install Any Drivers After ubuntu installation like sound driver , landriver

Ubuntu will take care of few drivers. Among them sound drivers are default. Very rare case we see that here no sound issues but those problems are also got fixed very easily.

while coming to VGDA drivers , nvidia drivers are not provided by default. you have to install them manually. Ubuntu have application for searching your drivers also.

Now bigger issues I have seen in Ubuntu are Wi-Fi issues. Some drivers installed by default and some of them or not. Some manufactures were even not provide Linux support.


xubuntu 13.10 xfce4-power-manager not working

xfce4-power-manager not started, applet not visible

Delete > Desktop configuration file:

/etc/xdg/autostart/xfce4-power-manager.desktop

Settings Manager / Session and Startup / Startup Applications

Item disabled:

Energy Management (power Management Xfce environment)

New item enabled:

Name:             Xfce Power Manager (for example your name)
Description:      Power manager startup
New command:      xfce4-power-manager --no-daemon

http://ubuntuset.url.ph/power_manager.html


.deb built in PPA doesn't install my binary

I still have no idea why it was screwing me - I was following the Ubuntu packaging guide to the letter - but eventually I got it working.

What I ended up doing is: apt-get source zfsync into a completely different directory, then investigating what was in there.

In addition to a "zfsync-1.0.0" folder which contained all my stuff, there was a "zfsync" folder that had usr/share/doc in there but no usr/bin at all.  I manually created usr/bin/zfsync in the "zfsync" folder, made damn certain that the "debian/install" had "zfsync usr/bin" in it, then did a bzr init, a bzr commit, and a dput ppa:jrssnet/zfsync zfsync_1.0.0-0ubuntu5_source.changes ... and, five or ten minutes later, SUCCESS!  Ubuntu's build process actually resulted in not only a .deb, but a .deb that ACTUALLY INSTALLED MY DAMN SCRIPT. :)