Xubuntu 16.04 doesn't show mp3 thumbnails (album art picture) - the rest of the thumbnails are ok!

I'm assuming Thunar is showing you OTHER kinds of thumbnails, like for jpegs for example, since you specify mp3s. Correct me if that's wrong.

Quoting Toz (who is an astute chap who posts at Ubuntuforums frequently) posting on the Arch forum 2 months ago here in post 7:

https://bbs.archlinux.org/viewtopic.php?id=223000

  You can get tumbler to generate audio thumbnails natively on Xfce by
  manually building it (ABS) with the following two proposed patches:

  https://bugzilla.xfce.org/attachment.cgi?id=6360
  https://bugzilla.xfce.org/attachment.cgi?id=6348

That will be a wee bit of work, but shouldn't take you more than a couple of hours to take in some of the tutorials all over the net about how to build software from sources and apply patches, and then do it. I haven't tried it myself, because I switched from Thunar to Spacefm about a year ago and I always use the details view anyway. But if Toz says it works, I'm sure it does. And that would be much better than switching to Nautilus. Custom actions in Nautilus are a PITA compared to Thunar. Nautilus is also a resource hog.

If you don't want to fool with patches, you might want to try beets which is in the repo. I'm NOT certain it can do this, but it thumbnails SOME audio files at least, and you might be interested in its other features.

And, if nothing else here is, not quite a work-around, but a sort of substitute you might find less painful than switching file managers. It will act recursively on a directory tree, extract the pictures embedded in mp3s, if any, making a copy in the same directory with the mp3, renamed by prefixing the mp3's name. If there is more than one, it will give them unique names. It should avoid making duplicate pictures if you already have the same picture for that mp3. So you can just run it again when you add mp3s to the directory. So, if you sort alphabetically, at least you have pictures extracted from the mp3 appearing adjacent to it. Not the same thing you asked for, but somewhat related & maybe better than nothing. It will also make a list in ~/ of mp3s that don't have any embedded pictures, so you can go hunt for some to fix them with. You will need the package eyed3 which is in the repo.

2 scripts. Store them in the same directory. One uses the other. 2 valid syntaxes:

Either:

mp3s-get_images_for.sh directory_where_the_mp3s_are

or just:

mp3s-get_images_for.sh

In the latter case it will ask for the directory.

First script:

https://pastebin.com/raw/iMK8vAvy

I suggest naming it mp3s-get_images_for.sh

2nd script (called by the first on each mp3 file):

https://pastebin.com/raw/Js5uHpEg

This MUST be named

mp3s-get_images_for-make_1_img.sh

and kept in the same directory with the first one. You can change those things of course, but you'd have to edit the first script to allow for the changes.

One last comment: If you try the tumbler approach, I'd be interested how it works for you.


That link downloads the 32bit version. you should download the 64bit version; here:

http://www.ubuntu.com/download/desktop/questions?distro=desktop&bits=64&release=lts

it'll allow you to do both; try ubuntu and install it permanently if you want.

Don't worry about the size; this is the whole ubuntu ;)

...by the way this is the LTS (long-term support) version of ubuntu (12.04), there is a newer version of ubuntu (13.10) here:

http://www.ubuntu.com/download/desktop/questions?distro=desktop&bits=64&release=latest

but the idea is that ubuntu releases a new version often and therefore it stops supporting this version (13.10) whereas it'll continue to support 12.04 for a very long time

... also if you get the 13.10 version and then a new version is released and you want to update your ubuntu to the next version, you can upgrade it very easily from the software updater from inside ubuntu itself, one reboot and you have the newer version

I have 13.10 and I recommend it for you. It's much better and it's very easy to upgrade later. chose what suits you best ;)


win8 dos not show ubuntu machine in networking

You need to install avahi-daemon. It will advertise the name of the ubuntu computer on the network. sudo apt-get install avahi-daemon


Try the following:

find /path/to/parrent-dir -type f -exec rename -n 's:[^/]*(.*) .*$:$1:' {} +

./o7th.ico (NEWER_1417529135.81)                                 renamed as /o7th.ico
./sub-dir (NEWER_1417529135.81)/getyou.ico (NEWER_1417529079.87) renamed as /sub-dir (NEWER_1417529135.81)/getyou.ico
./sub-dir (NEWER_1417529135.81)/o7pm.ico (NEWER_1417529184.89)   renamed as /sub-dir (NEWER_1417529135.81)/o7pm.ico
./getyou.ico (NEWER_1417529079.87)                               renamed as /getyou.ico
./o7pm.ico (NEWER_1417529184.89)                                 renamed as /o7pm.ico

All [^/]*(.*) .*$ matches only the last part of the path that doesn't contain a /. And
In above regex, (.*) is a group of matching everything after last / and before a space. Its back-reference will be $1.
.*$ matches everything to end$ of files name after space.
Finally in replacement part of rename s/.../REPLACEMENT/, we just kept the matched group that is between last \ and a space(.*) which is known as group of matches.


Acer notebook Windows 8.1 and Ubuntu 16.04 EFI dual boot fails

Well, there was nothing around ubuntu and bootloader, just a fancy acer bios. You should add ubuntu's *.efi file to trusted in Security folder in bios. To activate this option set a superviser password first.
By making that you will be able to launch properly windows or ubuntu even with security mode turned on.


18.04 Ubuntu with Wayland, screen will not display in portrait

I just reported this issue.  https://gitlab.gnome.org/GNOME/mutter/issues/304

https://gitlab.gnome.org/GNOME/mutter/issues/216 seems to be the fix.
Perhaps Ubuntu 18.04 doesn't have this version yet.


customize live cd and add custom user name with default password

I found a a solution using cubic.
In case anyone is looking to achieve this:
1-I installed cubic, followed the usual steps(create a project folder, select iso...etc).
2 - In the chroot env. I used vi to edit casper files and disable autologin
https://help.ubuntu.com/community/LiveCDCustomization#Removing_the_.28Casper.29_Autologin

3-after I exited vi, but still in the chroot environment, I added a new user as usual with useradd mycustomuser then add a password with passwd mycustomuser

Then I clicked next and followed the cubic wizard, burned the iso to a flash drive and it worked

Now every time you boot in live mode, it will ask for the password we created. Also if you decide to install the installation will have this pre-created account by default


Adjust Windows Storage Allocation for Ubuntu Installation

Terms: storage (disk) versus memory (RAM, random access memory). If system fills up RAM, it will use simulated disk memory, called virtual memory or 'paging' in Windows. Linux calls that swap space. Swap is much slower than RAM. Swap can be created on any devices you have for storage. Linux does not use term like 'e' for a drive, all disk has name that begins with common root, /dev.

So, in summary, yes, if you mean memory, it is swap you want. But I suggest you get more physical RAM if you mean memory because swap space is slow.

Otherwise, you mean storage. Answer is yes. The drive can be mounted if it if formatted with a file system you OS understands. Linux usually cannot read WI dows NTFS unless you install driver packages and restart some services. Answer on how to mount the storage depends on the kind of system you are running, it may be easy in a GUI desktop. If you still have question, sharpen up your terms and ask again. Or search for 'mount disk drive'.


After update to 14.04, ncurses seems to have bugs (cursor still visible in petris)

I think you need thesetterm commands

For your perticuler problem run

sudo setterm -cursor off

This will turn off the cursor

sudo setterm -cursor on

This will bring it back

PLease see this manual for more setterm attributes

For the strange problem of the cursor re appearing when you start the game, try starting it like this.

sudo petris && setterm -cursor off

Adjust the word petris to whatever command starts the game if nessassery, this will start the game then turn off the cursor one it started.

Also these commands work in a x-term, try with that its pre installed in Ubuntu.


Ubuntu 14.04 - brightness problem in HP hybrid laptop

sudo gedit /etc/default/grub

find this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

and then: sudo update-grub

That works for my HP ProBook. Here is where i found the solution: http://www.techjail.net/solved-brightness-problem-in-ubuntu-12-04-precise-pangolin.html


You could use a virtual machine to run OSX as an 'application' inside Ubuntu; VirtualBox (it's in the repos) is probably your best bet to do this. As far as dual-booting goes, it can be done, but it's usually a tricky process and requires specific hardware.

Note that you'll usually need an "ISO" image file to install OSX using either method, rather than a "DMG", which is a filetype that is (to my knowledge) only widely used on OSX. I'm not sure whether Apple provides images in this format.


Full Install to Flash Drive

If you want a Ubuntu flash drive that works just like a Ubuntu desktop do a Full install, not a Persistent install.

Method 1 Direct install

Full installs are more stable and secure than persistent installs, but not as quick to make. They are better at utilizing disk space as no fixed size casper-rw file or partition is required. They are not very good for use of installing Ubuntu.

Following is a step by step how to install 18.04 on a 16GB flash drive with options for separate Home partition and Windows compatible data partition:

Create a live USB or DVD using SDC, UNetbootin, mkusb, etc.
Turn off and unplug the computer. (See note at bottom)
Remove the cover.
Unplug the power cable from the hard drive or unplug the hard drive from the laptop.
Plug the computer back in.
Insert the flash drive.
Insert the Live USB or Live DVD.
Start the computer, the USB/DVD should boot.
Select language.
Select install Ubuntu.
Select Keyboard layout
Select "Continue".
Select installation type and "Download updates while installing Ubuntu" and Select "Install third-party software ...", (optional).
Select "Continue".
At "Installation type" select "Something else". (Full disk encryption is not working with flash drives).
Select "Continue".
Confirm target device is correct.
Select "New Partition Table".
Click Continue on the drop down.

(Optional FAT32 data partition for use on Windows machine)

Click "Free space" and "+".
Make "Size..." about 2000 MB.
Select "Primary".
Location = "Beginning of this space".
"Use as:" = "FAT32 file system".
"Mount point" =  "/windows".
Select "OK"

Root Partition (Not Optional)

Click "free space" and then "+".
Select "Primary", "Size ..." = 4500 to 6000 MB, "Beginning of this space", Ext4, and Mount point = "/" then OK.

(Optional home partition)

Click "free space" and then "+".
Select "Primary", "New partition size ..." = 1000 to 6000 MB, Beginning of this space, Ext2, and Mount point = "/home" then OK.

(Optional swap space, allows hibernation)

Click "free space" and then "+".
Select "Primary", "New partition size ..." = remaining space, (1000 to 2000 megabytes, or same size as RAM), Beginning of this space and "Use as" = "swap area" then OK.

(Important)

Confirm "Device for boot loader installation" points to the root of the USB drive. Default should be OK if HDD was unplugged.
Click "Install Now".
Select your location.
Select "Continue".
Insert your name, computer name, username, password and select if you want to log in automatically or require a password.cscameron
Select "Continue".
Wait until install is complete.
Turn off computer and plug in the HDD.
Replace the computer's cover.

Note:
You may omit disabling the hard drive if after partitioning you choose to install grub to the root of the USB drive you are installing Ubuntu to, (ie sdb not sdb1). Be cautious, many people have overwritten the HDD MBR as default location for boot loader is sda, any items in the internal drive's grub will be added to the USB's grub.
You may do an update-grub later.

Method 2 UEFI / BIOS install

Use mkusb to make a Live system on the Installer USB (2GB or larger).
Use mkusb to make a Persistent system on the Target 128GB USB using default settings with ~25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).

As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.
Create a extra ext4 partition sdx6 for /home if desired.

Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended in UEFI mode).
Boot Installer drive, select Try.
Insert Target drive

Start Install Ubuntu...

Select "Something else".
Select sdx5, (on the target drive), and click Change.

Select Use as: ext4, Format and Mount point: /.

Don't touch any other partitions (unless adding a /home partition to sdx6).

Select sdx5 as Device for boot loader installation.
Complete installation.
Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.
Boot the target drive and run sudo update-grub to add all drives to boot menu.
Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.


Is there a virtual machine with direct access to CPU and GPU for gaming?

The short answer is: No.
The longer answer is: Not yet...

VBox's 3D support barely counts. It does provide 3D support but absolutely no performance. VMWare seems to perform a lot better (note the benchmark is on a  Mac) and that might be playable. The downside here is a large pile of cash (I'm not sure what 3D support is like in their free offerings).

But if you want to take full advantage of your hardware for Windows-only games, there's only one solution and that's to boot into Windows. I'm afraid to say that's likely always going to be the case for that subset of games.

The only other near-acceptable solutions available:

Fight Wine (when it does work, it tends to work really well)
Buy a console.
Lobby the developer for a port.

There are all sorts of server technologies that may filter through in time:

Nvidia+Vmware are working on a multi-head virtualised gaming platform but I honestly don't expect this level of integration to be in consumers' hands for another decade, if not longer. Graphics manufacturers want us to buy dozens and dozens of cards and virtualising hurts that aim.
You could reverse it and have a Windows Server host VM and paravirt a Ubuntu desktop, with shared 3D but again, I'm not sure what the performance would be like. And it's a ton of cash to do legally. The desktop-host isn't as good at all.
Xen won't paravirt a Windows install, so there's no point looking there yet. It does have PCI and VGA passthrough modules but they're locked to one VM so you'd have to have a graphics card for each install. Urgh.

Note I'm really only talking about 3D graphics here because the rest are solved or nearly-solved problems. CPU virtualisation is mature with paravirtualisation and CPU extensions like Intel VT-x and AMD-V. Peripheral passthrough is fairly low bandwidth so is simple to share.

Graphics are lagging because sharing them in the way we're talking about is not a commercial necessity for manufacturers. It does seems to be going that way though (for high-end render farms and server-based workstation consolidation) so watch that space.


Postgresql drop role command not working

Missing ; at the end of sql command?

drop role ckdev;


Bluetooth is not working on Lenovo IdeaPad Y560p

The best thing, and very simple thing, I had done to make my Bluetooth work in all aspects, was when 1 hour ago I was in utter frustration ans realized that just because I BOOTED from usb with my Ubuntu Studio ISO, didn't mean I was not still in Windows bios on the Lenovo IdeaPad. I restarted the IdeaPad, pressed fn f2, maybe f1 if not, and that put me in Bios mode. Then went to exit and down to windows os and switch it to OTHER OS. I saw this on a different site for unrelated just booting up video but it is Extremely important. Give it a check, not just you but tons of others with this problem. Bluetooth for me now works flawless on Ubuntu Studio... Newest version. Sorry number slips me. Maybe someone will detail this explanation a bit better what I did. Thank and love Ubuntu Studio. tony_


HP Pavilion G6 - efibootmgr changes get overwritten at next reboot

During the initial moments after powering on the device, take the option to enter "Setup" (for example: press F12 immediately after device powers on).
Navigate to the Boot menu.
Change the EFI boot order.
Save and exit.


Found the necessary files in /usr/include/qt4/QtGui/

qmake was linked to qmake-qt3

I remade the project file and Makefile, then compiled with:

allan@allan-VirtualBox:qmake-qt4 -project
allan@allan-VirtualBox:qmake
allan@allan-VirtualBox:make

Executable is now compiled and running.

I already had qt3 AND qt4 installed. Just needed to use the right qmake.

Thanks to all for reading and helping me figure it out.


Volume rocker only works AFTER system resume from sleep

Solved it by blacklisting the intel_vbtn kernel module (Intel Virtual Button), by adding blacklist intel_vbtn to /etc/modprobe.d/blacklist.conf, and then running sudo update-initramfs -u.


Search specific word inside document using ssh

When you are connected via ssh there are many commands you can use.

You could use grep searchString /var/www/file.css/ to display all occurrences of searchString.

Or you could display the file with less /var/www/file.css then press / and type the word you are searching for. Press enter to jump to the first occurrence of the word and n to cycle through the other ones step by step.


Suggestions about php editors and file sync programs

If you are after a GUI editor, try sublime text 2, you can use it for free (you don't have to purchase a license anyway).

Are you editing remote files directly?

I would just use rsync over SSH, DRBD is too complicated;-)

rsync example

rsync -avz --progress --delete source user@host:/home/user/code

Alias above and run it whenever you have changed code locally.

BTW: You can also consider sshfs to mount folder on remote host via SSH.


A USB disk is made up of two components: the control circuit and the memory circuit.

If you get connect/disconnect/connect/disconnect/... messages the control circuit is broken and the data can be recovered by unsoldering the memory chip and resoldering it onto another identical control circuit.

In your case, the memory chip is botched... (Your colleague should have received data errors before it ended up in this state, confirm with him/her/it)

So there is basically one last thing you can do: ddrescue the disk to an image, then run testdisk on the image... Do not run any mount/disk utilities, ... on that USB disk as you're only going to make things worse!

Sorry to be the harbinger of bad news.


Thunderbird Compose window opening somewhere OTHER than top left corner?

If nothing else comes up, you can use wmctrl and move the window after it opens.. Something like:

this will move and resize the active compose window

/usr/bin/thunderbird -compose; wmctrl -r :ACTIVE: -e 0,100,100,600,400

Or you can even configure a devilspie rule to do this automagically:
http://burtonini.com/blog/computers/devilspie/


You need to install The Silent Patch to fix the resolution issue.


The information this post provides is related:
How can I make clicking Notify-OSD notifications bring me to their application/message?

The system file (12.04):

file:///usr/share/dbus-1/services/org.freedesktop.Notifications.service

contents are:

    [D-BUS Service]
    Name=org.freedesktop.Notifications
    Exec=/bin/sh -c 'if
         [ ! -x /usr/lib/notification-daemon/notification-daemon ] ||
         [ "$GDMSESSION" = guest-restricted ] ||
         [ "$GDMSESSION" = gnome-classic-guest-restricted ]
         [ "$GDMSESSION" = default -a
              "$(basename `readlink /etc/alternatives/x-session-manager`)" =
                    gnome-session ] ||
         [ "$GDMSESSION" = ubuntu ] ||
         [ "$GDMSESSION" = ubuntu-2d ];
      then exec /usr/lib/notify-osd/notify-osd;
      else exec /usr/lib/notification-daemon/notification-daemon; fi'

presumably, switching the code segments that are bold will do the switch, but whether the change is actually functional is another matter. (for instance - Do both notification-daemon & notify-osd exist? etc.)

Another crude possibility is to rename the binaries swapping the names of notification-daemon and notify-osd however sometimes there are issues like conflicting dependencies occuring when a binary examines its own name.

I don't like posting hypothetical solutions but this is something I prefer not to try and since there has been no response perhaps this post will invigorate the audience and instigate better answers.

ref:

Is it possible to replace notify-osd with Gnome 3 Indicators?
Use notify-osd instead notification-daemon in GNOME-Shell
Clickable Gnome-style notifications in Unity
How to disable Unity style notification when using Gnome Shell
Gnome 3 notifications are replaced with notify-osd when the machine goes to sleep
How to install NotifyOSD-Config?

-

-


How do I change the primary DNS address of my DSL connection in Ubuntu 14.04?

You should select the option

Automatic (PPPoE) - addresses only

instead of Automatic (PPPoE). The box will then become just DNS Servers instead of Additional DNS Servers.


If you click on the Sound Menu (icon at the top right) > Sound Preferences > Input

There is a slider that allows you amplify the input volume level manually, even beyond 100%.

Also you may want to go into Skype > Options > Sound Devices and deselect "Allow Skype to automatically adjust my mixer levels". Skype is defaulted to change your levels for you.


Boot up Ubuntu and run the following command to automatically detect the other operating system and this should automatically update grub for you:

sudo update-grub

When you reboot, the PrimeOS operating system should show on the list of available operating systems.


How can I add custom dependencies to Click packages

The click packaging format is completely independent from facilities to do full-system installations or upgrades.Currently, this package should remain compatible with Python 2.7, 3.2, 3.3, and 3.4; Ubuntu 12.04 LTS, Ubuntu 13.10, and Ubuntu 14.04 LTS.If you run from a fresh bzr checkout, please ensure you have the required build dependencies first by running

$ dpkg-checkbuilddeps

Then run:

    $ ./autogen.sh
    $ ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --with-systemdsystemunitdir=/lib/systemd/system \
        --with-systemduserunitdir=/usr/lib/systemd/user
    $ make
    to build the project.

Dependencies
For Ubuntu 14.04, make sure you have the python2.7 and python3.4 packages installed. Unless you upgraded from a previous version of Ubuntu and haven’t removed it yet, you won’t have Python 3.3 and Python 3.2 available. Build them from source if necessary, install them say into /usr/local, and make sure they are on your $PATH. You’ll need tox (Ubuntu package python-tox) installed in order to run the full test suite. You should be able to just say.

$ tox

to run the full suite. Use tox’s -e option to run the tests against a subset of Python versions. You shouldn’t have to install anything manually into the virtual environments that tox creates, but you might have to if you don’t have all the dependencies installed in your system Pythons

  You’ll need the mock and python-debian libraries. For Ubuntu 13.10,
  apt-get install the following packages:

  python-mock
  python-debian
  python3-debian

Testing
After all of the above is installed, you can run tox to run the test suite against all supported Python versions. The ./run-tests scripts just does an additional check to make sure you’ve got the preload shared library built.To run a specific testcase, use the standard python unittest.

syntax like:

$ python3 -m unittest click.tests.test_install
or:

$ python2 -m unittest click.tests.test_build.TestClickBuilder.test_build

  test coverage If you have python-coverage installed, you can get a
  Python test coverage report by typing:

$ python-coverage combine
$ python-coverage report

  This works also for
  python3-coverage.

  To get Vala/C coverage information, install the gcovr and lcov
  packages and run:

$ ./configure –enable-gcov
$ make coverage-html

  which will generate a
  “coveragereport/index.html” file for you.

  The combined coverage information can be obtained via:

$ make coverage.xml


First undo everything that you did from the guide you linked to in your question, including uninstalling all the packages that you installed by following the guide and undoing the edits to files that you edited. Uninstall the Nvidia proprietary graphics driver and reboot the computer.

Open the terminal and type:

sudo apt install nvidia-346 nvidia-settings nvidia-prime
sudo reboot

Nvidia Prime is a more up to date replacement for Bumblebee. Using Nvidia graphics drivers with initial Optimus support in Ubuntu is easier with Nvidia Prime. Nvidia Prime is not supported on some older models of laptops, however it is supported on the Lenovo IdeaPad Y510p laptop.

After the computer reboots, you will be able to switch between NVIDIA (Performance Mode) and Intel (Power Saving Mode) graphics from the NVIDIA Settings utility.


What is the easiest way to clean the boot folder in Ubuntu 14.04 when you have 0 bytes left

Check which kernel is being used – uname -r.
Open nautilus sudo nautilus, go to the /boot/.
Shift-delete "old" kernels (if you "normally delete" them, they will appear in .Thrash folder in /boot/ and because of that none free space will be made).


LVM - how is data allocated between disk

It depends on how you set it up.  The default is to fill one up and then the next, which is handled transparently.  When creating a logical volume with lvcreate, you can specify the --stripes nn flag to stripe the data across nn drives.  This allows faster access to data since it is simultaneously accessed on all drives in parallel.  You can see the current layout with lvdisplay -m and if you want to change it to striped, you can use lvconvert --stripes 3 vg/lv where vg and lv are the names of the volume group and logical volume.  This can take a long time if you allocated all of the space to the volume already.  Also for media storage, speed isn't really important and if you want the drives to be able to spin down to save power, then leaving it not striped may be better since only the drive that has the data you are accessing will need to wake up instead of all 3.

As for how to see how much space is used on each disk, there is not a good way of doing that.


Ok I found a solution. I use HDMI output on my monitor but for some reason it doesn't show anything when I reboot, so I have to plug in the VGA cable as well (and then later it will detect the HDMI). I didn't notice it before but it seems that when I do that it thinks I have two monitors plugged in when in fact it's the same monitor.

If I unplug the VGA it works. Maybe I'll just use the VGA only from now on.


I am not sure if this will solve your problem, but no harm in trying right?

I had a similar problem in my Acer laptop. I think the new kernel and broadcom drivers are the connection.  I ran

sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl

and it worked for me on my Acer Laptop.

Refer How do I get an Acer Npilfy 802.11 (BCM43225) wireless card working?
for more details.


I don't have the codebase for Ask Ubuntu so I can't really say if there's anything particularly platform specific that would cause a blocker but in answer to can you migrate it, the answer is probably yes.

You have to keep in mind that the platform that ASP.NET websites sit on are more than a magical ASP.NET binary:

ASP.NET can largely be replaced by Mono. It's not always pretty and the performance isn't always great but it can be done.
ASP.NET MVC is the templating engine. It normally sits on top of ASP.NET but it can run on Mono with a few changes.
IIS could be removed fairly simply, allowing for custom handlers that SO have running on it, replacing it with Apache (et al).
The database is technically the biggest part of the whole. In simple cases, where you're using good code, sure. Rip out the database and replace it. Specifically for here, the cluster arrangement of MSSQL servers that runs the StackExchange sites could probably be ported to MySQL (or other) but it would probably need significant work as there's probably a fair portion of DB-specific code lurking around, either in the database itself or (less likely) in the site itself. Most code-based, database-specific data-faffing is a thing of the past thanks to LINQ, which Mono does support (for non-SQL Server databases too).

That's by no means a definitive list of what would be replaced but they're the major items.

Whether or not you'd want to... That's a tougher question. By the time you'd hunted through a few dozen issues, you're probably already at the point where you could have just reimplemented the system in something like Django. Of course that depends on the complexity of the system. It's as hard as a piece of string.


why doesnt notepad++ in Wine display the filenames properly?

Possibly a corruption in your wine install.

To test this, temporarily move your current wine folder to a backup and recreate a new wine folder

mv ~/.wine ~/.wine_backup
winecfg

then reinstall notepad++

wine npp.5.9.3.Installer.exe

If the same problem occurs, remove the new folder and rename back the old folder

rm -rf ~/.wine
mv ~/.wine_backup ~/.wine

Note - I've tested notepad 5.9.3 using wine version 1.3.26 and it works perfectly.


go from Pop_OS 19.10 to straight Ubuntu 19.10

Personally I would backup your system first, then (re-)install Ubuntu 19.10.

I would use the 'something else' option, use existing partitions, and ensure you do not have format ticked for any partition.  In a Ubuntu re-install this will

take note of your software packages installed
wipe system directories
install system
add back your additional packages
it won't touch user files/configs (as long as you don't format, and haven't put configs in system directories; most desktop configs are found in $HOME so not a big deal)

I have not used that with Pop OS, but it works with Ubuntu flavors, allowing you to change releases (jump from one release to another), change flavors (usual effects of changing from one flavor to another should occur with a Pop (GNOME) to Ubuntu (GNOME) anyway)

It's easy, and actually pretty fast. Feedback from 18.04 found the average install took about 17 minutes; this will only add a couple of minutes due to re-addition of your prior added packages.

Note:   Whilst I haven't done this, I would reduce your sources.list files to pure Ubuntu prior to this re-install. I don't know if it's necessary, but Pop OS will use higher package versions than Ubuntu so to ensure a Pop system stays Pop, which can cause issues if those sources remain; thus why I'd do this step. It may not be necessary (if you skip it, at worst you'll need to do it, then re-install again).


Install Google App Engine

Extract the zipped file either use the context menu to extract files into a folder.
After you finish extracting, you will get a folder google_appengine which has all the necessary files to develop application. To complete the installation and to able to run Google App Engine, we must specify its path definition. You can specify the PATH definition in the terminal only using

export PATH=$PATH:/home/your_user_name/Desktop/google_appengine/

But path specified using export command is valid as long as you are inside the current terminal window. That means as soon as you close the window, the path specified becomes invalid. To specify the path in the system, you have to edit

/home/your_user_name/.profile

and specify the path there.

All set & done, now you have the shiny Google App Engine up & running its time to do the real job. Let us make an ‘Hello World’ application for Google App Engine, using you own Linux Box – excited ? To start using app engine, you have to register an application at

http://appspot.com

That requires your usual Google Account’s credentials and the environment is ready to be used instantly.

this tutorial describes how to develop and deploy a simple Python 2.7 project with Google App Engine.

https://developers.google.com/appengine/docs/python/gettingstartedpython27/


Bind - resolving hostname to wired and wireless IP addresses

Probably you have the same nerwork range for eth and wless.
You can use the same ip address on both interfaces and make one record on dns server.
Down side of this proposition is you can not be, in the same time, connected with boot interfaces.


Does Ubuntu 12.04 have a sounds folder to help set my email notification?

A lot of sound files are found in /usr/share/sounds . Therefore one can use it to change default system sounds(email notification sounds in this case). One has to remember that sound files in the folder are in .ogg format and therefore the sound files that one is going to set up instead of the default system sounds must also be in .ogg format.


You can use sed to do that:

sed -i.bak 's/^/##/' file

This replaces the start of the line (^) with ##.

With the -i.bak switch, sed edits the file in-place, but creates a backup copy with extension.bak.


How to enable File Manager to handle desktop after removing GNOME 3?

Run following commands one-by-one from "Run" in Unity (using Alt+F2).

gsettings set org.gnome.desktop.background draw-background true

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

If changes doesn't take place immediately, log-out and log-in again.


Persistent LiveUSB fails to install Nvidia drivers

Yes, you can not install system packages from live usb installation. – João Pinto Jan 20 '11 at 21:31


Got the same problem.

Don't know if this helps, for me this works:

sudo systemctl hibernate


how to install ubuntu 18.04 alongside with windows 10 with mbr disk partition

First and Foremost, BACKUP YOUR WINDOWS DATA!

The second thing you need to do is get a 4GB thumbdrive to install the linux iso file onto. Be sure to make it bootable. See https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#0 for more details on how to do that.

Once you have your thumbdrive all ready to go, reboot your computer. At the very start of the reboot process, you'll have to press the hotkey for boot options. This varies depending on your system. Esc, F9, F11 are all options that I've seen. Once the boot menu appears, select your USB thumbdrive and boot into the live Ubuntu system that runs off of your thumbdrive.

One of the shortcuts on the desktop will be to install Ubuntu. Select this and follow the onscreen prompts. When you get to part on where to install Ubuntu, it will give you the option of installing Ubuntu with Windows. It will shrink the windows partition if needed and install Ubuntu. I recommend having a separate hard drive, but if you don't have one and can't shell out $40-$50 for a hard drive then  one drive will work.

Just keep on following the prompts and you should be fine.


Recommendation on buying an USB TV tuner (analog OR hybrid) that will work?

I have two Plextor PX-TV402U's, one used with Mythbuntu and the other with a workstation to get videos from an analog camcorder. It's a lot more than a TV tuner, and they work great! There is a Linux driver, and they can be a little hard to find now. Might try Amazon instead of Plextor website. The hardware encoding keeps the loads off my CPUs.


'VT-x features locked or unavailable in MSR' error while trying to install Windows XP in VirtualBox

Your error message (VT-x features locked or unavailable in MSR.) shows that either your processor does not support VT-x or it is disabled in your BIOS.

To start your VM you have to configure your VM with VT-x disabled. This can be done by selecting the VM click on Change then select System and on the tab Acceleration you can disable VT-x/AMD-V for the VM.

After that the VM should start.

(Please note that the tabs and names could be different as I use a German localized VirtualBox.)


Delete all lines from middle of a line matching a string until the second string match is found

sed is not really good in Multiline Matching.
You can trick it to do what you want, but then imo perl is easier to handle.

Try this:

perl -pe 'BEGIN{undef $/;}; s/Error.*?(^[0-9]* Duration: [^\n]*\n)+//smg;'

Explanation:

BEGIN { do_something; }: Do something once at the beginning
undef $/: Ignore line endings
s/// Substitute
Error.* Match any string beginning with "Error".
? Make the previous match ungreedy, for that it stops at the following match or in this case matching group...
()+ Make a matching group, that needs to be matched at least once (+).
^[0-9]* Duration: [^\n]*\n: Match the whole line with Duration including.

(via)


How do I use snappy-debug to debug a snap?

The description for snappy-debug is incorrect. The tools mentioned in the description were removed in revision 3 of the source code of the package, as seen below:-

http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-debug/revision/3

The following description was given:-

  Per snappy core team, remove gdb, ltrace and strace binaries and corresponding binaries in package.yaml. Also remove valgrind from package.yaml. In this manner, snappy-security can be shipped for all architectures. These removed tools will be added in a future update.

So, you're using the single feature 'scanlog' of snappy-debug, the other tools may come back later.


nvidia driver not working on dell precision m6500

Remove the existing driver Codes:

sudo apt-get update
sudo apt-get purge nvidia-current
sudo apt-get purge nvidia-current-updates

Install NVIDIA driver Codes:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

Then restart the computer and run this:

nvidia x server settings

If you get "nvidia: command not found"; then run this:

nvidia-settings

Done!


Bad VNC artefacts / tearing using Ubuntu 12.04 default VNC server and TightVNC / RealVNC client on Windows

:) i recommend you to install (gnome-panel)  with
sudo apt-get install gnome-panel

and then logout, and login with Ubuntu 2d (unity 2d) this will increase performance on VNC connections, because is not using any effects.


apt-get fail with "Unpacking replacement diff"

Remove the .deb file and try repairing dpkg

sudo mv /var/cache/apt/archives/diff_1%3a2.8.1-18_all.deb /var/tmp
sudo dpkg --configure -a

EDIT: Please also have a look at the following bug report; it may apply to your situation: bugs.launchpad.net/ubuntu/+source/dpkg/+bug/624229


xclip is the command line interface to X selections (clipboard)

xclip -o > helloworld.c

You may need to modify the command depending on the selection you're using

   -selection
          specify  which  X  selection  to use, options are "primary" to use XA_PRIMARY (default), "secondary" for XA_SECONDARY or
          "clipboard" for XA_CLIPBOARD


Windows OS has fatal error and I need to install ubuntu instead

Ubuntu provide exactly what you ask for here
https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview


Deleted /usr/share/backgrounds by mistake

You have to simply use the power of APT to restore folder contents:
sudo apt-get install --reinstall \
$(dpkg -S /usr/share/backgrounds/ | sed "s/,//g" | sed "s|: /usr/share/backgrounds||")


Try installing and running xbindkeys-config
Then having it run xdotool key Ctrl+Home when that key combination is pressed.


Problems after installing Ubuntu 12.10 and GRUB

1.Run boot-repair disk2.Once booted click on the recommended repairoption from the dialog box appears.3.Now your grub will be reinstalled or updated.


Connecting android device for debugging does not show in lsusb

Based on your description and test results from your question the culprit is a hardware issue:

The most likely culprit is the cable.

Some issues with the cable:

Possibly a charging cable - a computer won't recognize a charging cable.  Try changing the cable to ensure you have a functioning data cable.
Possibly a damaged cable - some of the connections in the cable may not be loose.  There are occasions where shaking a cable will affect his functionality.  Those are occasions of damaged cables.  I've also seen occasions where a cable will work with some devices on the same PC and not function with other devices.  I've also seen occasions where some cables will work with some phones and not other phones.  All those occasions have either been because of very cheap cables which may have become damaged easier than some of the more expensive cables.
Possibly a damaged connector on the phone - I have seen many occasions where a cable might not charge, or connect to the computer even with a good cable.  The resulting culprit was the connector on the phone, of which replacing the connector resolved the issue.

It might be a different problem, but it checking out those common problems could save some time.


No cashew visible on desktop of Kubuntu 18.04

Right click on desktop,chose Configure Desktop,chose Tweaks,check "Show the desktop toolbox".


Wake on LAN doc

I believe the default for Wake on LAN is off, so if you never set it, I dont think you can do anything at this point.


Need help with this shell script getting output as zero

In bash,

set START_TIME = 1475614806

sets $1 to START_TIME, $2 to =, and $3 to the number. The syntax of assignment is

START_TIME=1475614806

No set, not spaces.


How to build and link BLAS and LAPACK libraries by hand for use on cluster?

BLAS

Download the latest version of  BLAS

Open a terminal and go to the directory where you have it saved

tar -xvf blas-3.8.0.tgz  # unzip the blas source files
cd BLAS-3.8.0/
make
mv blas_LINUX.a libblas.a
mv *.a path/to/lib  # move the blas lib to the library you will be including at compile

LAPACK

Download the latest version of LAPACK

tar -xvf lapack-3.9.0.tar.gz
cd lapack-3.9.0/
cp make.inc.example make.inc  # use example make as make
make
cp *.a path/to/lib

Now that the libraries have been built, and are stored in path/to/lib, the short example code in the question can be compiled.
g++ main.cpp -L/path/to/lib -llapack -lblas -lgfortran  # compiles the code
./a.out  # runs the code


You should reinstall Ubuntu 19.04 with the iso file instead of the update, it will be more effective.


Problem with setting raspberry pi3 static ip

I'm not sure how much this will help, but here goes.

This is probably happening because the router you are using is configured to set the IPs of all the devices connected to it. And you manually setting the IP is causing the wifi connection to go haywire.

Why do you even want to set your own ip for the pi? Let the router configure the IP for you.


Graphic elements displayed incorrectly after upgrade to Xubuntu 18.04.2 LTS

Try Settings -> Appearence and pick another gtk theme. If you wish, you can try changing your titlebar theme to match your new theme in Settings -> Window Manager.


Back-up of system partition image: must the UEFI partition be copied too?

If you expect to boot your backup, you should backup the UEFI partition also.  Its contents are pretty generic, but the file EFI/ubuntu/grub.cfg is wired to your root's UUID and partition number, so unless you want to reinstall grub, you'll need that in your backup.


Ubuntu sometimes freezes when switching instances via Unity’s Launcher

My desktop was freezing up and when it would wake up it would be in another place.  I think your girl friend is having the same problem.The fix for me since never wanting my machine to go to sleep was to edit /etc/defaults/acpi-support and change the line to SUSPEND_METHODS="none". Good Luck, hope this helps....


Send mail using SMTP from multiple computers using just an ubuntu server?

While it is unsure what exactly you want to do, I can suggest this article as a good start for completely setting up IMAP/SMTP, then, setting up mail client on other hosts should be piece of cake: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin


Dell XPS 13 Not Discovering any Wifi Networks

I had foolishly disabled the Wifi with my keyboard and had not noticed it. Funnily enough this was not the same as airplane mode, as airplane mode was not considered on.

Hopefully if nothing else someone who may have done the same will find this answer if they are having an off day as I clearly did today.


Byobu output only updates through window switch

reset command seems to resolve this problem. Press F6 to get out of byobu.
Then type "reset" and resumr byobu. It works fine


Libpulsecommon-11.1.so: cannot open shared object file: installing qemu-virgil on ubuntu 18.04 for arm64

On ARM64 hardware you have to use special executable named:
qemu-virgil.arm64

Reference:

https://github.com/ogra1/qemu-virgil-snap/blob/master/snap/snapcraft.yaml#L25


Are fcntl constants in Ubuntu different from other OS?

I'd say that those constant values are Linux specific, not Ubuntu specific.

In your C file, you're getting fcntl.h from /usr/include/fcntl.h which contains:

/* Get the definitions of O_*, F_*, FD_*: all the
   numbers and flag bits for `open', `fcntl', et al.  */
#include <bits/fcntl.h>

In /usr/include/<your_arch>/bits/fcntl.h you can see the following code:

/* Include generic Linux declarations.  */
#include <bits/fcntl-linux.h>

Finally this /usr/include/<your_arch>/bits/fcntl-linux.h file defines those values as follow:

#ifndef F_RDLCK
/* For posix fcntl() and `l_type' field of a `struct flock' for lockf().  */
# define F_RDLCK        0   /* Read lock.  */
# define F_WRLCK        1   /* Write lock.  */
# define F_UNLCK        2   /* Remove lock.  */
#endif

To confirm that it's not Ubuntu specific, you can check the definitions in the libc source, they are the same.


This can be accomplished with FFmpeg and DVDauthor. A very basic form of the required command lines would be:

1. Convert to mpg:

ffmpeg -i test.mp4 -target pal-dvd -aspect 16:9 -ac 2 output.mpg

This command line can be embellished to your taste and also altered to fit any form of input file. Tip: Perhaps add in a bitrate setting for the video: -b:v 6000k or even a quality setting: -qscale:v 2 if the output video is at all disappointing.

Note: For those in non-'PAL' countries the option would be -target ntsc-dvd rather than -target pal-dvd.

2. Create the DVD structure:

Create the file $HOME/.config/video_format and place either PAL or NTSC in the file (depending which is relevant in your country), using your favourite text editor. I use PAL in the following example for the command line to create the DVD structure:

dvdauthor -t -o dvd --video=pal -f output.mpg
dvdauthor -T -o dvd

Note: For those in non-'PAL' countries the option would be --video=ntsc rather than --video=pal.

3. Create the iso:

Use mkisofs to then create an iso suitable for burning to DVD:

mkisofs -dvd-video -o testing.iso dvd/

4. Burn to DVD:

Finally you can use K3B or whichever tool you prefer to burn the iso to DVD; perhaps even use the following command line:

growisofs -dvd-compat -Z /dev/sr0=testing.iso

And then sit back and enjoy your movie :)

References:

How to make an MPEG2 video file with the highest quality possible using FFMPEG?: Some thoughts on creating a high quality encode with FFmpeg


Why can't I see a QXL device in my windows 10 kvm guest

I found a windows 8.1 driver that works.

I downloaded the RPM file linked below and used the qxldod driver for windows 8.1 following the same instructions on the site mentioned in the question. The screen resolution can now be changed although auto-scaling doesn't work.

The device will not show up as a QXL device until the driver is installed, update the driver on the 'microsoft basic display driver' item in device manager.

https://fedorapeople.org/groups/virt/virtio-win/repo/latest/virtio-win-0.1.110-2.noarch.rpm


Why do I get this error message when using gparted in the live cd?

I see no error in the screenshot. That Microsoft reserved partition is used by Windows. Probably it is a recovery partition or so. It is hard to say from your screenshot alone. The red symbol in front of it does not signify a problem here. These particular partitions do not have a recognisable filesystem.


network-manager applet does not detect internet connection

Try to do as this answer suggests.

Long answer short, open /etc/network/interfaces in a text editor, sudo mode, and comment out the eth0 and whatever network interfaces you want to control on network-manager.


The deb file has been compressed, I downloaded and extracted the largest archive as follows:

wget http://downloadarchive.documentfoundation.org/libreoffice/old/3.5.7.2/deb/x86_64/LibO_3.5.7rc2_Linux_x86-64_install-deb_en-US.tar.gz
tar xvf LibO_3.5.7rc2_Linux_x86-64_install-deb_en-US.tar.gz

This extraction creates a directory structure:

LibO_3.5.7rc2_Linux_x86-64_install-deb_en-US/DEBS

and all of the deb packages are in this 'DEBS' folder:

andrew@corinth:~/LibO_3.5.7rc2_Linux_x86-64_install-deb_en-US/DEBS$ ls
desktop-integration
libobasis3.5-base_3.5.7-2_amd64.deb
libobasis3.5-binfilter_3.5.7-2_amd64.deb
libobasis3.5-calc_3.5.7-2_amd64.deb
libobasis3.5-core01_3.5.7-2_amd64.deb
libobasis3.5-core02_3.5.7-2_amd64.deb
libobasis3.5-core03_3.5.7-2_amd64.deb
libobasis3.5-core04_3.5.7-2_amd64.deb
libobasis3.5-core05_3.5.7-2_amd64.deb
libobasis3.5-core06_3.5.7-2_amd64.deb
libobasis3.5-core07_3.5.7-2_amd64.deb
libobasis3.5-draw_3.5.7-2_amd64.deb
libobasis3.5-en-us_3.5.7-2_amd64.deb
libobasis3.5-en-us-base_3.5.7-2_amd64.deb
libobasis3.5-en-us-calc_3.5.7-2_amd64.deb
libobasis3.5-en-us-math_3.5.7-2_amd64.deb
libobasis3.5-en-us-res_3.5.7-2_amd64.deb
libobasis3.5-en-us-writer_3.5.7-2_amd64.deb
libobasis3.5-extension-beanshell-script-provider_3.5.7-2_amd64.deb
libobasis3.5-extension-javascript-script-provider_3.5.7-2_amd64.deb
libobasis3.5-extension-mediawiki-publisher_3.5.7-2_amd64.deb
libobasis3.5-extension-nlpsolver_3.5.7-2_amd64.deb
libobasis3.5-extension-pdf-import_3.5.7-2_amd64.deb
libobasis3.5-extension-presentation-minimizer_3.5.7-2_amd64.deb
libobasis3.5-extension-presenter-screen_3.5.7-2_amd64.deb
libobasis3.5-extension-python-script-provider_3.5.7-2_amd64.deb
libobasis3.5-extension-report-builder_3.5.7-2_amd64.deb
libobasis3.5-gnome-integration_3.5.7-2_amd64.deb
libobasis3.5-graphicfilter_3.5.7-2_amd64.deb
libobasis3.5-images_3.5.7-2_amd64.deb
libobasis3.5-impress_3.5.7-2_amd64.deb
libobasis3.5-javafilter_3.5.7-2_amd64.deb
libobasis3.5-kde-integration_3.5.7-2_amd64.deb
libobasis3.5-math_3.5.7-2_amd64.deb
libobasis3.5-ogltrans_3.5.7-2_amd64.deb
libobasis3.5-onlineupdate_3.5.7-2_amd64.deb
libobasis3.5-ooofonts_3.5.7-2_amd64.deb
libobasis3.5-ooolinguistic_3.5.7-2_amd64.deb
libobasis3.5-postgresql-sdbc_3.5.7-2_amd64.deb
libobasis3.5-pyuno_3.5.7-2_amd64.deb
libobasis3.5-writer_3.5.7-2_amd64.deb
libobasis3.5-xsltfilter_3.5.7-2_amd64.deb
libreoffice3.5_3.5.7-2_amd64.deb
libreoffice3.5-base_3.5.7-2_amd64.deb
libreoffice3.5-calc_3.5.7-2_amd64.deb
libreoffice3.5-dict-en_3.5.7-2_amd64.deb
libreoffice3.5-dict-es_3.5.7-2_amd64.deb
libreoffice3.5-dict-fr_3.5.7-2_amd64.deb
libreoffice3.5-draw_3.5.7-2_amd64.deb
libreoffice3.5-en-us_3.5.7-2_amd64.deb
libreoffice3.5-impress_3.5.7-2_amd64.deb
libreoffice3.5-math_3.5.7-2_amd64.deb
libreoffice3.5-stdlibs_3.5.7-2_amd64.deb
libreoffice3.5-ure_3.5.7-2_amd64.deb
libreoffice3.5-writer_3.5.7-2_amd64.deb
andrew@corinth:~/LibO_3.5.7rc2_Linux_x86-64_install-deb_en-US/DEBS$

And then if you wish you can install all of these from within the DEBS directory by running:

sudo dpkg -i *.deb

Installing any of these could be an issue depending on:

Which version of Ubuntu you are using
Which particular deb package you are trying to install

Dependencies being the main issue as well as more modern versions being already available / installed from the Ubuntu repository...


Why don't Ubuntu package version numbers match version numbers in the rest of the space?

As you probably know, Ubuntu is a fork of Debian. This means that per each version of Ubuntu lots of packages come from the Debian version on which that Ubuntu version is based. The trailing nomenclature is added to keep track of the history of the package.

1.0.1f: this is plainly the version of OpenSSL included in the package;
1: this is the Debian version of the package; 0 would have meant that the package was not present in Debian and that the package was added to Ubuntu by Canonical; its absence would have meant that the package was added by Debian itself, rather than deriving from an upstream;
ubuntu: this means that the package has been updated from the Debian version of the package; it's absence would have meant that the package wasn't updated from the Debian version of the package (i.e. that the Debian package was included directly without modifications);
9.8: this is the version of the Ubuntu package

So openssl-1.0.1f-1ubuntu9.8 is revision 9.8 of the openssl Ubuntu package, which is based on revision 1 of the openssl Debian package, and which contains OpenSSL 1.0.1f.

You can find more information on the Debian packages' version numbering here or by running the command man 5 deb-version.


The more probable reason is the overheat of processor. So after the next turn off, just go to BIOS, and check temperature sensors. So after the next load of the linux check temperature of LM sensors with:

sensors-detect
systemctl enable lm_sensors.service
sensors

Or use psensor GUI software. Also read the article on how to setup and check the temperature of the system devices.


ffmpeg vs avconv - Specifically use of lavfi in avconv

avconv and ffmpeg do not have the same functionality: avconv is missing many features (-f lavfi) and filters (sine and aevalsrc). Because avconv lacks these I don't see a way to generate a sine with it.

Your Raspbian must be old because, according to repology, both Raspbian Stable and Oldstable use FFmpeg and not Libav (avconv).

Solutions:

One obvious but possibly impractical solution is to upgrade your Raspbian and use ffmpeg from the repo.
Compile ffmpeg.
Find a static build. johnvansickle.com offers ffmpeg for arm64, armhf, and armel. Maybe one of those will work on whatever Raspberry device you have.
Use sox or some other tool.


How do I preseed mixed LVM and regular partitions?

This is a recipe I've used.  It creates

512MB EFI System Partition
1GB /boot partition
partition from the remaining space and LVM volume group
logical volume for root (/)

d-i partman-auto/expert_recipe string \
        efi-boot-lvm-root :: \
              512 512 512 fat32 \
                      $primary{ } \
                      method{ efi } \
                      format{ } \
              . \
              1024 1024 1024 ext4 \
                      $primary{ } \
                      $bootable{ } \
                      method{ format } \
                      format{ } \
                      use_filesystem{ } \
                      filesystem{ ext4 } \
                      mountpoint{ /boot } \
              . \
              100 1000 1000000000 $default_filesystem \
                      $defaultignore{ } \
                      $primary{ } \
                      method{ lvm } \
                      device{ /dev/sda } \
                      vg_name{ vg-0 } \
              . \
              1024 3072 -1 $default_filesystem \
                      $lvmok{} \
                      lv_name{ lv-root } \
                      in_vg{ vg-0 } \
                      method{ format } \
                      format{ } \
                      use_filesystem{ } \
                      filesystem{ ext4 } \
                      mountpoint{ / } \
              .


ASCII animations that are viewed in the command-line?

Not really a short video but here is the most famous one: Star Wars Episode IV: A New Hope.

Open a terminal (Ctrl+Alt+T) and run :

telnet towel.blinkenlights.nl


reprepro No section given for 'galera', skipping

Try to override the section with -S:

`reprepro -V -b my_repo/ -S utils -C main includedeb precise galera_23.2.2_amd64.deb`


These are basically two different things, both of which you may want to use to some capacity. Port forwarding allows you to open up a port (in this case port 22) on your outside facing router to allow traffic to a certain computer on your subnet (the computer you want to SSH into). This essentially opens up your computer to the outside world so you can log into it from outside your local intranet.

The dynDNS portion is what would allow you to point a domain name (EX www.mycomputer.com) to the IP address that your ISP assigned to you. The reason this is so helpful is that most residential ISPs will use a non-static IP address (meaning that it changes every so often) and this would require you to keep track of the IP as it changes> dynDNS allows you to use the domain name and have it automagically resolve to whatever IP you have at the time.

So in short; you will most likely want to use both in order to SSH into your machine from outside your local intranet.

As far as security is concerned you should be ok on a properly patched/configured system. Of course there is always the potential for attack when you open a computer to the internet but it is regularly done without much problem.
The only thing you are likely to see is scripts attempting to break your password but that is why you use public keys to authenticate ;)


Neither of these suggestions may work for you, but here's what I would try first:

Regarding the first issue, there's a hidden file in your home folder called .bashrc. Open a terminal and type ls -a which means "list files -all of them" and you should see the file. The contents of this file are executed every time you open your terminal, and I suspect that the offending line may have inadvertently been appended to it.

Again from the command line, type gedit .bashrc to open the file in a text editor, then search (ctrl-f) for the word ELMER4.0. If it shows up, comment out the line it occurs on by preceeding it with a #. Save the file (ctrl-s), then close the terminal and re-open it again. The error should be gone.

For the second error, the first thing I would do is to type sudo apt-get -f install into the command line. This will list any unmet depedencies any currently installed packages may have. If anything is missing, you can attempt to install it directly with sudo apt-get install [package-name].


You can do a full install to USB just like to internal drive.

It is advisable to first disable your internal drive.

Then boot from a Live DVD or LIve USB.

Plug in your target USB and hit Install.
Proceed as with a normal install.

You can also use Something Else to make your first partition FAT32 or NTFS so you can connect to a Windows computer.
In this case use the second partition for / and the third for swap.

You can install proprietary drivers to this type of disk.


In Unity, the folder containing a file selected in the dash is opened in Nautilus instead of opening the file with the corresponding application

I found someone having a similar problem on the Ubuntu forums. And this problem was linked to the presence of an installation of the XFCE desktop environment.

Because it was also my case, I used a solution suggested in this thread, which simply consists in erasing all traces of XFCE installation.

I opened a terminal and enter the following command :

sudo apt-get remove `dpkg -l | grep xfce|awk '{print $2}'`

Now, I can't use XFCE anymore but the normal behavior of the dash has been restored.


Identify my terminal session that started a particular process

Each of your terminal windows will have a different pseudoterminal assigned, as accessible by the tty command. You can cross-reference this with the TTY column of your ps u output. For GUI integration, I usually found it sufficient to add the current pty identifier to my terminal's window title using xtitle, like

if [ "$PS1" ] ; then
  xtitle xterm $(tty)
fi

Jumping to a window by title is easy in my window manager, no idea about GNOME.


How I can count how many repeated numbers in a file and then organize them by repetitions?


How can I stream video from my webcam with sound from my microphone using vlc?

cvlc v4l2:///dev/video0 :v4l2-standard=ALL :input-slave=alsa://hw:0,0 :live-caching=300  ':sout=#transcode{vcodec=mp4v,vb=3500,width=1920,height=1080,acodec=mp3,ab=192,channels=2,samplerate=44100}:http{mux=ts,dst=:8080/}'


mount.cifs: How to avoid long timeouts after switching IPs (wired  wifi)

One working solution is to set both interfaces to the same static IP address. That  way cifs doesn't timeout, because it doesn't have to re-establish the connection from a different IP on the same subnet.

This also means that SSH connections are kept alive during wired<=>wifi switches without needing fancy tools like Mosh.

It has drawbacks, too:

Requires static IP addresses instead of DHCP
IP conflict if my both interfaces where up simultaneously. My network manager dispatcher script prevents this, though.


RTLinux on Ubuntu 14.10 - AMD x64 machine

unfortunately you can not install rtlinux in new versions of linux, the best linux os for this is redhat 9 if you want i have a virtual image work in virtualbox .

https://www.dropbox.com/sh/8y5fr14ju3tnvtz/AAAZ1T8e9m0PKSW_Y9ELSWrKa?dl=0https://www.dropbox.com/sh/8y5fr14ju3tnvtz/AAAZ1T8e9m0PKSW_Y9ELSWrKa?dl=0


Ubuntu 14.04 on external hdd as the only hdd

The short answer is: It is no problem to install Ubuntu to external HDD using the standard installation process.

HOWEVER

There are several things you should take in to account here before you do.

How have you determined your HDD to be dead? In other words, are you sure it's irrecoverably broken?
What kind of external HDD are you using? Is it USB 2.0 or 3.0? Does your laptop have USB 3.0 ports?
Would you be comfortable opening your laptop to replace or at least remove the broken HDD?

Have you tried running Ubuntu from a live USB stick and tried to access the files on the broken drive? Have you tried some diagnostic tools like the SMART data & self tests of the Ubuntu disk utility when running from live USB. It can be found by typing Disks in the dash.

USB will not give you the same data throughput rates as the internal HDDs SATA connection. Especially when your drive or ports are only USB 2.0 it may be a very bad experience especially when gaming.

Given you have the means to afford a new hard drive and you or someone in your circle of friends or family would be comfortable with replacing it in your laptop I think this would be the most satisfying and long-term viable option. Keep in mind that you would most likely need a 2.5 inch HDD if you buy a new one. You can get new ones with 500GB starting at 41,90€ online.

If you've thought about the 3 points above and think that installing to external HDD is the most viable option for you at the moment, it should pose no problem for the standard Ubuntu installer.

If you have disconnected the broken hard drive and your external drive is the only HDD present you can just tick the 'Erase disk and install Ubuntu' option in the installer.

If the broken HDD is still connected and can be recognized by Ubuntu you have to pick the 'Something else' option from the installer.
Then you just select your external HDD for bootloader installation from the dropdown menu seen in the image (note: your external HDD will not be /dev/sda. See which descriptions matches your drive)

Delete any existing partitions on it (everything under /dev/sdX where X is the letter of the drive you've selected for bootloader installation)
and add a new partition on it consuming all unallocated space.

Then just proceed normally with the installation.


installing Anaconda in virtual environment!

Anaconda is not intended to be installed in a virtual environment like virtualenv. It is meant to be its own virtual environment, more or less.

It is meant to be installed in your home directory for the local user(~/anaconda3 by default). From there, you will create the necessary virtual environments by creating separate conda environments (using the conda create... and conda activate... commands.

It does this by modifying your .bashrc and changing your $PATH to point to the isolated python installation.

You should follow the installation instructions as laid out in the installation guide for Linux.

If you want to continue to use your normal python environment, the installation procedure will allow you to opt out of having it modify your .bashrc and your $PATH will be unaffected.

In that case, you will enter your Anaconda environments by entering a command such as conda activate base for example . The Getting Started Guide provides a quick overview on managing your conda virtual environments.


Ubuntu TV is an Unity variant and it's a proof of concept so everything might change.
The plan is to stick it into the TV, not another box sitting next to it, with lots of cables and another remote. But for now you can install on PC, more info here:

https://wiki.ubuntu.com/UbuntuTV/Contributing

And the official page:

http://www.ubuntu.com/devices/tv


Chrome and Skype are broken after upgrading to 14.04

Use console to run the app.
There should be more verbose error.

For skype - you may need remove ~/.Skype (rename )

Check /etc/apt/sources.list for uncommented:

deb http://archive.canonical.com/ubuntu trusty partner

And reinstall skype from the ubuntu partner repo:

sudo apt-get update && sudo apt-get -y install skype

For google chrome I use following:

wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && echo deb http://dl.google.com/linux/chrome/deb/ stable main|sudo tee  /etc/apt/sources.list.d/google-chrome.list && echo deb http://dl.google.com/linux/talkplugin/deb/ stable main|sudo tee /etc/apt/sources.list.d/google-talkplugin.list && sudo apt-get -y install google-chrome-stable


E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) after trying to install wine

Everytime I encounter this error is because I have Synaptic Package Manager on and haven't noticed it. Just quit Synaptic and you ll be good to go.


How can I get Ubuntu on my old (Verity VL Series) laptop?

Here's an article on how to install 12.04 in your use case:

http://www.webupd8.org/2012/05/how-to-install-ubuntu-1204-on-non-pae.html

The default install is looking for Physical Address Extension (PAE) capabilities in your computer that in that vintage didn't have such capabilities.

The leads you through the steps of installation with a PAE kernel.


is your USB bootable or you just copied the contents of Ubuntu Live CD? your usb should become bootable with some application, like startup disk creator in ubuntu.


qBittorrent

qBittorrent developers claim to be producing a "free" alternative to uTorrent.

One of their features is Sequential downloading (aka "Download in order")

However, this feature is with a health warning:

  Attempts to download the selected torrents in sequential order.
  Torrent pieces are usually downloaded in an optimal order which
  maximizes speed and benefits to the swarm health. Downloading in
  sequential order is useful for preview files. However, this feature is
  against Bittorrent protocol recommendations due to its negative effect
  on the swarm. It is thus discouraged to use this feature. A more
  detailed explanation of why this feature is bad is available here


if you mean 3d computer animation, i would suggest blender http://www.blender.org/ it is very well documented and on par with professional grade apps on windows or mac

its is available through the ubuntu software center, simply search in the searchbox for blender, then click on install

best of luck in the future


There is an Ask Ubuntu lens:

How do I install the Ask Ubuntu Unity Lens, and how do I use it?
As far as I can tell there's no general help lens yet, though it would be great if we had one.


Just do sudo apt-get install joy2key and read the documentation for it.


Headphones not working in 16.04 after upgrade from 14.04

This thread might be of help:
Headphone jack not working?

You can see several suggestions for a solution, including one answer that adresses the issue after upgrading to Ubuntu 16.04.


Mount network drive from terminal on Ubuntu running in Windows HyperV VM

Apparently the syntax in the example was not correct (at least for what I was trying to do).

The mount command that worked was this:

sudo mount -t cifs -o "username=myUserName,password=myPassword" //ip_of_network_destination/dir .

the terminal doesn't refresh itself, so you have to close it and open it to reach the newly mounted filesystem, but the drive shows up in the GUI, so you know it stuck.


Apparently it was an issue with DNS or the server was down because the commands you posted are now working successfully.

sudo add-apt-repository ppa:ondrej/php

After the update, sudo apt install php installed the latest PHP version (currently 7.3)


So i got Dying Light working perfect and here is how.

Install Ubuntu Mate 16.04.2 (or any other Ubuntu 16.04.2 distro) because that is the only OS supported by the AMD proprietary drivers

Install the AMD proprietary drivers 17.10 for my RX580
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx

Thats it... Dying light works great!


You should avoid changing this file directly, instead, you should use xdg-user-dirs-update.

For example, to update the download directory, use:

xdg-user-dirs-update --set DOWNLOAD $HOME/PATH/TO/downloads

Make sure you changed $HOME/PATH/TO/downloads to your downloads directory.

xdg-user-dirs-update, Resetting your configuration at each session start up.
Consequently, you need to set enabled=False in your user-dirs.conf file instead of enabled=True.
This file location is: /etc/xdg/user-dirs.conf or ~/.config/user-dirs.conf.
Done.

enabled=boolean
         When set to False, xdg-user-dirs-update will
         not change the XDG user dirs configuration.


Ideally, you'd use a .service file in /etc/systemd/system.  (you could probably model after sshd.service.)

Since you specify "simplest and shortest", I'll go with adding /etc/myfolder/myscript right before the exit 0 line in /etc/rc.local.

This is likely to work for the life of 16.04 but unlikely to work with Ubuntu 17.

Additional reference: https://www.freedesktop.org/software/systemd/man/systemd.special.html contains the options for After=


You need to install an older version of PhpMyAdmin.  I think you will have to go all the way back to PhpMyAdmin 2.1x to find one compatible with PHP 4.49.  If you go to the downloads section of the PhpMyAdmin site there is a link to a SourceForge page that contains the older versions.  Check the requirements to be sure, but I believe everything beginning with version 3.0 requires PHP 5x.


How do I get Windows to showup on my boot menu?

In a Terminal, type sudo update-grub. Assuming GRUB can see the Windows disk/partition, it should add it to the menu.


What are the differences between Windows Bash and Cygwin?

Cygwin is a great tool if you want to live entirely in Windows and want to drive/automate Windows tasks with bash scripts. However, Cygwin is unable to run unmodified Linux binaries.

That's where WSL steps in:

The Windows Subsystem for Linux (WSL), is a new layer of the Windows kernel which aims to provide a high degree of compatibility with the Linux kernel ABI. This allows native, unmodified, Linux ELF64 binaries to run on WSL.

This is how WSL can run a genuine Ubuntu user-land distro, and any packages you download from apt-get, or .deb packages from elsewhere, without any changes.

The point of WSL is to enable developers working on Windows to be able to run many of the tools, and to work on many projects, which depend on Linux binaries, features, behaviors, filesystem layout, process model, etc.

While WSL is still early in its implementation, we're working hard to improve the breadth and depth of our syscall implementations to steadily improve WSL's ability to run an ever larger set of tools, and support a rapidly growing number of Ruby, Java, node, etc. packages and projects.

Update: 2017-09-07

Since writing the above, we've shipped Windows 10 Creators Update which MASSIVELY improves WSL's compatibility with MANY of the tools you'll want/need to run.

Development has also continued unabated and we've been shipping Win10 Insiders builds over the last few months on the way to the Fall Creators Update (FCU) shipping in Oct 2017.

In FCU, we're adding the ability to install and run more than one distro side-by-side: Ubuntu, openSUSE, and SLES are currently available, with Fedora and others on the way. WSL also now supports USB-serial comms, and mounting of USB-storage and network shares, along with further improvements to our syscalls which improves compatibility with more tools.

Update: 2019-08-22

It's been a very busy couple of years since first announcing and releasing WSL, then adding support for multiple distros via the store, and announcing WSL v1.0
HTH.

At Build 2019 we announced the new Windows Terminal (Terminal session video here) and WSL 2 (WSL 2 session video here) which introduces a whole new approach to running Linux on Windows.

For more details and future updates, be sure to visit the Windows Command-Line blog every couple of weeks where we post lots of related news


How do I make 14.04 stable on my E machine

Download 14.04 .iso image from ubuntu.com. Burn .iso onto flash drive by using ubuntu cd burner application.  Boot your computer with your flash drive and see if it is stable. If so install it by clicking install icon on your desktop.


I'm going to assume you don't need BIND to respond with a zone file (which implies the DNS zone transfer protocol) but rather you need it to answer queries for normal types (like A, MX, etc...) for any name with chosen data.

One way to do this is to configure your server to be authoritative for the root zone (".") and put wildcard records in it. This is not technically correct because the zone apex will not correspond to the delegation points, but it works in practice.

For example: in named.conf:

zone "." {
    type master;
    file "db.root";
};

And in the root zone file:

@    IN    SOA    your.server.name. your.email.address. (
                  2012093001 604800 86400 2419200 86400 )
     IN    NS     your.server.name.

*    IN    foo    bar
     IN    baz    quux

...where "foo bar" and "baz quux" are the RRtype and RRdata of the records you would like to serve for every name under the root.

Note: make sure you don't use the same server as a recursive resolver!


What navigation application can I use on Ubuntu phone devices, is it good as Google Map navigation?

I created GPS Navigation (search it into the Ubuntu Phone Store).
You can see how it is here: https://www.youtube.com/watch?v=-nOsd2NAGmI
Feel free to give me your feedback :)
A hug!


Three balls/eclipse appearing on my pc screen, how to remove them?

Check your running Services/Programs (by searching in settings)which is related to the stuff which you were doing and stop it.


lsusb detects the device but it still doesn't mount

As far as the logs show, the Linux kernel thinks, that either your USB drive or the USB host controller is faulty/broken. If it works on other USB ports on the same machine, it's the host controller. If it works on other operating systems or kernel versions, you should consider filing a bug report.


I can only see a portion of my screen in the gui

My best guess is that he somehow changed the resolution of the display and maybe the scale of the items displayed as well.

If you can see the settings button in the top right corner, navigate to System Settings > Displays and change the resolution. You'll probably want the highest resolution listed there. After that, change the scale to 1.

If that is impossible or turns out to be incredibly difficult, you can press CTRL + ALT + T, which should get a terminal open. Whether or not it shows up in your zoomed-in version of the display, however, is unknown to me. If that doesn't work, you can get a command line from the GRUB boot menu, by selecting Advanced boot options for Ubuntu, and then pressing C. Once you have the terminal open, you can try this command:

$ rm ~/.config/monitors.xml

which should reset your resolution. After that, you need to restart your computer and you still should go to the System Settings > Displays menu and make sure that the Scale for menus and title bars is set to 1.

Hope that helped.


How to set up password check on unmounting NTFS partitions?

Well, I have found explanation myself. It turned out that Ubuntu does some voodoo magic around file systems mounted in the /media directory. So in the /etc/fstab file I changed mount points from /media to /mnt as follows:

# Windows C: /dev/sda1
UUID=2EF64975F6493DF9   /mnt/win_c    ntfs    auto,ro      0  0
# Windows D: /dev/sdb1
UUID=50C40C08C40BEED2   /mnt/win_d    ntfs    auto,ro      0  0

Now both NTFS partitions are mounted automatically and read-only on system boot, and both require administrator password to unmount, which is exactly what I wanted to have.

However, there is no any quick access icons for them in the Nautilus, but this is rather unimportant detail than real problem.


Edit your /etc/rc.local:

sudo vim /etc/rc.local

and add your command before the exit 0


How to transfer all files from root account to another account?

Habit of using root account is a very bad and dangerous practice (considering security and privacy of the system). Please avoid using root account unless required. Also don't make new account exact replica of the root account. Since all files in root account isn't meant for normal account. Instead identify which files you need to be in user account (normal account) and move that file and change its permissions using chmod.


Cannot find welcome window in Bionic Beaver DVD

If your live session is working properly, there should be a link to the installer on the desktop.


Ubuntu Gnome 20.04 + VirtualBox + NVidia Driver 450.57 don't want to coexist

There is a discussion related to this bug in Virtualbox forums, which is now fixed. (https://forums.virtualbox.org/viewtopic.php?f=7&t=99611)
Latest version of Virtualbox 6.1.14 for Eoan worked for me (https://download.virtualbox.org/virtualbox/6.1.14/)


How do I install drivers for ATI X1650 Pro

Unfortunately, the ATI x1650 is no longer supported by AMD/ATI's binary drivers; neither the "restricted" ones nor what you can download off their website.

The last binary driver package supporting this card is Catalyst 9.3; you can try downloading and installing it. If it doesn't work (due to kernel changes), sorry, but you're stuck with the default open-source radeon driver.

This isn't because of Linux/Ubuntu, but due to AMD/ATI policy; for example, there are no Windows 7 drivers available for the X1650 either!


Remove printer from the list permenantly

Try to Disable Cups automatic remote printer detection:

To disable it i'd to type simply

sudo cupsctl --no-remote-printers

or to edit the

/etc/cups/cupsd.conf

and set

Browsing Off


How to persist dpkg-reconfigure keyboard-configuration?

Problem resolved with this command:

sudo dpkg-reconfigure keyboard-configuration

after that the configuration never reset after shutdown of my machine.


Install the Gnome Control Center with this command:

sudo apt-get install gnome-control-center


Unless a command has output or logging already configured, rc.local commands will not log anywhere.

If you want to see logs for specific commands, try redirecting the stdout and stderr for rc.local to somewhere you can check. Try adding this to the top of your /etc/rc.local file:

exec 1>/tmp/rc.local.log 2>&1  # send stdout and stderr from rc.local to a log file
set -x                         # tell sh to display commands before execution

Though this will require to rerun the rc.local file.


How can I fix this npm error installing electron?

You need to delete the electron folder from /usr/local/bin . Then try to install Electron again:

sudo rm -rf /usr/local/bin/electron
sudo npm install -g electron


How do I determine all components controlling CPU frequency?

CPU frequency is controlled by Linux kernel. Nothing else is installed in Ubuntu.
For desktop systems two scaling drivers are usually used: intel_pstate for relatively new Intel CPU's or acpi-cpufreq for AMD and other CPU's.
acpi-cpufreq can be used for Intel CPU's as well.
You can check which one your system is using by
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_driver

For both drivers you can control maximum and minimum speeds by writing values to /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq and /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq.
intel_pstate and acpi-cpufreq have different scaling governors.
You can check and set them in /sys/devices/system/cpu/cpufreq/policy0/scaling_governor.
For multi-core CPU's there is a policy for each core. You can set policies separately.
If your CPU is running at speed below scaling_min_freq, it means that this is a hardware issue. Motherboard can also control frequencies.


Is there a way to disable auto-switch output channel when I connect headphones?

This is a pulseaudio bug, still present on 11.10

As a workaround edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf :

gksu gedit analog-output-headphones.conf

Than search for and comment this line like here:

[Jack_InputDevice]
#code = Headphone

Save the file and close gedit. Than restart pulseaudio with:

pulseaudio -k

Most people think this is an ALSA thing, but is not.

I reported this bug:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/921397


With Xubuntu you just have to right click on your network manager icon located in the top bar and than you disable "Enable Notifications":


Is I/O priority propagated to child processes?

Yes, both ionice and nice values are inherited by the children of a process. In the future, you can test things like this by running the following command to test and print the ionice value of a process and compare to its parent:

ionice -p $pid

These questions on unix.stackexchange and superuser have more information on the subject:

https://unix.stackexchange.com/questions/37896/nice-and-child-processes

https://superuser.com/questions/63091/do-children-processes-inherit-ionice-priorities-from-their-parents-how-do-you-c


Okular stuck on "Reloading a PDF document"

I downloaded your pdf and I can confirm that Okular has no problems opening it. However, there's a nice feature in Okular that makes it to reload a document whenever the file on disk is changed.

You can reproduce this by opening a terminal window and issuing

touch filename.pdf

while the same file is open in Okular. Or even

 while [ true ]; do touch filename.pdf; sleep 3; done

this will cause Okular to reload the document repeatedly.

I'm not quite sure what was "touching" the file in your case - do you have this file synced with Ubuntu One or Dropbox? Maybe some backup program?

However, the power of KDE is in the amount of knobs programs have :) If it ever bothers you again, go to Settings - Configure Okular - General and un-tick "Reload document on file change"

In you're curious, you can install inotify-tools package which contains command-line tools to monitor file modification messages from kernel's inotify module. You can monitor file change notifications with

inotifywait -m filename.pdf


Can I choose to automatically download all updates and install the important ones?

I don't know exactly why the interface is limited and possibly counterintuitive like this.  I'm ready to chalk it up to reducing complexity and adding sane defaults.
For a desktop user, that often makes sense.   However, if you are using a server, you wouldn't be using this method, and so I'll add some info on alternatives that provide more flexibility, at the expense of complexity.  They also provide you (given a little time to familiarize yourself with them) a clearer view of exactly what actions will take place.

On the server side, the standard way to configure this is probably to use unattended-upgrades.  This might be the best way to do this on the desktop as well.

Here's a decent guide on this (and some other Ubuntu methods):
https://help.ubuntu.com/community/AutomaticSecurityUpdates

Note that this guide does not discourage using the Gnome Update Manager, which is GUI you are referring to.  This is a user-editable wiki page, so I'm chalking this up to conflating server and desktop tools.  (Though it is of course possible to install, e.g., Gnome on a server, too.)

Another method mentioned is cron.  Cron has the advantage of being pretty transparent in what it does, and giving you great control, as it is typically hand-configured.   This unfortunately also has the consequence of maintainability being limited to whatever system you create yourself.

An older but still available method is to use cron-apt.  I've used this on Debian boxes, and it works on Ubuntu as well.   I think the documentation is horrible, however.

cron-apt can optionally email status and updates. Here's an example:

CRON-APT RUN [/etc/cron-apt/config]: Wed Feb  9 04:00:01 CST 2011
CRON-APT SLEEP: 1315, Wed Feb  9 04:21:56 CST 2011
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  libfreetype6
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/385kB of archives.
After this operation, 0B of additional disk space will be used.
Download complete and in download only mode

A short but helpful page on cron-apt can be found on the TurnKey Linux Automatic Security Updates page.   The descriptions work here because TurnKLey Linux is based on Ubuntu.   Their cron-apt usage updates more aggressively, about which they have this to say:

  In practice we've found it is very
  rare for an Ubuntu security update to
  break something, so we believe it is
  beneficial to  configure software
  appliances to auto-update security
  fixes by default. Advanced users can
  always disable this mechanism and
  apply security fixes manually if they
  want.


How to change charm service IP from default 10.0.0.X if running juju on local?

There are no other dependencies in order to use the local provider with juju.  However there are some caveats and limitations.

By default, the local provider will use the lxcbr0 bridge that was created when you install lxc.  This defaults to using the 10.0.3.0/24 address space.  This means that each machine you create will have an ip address of 10.0.3.x.  These lxc machines can only talk to each other, and out to the big wide world using the bridge.

However, no other machines can get in without you messing around with some routing configuration manually.  If you don't know what you are doing there, I highly advise not to try.

The question that you refer to above is for the old version of Juju (< 1.0), and hopefully the docs now refer to the new juju (> 1.16).  I'm talking about the new juju.

Exposing a service with the local provider does exactly nothing.  You can see any service locally as there is no firewall service doing anything on the local provider, as its intended usage is to test and try juju and to help with writing charms.


New to Ubuntu. Can't connect to Wifi, only ethernet

You need to install bcmwl-kernel-source,

Do:

sudo apt install bcmwl-kernel-source

Reboot


adduser says user exists when the user does not exist

Is there any reason you are specifying the uid rather than letting the system choose one for you? You can see if your chosen id is in use by doing grep '10141' /etc/passwd. If that is the case then the error message is certainly a bit misleading :/

It's also quite possible that your system recognises users who are not in /etc/passwd - for example by using LDAP. One quick way to test that is to do id atc and see if the system recognises it. Another way would be getent passwd atc which will also show you users the system recognises who are not in /etc/passwd. Or you could again check if the uid is in use with getent passwd 10141. (You can also run getent passwd to get the full list of entries.) More about getent.

To see where these users might come from you could look at /etc/nsswitch.conf (man page) - the line starting passwd will show you where your system is looking for users. Common default values are files and compat, though more complex setups may have multiple values including values such as ldap, dns and winbind. files means the standard files including /etc/passwd.

I'm not so clear on the exact meaning of compat, but my reading of the nsswitch.conf man page suggests it is a combination of files and nis. nis is the Network Information Service which is largely superceded these days but may affect your system.


Making youtube fullscreen will freeze Unity (the whole desktop)

It seems like the problem reappeared with Chrome version 49. Below is a workaround that will solve the problem until Chrome fixes this bug. It works without disabling hardware acceleration in Chrome (and potentially causing other issues).

If compizconfig-settings-manager is not installed, install it by

sudo apt-get install compizconfig-settings-manager
Launch compizconfig-settings-manager by typing ccsm from the terminal
Double click to open the Composite plugin
Add & !(class=google-chrome) at the end of the Unredirect Match text box (see screenshot below).

Close the settings manager.
Be scared no more to click on Full Screen!

Source: https://bugs.chromium.org/p/chromium/issues/detail?id=550091#c43


I can't install pencil2d using its appimage? Any Help?

I am a Pencil2D developer and am actually the one responsible for managing the 32-bit Linux AppImage. This issue is a result of our AppImage being built with a newer version of glibc than the version you have. From the AppImage documentation:

The ingredients used in your AppImage should not be built on a more recent base system than the oldest base system your AppImage is intended to run on. Some core libraries, such as glibc, tend to break compatibility with older base systems quite frequently, which means that binaries will run on newer, but not on older base systems than the one the binaries were compiled on.
If you run into errors like this

failed to initialize: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found

then the binary is compiled on a newer system than the one you are trying to run it on. You should use a binary that has been compiled on an older system. Unfortunately, the complication is that distributions usually compile the latest versions of applications only on the latest systems, which means that you will have a hard time finding binaries of bleeding-edge softwares that run on older systems. A way around this is to compile dependencies yourself on a not too recent base system, and/or to use LibcWrapGenerator or glibc_version_header or bingcc.

We will look into the suggested fixes for future releases, but in the mean time there are multiple other ways you can use Pencil2D. I would recommend Pencil2D's Flatpak from Flathub. It's about as easy to install and use as the AppImage and is currently less buggy. Pencil2D can also be installed on Ubuntu through apt, however the last version available for xenial is obsolete and it is strongly recommended that you do not use it. Finally, for the ambitous, the application can be built from source. We provided a detailed guide on how to do this here: https://github.com/pencil2d/pencil/wiki/Building-Pencil2D-on-Linux.


How to run a TL-WDN3200 N600 wireless USB stick on 14.04

wikidevi.com states that the driver for the device is rt2800usb which is included in kernel[https://wikidevi.com/wiki/TP-LINK_TL-WDN3200] in Ubuntu 14.04 (assuming you're running no exotic setup, which you forgot to mention). It has to be a blacklisting problem. Check out https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide/Drivers and setup the right driver to be loaded.


$ORIGIN is used in two contexts during zone file processing:

The symbol @ forces substitution of the current (or synthesized) value of $ORIGIN. The @ symbol is replaced with the current value of $ORIGIN.
The current value of $ORIGIN is added to any 'unqualified' name (any name which does not end in a 'dot').

Example of @ symbol replacement:

; example.com zone file fragment
; no $ORIGIN present and is synthesized from the
; zone name in named.conf
....
@          IN      NS     ns1.example.com.
; ns1.example.com is the name server for example.com
....
$ORIGIN uk.example.com.
@          IN      NS     ns2.example.com.
; functionally identical to
; uk.example.com. IN NS ns2.example.com.
; ns2.example.com is the name server for uk.example.com


Delete empty subfolders, keep parent folder

Simply do find /home/user/parentdir -mindepth 1 -type d -empty -delete.

Look:

$ mkdir -p test1/test2
$ find test1 -type d
test1
test1/test2
$ find test1 -mindepth 1  -type d
test1/test2

The find /home/user/parentdir/* in AmourK’s answer is undesirable when there are a lot of files and it is overcomplicated.


ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "tfraaq" is started but not deployed

You are likely running into an integration bug between your maas server and Landscape, which will not be fixed.  :/

Please see the following for the official word on the Openstack "Autopilot" offering in the Landscape tool:

https://insights.ubuntu.com/2014/11/06/putting-your-openstack-on-autopilot/

Specifically, Here is the text from Canonical:

  Thanks for your interest in Ubuntu OpenStack. Canonical has sunsetted
  OpenStack Autopilot and replaced it with conjure-up. We welcome you to
  visit our OpenStack product page to find an Ubuntu OpenStack solution
  that meets your needs.


This should not be a concern. perf is a tool to handle CPU performance. The kernel is capable of automatically determining the sample rate without affecting the performance of the system. Here is a thread on this from the Arch forum.


To see the contents of one of the messages in the queue, try something like this: (obviously replacing the numeric filename with an actual one from your syslog)

$ sudo cat /var/spool/nullmailer/queue/1347323616.6506

Note that you have to use either sudo or be logged in as root due to permissions on the queue subdir and files.


I have lags when I'm deleting files from desktop with Xubuntu

According to this post on launchpad, this is a bug in gvfs and it was fixed in gvfs version >=1.23.1. Gvfs supported in Trusty Tahr 14.04 LTS is just 1.20.3 so still bugged, newer (non-LTS) releases of Ubuntu already have fixed version of gvfs included.

I am not sure if you can safely update just gvfs in 14.04.


Can't install php 5.4 on Ubuntu Server 16.04

PHP 5.4 security support has ended on 3. September 2015.  You should upgrade your script the latest supported PHP version.  At the time of writing this, the recommended version is at least PHP 5.6 that will be supported until 31. December 2018.

Running unsupported version of PHP is strongly discouraged as the obsolete version have or will have security vulnerabilities.  The aforementioned PPA is kept only for historic reasons and I will not produce any new builds of PHP 5.4 for any Ubuntu version.

You can still use it to install latest PHP 5.4 on Ubuntu 12.04 LTS, but again it's strongly discouraged to do so.  See my answer to similar request for PHP 4: Installing obsolete libapache-mod-php4


Deluge keeps giving problems no matter how hard I try

For your first problem, you write Linux with capital L (otherwise it won't work):
https://zordekai.blogspot.com/2019/08/deluge-form-riddle-what-answer-to-above.html
Since I don't have rep to comment, I answered to first question, so others can use the answer and maybe you can post the main question in their forums.


upstart starts python script but it behaves unexpectedly

upstart executes commands as root by default. But the user can be specified: How do I  start jobs as a non privileged user in Upstart?.

But the script was programmed with user specific variables and a dependency to a specific directory.

init.py had this line:

self.d_root = os.path.join(os.path.expanduser('~'),'Documents','records')

I changed it to this and it worked:

self.d_root = os.path.dirname(os.path.realpath(__file__))

But I think the proper fix is to add this line to the .conf file:

setuid = user


Some reason you're missing that executable. I have it on mine and according to dpkg -S, it is part of the lsb-release package.

ned@flanders:~$ dpkg -S `which lsb_release`
lsb-release: /usr/bin/lsb_release

What does your system say about that package?

ned@flanders:~$ apt-cache policy lsb-release
lsb-release:
  Installed: 4.0-0ubuntu20.3
  Candidate: 4.0-0ubuntu20.3
  Version table:
 *** 4.0-0ubuntu20.3 0
        500 http://ftp.utexas.edu/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.0-0ubuntu20 0
        500 http://ftp.utexas.edu/ubuntu/ precise/main amd64 Packages
ned@flanders:~$

You can install with sudo apt-get install lsb-release provided your apt sources are correct.