The file you need is /etc/default/grub and run sudo update-grub after you've made your changes.


I found the solution.  I had to reinstall the Realtek drivers after I updated my kernel.  So it seems when I updated my kernel from 5.8 to 5.9, I had to reinstall the drivers again.  Not sure what caused it, but it fixed it. Thanks for the help!
System:
  Host: plunder-MS-7C76 Kernel: 5.9.0-8.2-liquorix-amd64 x86_64 bits: 64
  Desktop: Gnome 3.36.4 Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Machine:
  Type: Desktop System: Micro-Star product: MS-7C76 v: 1.0
  serial: <superuser/root required>
  Mobo: Micro-Star model: MPG Z490M GAMING EDGE WIFI (MS-7C76) v: 1.0
  serial: <superuser/root required> BIOS: American Megatrends v: 2.20
  date: 07/23/2020
CPU:
  6-Core: Intel Core i5-10600K type: MT MCP speed: 4110 MHz
  min/max: 800/4901 MHz
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] driver: nvidia
  v: 450.80.02
  Display: x11 server: X.Org 1.20.8 driver: nvidia
  resolution: 1920x1080~60Hz
  OpenGL: renderer: GeForce RTX 2080 SUPER/PCIe/SSE2
  v: 4.6.0 NVIDIA 450.80.02
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi
  Device-2: Realtek RTL8125 2.5GbE driver: r8125
Drives:
  Local Storage: total: 2.03 TiB used: 517.78 GiB (24.9%)
Info:
  Processes: 384 Uptime: N/A Memory: 31.29 GiB used: 1.31 GiB (4.2%)
  Shell: bash inxi: 3.0.38


kernel 4.4.0-63 not working with wifi - PC freezes

Addressing the questions:

Can I expect that a future update will solve the problem, or am I stuck with kernel 4.4.0-62 for ever?
Is your advice, that I continue with kernel 62 and just accept the future updates, when it comes?

my experience is that this a recurrent issue coming up and being fixed in successive rounds of kernel releases. So my (experential) answer to both questions is yes.
To fall back comfortably on previous kernel versions that are dormant in your system, I suggest using the graphical front-end 'grub customizer' --- see https://askubuntu.com/a/885850/446253 for a how-to on the fly.


Installer misses a step and won't let me mount partition while installing ubuntu budgie 18.04.3

Ok so this was solved after doing two things:
 - My bootable usb was somehow corrupt (which is strange because when I did "check the disk for errors" none showed up). I used rufus to flash the image the first time but when I did it with etcher it was able to detect my SSD as a device but as a normal hard disk not an nvme drive
 - To solve the nvme drive problem, I went into my bios settings and changed SATA operator from RAID to AHCI and after applying those changes I was able to see the missing step in the installer and my SSD was detected as an nvme drive.

So in case of a new Dell laptop you might want to change your SATA operator (if you are doing a single boot I am not sure if windows would work after switching from RAID to AHCI) and then continue with the installation


Right click to add icon into unity 2d panel not working

You can't manually add items (e.g application launchers or widgets) to the Unity panel.


Cinnamon is broken after upgrade to 13.10

Create a new user and login using it and copy everything specially all the hidden .* config files from that new user home directory to your home directory. It will overwrite your old config files and cinnamon will work. You can remove then the new user account.


Permanently store addresses when using SSH

For SSH connections, you can create a user configuration file ~/.ssh/config and place the mappings there e.g.

Host server1
  Hostname      111.222.111.222

You can easily add other fields such as Port (for non-standard ports) and User (useful if your username on the remote system differs from that on the local system). See man ssh_config for full details.


Inaccessible Samba share with vscan-clamav

Look in your system log, you might see messages like this:

smbd_vfs_init: vfs_init_custom failed for vscan-clamav
vfs_init failed for service x

If so this may indicate that you don't have the vscan-clamav pluggable module on your system. If you have it, you should find it as a directory (or maybe a file?) at /usr/lib/samba or /usr/local/lib/samba. You need this module as well as running clamav.


Always gets permission denied after I pull to our server

If you have POSIX ACL enabled on this filesystem, you can use it to give access for user www-data:
setfacl -R -m u:www-data:rwX,d:u:www-data:rwX /var/www/xxxxx

The default entry will give access to files and directories created later.


For hardware decoding HEVC 10 bit video you can use mpv player with cuda.
Just install mpv player sudo apt install mpv and create configuration file in which you'll put one line, using this command echo "hwdec=cuda"  > ~/.config/mpv/mpv.conf

For browsers there are not any good working and stable solutions (same thing for AMD).
You need some sort of this: Chromium-VAAPI + VAAPI over VDPAU (vdpau-va-driver package).
And only fresh versions, because VP9 decoding has been added to VDPAU in July 2019

https://lists.freedesktop.org/archives/vdpau/2019-July/000442.html


XRDP To connect to Raspbian - Master session

This is tied to the bug in Chromium in which it can't be opened for more than one session at a time. You can use --user-dir flag to make different versions open, but the solution for me ended up to
pkill chrome
or
pkill chromium respectively
On whichever session I needed it on.


Right click extended menu on desktop not working fully. (20.04 unity)

This may be caused by the fact that really you have two file-managers - Nautilus (or Files) and Nemo.
The Nautilus is used by default for file browsing, while Nemo (actually nemo-desktop) controls the desktop area on the screen. Previously Nautilus had functionality for desktop area, but nowadays this functionality is removed.
So Nautilus and Nemo have two sets of different settings. It may be very hard to fix the inconsistency.
You can try to install the filemanager-actions and nemo-extension-fma packages to make action settings consistent.
But all this sounds like death of Unity.
As an alternative you may want to try switching to MATE DE with the Mutiny panel layout which tends to replace Unity:


Ubuntu is unbootable after upgrade to 18.04, can only access Windows 10. How can I reinstall Ubuntu without losing my files?

You need to acces to your Ubuntu user files from Windows. The problem is that natively Windows do not support EXT(N) filesystem, so you need a third-party software.

I recomend Linux Reader (I had problems with the most popular Ext2Read)

Linux Reader Window

There you can acces to your /home directory and save all your files selecting the "save" option:

Save

After that you can wipe the Ubuntu partition and do a clean install of Ubuntu 18.04. You better install it with a separated partition for your home directory so you don't have to do this again...


You can also completely remove everything by deleting .thunderbird folder from your home directory.

rm -rf ~/.thunderbird

Thunderbird will act like it was just installed.
If you open folder in Nautilus, it might not show up because it is hidden. You have to press CTRL + H to show hidden (starts with .) files and folders.


Is there any drawback to remove gnome-software and packagekit in Artful?

No drawback that I know of.
1st thing I do after every ubuntu installation is to remove dozens of bloatware packages, including those.
As for codecs, just install vlc and mplayer (or mpv) which play everything.


Ubuntu 17.10 window manager crashes on boot after upgrade: only openbox works

So things seemed to be really messed up.  I decided to burn a disk with Ubuntu 17.10 and re-install.  First I tried the option to copy files and keep my home directory.  This appeared to be failing.  There were some errors about partitions.  So then I rebooted, and chose to erase my current Ubuntu and install Ubunutu next to my Windows partition.  That worked.

Ubuntu 17.10 is running flawlessly now on my laptop.  One problem I ran into was the backup I made could not be restored by the backup program (deja dup I think).  So I needed restore from the command line using the technique described in the following post.

deja dup backup restore

Whatever you do, make sure you back up your data before you install Ubuntu 17.10!


Intel Graphics card problem with Kernel 4.10 and prime select crash

Open /etc/default/grub with your favorite editor . Replace   GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_rev_override=1"
Save and exit

Run the command:
Sudo update-grub


my drive mappings have all gone away for some reason - i need help to restore them I really want them the same

It looks like you have some zfs pools and a linux raid.  Try:
sudo zpool import

note the name of the pool(s), then for each pool use it as poolname in the following command
sudo zpool import poolname

This should get some of your filessystems back.  If you are still missing shares then let us know.


Use zip command to place in directory after zipping

To put the zip file in the correct directory:

Date=$(date +"%m-%d-%Y")
zip -r "/mnt/backups/backup.$Date" /home/folder/folder

One should avoid using all caps for shell variables.  The important system variables are all capitals and you don't want to accidentally overwrite one of them.  Thus, the above uses the mixed-case Date instead of DATE.

I would, as you suggested, .zip as the suffix.  This avoids possible confusion in the future.  Also, there is no need here to create a Date variable at all:

zip -r "/mnt/backups/backup.$(date +"%m-%d-%Y").zip" /home/folder/folder

Finally, dates in the month-day-year format do not sort properly.  The yyyy-mm-dd format will sort naturally in the right order.  The abbreviation for this common format is %F.  So:

zip -r "/mnt/backups/backup.$(date +"%F").zip" /home/folder/folder


Black Flash Player Screen in YouTube in Firefox on ubuntu 11.10

tried sudo apt-get install flashplugin-installer ?


Change Refresh Rate to 144Hz in Ubuntu 16.04 - "Configure crtc 0 failed" (Intel Graphics)

Response from ASUS:

  After consulting with our team we were advised that this would not be
  possible due to the integrated graphics on the notebook.

Closing this. If any of you are shopping for this laptop, note that it can't handle 144Hz. I'm looking at USB cards, but most likely may need to return this since 144Hz is apparently a must-have for me and my eyes and I didn't realize that!


The 64-bit version of Steam on the Steam website is currently not functioning correctly on 64-bit 16.04 LTS systems (login loop). However, like CelticWarrior said, the 32-bit version from the repository "multiverse" is perfectly functional and supported. Make sure you have the repository "multiverse" enabled, and then:

sudo apt-get install steam

or,

sudo apt install steam

Also, don't fret that you have a 32-bit version of Steam. Games that are 64-bit will be installed as such.

I don't recommend gaming on linux at the moment. Unless you're running a nVidia card, AMD and Intel OpenGL support is terrible and, in general, DirectX, under Windows, is a lower-level, faster, and better API. I dearly hope this changes with the introduction of Vulkan.

I would love to run games like CS:GO properly under linux (doesn't render fullscreen, ~20% fps hit, etc.), as well as future games that may utilize Vulkan. However, I don't see this at the moment. Stick to Windows for gaming. On a side note, it also has easier and more efficient support for gaming keyboards.


How can I delete encrypted files to recover HDD space?

You can probably do this with the Disks utility that comes with Ubuntu, but I find that installing GParted is much easier and more clear.  Maybe I am partial to it, but it just seems more human readable to me.

Anyway, go to the Ubuntu Software application and install GParted.  Once it finishes, run it.  If you don't see it available to run, just reboot and look again.  It asks for your password when you first start it up.  This is normal, but be careful not to make changes to your filesystem unless you mean to.

Once in GParted, make sure you hard drive is selected in the upper right.  It is usually /dev/sda or possibly /dev/sdb, or something similar.  Look for the right hard drive size you have installed.

In the bottom part of this program you should now see any partitions that are listed on that drive.  If you see anything that says crypt-luks or similar, it may be that encrypted partition you were talking about.  It is normal to see one for /boot, one for /, sometimes one for /home, and there may be one that is marked as swap space.  These are all normal.

If your previously encrypted volume doesn't show up here at all, but you notice some free space that should be used, then you should be able to resize your partition using this tool.  Just make sure you boot from a live CD or USB first so you don't have to mess with unmounting or turning off the swap partition.  It can get messy.

I personally would boot to the live CD/USB, kill ALL partitions on my target drive using GParted, then restart a fresh install using either full encryption or no encryption, whichever you prefer...and this time, let it finish. ;-)

Good luck!


Boot time over 20 minutes on a virtual server

Adding nousb to boot options is a workaround for this problem. It disables the whole USB subsystem during boot, hence, no delay.

I answered (from what you have written) a similar question here.


cant disable third-party repositories for upgrade

Remove all files from /etc/apt/sources.list.d:

mkdir ~/sources.list.d
sudo mv /etc/apt/sources.list.d ~/

Remove

sudo mv /etc/apt/sources.list ~/

Start software-properties-gtk

gksudo software-properties-gtk

Check the following properties (sorry for vivid in my screenshots). Thus, the file /etc/apt/sources.list is created again.

Install aptitude

sudo apt-get install aptitude

and run with

sudo aptitude install -f

and fix your problems.


To install LibreOffice Base, use Ubuntu Software Center. It works without problems. (If Ubuntu Software Center isn't installed, use Synaptic or Muon to get it.)


OK my problem is solved. It was something completely unrelated. I am going to list the solution for future reference for anybody that needs it.

I just had to press enter when the keyboard appeared, and once I got through language I pressed F6, and selected nomodset.
I will note that my native resolution (1920x1080) was not available but I am working on a solution. Thanks to carnendil for advice, even though it was not my solution.


How do I enable 1.5x scaling on a hidpi (4k) monitor on ubuntu 18.04.1lts?

I recently had Ubuntu restart in my 4K Window and Chrome oddly for the first time ever ... (perhaps conspiracy theory here ... beware! ....
had its' main body scaled but the top bar and tabs and ... well all the top stuff, were tiny.

So here is an easy fix, if you are comfortable with terminal.

The problem is Chrome does NOT scale WITH UBUNTU - ODDLY!  So it is PURELY a ...
google-chrome-stable (as is my Ubuntu chrome's version issue)
...

So the easy fix in terminal! (I am sure there is an easy GUI way too but this worked for me flawlessly)
Open Google's settings file.

sudo gedit /usr/share/applications/google-chrome.desktop

at the bottom is this line, "Exec=/usr/bin/google-chrome-stable --incognito"
I put a # in front of it to "Comment" it out, ...

"# Commented out by Mark Exec=/usr/bin/google-chrome-stable --incognito" (no quotes)

and I added this line.

Exec=/usr/bin/google-chrome-stable --force-device-scale-factor=100 %U

the 100 is the number in question to change its scaling.
200 worked and then I set it to 100 and it worked!  So what number is really best I don't know kinda weird ... but now fine  ... nonetheless!


Processor Virtualization support not getting detected

If you have made sure virtualisation is enabled in the BIOS and it still doesn't show up in the flags shown in /proc/cpuinfo, then it seems likely that your processor doesn't support virtualisation.

Only one of the three processors sharing the Core 2 Duo E7400 model number is listed as supporting VT-x, so chances are that you have one of the other versions.  The family, model and stepping values listed in /proc/cpuinfo should uniquely identify the processor, but I don't know they map to Intel's spec codes.  You could always check the top of the CPU, but that would require removing and reattaching the CPU fan.

It is possible that your BIOS shows the virtualisation disable option unconditionally, so it might not be evidence that your CPU supports VT-x.


Chrome on Ubuntu not playing sound from YouTube

i was having a similar problem. I ended up purging pulse audio and just sticking with alsaaudio. I got qas mixer to manage the sound card and settings and PNMixer for the tray from software center at this point sound was working again in vlc etc after setting default to analog mixing device (I dont use hdmi I out put through the card to a 5.1 system, if you use hdmi you might set defaults to digital mixing.)

Sound now worked everywhere.
If still issues try cutting /.asoundrc to another directory from the home folder and restarting. If no change go here
https://wiki.gentoo.org/wiki/ALSA#Soundcard_only_available_for_one_application
and see if there are any configurations that are wrong


How can I temporarily disable notifications in GNOME 3?

Try this to disbale it:

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled

to enable again:

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled /usr/share/dbus-1/services/org.freedesktop.Notifications.service


Stop application/pulse audio changing Bluetooth Profile when joining a call

Easy way
Install blueman and control bluetooth by own.
Disable autoswith via config
PulseAudio has bluetooth module policy that control audio profile:

Switch the card automatically between HSP/HFP and A2DP for headsets based on heuristics

You can disable this behaviour. Find out load-module module-bluetooth-policy line in file /etc/pulse/default.pa and replace by load-module module-bluetooth-policy auto_switch=0.


Run command one after the other from bash script

sudo su is a comment that spawns a new shell as the root user. The && means that bash waits until the previous comment finishes successfully before executing the next (the mkdir command).
However, due to the sudo su call, you are still in a root shell. When you then enter exit you would quit the root shell, and then you would drop back to your regular user shell and bash would execute the mkdir call, as your user instead of as root.
If you want to execute a single command as root, try sudo mkdir ./my_folder. That way you're explicitly telling sudo to run this one command as root, and not spawn a whole new shell.


Reinstall all packages removed on a certain day?

Yes, you can calm down.

This is a good example of a great time to use apt-get's --simulate flag. Test your removal before executing for real.

It's also a reminder that apt-get shows you a list of all proposed changes for your approval. Read the list carefully before hitting 'Y'.


Is there anyway I can use Mac OS 9 on Ubuntu?

Maybe this will be helpful: http://www.osnews.com/story/23321/Howto_MacOS_9_on_Ubuntu_Using_SheepShaver/


Setting null password locks me out of updates

In GRUB, choose recovery mode.
Drop to root prompt. Use passwd:

$ mount -o rw, remount /
 $ passwd <username>

Use this to revert back to default password. You can also set any password you want, but that is not advisable as Ubuntu uses the same password for a lot of stuff (like encyption, keyrings...).

So it's better to update passwords via the settings menu, unless you know what you're upto.


I believe Intel graphics drivers shipped with Ubuntu include support for Intel GMA 3150 - the support has been included in early 2010 or so. So there's no need to download anything from anywhere.


How do I remove or uninstall DirectDownloader from Ubuntu 11.10?

Since I only find a Windows version on that site, I assume you used wine to install it. You can try to use the wine uninstaller, by running (in a terminal emulator or in the run-dialogue - ALT+F2)

wine uninstaller

That should bring up a dialogue similar to the one used uninstall software in older versions of Windows. You should be able to uninstall the program that way. This will probably not remove the icons from the menus though, nevertheless they should stop working after uninstalling direcdownloader. For me, to remove the icons, it was enough to try to start direct downloader after uninstalling it. If that doesn't work for you, you can remove them manually. You can either use a program named alacarte (in the menus it's listed as Gnome-Main-Menu or something like that, if it's not installed, you can find it in software center by searching for alacarte.), or navigate to the hidden folder .local/share/applications in your home-directory and look for files named wine-Programs-DirectDownloader-DirectDownloader.desktop or similar and check the wine subdirectory.

If this however does not work for you and you are certain that you used wine to install directdownloader, you can try to delete all installed windows programs by deleting the hidden .wine-folder in you home directory. As said, this will remove all windows programs, so I'd only consider it a last resort, as long as any other windows-software additional to directdownloader is installed. Also, this will not remove the icons from the menus, you'll have to delete them manually (see above).

I must confess that I only tried this partially, for I'm not using the default desktop and therefore don't know how exactly it affects Ubuntu. If it also puts itself in autostart, the default directory for this would be the hidden .config/autostart-folder in your home directory.


How does a newer version of a package disappear from apt-get install?

ppa.launchpad.net means that this package was installed from a PPA.
Run that script the first one in the answer, then run the provided command on the second machine
EDIT :  I was able to dig the PPA using the link
http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu in the version table
This is an official toolchain test/prerelease repo, so yes it is safe to use
That you can add using
sudo add-apt-repository ppa:ubuntu-toolchain-r/test

Which will output :
You are about to add the following PPA:
 Toolchain test builds; see https://wiki.ubuntu.com/ToolChain

 More info: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
Press Enter to continue or Ctrl+C to cancel

After an sudo apt update you'll be able to use v.8.2


No application is registered as handling this file for dot files

I am also facing similar issue.

If you want to generate CFG you can use "-dot-cfg" to produce .dot file and then you can use dotty  to view the dotty files

http://manpages.ubuntu.com/manpages/trusty/man1/dotty.1.html


locate command finds a file's path, but the file does not exist in that path

It is possible that you had the Origin90SR2DVD.iso file in the location /home/david when the database file of locate (/var/lib/mlocate/mlocate.db) was updated last time by cron (or by yourself). As locate just for the file names in the database file (thats why it is fast) while searching, you can consider it's technique not live.

Although locate is showing the location of the file, it is very possible that the file is not present there (might be removed or moved to somewhere else).

You have two ways to be sure of whats going on:

You can update the locate database file by sudo updatedb and then run the same locate command.
Alternately, you can use find to do a live search. To look for the file in your home directory recursively:

find ~ -type f -iname 'Origin90SR2DVD.iso' -print -o -path ~/.gvfs -prune

-path ~/.gvfs -prune (thanks to Eliah Kagan) is used so that we do not descend into ~/.gvfs directory while searching. Otherwise we will get a distracting permission denied message, since the directory is owned by root. You can omit this (and see the message) by removing -print -o -path ~/.gvfs -prune.

You can also look for all possible places in the filesystem hierarchy. Here I have considered few places that can contain the file, it will be unusual if your file is found under any other directory.

sudo find /home /root /opt /usr/local /mnt -type f -iname 'Origin90SR2DVD.iso'

EDIT :

locate's database is updated by cron on a daily basis. In my system it is run at 6:25 AM everyday (check your's on /etc/crontab).

Actually anacron will run the cron job to ensure that if the computer is Off at that time, the job will be run after the computer is turned On next time. If anacron is not available, run-parts will execute the files (including mlocate) in /etc/cron.daily directory only at the mentioned time.


Setting up HybridGraphics on Dell xps 15z (L511z) Ubuntu 14.04

This is a bit late but I will still post this answer so that other people can see, since I spent a good 24 hours looking for the solution.

I have the exact same laptop and exact same problem. The full solution (for Fedora) can be found here: http://www.forum.fedoraforum.org/showthread.php?t=289685.

The most important thing is to realize that you need to get rid of the nomodeset option since that prevents ubuntu from loading your intel (or any other) drivers. It is necessary during installation but only hurts after that.

With that in mind, the solution is to edit the /etc/default/grub file by editing the GRUB_CMDLINE_LINUX variable to the following:

GRUB_CMDLINE_LINUX="acpi_osi=linux noapic nolapic i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1 pcie_aspm=force"

Some of the options may not be necessary but I am too tired to try to figure out what each one does.

Now you need to do sudo update-grub, restart, and then you can use your native resolution.


It resolved with the update of workstation Graphic-card driver via terminal.


Is there a way to package man pages with Quickly?

I believe there isn't, but it is most probably technically possible.

As this would require modifications in Quickly and probably a technical discussion, I'd recommend following up on the Quickly development list.


12.04 taking very long time while installing on VMware workstation 7.1.1

Canonical servers problem or something like this. There is nothing wrong with your laptop/desktop. I've got a similar problem while trying to install Ubuntu 12.04 - 12.04 stuck during installation "Processing triggers for update-notifier-common"

I think we need to wait a day (hope so) and let them fix the problem.

The only way to install Ubuntu now is to install it without having a internet connection active.

EDIT: Servers are on and everything is working perfectly.


Take a look in GNOME Settings -> Keyboard Shortcuts. Scroll down and look for "Switch Windows" and see what it's set to.

It may be "Disabled". Click the item and you'll be prompted for a keyboard press to set the correct combination. Finally click "Set" to save the choice.


The file is just /etc/apt/sources.list.  The file part is just referring to the file that it just mentions, which is /etc/apt/sources.list


From what I understand about packaging and digging through the source and configure options, this functionality does not work because the program was packaged as a Debian Free Software Guidelines (DFSG) compatible package. You know, the reason why you need to install the (k)ubuntu-restricted-extras meta packages.

The following lines in the file debian/rules in the source package seem to be the culprit here:

DEB_CONFIGURE_EXTRA_FLAGS := \
        --disable-audio-support \
        --disable-libxvidcore \
        --disable-libavformat \
        --disable-libmpeg3

Which literally disables the complete functionality you are looking for. I checked with a WEBM/VP8 and Theora video file without audio that I converted by myself with ffmpeg - doesn't work.

I could only find the dfsg packages on lauchpad and searching on the Internet for "ubuntu gimp-gap" packages only brought up the same results.

Your only choice at the moment is to repackage the package yourself (see the packaging guide). Throw out all the lines mentioned above and probably modify the first line of extern_libs/configure_options_ffmpeg.txt to look like this:

--enable-shared --enable-static --disable-mmx --enable-nonfree --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libxvid

Besides: Please update to the current LTS (12.04).

Bugs reported:

Extract video range feature is broken in Gimp-GAP

Mplayer based extraction does not work with Mplayer2 or mpv


From looking at your command and checking out the issue description you linked, I'm pretty sure it has to be

sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="/&panic=5 /' /etc/default/grub

to edit the GRUB configuration and add the panic=5 kernel option , followed by

sudo update-grub

to update the boot loader with the changed configuration.


A simple method to compile the latest LTS version of OpenSSL could be something like the following set of commands:

sudo apt-get install build-essential
mkdir $HOME/openssl_build && cd $HOME/openssl_build
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar xvf openssl-1.0.2l.tar.gz && cd openssl-1.0.2l
./config --prefix=/opt && make
sudo make install

This gives the following result on my own system:

andrew@ilium:~$ /opt/bin/openssl version
OpenSSL 1.0.2l  25 May 2017
andrew@ilium:~$

The installation to /opt will mean that there will be no clash with the system OpenSSL. As this is not integrated with the Ubuntu package management system the following one liner will need to be used to fully remove this installation:

sudo rm -rfv /opt/ssl /opt/include/openssl /opt/lib/engines \
             /opt/bin/{c_rehash,openssl} \
             /opt/lib/{libcrypto.a,libssl.a} \
             /opt/lib/pkgconfig/{libcrypto.pc,libssl.pc,openssl.pc}

Ready for your next upgraded or downgraded version of OpenSSL :).


On the EZoom page, it says that the option "Zoom Specific Level 1" sets the scale factor to 1.000, i.e., normal scale.

Thinking that this used GConf, I searched in gconf-editor, and found the key /apps/compiz/plugins/ezoom/allscreens/options/zoom_specific_1_key was set to "Disabled".  I changed this to <Super>1, and pressed super-1, and it worked!


The keylock indicator plugin for Xfce4 "shows the state of your keyboard LEDs: Caps, Scroll and Num Lock in Xfce panel."

Installation instructions for Xfce4 keylock indicator plugin:

(Note: This works on Xfce versions 4.6 and 4.8. Xfce 4.10 uses a different version of the libxfce4ui widget library and I haven't tested this plugin with 4.10).

EDIT: Tested and it works fine till Xfce versions 4.12.

Download the files from here.
Move to your download directory and unpack the files by running the following command:

sudo tar -jxf xfce4-kbdleds-plugin-0.0.6.tar.bz2

Next, change to the directory xfce4-kbdleds-plugin-0.0.6 and run these commands:

./configure --prefix=/usr
 make
sudo make install

Finally, add the plugin to your panel.

-- The Add New Items dialogue can be opened by right clicking on an empty space on the panel and selecting Add New Items. If you right click on a space occupied by a panel plugin, you can access Add New Items by going to Panel → Add New Items.

Source


Even didn't need a full script...
...but put it in the form of a script:

#!/bin/bash

file=$1

dbus-monitor "interface='org.freedesktop.Notifications'" |\
 grep --line-buffered "string" |\
 grep --line-buffered -e method -e ":" -e '""' -e urgency -e notify -v |\
 grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\
 grep --line-buffered -v '^\s*$' |\
 xargs -I '{}' echo {} >> $file

To run it

Copy the "script" into an empty file, save it as keep_log.sh
Run it with the logfile as argument with the command

/bin/bash /path/to/keep_log.sh /path/to/log.txt

The answer was retrieved from an earlier answer (not a dupe), in which this application of the method was mentioned as an example.

The answer I gave there, on its own turn, was based on this very nice answer, in which is explained that the method uses dbus-monitor to intercept the contents of notify-send. By editing the example there, we can make it write notify-send messages to a (log-) file.

Or, more elegant

...would be to add the date to the logfile, producing a logfile like:

---di 10 mei 2016 17:37:20 CEST---
SOme kind of a message!
---di 10 mei 2016 17:37:20 CEST---
The last message was misspelled so here i9s another one

In that case, the script would be:

#!/bin/bash

logfile=$1

dbus-monitor "interface='org.freedesktop.Notifications'" |\
grep --line-buffered "string" |\
grep --line-buffered -e method -e ":" -e '""' -e urgency -e notify -v |\
grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\
grep --line-buffered -v '^\s*$' |\
xargs -I '{}' \
printf "---$( date )---\n"{}"\n" >> $logfile


Freeze at the end of Ubuntu installation

what I would suggest is, before installing the OS in disk, use the option try with out installing and check whether the OS package works with out any issues. Try installing the OS with default settings rather than trying to create swap and other OS partitions manually. Also make sure the HDD partition is having minimum storage available for the installation.


Official installation instructions for the Zotero data server are (deliberately ?) close to non-existent.

Samuel Hassine successfully managed to set up the Zotero server after seemingly much efforts and a number of patches.

His code and installation instructions are available on GitHub.


Wireless Printer not found to set up printer when wireless printer is connected in 14.10 upgrade

Ok, here was what happened.  The new firewall setting hadn't set the wireless connection to the printer as trusted.  Once it was set to trusted, the printer showed up and set up. Thanks for the help.


Replace string with multiline file content

Another perl way:

perl -pe 's/SALT/`cat salt.txt`/e' wp-config.php > result.txt

The key here is the /e regexp option allowing us to use a perl command result as a substitution string.


64 Bit download or Mac (AMD) download for HP Win 7 laptop AMD 8 quad core processor? Thanks!

You should be able to run the 64 bit versions of Ubuntu - both 12.04 and 14.04 are long-term-support (lts).  My pavilion dv7-4263 did not work well under 14.04, and I reverted to 12.04 for it - I had trouble with the graphics (radeon) in the 14.04 release, which may have been fixed by now.


No Proprietary drivers after enabling LDAP login?

This sounds strange. Did you install the drivers to your "old" home? Since you are now using a new home (which is located on the NFS server), the old one is not active for your account at the moment.


Ubuntu 16.04, WIFI internet get lost when connect LAN wire

The problem occurs because both your interfaces are on the same subnet

 enp3s0    -> addr:192.168.2.111
 wlp2s0    -> addr:192.168.2.125

In network topology

--------      wifi        ----------
|      |------------------| router |
|  PC  |                  ----------
|      |----------| lan   --------
--------          |-------|  NAS |
                          --------

The solution will be to change the subnet on one link, wifi or lan.

If you do not use lan link except to access NAS, on lan card, do not use gateway setting. It's enough to set up IP and network mask.

When I say to change subnet I meat to change networks, not only subnet mask.

Example of setup

enp3s0
      ip: 192.168.3.111
      nm: 255.255.255.0
      gw: 192.168.3.1

wlp2s0
      ip: 192.168.2.125
      nm: 255.255.255.0

In this setup you must change ip address on router lan port to192.168.3.1


Why does my joystick keep acting like a mouse?

I managed to solve the problem here, it was simply I disable the control in the Xinput list, in case the commands I used were xinput list to see the ID of my controller and xinput disable *ID* to "disable it" and, although the control is "disabled", its buttons and analog function normally, but do not move the mouse anymore


Not everything is available in left vertical sidebar. You need to search for it and then pull it on the left vertical sidebar.
Then it will be available for some of them like Eclipse you can create it following this link


How to fix disk that is likely to fail soon?

No way. SMART is a hardware test. And Reallocated Sectors is one of the important. If the value is actually increasing, find a replacement disk now and leave this one for nonimportant data.
However, I have an HDD which has this parameter bad for years already, but the number of bad sectors is not increaing.


Installing of r-cran-rcmdr from official repository will not be enough.
It is outdated so is not fully-functional.
It wants to use the sem package, which currently exists only for R (≥ 3.5.0).
So you have to remove the r-cran-rcmdr package by
sudo apt-get remove r-cran-rcmdr

Then add newer repository for R 4.0 by commands below:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/"
sudo apt-get update
sudo apt-get dist-upgrade

Then install the R packages with build dependencies:
sudo apt-get install r-base-dev libcurl4-openssl-dev

Finally install R commander in R session
install.packages('Rcmdr')

as user package.
To run R commander use command below:
R_DEFAULT_PACKAGES=Rcmdr R

and confirm installation of remaining needed R packages.


How to Enable /etc/rc.local with Systemd 18.04 LTS

The error you're getting is:

Failed to execute command: Exec format error

That means systemd is trying to execute /etc/rc.local as an executable (for instance, a shell script), but that is failing since it appears the /etc/rc.local file is not a valid executable.

Please take a look at its contents. If it's a script, do you have a proper "shebang" line, such as #!/bin/sh or #!/bin/bash at the beginning?

Does the file have the "executable" bit set? (You can set it with chmod +x /etc/rc.local).

Please edit your answer and include the output of commands ls -l /etc/rc.local and file /etc/rc.local, which will help identify the exact issue you're having.

UPDATE: From your comment below, looks like you were missing the shebang line #!/bin/bash in your /etc/rc.local, adding that line fixed the problem.


command to Move or Copy 100 Thousands of text files from one folder to another folder based on particular selected date

This script typed in the terminal should be able to do what you want, although your exact time is still unknown. Run it from the directory with the files inquestion:

find -type f -ctime 0 -exec mv -t /new/dir/location/ {} +

Description:

find files that where created in the ctime and mv them to /new/dir/location

NOTE:

for ctime:

0  means past 24hrs
-1 means less than 24hrs
+1 means more than 24hrs
1  means 24hrs

{} + append values of find command to be acted on by mv command

find defaults to search in the current directory but you can always add a location like this: find /dir/to/search.


Yes, I've just uninstalled it like this:

sudo apt-get remove totem


What component is causing the monitor to go to sleep?

I found my answer. Based on these two questions

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

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

I created an /etc/X11/xorg.conf file like this:

Section "ServerFlags"
Option "blanktime" "0"
Option "standbytime" "0"
Option "suspendtime" "0"
Option "offtime" "0"
EndSection

That stopped the undesired power down of the monitor.


Compatibility of new Acer Aspire M3 with Nvidia GT 640M Kepler GPU with hybrid graphics?

I own an Acer Aspire M3 with Nvidia GT 640M up to now I was unable to activate the nvidia GPU, my Ubuntu 12.04 just use the integrated Intel graphic card:

Bumblebee does not work
Proprietary nvidia driver are not recommended

From the nvidia driver download page:

"... Some designs incorporating supported GPUs may not be compatible with the NVIDIA Linux driver: in particular, notebook and all-in-one desktop designs with switchable (hybrid) or Optimus graphics will not work if means to disable the integrated graphics in hardware are not available..."


I don't know about the gnome panel thing, but the no-menus thing  it a "feature" of unity.

Type

sudo apt-get remove appmenu-gtk

Then Log out and in. You should have menus in the window now.


Printer does not print, queue showing completed, can not correct setup

I added my user name to "lpadmin" and was able to delete the printer.


How to install driver for D-Link DWA-181 AC1300 Wifi USB adaptor?

I dont have this specific wifi module to test it out myself, but just building driver from source should work.
First install dependencies depending on your package manager this can be done on Debian/Ubuntu using apt:
sudo apt update && sudo apt upgrade
sudo apt install build-essential

Next unzip the downloaded folder, and unzip the file in there, and there should be a folder called driver with a driver tarball, with the name rtl88x2BU_WiFi_linux_v5.8.7.1_*.tar.gz, decompress in whatever fashion you see fit, I simply right clicked in dolphin and extracted, open the newly decompressed folder and open a terminal to this location.
Now run:
sudo make
sudo make install
sudo modprobe DWA_181

And your local Network Manager should pick up the wireless card from there.


toggle over tabs in terminal with mouse wheel in 20.04

This functionality was removed by GNOME developers.
I can confirm this issue and reported it already against 19.04, 19.10 and 20.04 LTS as bug 1807603 to launchpad.

Possible alternative - use MATE Terminal (sudo apt-get install mate-terminal) or switch to the MATE DE completely by sudo apt-get install ubuntu-mate-desktop^ as we can't predict what else is broken in the newest GNOME Shell.


VLC media player sound problems in 12.10

Go in to the Preferences and switch the Output Module to ALSA audio output.
Quit VLC & relaunch.
It worked ok  to me


That solution you posted isn't very robust, now you have two directories worth of binaries to maintain, one that isn't even under package control. A simple symlink: ln -s /usr/lib/xen-4.1 /usr/lib/xen would have sufficed, same thing for qemu.

Also, Serge Hallyn answered your build question in the launchpad bug

sudo apt-get install libxml2-dev libxml2-utils

Alternatively, you could install the updated libvirt package directly by using apt pinning.


How can I get ubuntu or apt to automatically install all updates without the Software Updater popup?

Some upgrades are automatic, whether you like it or not:

Snaps
Packages in the Ubuntu repositories' -security pocket

Some upgrades should NOT be automatically upgraded. An untested upgrade might break your system.

Packages in the Ubuntu repositories' -proposed pocket, -backports pocket, and testing PPAs

Non-Ubuntu repositories and PPAs that provide third-party packages that may conflict with the installed system.
This means that common applications like Chrome or Plex are poor candidates for automatic upgrades, since their compatibility is untested. Well, YOU are doing the testing.

This limits the number of safe upgrade sources to basically the Ubuntu repositories' -updates pocket. But that's still a lot. It includes most of the packages that you see whenever Ubuntu nags you to upgrade.

How to add -updates to Unattended Upgrades:
Edit line 14 of /etc/apt/apt.conf.d/50unattended-upgrades:
//      "${distro_id}:${distro_codename}-updates";

Uncomment the line by removing the // at the beginning of the line. Leave the rest.
Save your change. That's it. You're done.
No need restart, no need to reload anything.


Asus STRIX Claw mouse and Tactic Pro keyboard not working under Ubuntu 14.10

The kernel recompilation is not needed anymore for using both peripherals under Ubuntu 15.04 (Linux 3.19).

The keyboard now works out of the box in non-NKRO mode, with keys combinations fixed. It doesn't work at all when NKRO is turned on though (which is not too problematic since the standard mode is ok).

The mouse was not recognized until I updated its firmware to the latest version (1.09) available from Asus support; it now works properly without any system hack (do not attempt to do this under Wine: plug your mouse to some computer running Windows to flash it properly).


Firts, your platform must be in Secure Boot User Mode.

Do:

sudo mokutil --test-key MOK.der
# your cert should not be currently enrolled

sudo mokutil --import <your cert>
# mokutil should request pwd

sudo mokutil --test-key MOK.der
# your cert should be enrolled now

sudo mokutil --list-new
# your cert should be displayed

reboot

MokManager should kick in and ask you to confirm cert enrollment.


ubuntu 18.04 cannot connect to sennheiser pxc 550 via bluetooth

I've struggled with that a lot. I posted my solution on medium. Here it is:

I've owned PXC 550 headphone for a while. I tried to make them work via Bluetooth in my Ubuntu several times (spending a few hours each time). I‘ve read tons of stuff on the internet about it. I've tested it with a few BT adapters. I didn’t succeed though. Finally today I've managed it! And the solution was simple, just to buy a pluggable USB adapter. It came yesterday, I plugged it into the PC, did a few operations and now I’m enjoying it.

A lot of changes have been made on my system in the past, thus I don’t know what all needs to be done to make it run from scratch. Anyway, there are several steps:

download firmware and check system log for errors once the adapter is plugged in,
pair the device (headphones) with computer,
set up correct audio profile (high fidelity playback) and play.

This is how to download the firmware and place it in the right path:

wget https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd
sudo mkdir -p /lib/firmware/brcm
sudo mv fw-0a5c_21e8.hcd /lib/firmware/brcm/BCM20702A0-0a5c-21e8.hcd
sudo cp /lib/firmware/brcm/BCM20702A0-0a5c-21e8.hcd /lib/firmware/brcm/BCM20702A1-0a5c-21e8.hcd

Now once the adapter is plugged in, no error could be seen in system log

$ dmesg
[686344.270849] usb 3-6: new full-speed USB device number 21 using xhci_hcd
[686344.401001] usb 3-6: New USB device found, idVendor=0a5c, idProduct=21e8
[686344.401003] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[686344.401004] usb 3-6: Product: BCM20702A0
[686344.401006] usb 3-6: Manufacturer: Broadcom Corp
[686344.401007] usb 3-6: SerialNumber: 5CF3709399DA
[686344.508594] Bluetooth: hci0: BCM: chip id 63
[686344.524654] Bluetooth: hci0: BCM20702A
[686344.525617] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[686345.235615] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1338
[686345.251605] Bluetooth: hci0: Broadcom Bluetooth Device

Next step is pairing. I believe it could be done in GUI, but for me it was easier to do in in command line. Before pairing hold the headphones button for apx. 5 s.

$ bluetoothctl
...
[NEW] Device 00:16:94:17:F8:B6 PXC 550[bluetooth]# power on
Changing power on succeeded[bluetooth]# agent on
Agent registered[bluetooth]# default-agent
Default agent request successful[bluetooth]# scan on
Discovery started
...
[CHG] Device 00:16:94:17:F8:B6 Icon: audio-card
...
[bluetooth]# scan off
[bluetooth]# pair 00:16:94:17:F8:B6
Attempting to pair with 00:16:94:17:F8:B6
[CHG] Device 00:16:94:17:F8:B6 Modalias: bluetooth:v0082p0046d0106
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 1ddce62a-ecb1-4455-8153-0743c87aec9f
[CHG] Device 00:16:94:17:F8:B6 UUIDs: 63331358-23c1-11e5-b696-feff819cdc9f
Pairing successful

Now the headphones are paired. Just choose the quality:

And the output device

Enjoy!


How to remove "dpkg -l" line with "in" for unwanted i386 package on amd64 system?

What the Current State Is
Lines starting with in in the output of dpkg -l mean that a package is set to be installed, but not actually (yet) installed.
Assuming you're not installing the package right now, a command to uninstall it should set it to be uninstalled, preventing its installation and removing that line from the output of dpkg -l bash.
How to Fix It
One way to do that is to run: sudo apt-get remove bash:i386
But please make sure not to leave out the :i386. That identifies the package for removal as the 32-bit version of bash, which is the one you're saying you don't want and which is the one you probably don't need. You definitely do need bash for your architecture (amd64)--even if all users use a different interactive shell, many other packages in Ubuntu depend on it.
More details about the current situation, and the "remove" action:
The leading i means it's marked to be installed, so it does make sense to want to clear that line in the output of dpkg -l.
The purge action (as fkraiem suggested) should work fine too, though it's probably unnecessary (compared to remove). Purging a package consists of removal and also deletion of systemwide configuration files. The second letter for the package, in the output of dpkg -l, should be a c instead of an n if systemwide configuration files for the package existed.


How to install Master PDF Editor in Kubuntu 12.04 (64bit)

Well, then the best answer I could offer boils down to downloading the tarball file from master pdf editor website, unzipping it and then running the executable file from there. This boils down to the following steps in terminal:

wget http://code-industry.net/public/PDFEditor-1.7.91.x86_64.tar.gz
tar -xvzf PDFEditor-1.7.91.x86-64.tar.gz
cd /home/username/PDFEditor
./pdfeditor

If this fails, then I'm afraid I haven't the foggiest what I can say that will help you.


Cannot install Ubuntu on Asus X552E because of weird graphics

try to set your BIOS settings to default and try it again.
It looks like a GPU issue, that is true, but it can be bcs of Asus BIOS settings,
some turbo mode or similar. Report the progress!

EDIT: When you boot the Live CD, navigate to

System Settings->Software & Upgrades->Additional Drivers.

Wait few seconds to find your hardware and check for appropriate driver, install them and then try to run your installation. I never tried it, its only a hint but maybe it will work.


Okay in the amd changelog on the official download page it says:

  Resolved Issues:

  [387659] Fixes X crash when kill X server with Xserver 1.13 and above

So I downloaded and installed the newest version (13.11 beta) and it worked. I still have some issues with applications and the x-server crashing, but the driver installed correctly and the debs-build was successful.


EDIT:  A Better way, just use >> to append to the file.
Note my mistake it's "quit" not ".quit"

mysql probably needs a "quit" command to exit.  You might need to append that to the .sql file

#!/bin/bash
USER="user"
PASSWORD="password"
echo "User and Password Set."

db="dbName"
file=`date +%Y%m%d`.$db.sql
gunzip $file.gz
echo "DB File Unzipped"
echo "quit" >> $file    ####  append .quit command to end of file
echo "" >> $file         #### just to make sure there is a return at the end of the previous line
mysql -u $USER -p$PASSWORD < $file

yest= date -d "yesterday 13:00 " '+%Y%m%d'.$db.sql
rm -f $yest

echo Done


can't access SAMBA shares on UBUNTU-server from other computers

If you are able to ping the Ubuntu server, and still not able to map network drive from Windows follow this:

Just disconnect the LAN cable , connect to WLAN. Now type-in the IP-address/username(eg: //192.134.23.23/joe) into the explorer.
Mostly you should be able to connect. If yes, just copy the path to network map the drive.
Hope this works.
The problem should be with the server hostname mapping with ip-address.


Sounds like your shortcuts might be disabled.

Under the Edit menu, select Preferences, then go to the Shortcuts tab and make sure Enable shortcuts is selected:

Hope this helps!


I have a solution, but you will need an Ubuntu Live USB.

Boot with the live USB;
Open a terminal (Ctrl+Alt+T);
Run sudo gparted;
In GParted, click in the "GParted" tab, devices, and choose your USB stick (probably sdb);
I suppose your flash drive has only one partition. Right-click this partition, click "Resize" and shrink it about 500 MB. This will leave you with half a GB of unallocated space;
Right-click the new unallocated space and then click new. Create a new partition formatted as ext2!!! in your flash drive (formatting it as ext2 is VERY important);
Close GParted. Open a new terminal window and run sudo mount /dev/sdb2 /mnt (again, I suppose your flash drive is sdb);
Run sudo grub-install /dev/sda --root-directory=/mnt;
Reboot your computer. You will be dropped in the GRUB rescue prompt again. Run the following commands:

insmod ext2
set prefix=(hd1,msdos2)/boot/grub
insmod normal
insmod ntfs
insmod chain
set root=(hd0,msdos1)

I suppose Windows is in the first partition, change msdos1 to suit your case;

chainloader +1
boot

And Windows should boot. My mission ends here. Now you'll have to repair Windows's bootloader. One hint: look for "EasyBCD" on Google.


Run in a terminal

sudo tee /etc/modprobe.d/blacklist-acer.conf <<< "blacklist acer_wmi"

and reboot.


installing 32 bit libraries on ubuntu 14.04 64bit:errors

Try this:

sudo apt-get -f install
This should install any missing dependencies in your system.
If you are trying to install a package, you can also try adding --fix-missing to your installation command.


Is it possible to accelerate downloads in Synaptic Manager?

The method in the forum thread (tricking Synaptic by renaming apt-fast to apt-get and vice versa) will not work with Ubuntu, because our Synaptic does not use apt-get. I've verified this by quickly looking at the source code, and also by moving /usr/bin/apt-get elsewhere -- Synaptic still works fine. Synaptic does reuse bits of code from apt-get, and it does use the actual dpkg binaries to perform installation, configuration, etc., but it does not use the apt-get binary.
Alternatives

I would first recommend trying to find a fast, "networkically"-close mirror to try to max out speed. Please see the command-line method in this answer for a very reliable way to do so.

The second is to mark packages to install in Synaptic and then generate a download script from the File menu. This is a bash script with multiple wget -c entries, one for each deb file. Simply use sed -i -e 's/wget -c/axel/g' scriptname to use axel instead, run the script in an empty directory, and then do sudo dpkg -i *.deb.


Should I comment out these lines in the default rsnapshot configuration?

If you're absolutely sure which folder's you want, then yes, comment those lines out and add the specific folders you need.

The first folder will backup everything in the /home folder, including your data and any other user's data who has an account on your system.

The second will backup all your PC's "settings".

The last folder is for any local packages you've installed.

Remove them and replace them with specific folders to trim down the amount that you're backing up each iteration of rsnapshot.


I had similar problem once.  The NTFS partition was mounted read-only.  The problem I had was that windows somehow mark the partition 'dirty'.  Boot back to the windows and did a check disk and that fixed it.


I can't say exactly what is wrong but I can point you in some direction. I (as well as some otrher people) have had problems because of bad Xorg configuration. Look at this example to give you some clue.


How do I change tty / text console resolution without rebooting?

Running sudo dpkg-reconfigure console-setup changes the font size of all your consoles without rebooting.


Error executing sudo in chroot environmet

Could you please try to see what all commands you may execute using sudo.

sudo -l -U YOUR_USERNAME

In case you have enough privileges try to execute.

chmod u+s /usr/bin/sudo

Hope it helps.


Is there any tool to convert pdf to ppt/odp slides in Linux/ Ubuntu offline?

Here's my take on it from personal experience.  It's a two-step process - convert the PDF into single jpegs, then import the jpegs into LibreOffice Impress.  It works best if the pages in the PDF are landscape already.

1.)  Make sure the package imagemagick is installed (apt install imagemagick).  Put your source PDF into a directory.  Then in the terminal, navigate to that directory and run:

convert filename.pdf filename.jpg

This will spit out a jpeg of each page in the PDF.  Move the PDF out of the directory to make step 2 easier.

2.)  Open Impress.  Go to Slide menu, Slide Layout -> Blank.  This will remove the "Click to add title" and stuff.  Then go to Insert -> Media -> Photo Album.  Click add.  Navigate to the directory with all your jpegs.  Select all the jpegs (if you removed the PDF from the directory in step 1, just press CTRL + A to select all of them).  Click Open.  The next options depend on what the pages in the original PDF looked like - if they were landscape, you can probably choose Fill Screen, but you'll have to see what works best for your case.


Login Screen Stuck as Desktop Background After Sign On

Its just a simple solution but confusing problem LOL

Here's the solution:-

Open ubuntu-tweak.

Then go to Desktop icons in the Desktop section found under the Tweaks tab.

Make sure "Show desktop icons" is ON.

Done!

The problem can be understood if one could take a closer look at the last screen shot. There, under "Show desktop icons" it is clearly mentioned:-

  Note: switch off this option will make the desktop unclickable

Since I had switched it OFF (as it is said above)my desktop was unclickable and as its ON now everything is fine!


Access Windows Server 2008R2 Remote Desktop Service RD Web Access RemoteApp from UBUNTU 14.04

I faced something similar in recent past in my office.

The IT Admin of my office tried something called WinConn (RemoteApp Manager). The application is build for Quantal (12.10) not sure about yours.

I think its worth a try.


Yes, GNU find can do it:

  -user uname

    File is owned by user uname (numeric user ID allowed).

  -perm -mode

    All of the permission bits mode are set for the file.   Symbolic
              modes  are accepted in this form, and this is usually the way in
              which you would want to use them.  You must specify 'u', 'g'  or
              'o'  if  you use a symbolic mode.   See the EXAMPLES section for
              some illustrative examples.

So, you want:

find /path/to/directory -user root -perm -u+rwx


User that does not use password to login needs it to run a command

That the user can log in without providing a password, does not mean that the user does not have a password. It only means that the system does not require it, to let them in.

The answer to your last question is: No, there is no default password.

If you have another user on the same system, who knows their password and has sudo permissions, then they can change the password for the user who forgot theirs. Otherwise, you should proceed with a password recovery procedure, one of which is described in this post: Psychocats - How to reset your password in Ubuntu.

There is also mention of recovery by dropping to single user mode in the Ubuntu Community Documentation - Lost Password


Can't use Windows after installing Ubuntu

from syg00 at http://www.linuxquestions.org/

  From the grub prompt you can enter the commands from your grub.conf.
  Amend as appropriate, and hit enter after each line. Don't know that
  you can run fixmbr from Windows, but this should get you there.

   root(hd0,0) <-- se this fits your needs (e.g., hd0,0 is the first partition of the primary master hard disk, hd3,1 is the second partition of the secondary slave hard disk)
   makeactive
   chainloader + 1
   boot


NGINX different configurations for sub domains

I have resolved the issue and it is no longer present


Using Gnome-Shell themes for Unity possible?

Most of the elements will work, I would recommend downloading "My Unity" to allow you to easily change the parts of the themes that you want to change. It will also allow you to customise other Unity setting easily, additionally it will come with some themes already installed.

Some of the indicator apps will have unusual icon when you change the theme(classic-menu is one I know about) but as I said above most will work.


I solved a very similar problem by running (as user):

chmod 777 ~/.ICEauthority
sudo dpkg --configure -a

Hope it helps. To find this solution I used information found <here>.


Try these:

sudo apt-get dist-upgrade
sudo update-manager -d

Update manager will open, and click upgrade.


How can I force gpg to use gpg-agent over seahorse (gnome-keyring-daemon) in Ubuntu 12.04 LTS?

As per this answer:

sudo mv /etc/xdg/autostart/gnome-keyring-gpg.desktop /etc/xdg/autostart/gnome-keyring-gpg.desktop.disabled

This worked for me on Ubuntu 13.04.  It disables the gpg part of gnome keyring.


Black Screen after system update Ubuntu 13.10

type control + alt + F1
see if you could login in the shell.
you can look at logs and ckeck if any problems occurs.

if you don`t know how.
type

dmesg

or

dmesg | more

or try to repair the packages

apt-get update && apt-get upgrade

I recommand to backup the /home folder and reinstall the ubuntu,you will waste tons of time repairing the packages.


How do I clear the screen command history scroll-back?

I've this solution(?):

$ printf "\n%.0s" {1..100000}

PS: bigger upper bound is safer!


Cant get past the ubuntu splash screen after upgrading to 12.04

Pls run your system in "Recovery mode" and fix any broken issues and reboot and see whether it works or not.I think you have problem with the video driver and it might not installed properly as you said u had error message during upgrade.Do a back up with live media before going further so u r safe from losing data.


Automatically check for updates, but don't open Update Manager window

You can change this behaviour with dconf Editor. Install the package dconf-tools. Start dconf Editor from Dash, navigate to com -> ubuntu -> update-notifier and untick auto-launch.


To enter your user's Desktop directory, run cd ~/Desktop (the ~ is expanded into your user's home directory). If your Desktop directory doesn't exist, you can create it via mkdir ~/Desktop.


There is no support for conditional loading  of configurations.  Instead, you might find that you can solve your problem either using metrics (so that traffic always prefers the ethernet device if present) or, if the ethernet and wifi are both on the same network, by using a bridge between the two interfaces with the ethernet device set as primary.


search for files and delete from the whole system file

To delete all backup files ending in ~ from the whole system, you can use:

sudo find / -type f -name '*~' -exec rm -f {} \;

Warning: I suggest you to run first find / -type f -name '*~' to see exactly what you will delete.


How to give loop variable i in the cut command?

You don't need to export every variable, only do it if you are spawning an external process that needs to find your variables in its environment.

bash uses square brackets for evaluating test expressions, and round parentheses for evaluating arithmetic expressions:

while (( i < b ))
do
    file=$(cut -f$i -d' ' <<< "$a")
    echo $file
    (( i += 1 ))
done

Additionally, you don't need to keep calling cut, you can store the words of "$a" in an array:

words=( $a )    # the variable is specifically *not* quoted here
for file in "${words[@]}"; do
    do_something_with $file
done


Bring back `BackSpace` Keyboard Shortcuts on nautilus and thunar

For Firefox and Nautilus: You can use Alt+←  to go back instead of Backspace.

For nautilus 3.6 to bring  backspace functionality  you need to add this:

 (gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")

under

~/.config/nautilus/accels

And then restart nautilus by

nautilus -q or killall nautilus

In Thunar you have to add

(gtk_accel_path "<Actions>/ThunarWindow/open-parent" "BackSpace")

to

~/.config/Thunar/accels.scm


The problem you are facing is caused by incorrect linking.

The easiest solution is to simply install it from a ppa.

The racket devs maintain this ppa and it is kept up to date.

To install it run

sudo add-apt-repository ppa:plt/racket
sudo apt-get update
sudo apt-get install racket

Remove any files you created when trying to build from source and racket will be installed.


How to install skype 4 without internet?

Open a terminal with Ctrl+Alt+T
Go to the folder where you downloaded the .deb file, most probably in Downloads, with cd Downloads
Type sudo dpkg -i skype-ubuntu and press Tab to automatically fill in the full filename.
Press Enter, and your password when asked, and Skype should be installed.

If you are missing the status icon in the panel, please see this question for a solution.

How do I get the Skype status icon back? (on panel/tray)


unable to copy the following message shows: "no such file or directory"

In my experience, the best way to prevent typos is to only type the first few letters of the first folder in the path, and press Tab to auto-complete the rest of the folder's name. I then do the same thing with the next folder, and the next folder, et cetera, until I'm able to auto-complete the the file at the end of the path. It's a lot quicker than typing the path manually, and it's far less likely to result in errors.
Honestly, I don't know how CLI users used to get along without tab-completion.


Can't Install Guest Additions for WIndows XP x64 on Virtual Box [ I am running 12.10]

I recently tried this too, had the same problem and was looking for an answer and came across this. Found the solution randomly myself.
When i opened Windows Explorer/My Computer I saw "VirtualBox Guest Additions" as a Disc in the drive. I guess auto play for disc's isn't enabled for WinXP x64. Double clicking it ran the installation


Bash Script Will not Print out to Console

As @Glenn Jackman already mentioned, you redirect everything with exec to the logfile.

If you want to log and print it on stdout, you could use a substitution.

exec 1> >(tee -a /var/log/s3extractLog.log) 2>&1

Or, since you are using bash

exec &> >(tee -a var/log/s3extractLog.log)


Desire to use ALC892 multiple independent outputs with Ubuntu 20.04

This worked for me with ALC892 on a MSI B450-Pro, under Debian 10. It should work with ubuntu as well.
In /etc/modprobe.d/hda-jack-retask.conf put the following content:
options snd-hda-intel power_save=0 patch=hda-hint.fw,hda-hint.fw,hda-hint.fw,hda-hint.fw

the power_save option is up to you, you can skip it if you're not hearing any clicks or weird fade-ins when the sound starts
In /lib/firmware/hda-hint.fw put the following content:
[codec]
0x10ec0892 0x14629b86 0

[hint]
add_jack_modes = yes
indep_hp = yes

These are documented in the linux kernel hd audio notes. You can probably skip add_jack_modes too, but I found it useful.
Next, in alsamixer, you will have more options, specifically the "Independent HP" option (HP stands for HeadPhones). aplay -l should now show two outputs.
Also, for recording from both inputs (front mic and line in), you'll have to enable them, in alsamixer press F4 to go to the capture page, then hit space when selecting Capture and Capture 1 to enable them.


How can I disable SSH password authentication on 15.04

Two near identical config files:

/etc/ssh/ssh_config

and

/etc/ssh/sshd_config

For the SSH server, put the setting in the sshd config file, NOT the ssh config file.


How to get rid off - sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins

From the comments, it looks like anything run with sudo will fail because of this. Does it work if you use pkexec instead? For example:

pkexec chmod go-w /usr/lib/sudo/sudoers.so

This should remove write permissions from "group" and "other", and leave the "user" (owner) permission intact.

Edit: Whoops, wrote sudo in the command by mistake. Fixed now.


howto create script to customize configuration of Ubuntu/Linux

nano is an interactive text editor - IMHO it isn't helpful for creating file content programatically.

For your first case, I'd suggest using a here document:

cat << \EOF > /usr/local/bin/loadFlysoftPOS
#!/bin/bash

until $(pidof mysqld)
do
  sleep 1
done
cd $HOME/Dokumente/dist/ && java -jar POSv2.jar > log.txt
EOF

chmod +x /usr/local/bin/loadFlysoftPOS

For the second case, a simple echo should do:

echo 'SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a700", SYMLINK+="usb/sewoo1", GROUP="lp"' > /etc/udev/rules.d/10-local.rules

Put the whole thing in a file with its own shebang:

File: myscript.sh

#!/bin/sh

cat << \EOF > /usr/local/bin/loadFlysoftPOS
#!/bin/bash

until $(pidof mysqld)
do
  sleep 1
done
cd $HOME/Dokumente/dist/ && java -jar POSv2.jar > log.txt
EOF

chmod +x /usr/local/bin/loadFlysoftPOS

echo 'SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a700", SYMLINK+="usb/sewoo1", GROUP="lp"' > /etc/udev/rules.d/10-local.rules

Make it executable, and run it with sudo

chmod +x myscript.sh
sudo ./myscript.sh


No sound in (connected) Bluetooth earphones 20.04

Just solved the same problem you're having. All I had to do was installing pulseaudio through apt, with:
sudo apt install pulseaudio

Then you'll need to go to the Configuration tab and set the Bluetooth headphone profile to High Fidelity Audio Playback (A2DP Sink).

now, if you want to, you can go to the tab Output devices and set the fallback to be your headphone. do this by clicking in the green sign of check:

you should also make sure that to set the output of the apps you want to your phone, in the tab Playback:

notice that, my earphone, bw-fye7, is selected as output device for firefox audio. If you want, for example, to listen to firefox audio in your headphone, to popcorn-time audio in your device connected to HDMI and to some video in your laptop, you'll just need to select the right output device for each app.


You could do a chroot into the partition with missing kernel:

sudo mkdir /mnt/ubuntu
sudo mount /dev/ubuntuPartitionWithMissingKernel /mnt/ubuntu
sudo mount -t proc proc /mnt/ubuntu/proc
sudo mount -t sysfs sys /mnt/ubuntu/sys
sudo mount -t devtmpfs /dev /mnt/ubuntu/dev
sudo mount -t devpts /dev/pts /mnt/ubuntu/dev/pts
sudo cp -L /etc/resolv.conf /mnt/ubuntu/etc/resolv.conf
sudo chroot /mnt/ubuntu /bin/bash
source /etc/profile

Then you can install the missing kernel via apt-get. (I'm not sure if you have to update the bootloader configuration file afterwards or if it is done automatically after installing the kernel. If not run sudo update-grub).

You don't have to chroot from your honeycomb, you can use a Ubuntu LiveCD for that.

If you aren't able to install the kernel via apt-get you can copy the initrd.img file and the vmlinuz file from a LiveCD in /boot to /boot in your partition without kernel and update the bootloader, this way it'll at least boot.


Impossible to uninstall certain apps in ubuntu phone?

I am not sure, but I try to share what I know about the 'also installed' secion:

If you swipe up in apps view, you can manage your scopes, not you apps. You can select there which scopes are placed to the right of your apps view.

Remember a scope is something like a search engine, which can be accessed by swiping from right to left in apps view.
Many scopes can be installed over the appsStore. But some scopes are installed together with other apps.

I guess, if you deinstall all apps, there would be no further scope listed in the 'also installed' section.


Lenovo P50 Workstation w/ Thinkpad Workstation Doc

I had the exact same problem (same laptop, same Ubuntu version).
I solved it following instructions from a website I dont remember anymore.
According to my last shell commands, I did the following:

sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily
sudo apt-get update
sudo apt-get install oem-audio-hda-daily-lts-vivid-dkms

The following was added to my /etc/modprobe.d/alsa-base.conf (don't know if its needed):

options snd-hda-intel probe_mask=1 model=auto
options snd-hda-intel model=pch position_fix=1


Would it be possible to install a 64-bit OS instead, or is that not supported by your hardware? In Linux, 64-bit is "normal" and most programs are designed for 64-bit first.


How can I install the latest apt package for Cockpit with apt?

Thanks to the explanation by @muru, it turned out, that Ubuntu freezes all software at the time of the release, so no updates on the main channel.

However, in 18.04 backports are enabled by default, so it is easy to install any further updates without any change to default apt settings:

 sudo apt install cockpit/bionic-backports


How to recover deleted partition table information

First of all, stop using the disk immediately. And don't do anything to it unless you are sure it will result in your disk's partition recovery, otherwise you may harm your data when attempting to recover it.

After that, all the testdisk related posts are useful for the specific case, as you mention. And for your specific case please have a look at this video by Amzertech in Youtube, which explains exactly what to do when deleting a partition the way you did.

http://www.youtube.com/watch?v=EncqYP1ijFg

If everything is fine and you have not done anything harmful to your disk, there are good chances for you to bring the whole partition back with ease, after which I will suggest you to back up everything, format the disk again and place the data inside of it, in order to avoid crossed clusters and these things. Which reminds me that if your hard disk drive is having crossed clusters or data you may lose a lot of information.

Give testdisk a chance and please inform if you succeed on it by commenting on the answers to your question.

Good luck!


Is there a command-line alternative to usb-creator-gtk?

Identify device (/dev/xxx) and unmount device
Device should be in FAT32 if not:

sudo mkdosfs -n 'USB-LABEL' -I /dev/xxx -F 32

Mount the iso file and copy content to USB device:

sudo mkdir /media/iso
sudo mount -o loop /path/to/ubuntu.iso /media/iso
cp -a /media/iso/. /USBMOUNTPOINT/

Make the device bootable:

sudo apt-get install syslinux mtools
syslinux -s /dev/sdd1

Rename the isolinux directory to syslinux and copy config:

mv /media/xxx/isolinux /media/xxx/syslinux
mv /media/xxx/syslinux/isolinux.cfg /media/xxx/syslinux/syslinux.cfg

Reboot your pc and change the boot-order in bios to USB. Now your ubuntu usb flash drive will booted up and you can install it.


how to decrypt an ordinary folder (not home, nor partition, nor .Private)

The answer was to use the exact same line of command. But !
Also to remember all the parameters passed at the first mount...

Select cipher:
 1) aes: blocksize = 16; min keysize = 16; max keysize = 32
 etc.

Select key bytes:
 1) 16
 etc.

Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]: y
Filename Encryption Key (FNEK) Signature [abcdefcbaa123456]:

and the passphrase of course


No need to look far, good old Rhythmbox does it! And Banshee now does it too! See: Does Banshee support Last.FM iPod scrobbling?


Some Linux distributions (distros) are more "conservative" or "prudent" than others and prefer to use more stable versions of packages, meaning you won't be able to download the latest versions through the standard repositories.

If you want the latest version of some softwares, you'll have to use alternative repositories by installing a Personal Package Archive (PPA) on your Ubuntu distro.

For instance, If you want to use the latest version of LibreOffice, you'll have to install this PPA:

https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

Be careful to install only trusted PPA, coming from reliable sources (see Are "PPA's" safe to add to my system, and what are some "red flags" to watch out for?).

To install a PPA, you can:

add a line to the sources.list file in /etc/apt. For LibreOffice, it's deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu wily main
on a terminal, type sudo add-apt-repository ppa:libreoffice/ppa


Since you haven't listed the verbose output, I can't be certain, but it looks like it is not accepting input traffic as a default.

Your settings are being applied by the ufw service, you can see more info with ufw status, or full iptables output of the filter table with iptables -vnL --line-numbers.

There is also ip6tables for ipv6 related rules.

You can see what ports your computing is listening on with ss -nlptu

You can use nmap from another computer to test your firewall rules, for example nmap -Pn -A <ip_address>


Unable to Boot from USB after installing Ubuntu 17.10

Download an amd64 version of Ubuntu and try to re-write the iso to a USB. When the USB finishes writing plug it in and spam f8 or f12 to get to boot options where you can select a USB and boot into it. C:


Running a php script in apache webserver

Hi this what I have done and I have got success with your Idea.

here this is what I have done ,

script.php

<html>
<body>
<?php
echo " welcome "

?>
</body>
</html>

clickhere.html

<html><body><form action="script.php" method="post">
name<input type="text name="fname"">
<input type="submit">
</form>
</body></html>

I have placed that code with sudo gedit and written that code and saved at the location of /var/www/.

Then I have opened my browser ,and typed in my browser as 127.0.0.1/clickhere.html

then I have got it

and then I have clicked at that button


1) Create *.desktop file in /usr/share/applications/

gksudo gedit /usr/share/applications/NAME OF LAUNCHER.desktop

2) Paste below text

[Desktop Entry]
Type=Application
Terminal=true
Icon=ICON
Name=NAME OF LAUNCHER
Exec=killall nautilus && UBUNTU_MENUPROXY= nautilus

3) Change ICON to your icon path.

4) Change NAME OF LAUNCHER to the name you want.

5) Save the file and exit.

6) This will create a launcher in the dash. Click on the dash and search for the launcher name. Then drag the launcher to the bar to pin it.

Hope this helps,

Leinardo


Is it possible to install a newer version of cloud-init on Lucid?

I think you should ask Amazon to upgrade your instance, instead of backporting something that might have unexpected problems. That said you can build from sources if you have the correct packages. Sadly, the following guide wouldn't help you since python 2.7, a package that cloud-init depends to, is not available in lucid and compiling it from sources and installing it, will break your system. Is advisable to upgrade your server installation instead. The guide below would work if not for the python2.7 dependency:

Before starting:

Remember that this guide won't work. This is the procedure how to build cloud-init from sources. We need couple of build dependencies that are shared along all the packages:

sudo apt-get install dpkg-dev build-essentials cdbs debhelper po-debconf pyflakes pylint python-nose

Continue.

Build dependency problems:

All but one package that cloud-init depends to build is included in the repositories. Luckily there isn't a dependency hell behind it, since only needs python to be built:

mkdir ~/build && cd ~/build
wget http://archive.ubuntu.com/ubuntu/pool/main/m/mocker/mocker_1.0-0ubuntu3.dsc http://archive.ubuntu.com/ubuntu/pool/main/m/mocker/mocker_1.0.orig.tar.gz http://archive.ubuntu.com/ubuntu/pool/main/m/mocker/mocker_1.0-0ubuntu3.debian.tar.gz
dpkg-source -x mocker_1.0-0ubuntu3.dsc
cd mocker*
dpkg-buildpackage -us -uc -nc

Now you have a nice debfile in the parent directory. You can install it just calling:

sudo dpkg -i ../python-mocker_1.0-*.deb

Next

Building cloud-init

This is easy:

cd ~/build
wget http://archive.ubuntu.com/ubuntu/pool/main/c/cloud-init/cloud-init_0.6.3-0ubuntu1.dsc http://archive.ubuntu.com/ubuntu/pool/main/c/cloud-init/cloud-init_0.6.3.orig.tar.gz http://archive.ubuntu.com/ubuntu/pool/main/c/cloud-init/cloud-init_0.6.3-0ubuntu1.debian.tar.gz
dpkg-source -x cloud-init_0.6.3-0ubuntu1.dsc
cd cloud-init*
dpkg-buildpackage -us -uc -nc

Again, we got a nice deb file in the parent directory:

sudo dpkg -i ../cloud-init*

Done... or so I would like to say.


Found a solution. Installed Mobile Media Converter which use ffmpeg and mencoder to do conversions. It also has a nice GUI. Thanks for the help.


Best Ubuntu Version for my chromebook (closed)

Unity has the best software pack probably. So if it runs fine stick with that. Though Linux Mint may be better(not technically Canonical). Linux Mint is probably faster and more Windows like.


Ubuntu, how to start a program without using the terminal

If you know the executable name, all you have to do is press Alt + F2, then type the executable.


Internet Text & Ubuntu Menu Text Color variegated - hard to read

As described here https://askubuntu.com/a/606583/448007, the problem seems not to appear by using the old UXA hardware acceleration for for the Intel graphic cards.

Edit the following section of the /etc/X11/xorg.conf file such that AccelMethod is set to "uxa" or create the file if it does not yet exist:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

Reboot or restart X.

The problem went away for me


The "Connect to Server..." option in the Places menu (Gnome2) can connect over SSH. I know in it, there's an option to create a bookmark to the location. I don't know if it will solve your timeout issue (I always just use the terminal for SSH stuff), but it should save you the steps to open the window.


How to know the usage of the command before I download through command

There is an Ubuntu website that has exactly that purpose. It's called Ubuntu Apps Directory. Just visit the Ubuntu Apps Directory website, and type the name of the app you want more information about in the search box next to where it says Search for an app. Then you'll get a fairly complete description of the app and also usually one or more screenshots. The screenshots start off small-sized, you can click on a screenshot to enlarge it to fullscreen.


Ubuntu 18.04 won't start due to a clock error related to windows being run on the same disc

At the (initramfs) prompt, type:

fsck -f /dev/sda5

And that should fix your problem.

Have you been powering off your computer using the shutdown command, or by pressing and holding the power button? Use the shutdown command.


Make command not working for installing shairport

The tutorial in your link said:

Shairport has several prerequisites that need to be installed first.
This is a single instruction to install them all:
pi@raspberrypi ~ $ sudo apt-get install git libao-dev libssl-dev
libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl
avahi-utils libmodule-build-perl

But the shairport INSTALL.md file says:
Debian/Ubuntu:

sudo apt-get install build-essential libssl-dev
libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl
libwww-perl avahi-utils pkg-config

So, you can try to install all dependencies for shairport with:

sudo apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config

Then you can compile shairport.


Can't log in after upgrading kernel to 3.16

It's never a good thing to try and mix kernels from other versions of Ubuntu; it's not even something I would try to do: I would just upgrade to that version... (and getting kernels from another version is not supported here neither).

Therefore, just restore the system backup you took before you tried to do this...

Oh?  Right!  You don't have a system back-up!  :-( Well, read the above link and start making system back-ups from now on.

To back out of the current mess, reboot Ubuntu into a previous kernel by pressing Shift while booting, boot the second-newest kernel you have on your system, install synaptic:

sudo apt-get install synaptic

and then run it, delete the 3.16 linux image and headers and reboot again.


Windows 10 bootloader missing in GRUB menu over night

so i wiped my SSD. re installed latest ubuntu 20.04 LTS. windows boot-loader re-appeared in GRUB menu. after installing all new Ubuntu updates, restarting, windows boot-loader disappears again. and once entering Ubuntu GUI and terminal, using DISKS, sudo so prober....no longer finds 2nd NVMe SSD with (OEM) pre-installed windows pro. it is not only unmounted, it can not be mounted with any procedures i have found. wiped disk in diskpart windows COMMAND PROMT. AGAIN reinstalled Ubuntu and perfectly mounts my SSD's with windows bootloader INCLUDED in GRUB menu as i wanted. so until i find a solution, i will not be updating or installing Ubuntu upgrades. i just want a bios free, smooth transition between OS's (on different drives) using the pretty GRUB menu. not sure what else to do. ive tried multiple re-installs and countless procedures on the forums with no luck. something in the newest upgrade is causing this.


Installing canon LBP5000 laserjet printer

I am using:

Ubuntu version 11.04
A Canon LBP500 connected via the network

When I followed Guide: https://help.ubuntu.com/community/CanonCaptDrv190 I got my printer working, but captstatusui (showing printer status in a GUI) gave a bufferoverflow.

When using script: http://radu.cotescu.com/how-to-install-canon-lbp-printers-in-ubuntu printing and captstatusui worked perfectly, but after a while my Update Manager complained I had a partial finished install and removed the drivers again. Maybe something to do with not specifying a correct package repository?

Anyhow, I made a copy of the working captstatusui binary, let the update manager remove the drivers installed via the script of Radu Cotestcu. Now I have the drivers installed according the first Guide, and use them in combination with the copied version of captstatusui.

Maybe not that elegant, but it works for me


Is it possible to setup a root like user for global read only access?

It might not be the easiest or best way, but you could:

Make the user a part of the disks group isn't required, but seems like the right thing to do
Chroot to an HFS+ partition required because linux filesystems don't support different permissions on links
Link the raw disk /dev/sda or whatever in to the chroot with read only permissions
Bootstrap your code from there.

I'm not aware of an OOTB way to do what you're asking.


You can try another driver. Connect to the internet and run

sudo apt-get install firmware-b43-installer

If you already installed it, you do not need to do it again. Switch to another driver by

sudo modprobe -r brcmsmac bcma
sudo modprobe b43

and test the Wi-Fi. Do not reboot! And do not forget to disable your wired connection when you test the wireless.


How to create a installation Ubuntu flash drive

Burn out your Ubuntu iso image to your flashdrive
Disable secure boot in BIOS if enabled
Insert it into your laptop's USB port
Turn on your laptop and boot from your flashdrive
Select Try Ubuntu without installing
Check if everything is detected and working: wi-fi, ethernet, sound, video, hdd, ssd, etc.
If everything is working, than you could install Ubuntu on your laptop


Keyboard shortcuts don't work on Ubuntu 18.04 with Unity

Edit / tldr:

This ppa fixes this bug:

sudo add-apt-repository ppa:unity7maintainers/unity7-desktop
sudo apt-get update
reboot

The following script toggles the commands plugin automatically:

#!/bin/bash
export DISPLAY=:0
activeplugins=$(dconf read /org/compiz/profiles/unity/plugins/core/active-plugins)
found=$(echo "$activeplugins" | grep commands)
echo "$found"
if [ -z "$found" ] ; then
    activeplugins=$(echo "$activeplugins" | sed -r "s/animation', /animation', 'commands', /")
else
    activeplugins=$(echo "$activeplugins" | sed -r "s/'commands', //" | sed -r "s/, 'commands'//")
fi
echo "$activeplugins"
dconf write /org/compiz/profiles/unity/plugins/core/active-plugins "$activeplugins"

You can add this script to your startup applications to execute it automatically at login. However if you lock your screen then unlock it, your custom keyboard shortcuts won't work again.

To fix this you must listen for lock/unlock events as described here and add this script into the unlock section of that script, eg after echo "Screen unlocked"

Also note that the order of the active plugins is important: I inserted the 'commands' plugin after 'animation' which was enabled for me. If 'animation' is not enabled for you, then it must be inserted after the first active plugin when 'commands' is in its usual position.


You can remove it completely with the following command.

sudo apt-get --purge remove zsh

If zsh was your default shell (see How to check which shell am I using? and What is default shell for terminal?), Do Not forget to change it to any other shell before purging, e.g. to bash like this with root access.

chsh -s /bin/bash YOUR_USERNAME

Or below with your login user.

chsh -s /bin/bash


Restoring files to upgraded Ubuntu version using Deja Dup

Theoretically, yes, this should work just fine. You can restore individual files or restore your entire backup.

For individual files:

Browse to the folder containing the file you lost.
Click File ▸ Restore Missing Files….
When the Restore dialog appears, it will scan for files that are in the backup but no longer in the folder.
When you see the file you want to restore appear, select it and click Forward.
Review your selections and click Restore.

To restore the entire backup, use the backups GUI and select restore and then follow the instructions there.

If you pay attention during your install, you can leave your home directory untouched with the upgrade or install in place options.

If you're looking to do a super fresh and clean install, back up your home folder directly to an external drive ( just to be safe ) and then you can do an "erase and install" and if for some reason you cant get the deja dup backup to work, you have an extra set.... Always better to be safe than sorry when it comes to sensitive data.


Acer ASPIRE 4745, ubuntu 14.04 LTS 32 bit

Try opening a terminal and typing:

synclient VertEdgeScroll=1
synclient HorizEdgeScroll=1

and see if that helps...

To make this change permanent, go to a terminal and type: gksudo gedit, type on the first line: #!/bin/sh and on the second and third line, copy-paste the above lines.

Save the file under /usr/local/bin/MakeScrollWork.sh and type in a terminal:

sudo chmod a+xr /usr/local/bin/MakeScrollWork.sh

Then type in the dash Startup Applications, click Add and type in the "Command" field: /usr/local/bin/MakeScrollWork.sh.   In "Name" and "Comment" you can put anything you want that will make you remember in the future what this was all about...  ;)

Click a final Add to put it into the list and verify that the check box is selected.

Log out and log in to test.


Samba issue with sharing directories on NTFS/FAT32

Eventually, that may be a firewall issue. If I got you right, the samba server is running on the same PC as the virtualized windows. Dependent on the network setup of VirtualBox, the virtualized windows probably is considered "local" by the samba server.

But when trying to get access from the second PC (office laptop), this PC surely is not considered local by the samba server. My advice would be to turn off the firewall on the samba server for a minute (just for testing). To my regrets, I can't tell you how to do this because I am writing my firewall rule sets by hand and have never managed the firewall by GUI applications, but it should not be a big problem.

If you are wondering: Firewalls could very well be the case that you get a login prompt, but can't access the data. Login and accessing data are different actions from the SMB protocol's point of view which may run on different ports and exchange data in both directions.

It may even be the case that the laptop's firewall is the root of the evil.

One more possibility: In the samba configuration, there is a simple access management. For example, you can determine what IP is allowed to access on a per-share basis or globally. It may be the case that you explicitely have to allow access for non-local IP addresses; I just can't remember at the moment.

I still have an additional idea, but would like you to do the tests I have mentioned above first (turn off firewalls on the laptop and the samba box, make IP ACLs in samba configuration explicitely giving access to the laptop's IP).

Cheers,

Binarus


The best way to get all your files is to just install the Ubuntu One client as normal.

However, if you're unable to do that for some reason, you can use u1ftp as a stopgap. Download from Launchpad; u1ftp is explained by James Henstridge here and there are some demonstration screencasts and descriptions here. It works on pretty much every desktop platform (Ubuntu, Mac, Windows, Fedora, Suse, etc), and it makes Ubuntu One available over FTP to the computer you're on, so you can access U1 directly as a network drive in Nautilus or Windows Explorer or Coda or by mounting it as a drive, and it connects securely to Ubuntu One via the U1 files API and SSL.


Problems after moving from Windows to Ubuntu

Resolved, HW fault, there was a short in one of the USB ports.


How do I get vimeo videos to play properly?

Try this:

sudo mkdir /etc/adobe
echo "OverrideGPUValidation=true" > ~/mms.cfg
sudo mv ~/mms.cfg /etc/adobe/

It will force Flash Player to bypass its GPU validity checks.

Make sure you have the latest driver for your graphics card.

Source: http://blogs.adobe.com/penguinswf/2008/08/secrets_of_the_mmscfg_file_1.html


Is there any stable fork of BURG available for Raring?

It has been compiled 25 weeks ago for the last time. So the newest version is  1.98+20100623-2.3 (2013-03-27). (Yes, I know you asked for stable ;) )

The PPA for this is ...

ppa:n-muench/burg

Command line installation:

sudo add-apt-repository ppa:n-muench/burg
sudo apt-get update
sudo apt-get install burg burg-themes
sudo update-burg

Or by editing your sources list:

deb http://ppa.launchpad.net/n-muench/burg/ubuntu raring main
deb-src http://ppa.launchpad.net/n-muench/burg/ubuntu raring main

The actual software for this PPA and 13.04 can be found here: http://ppa.launchpad.net/n-muench/burg/ubuntu/dists/raring/


I suggest:

awk -F 'ABCD' '{print $1 FS "."}' file

Output:

171212 16082784       6264 XXX     xxxxxxxx Transaction XXXXX abend ABCD.

FS contains your delimiter "ABCD". "ABCD" is a regex.


The answer to this was provided in the comments.

Probably the best approach is :

1) File a bug report.

2) Restore what you can using "MusicBrainz Picard"

3) Manually restore with last.fm

  If you have a Last.fm account (and a little bit of free time), you may be able to use the Last.fm Fingerprint extension for Banshee to clean up the songs that Picard didn't fix.


"System is running in low-graphics mode", /dev/sdax partition full. How to delete content?

You can find what is using all your space with the disk usage command du. I like to run it with sort and look at just the largest directories and files on the disk. It can take a while to run.

$ sudo du -kxa / | sort -nr | head

This will output sizes in kibibytes and file or directory names. You can then decide if you want to delete them. If none of these are good candidates to delete, change the head command to less so you can page through the output.

150598100       /
97791212        /home
96381468        /home/jrwren
76534812        /home/jrwren/things
28889860        /Photos
25209808        /home/jrwren/things/stuff
10724580        /Videos
10535196        /home/jrwren/things/stuff
8751528 /home/jrwren/pan/nmf
8555364 /Photos/2008

So now I know that /home/jrwren/things is 76GB and I can look into that directory for files to remove. Maybe I'll look into the 25GB stuff directory first.


Is it possible to convert an isz to an ISO image?

Solved by running ultraiso in wine

Links.

http://en.wikipedia.org/wiki/.isz
http://ubuntuforums.org/showthread.php?t=465785
http://ubuntuforums.org/showthread.php?t=1197625
http://www.ezbsystems.com/ultraiso/


How can I safely shutdown/reboot/logout KDE from the command line?

Note that this answer was written in 2010 for KDE 4. It may not apply to modern systems.
For kde4:
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1

The three integer parameters are the confirm, sdtype and sdmode arguments to KWorkSpace::requestShutDown. Their values are explained at the top of the page. Since the page has disappeared, here are the values (still present in a cache).
enum ShutdownConfirm {
  ShutdownConfirmDefault = -1,
  ShutdownConfirmNo = 0,
  ShutdownConfirmYes = 1
}

ShutdownConfirmDefault:
Obey the user's confirmation setting.
ShutdownConfirmNo:
Don't confirm, shutdown without asking.
ShutdownConfirmYes:
Always confirm, ask even if the user turned it off.

enum ShutdownMode {
  ShutdownModeDefault = -1,
  ShutdownModeSchedule = 0,
  ShutdownModeTryNow = 1,
  ShutdownModeForceNow = 2,
  ShutdownModeInteractive = 3
}

ShutdownModeDefault:
Select previous mode or the default if it's the first time.
ShutdownModeSchedule:
Schedule a shutdown (halt or reboot) for the time all active sessions have exited.
ShutdownModeTryNow:
Shut down, if no sessions are active.
Otherwise do nothing.
ShutdownModeForceNow:
Force shutdown.
Kill any possibly active sessions.
ShutdownModeInteractive:
Pop up a dialog asking the user what to do if sessions are still active.

enum ShutdownType {
  ShutdownTypeDefault = -1,
  ShutdownTypeNone = 0,
  ShutdownTypeReboot = 1,
  ShutdownTypeHalt = 2,
  ShutdownTypeLogout = 3
}

ShutdownTypeDefault:
Select previous action or the default if it's the first time.
ShutdownTypeNone:
Only log out.
ShutdownTypeReboot:
Log out and reboot the machine.
ShutdownTypeHalt:
Log out and halt the machine.
ShutdownTypeLogout:
Temporary brain damage.
Don't use. Same as ShutdownTypeNone


Ubuntu 18.04 imagemagick does not contain imagemagick binaries

Imagemagick works for me in Ubuntu 18.04 LTS. Please notice, that it is the name of the program package to be installed, but the programs to be executed have other names, for example convert, mogrify, display.

See man convert, man mogrify, man display, and some tutorial about Imagemagick, for example

Examples of ImageMagick Usage