Why do I have gnome settings on unity desktop?

In Ubuntu 13.10, Unity/Gnome are using same control panel gnome-control-center, You can check which logos you have in: /usr/share/gnome-control-center/ui/. Then check from which package is coming from, example:

$ dpkg -S  /usr/share/gnome-control-center/ui/UbuntuLogo.png
gnome-control-center-data: /usr/share/gnome-control-center/ui/UbuntuLogo.png

Try reinstall it:

sudo apt-get --reinstall install gnome-control-center gnome-control-center-data

In 14.04, unity-control-center was forked from gnome-control-center, See
LSB shows different version than Control Center


Can I rearrange the messaging menu list?

Well, I found an easy way.

Open Dconf Editor, go to com > canonical > indicator > messages. You can change the order of applications there or even remove something.

Then, you should restart unity to changes take effect. So simply logout and login again, or press Alt+F2 and run unity --replace. The result is this:

Notice: If you disable all the online accounts associated with Empathy, the settings will be reset to the previous state; so to keep current arrangement, always keep at least one account enabled.


Installing and ds4drv emulator and python?

I assume you've downloaded it from the GitHub project. If not, doesn't matter. We can use the recommended install method, straight from that page:

Stable release
Installing the latest release is simple by using pip:
$ sudo pip install ds4drv

Now, before we can do this, we need to set up some things. Fortunately, this is easy. Just run all of the below commands to install the prerequisite packages and binaries (pip):
sudo apt-get install python-setuptools python-dev build-essential
sudo easy_install pip

Once you're done, run the commands specified on the GitHub page. You will be able to launch DS4DRV from the command line by just running ds4drv.


Unable to run docker-machine despite trying to add path

I would move your existing directory out of the way and re-install per the instructions.    The instructions on the docker page will create the executable in /usr/local/bin/docker-machine, so this conflicts with the structure you have now.

sudo mv /usr/local/bin/docker-machine{,.old} # move dir to docker-machine.old

change to root, and install via curl (the command here is copied verbatim from https://github.com/docker/machine/releases):

sudo -s
curl -L https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \
  chmod +x /usr/local/bin/docker-machine


How can I fix a blurry icon in the Unity dash?

If you use Thunderbird, there is a chance that it has inserted a low resolution firefox.png file in your ${HOME}/.thunderbird directory, that is used by Dash. To search if this is the case, open a terminal and run:

cd ${HOME}/.thunderbird
find | grep "firefox.png"

If you find the file, delete it and restart Firefox.


How to inspect localhost from my smartphone?

if you just want to access your localhost then, setup a web server like apache and then just go to the local ip of your computer from your smartphone.

install apache with sudo apt-get install apache2.
now put some HTML files in /var/www/
Go to your local-ip of the computer from your smartphone. (you might need to add the file ending to the address like 192.168.0.100/MyWebsite.html)

If you want to access it from the Internet, then you need a domain name, and a domain service to host it at.


laptop running relatively hot playing media

Audacious is not reach in features but is not light. People see it as lightweight because they compare it with  heavy bloatware like Amarok and Rhythbox. But I find that Aqualung or Quod Libet are lighter than Audacious.(Try Qmmp if you want an even smaller one or some of the basic ones like Open Cubic to see if  your problem remains.)

What I really recommend is DeaDBeef. How to install see here in my blog. It looks like that.

Your expression "even cooler than Windows" struck me : UBUNTU is meant to be THAT too. If it is not, or not always, it might be that your computer (like mine) is not ready for the new Gnome/Unity desktop environment. DO you use that? I find it bloated. See this article.


in which location cronjob for root can be set

If you want to search for a pattern in all system crontab files you can run:

grep -e <PATTERN> /etc/crontab /etc/cron.d/*

If you want to search the crontab file of the current user use:

crontab -l | grep -e <PATTERN>

If you want to search the crontab file of a different user use:

sudo crontab -u <USERNAME> -l | grep -e <PATTERN>

If you want to search system and per-user crontab files you can join the two, e. g.:

crontab -l | grep -e <PATTERN> /etc/crontab /etc/cron.d/* -

(- tells grep to read from standard input in addition to other listed files.)


Evolution failed to send email using Google on gnome online accounts

I do sudo apt-get upgrade and now it works


Dropbox Fails To Start With "VerificationError: importing pylinux..."

Open a terminal using Ctrl+Alt+T keyboard shortcuts and run the following commands:

sudo rm -rf /var/lib/dropbox/.dropbox-dist
rm -rf ~/.dropbox-dist
dropbox start -i

This will remove the downloaded Dropbox binaries and re-download them. Once the download is finished, Dropbox should start normally again.

Be careful when dealing with rm -rf.


Is there a way to set size for maximized windows in Unity?

I am not sure but if you want to maximize your window with specific size(width/height) like mac then it not possible usually. But i have a solution for your unity panel and browser problem.
I hope you mention that when you maximized your browser then unity panel doesn't auto hide instantly. To solve this problem open compiz setting manager, go to unity section.

Increase Edge Reveal time, and select Hide launcher as auto hide. These option will quickly hide  your unity panel but will take time to reveal. Unity panel will hide instantly when it is not in use.


It was a bad idea to manually add this to the file.

If you install Chrome from a deb downloaded from Google, it adds the correct entry.

The wrong part is https. Change it to http, and all should work.

The correct entry, that is automatially set is:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

It works now.


Not found error when running a script with `sh`

Have you tried sh ./shell.sh instead of sh shell.sh ?
(for security reasons, the current directory . is NEVER in the PATH varable)

Also the first line in your script #!/bin/bash is only needed if the script is run by itself,
like ./shell.sh  (don't forget to do chmod a+x shell.sh in that case)

Finally the sh command invokes the dash shell, not the bash shell, so it would be wise to invoke bash scripts like  bash ./shell.sh instead of sh ./shell.sh

Take care with line endings:
Bash does not accept \r\n (CRLF) as line endings (which is windows style).
Only \n (LF) is permitted.


How to stop email report from Cron  (hourly)

Just add below to /etc/crontab

MAILTO=""

to stop crontab from sending email totally edit /etc/sysconfig/crond and add this CRONDARGS='-m off'.
Save and restart crond.


Updating UFW (uncomplicated Firewall) doesn't affect existing connections

if the connection is already on when you update the firewall, your connection is Established and you probably have a rule to allow Established and Related connections. This rule is necessary to allow answers from IPs you connect to.

After updating the firewall, you have to drop the connection or restart network or interface to drop the connection and loose the Established status.


snap version of 7zip GUI cannot view or edit a file stored in a ZIP archive

As you and steeldriver pointed out, you are trying to use the snap version of p7zip. Snap packages were created with a few goals in mind, and one of the important ones was increased security. Because of this, snap packages are usually containerized, meaning that they are isolated from the rest of the system, so they have limited access to your personal files and other programs installed.

The default package manager that comes with ubuntu, called file-roller (archive manager), can open 7z files without a problem, as long as you have the required tools installed. There are also many other alternatives, like engrampa, xarchiver, etc.

To make sure you have the required tools to open 7zip files open the terminal and type sudo apt install p7zip-full. It is probably already installed, but it is better to guarantee. If you would also like to add support for rar files, you can add unar to the end of the first command, so it would be like: sudo apt install p7zip-full unar.

After making sure it is installed, you can simply double click on your .7z, and the default file manager will be able to use it without a problem. When you try to open a file directly from it, it will use the default program to open said file. They will be temporarily placed at your cache folder, that is hidden by default. The path is /home/USER/.cache/

Gnome applications are becoming a bit different from what many users are used to, in an attempt to become more beginner friendly and simplify things. If you dislike the design and aesthetics of the default archive manager, let me know and I can recommend you different ones.


Broke xauth, stuck in login loop, no $DISPLAY env set

As suggested by steeldriver, the solution was to deleted the messed up ~/.Xauthority file. After doing that and rebooting, everything went back to normal.


DVDR drive note recognized using 152d:2338 JM20337 Hi-Speed USB

I installed k3b , that installed some more drivers I guess and it gets recognized.

sudo apt-get install k3b

I did install these as well :

sudo apt-get install cdftools cdtool


Help needed. Tips for organizing disk space for Win10 and Ubuntu 14.04

You can access FAT32, NTFS and, with extra packages, even exFAT file systems (mostly) transparently from Ubuntu through the file and disk manager.

Accessing ext2/3/4 file systems from Windows is very finicky, but possible.

So, yes, it's possible to share data on a partition between Ubuntu and Windows.


ubiquity automatic install stops at keyboard layout chooser

I have a Swiss German keyboard and it works well with this lines in the preseed file:

keyboard-configuration keyboard-configuration/layout select Swiss
keyboard-configuration keyboard-configuration/unsupported_layout boolean true
keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true
keyboard-configuration keyboard-configuration/variantcode string German


Dependency for gcc-7-locales is not resolving despite installing cpp-7

Open the terminal and type:

sudo apt install gcc-7-base gcc-7 cpp-7 gcc-7-locales # install dependencies of gcc-7-locales


I have just one big partition with windows loader in it... how to install Ubuntu alongside windows in that case?

You will need to shrink the volume of sda2 to allow space to "install along side Windows". Then you will have the option to install as you wanted, or you can "do something else" and create your own swap, and "/" root partition and install that way.


ALT-F1
logon as user
sudo bash
rm .Xauthority
ALT-F7 back on Xwindows, then login again.


How to install and run a precompiled package on ubuntu 16.04

Is it an executable file?If so then run the command like ./terracoin-qt
If it says no permission then try to run chmod a+x


Installed WebCamStudio doesn't open in my ubuntu 12.04 LTS

I have installed it successfully with this;

sudo add-apt-repository "deb http://ppa.launchpad.net/webcamstudio/webcamstudio-dailybuilds/ubuntu precise main"

sudo apt-get update

sudo apt-get install webcamstudio


Ubuntu 16.04 LTS - How to stop Unity menu from showing on console login screens and RDP

What I understood is that you want to access the menu's settings and disable auto-hide, so it does not collapse with your Desktop shortcuts.

You have to open Settings > Appearance > click on Behavior tab:

Then, in order to disable menu auto-hiding, click on:

This will make your menu stay in one place but it will occupy some space of your screen. Atleast, it won't be annoying you.


Ubuntu 13.10: stuck at installing system step

I thought I had the same problem.  I reached the 'Installing System' step, and then the progress bar did not move for a long time, maybe 20 minutes at least.  Then I left the screen and came back about an hour later, and it was displaying a 'Installation Complete' message.

So maybe try again, and leave it running at that step even if it looks frozen.


Internet connection problem - Aspire-V5-591G

Well, my only suggestion is to start over from scratch.

At the top of the screen you will either see two arrow pointing in different directions, or an icon that looks like a pie slice. Right click on that to expose the menu.

At the bottom of the menu click on 'Edit Connections'. You should get a dialog box right in the middle that lists all connections. Click on each one individually and then click on 'Delete'.

Once all the connections have been deleted, in the same dialog box click on 'Add'. You will presented with another dialog box that has a line item 'Ethernet'. Click on 'Create'.

You will then be presented with another dialog box with multiple tabs. Click on the tab that says IPv4 Settings. It will then display a dialog that should say 'Automatic DHCP'. If it does not then use the drop down to set it and then click on 'Save'.

Reboot the OS and see if you have connectivity.

This is my only suggestion since I am not that familiar with networks. If you have a weird network card then a driver might be the problem, but other than that I have no suggestions.

Good luck.


Try to install grub again. This can be done using a live Ubuntu on a USB disk. After loging  into live Ubuntu run this:

 sudo grub-install --boot-directory=/media/pathToYourUbuntuParition sda


switching to eth0 helped me fix this installation. I think it only accepts eth0 as the network interface.


You don't need a GUI for the usages you describe.  You definitely don't need X or GNOME or anything like that.  I recommend that you enable an SSH server on your Ubuntu box by typing sudo apt-get install openssh-server.

Then, install PuTTY on your Windows box Link.  With this configuration you can remote into your server from your windows box.

If you absolutely need X access, you can configure PuTTY to forward X to your Windows machine, but you'll need to install an X server like Xming for this to work Link


Communication between Oracle Virtualhost Ubuntu's

by default VirtualBox Networking [Settings|Network] uses a "NAT Adapter". This virtual adapter goes directly from the VM to the PC's network card without being visible to the local machine or other VMs.

What you want to do is either A) used a "Bridged Adapter" which will set the VM to look like a NEW DEVICE on your local network and request a new DHCP IP address for it just like another computer. Option B) is to use the "Host-Only Adapter" which creates a virtual network between your VMs and the Host that is localized only to the Host computer.

You should look up these topics in the manual. This is just a brief glimpse of the features.


What do I have to do to have a program I downloaded show up in "Search your computer and online resources"?

You want to create a .desktop file.

This can be done manually as described here.

Alternatively, it should be enough for most applications to run them and then right-click on their launcher icon. The appearing context menu should offer an option Lock to launcher or Add to Dash or similar.

Chose that and Ubuntu will try to automatically create an appropriate .desktop file that will make your application show up in the Dash. You may unlock it from the launcher again if you want to, it will remain in the Dash anyway.


How to generate SSH v2 key for ubuntu one

Ok, I figured it out. The key needs to be 4096 bits so the command is:

ssh-keygen -t rsa -b 4096


Installing drivers for internet connectivity

I am not sure that you necessarily need to do this, it depends on what network interface you are trying to install.

However assuming it is a wireless card and that you really do require the windows drivers you may find what you need to know on the ndiswrapper page of the Community Ubuntu Documentation.


After the BIOS screen, hold down shift and then select the second option. Then chose Drop to root shell or similar (I forget precisely) and when it opens, run the command

sudo lightdm

or

startx.


Reinstall of 14.04 after somehow changing mbr to gpt

After discussions in the comments...

You do/did have a GPT disk. The GPT has a built in protective MBR for compatibility.

I just looks like the boot flag may have disappeared from sda1. Use gparted to add that flag back. If the fstab that you posted came from sda5, then it's wrong... reinstall Ubuntu into sda5, and tell it that you've got /home in sda7, and it should put in a valid fstab, and reinstall grub so that you can dual-boot again.

Report back. Cheers, Al


Have you solved it yet? There seems to be numerous simliar questions on askUbuntu.
The problems usually happen due to drivers ( I had the same issue with my nvidia)

For example:

Here:http://ubuntuforums.org/showthread.php?t=1772710
And here: Blank screen after ATI video card installation on Ubuntu 11.10 amd64


troubles with dual booting windows 10 and ubuntu 16.04

Most of the modern machines come with UEFI replacing the BIOS integration to initiate boot an add some extra features (Check on wiki-page for details) , Ubuntu or any other linux explicitly requires a primary partition to boot.

Having a Windows10 already installed would be having UEFI enabled obviously. In such case if you install Ubuntu and MBR is selected as Harddisk's first location, that won't help to get your linux to boot.

A workaround is to totally disable the UEFI support and enable the Legacy support only from BIOS. After you need to install Windows & Ubuntu again so that they just use MBR, same like old school method. In this way you'll have Ubuntu's GRUB sitting on top and will provide a menu to switch to installed OSs.


Ubuntu 19.04, How to find the option "Text Entry" for the keyboard

What you want is Input Sources, located in Settings > Region & Language.


Is there a way to make Software Updater use apt-fast as a backend?

Yes it is possible. You have to write an apt-fast backend (in Python) for the Software Updater (update-manager package). Take a look at the Synaptic backend. This backend also calls an executable (synaptic). Perhaps just change the command line options a bit and you are done.

Install it to /usr/lib/pythonX/dist-packages/UpdateManager/backend/YourBackend.py and load it in .../backend/__init__.py file ("get_backend" method).


I faced a similar issue after I installed the Multi Monitors Add-On extension to GNOME Shell in Ubuntu 20.04.1 LTS. I uninstalled the extension and rebooted the system. It worked :)


First time Ubuntu user/install. I get desktop / mouse. Nothing else, problem with unity?

You could try Lubuntu, a version of Ubuntu that uses the LXDE desktop (instead of Unity) and runs on older systems with less resources (it only needs between 384-800 MB of RAM and will work with even less if you use the alternate installer).

It will still run all the same applications that the regular version of Ubuntu (with Unity) can run, except that the ones installed by default are different.


Salam o alikum =)

this may help you :

How to install or fix your flash installation in Linux Mint

Open Synaptic ; under administration menu
Search 'Adobe'
find, scroll down to, Adobe Flash Player plugin installer, which is titled 'flashplugin-installer'
right click and click 'mark for installation', or double click
click 'apply' in the toolbar

if it is already installed, then right click and click re-install

if that doesn't fix it, then check to see what other 'flash' files are installed; scroll down

only 'mint-flashplugin-11' should be installed, uninstall everything else
THEN
re-install 'flashplugin-installer'

does this work for you? y/n

good luck


What's the difference between kill and killall

Kill works by process ID but, Killall can determine process by process ID it means if you give process name instead of process id you killall might find the process id and kill it.


Ubuntu 15.04 LTS tablet cannot parse or open package lists

I'm afraid the tablet shipped with ubuntu 15.04 (touch OTA-10). It is not possible to use apt-get out of the box. Either you need to remount root to be writable but this apparently prevents updates from working, or you can use apt-get in a chroot (container). This is needed because the dep packages are not compatible with ARM architecture.

I would also like to install some useful programs too. I'm hoping that the upcomning upgrade to 16.04 (OTA-11) will make this easier.


Unfortunately this is not an option for the Ubuntu/Linux version.

(NB: It has been suggested that running the screensaver uses CPU power that could be used to contribute even more data!)


How to revert to legacy switching layout method?

The problem is solved by editing properties of XNeur:

Also, do not forget to update XNeur from PPA:

sudo add-apt-repository ppa:andrew-crew-kuznetsov/xneur-stable
sudo apt-get update
sudo apt-get install gxneur

This command might be needed if you want to set gXNeur's icon visible:

gconftool-2 -s -t string /apps/gxneur/rendering_engine AppIndicator

Or, install unity-systrayfix.


How do I configure the Wacom Bamboo tablet drawing area?

The behavior on the Bamboos is managed by the application itself and no configuration on the tablet is needed.

In the case of GIMP, you can override that behavior by pressing the [Ctrl] key while drawing. Some combinations are also useful, like [Shift][Alt], etc.

Edit

For more control on your Bamboo, you can give a chance to xsetwacom (http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Xsetwacom) which will allow you to set some parameters on how the bamboo will be acting globally, whose trick may be useful for your case.

I personally tested once when using Ubuntu 9.04 and having some problems with the behavior of my MTE-450 and it worked like a charm. Give this a try and please inform how did you do with this issue.

Good luck!


Removing dead links from Xubuntu 16.04 whisker menu?

not sure if i have the same menu .. looks close .. have you tried right clicking on your start button and going to edit applications and see if it is in there to remove.. You will have to click on the little arrow to the left of Development for the items in the menu to show .. and it might be there for you to remove


How to boot into GRUB Rescue Mode (Forcing Rescue Mode)

The grub rescue> prompt only appears if grub can not find it's config files. In this event only the insmod (see insmod), ls (see ls), set (see set), and unset (see unset) commands are normally available.

See https://www.gnu.org/software/grub/manual/html_node/Commands.html for details

See also https://www.gnu.org/software/grub/manual/html_node/GRUB-only-offers-a-rescue-shell.html#GRUB-only-offers-a-rescue-shell

See https://help.ubuntu.com/community/Grub2/Troubleshooting for details.

You hit "c" to get grub prompt. From the grub prompt you can run all the grub commands and it should be adequate for testing.

FWIW the best advice to give if someone is having problems with grub / booting to grub prompt or grub rescue is to have them run boot-repair

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

Boot repair has multiple advantages. It is a graphical interface and it it fails produces meaningful output for debugging in a pastebin.

  Then click the "Recommended repair" button. When repair is finished,
  note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then
  reboot and check if you recovered access to your OSs.


There are two main output streams in Linux (and other OSs), standard output (stdout) and standard error (stderr). Error messages, like the ones you show, are printed to standard error. The classic redirection operator (command > file) only redirects standard output, so standard error is still shown on the terminal. To redirect stderr as well, you have a few choices:

Redirect stdout to one file and stderr to another file:

command > out 2>error

Redirect stdout to a file (>out), and then redirect stderr to stdout (2>&1):

command >out 2>&1

Redirect both to a file (this isn't supported by all shells, bash and zsh support it, for example, but sh and ksh do not):

command &> out

For more information on the various control and redirection operators, see here.


VMWare Workstation doesn't ship in a deb, so it isn't registered in dpkg (which is why you can't find it in the software center). It does have an install and uninstall utility though.

To uninstall VMWare Workstation, you will need to run:

sudo vmware-installer --uninstall-product vmware-workstation

If you just run:

vmware-installer

by itself, it will print all the options you have available. If you run:

vmware-installer -l

It will print a list of all VMWare products you have installed.

Similarly, to uninstall VMWare Player:

sudo vmware-installer --uninstall-product vmware-player


Profile error when launching google-chrome

This worked for me. Give it a try, this procedure includes a backup of your google-chrome profile folder, so that you can revert it if this seems not to work for you.

Pasted here for your convenience.

  If the browser is open, close it
  down.
  Open a terminal and run: mv
  ~/.config/google-chrome
  ~/.config/google-chrome-old
  Launch google-chrome, you will be
  asked to choose your search engine,
  your choice.
  Close coogle-chrome (yes, click the
  close button)
  After closing the browser you will
  have a new user profile at
  ~/.config/google-chrome
  Then let's copy your profile into
  the new place by running the next in
  the terminal.     cp -r
  ~/.config/google-chrome-old/Default
  ~/.config/google-chrome/

I hope this help you.

Good luck!


How to diagnose Software Updater issue? It just pops up a window with no content

Simulate what GUI does in your terminal and look for error messages:

sudo apt update && sudo apt upgrade


No such file or directory: '/etc/apt/sources.list.d/webupd8team-ubuntu-java-bionic.list'

/etc/apt/sources.list.d is owned by root, and has the permissions rwxr-xr-x

You can recreate it with

sudo mkdir /etc/apt/sources.list.d
sudo chmod 755 /etc/apt/sources.list.d

You will of course have to manually add all sources you want after having recreated the directory.


According to the documentation:

Interfering services

It might happen, that two services/programs responsible for automounting might interfere and
thereby prevent a successful automount and permission setting. Example: Activating the Automount
function of Nautilus while using pmount will result read only permissions for normal users.
Either disable Nautilus' Automount function or deinstall pmount.

If you have package pmount installed try removing it.


Something might exist but this strikes me a as pretty niche market.

Small markets mean there's a much lower chance of there being decent software to cater for it. Any development that does happen tends to happen online where developers can ensure they get some sort of kick-back.

If you can't find a desktop app, you might want to try turning to the web. There are a few websites that claim to help solve problems like organising community teams and events, though you may have to do tournaments manually in Inkscape.

http://sportmeets.com/features
http://www.schport.com (currently down)

Annoyingly I've also lost a link to another site like the sportmeets site that did look interesting... But you get the idea. There are sites out there that come close to doing what you're after.


Shutdown Timing When Computer "Ignition" Goes Low

The following ended up working.

I created the file /etc/acpi/events/PBTN with the following contents:

event=button/power PBTN 00000080 00000000
action=/etc/acpi/actions/power-button.sh %e

I created the file /etc/acpi/actions/power-button.sh (with execute permission) with the following contents:

halt -p


How do I prevent byobu from duplicating text on all splits?

From your description, you're using byobu with the GNU Screen backend, where "splits" are not really handled very well.

Byobu's tmux backend provides a much better experience when trying splits.

You can switch your backend by running:

byobu-select-backend

Or you can manually launch with either backend, using byobu-tmux or byobu-screen.

Full disclosure: I am the author and maintainer of Byobu.


I have the same issue, and the cause of the problem is easy to see by looking in /var/log/syslog.  In essence the GPU gets halted and causes compiz to segfault:

Sep  9 10:29:46 helix kernel: [ 7946.237954] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Sep  9 10:29:46 helix kernel: [ 7946.250096] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 3077849 at 3077840, next 3077850)
Sep  9 10:30:10 helix kernel: [ 7970.376485] compiz[1571]: segfault at 0 ip 00007f4da365b7d1 sp 00007fff1dbd5690 error 6 in i965_dri.so[7f4da35ea000+ac000]
Sep  9 10:30:15 helix kernel: [ 7975.150824] compiz[10649]: segfault at 0 ip 00007f059c445be8 sp 00007fff629e2d90 error 6 in i965_dri.so[7f059c3d4000+ac000]
Sep  9 10:30:20 helix kernel: [ 7979.892104] compiz[10671]: segfault at 0 ip 00007f1b2cd1cbe8 sp 00007fff9ef21f40 error 6 in i965_dri.so[7f1b2ccab000+ac000]
Sep  9 10:30:24 helix kernel: [ 7984.489864] compiz[10691]: segfault at 0 ip 00007f05d48debe8 sp 00007fffee43a810 error 6 in i965_dri.so[7f05d486d000+ac000]
Sep  9 10:30:29 helix kernel: [ 7989.095058] compiz[10710]: segfault at 0 ip 00007f74d0326be8 sp 00007fff09f4a480 error 6 in i965_dri.so[7f74d02b5000+ac000]
Sep  9 10:30:33 helix kernel: [ 7993.793423] compiz[10730]: segfault at 0 ip 00007fe855c9fbe8 sp 00007fff23af8570 error 6 in i965_dri.so[7fe855c2e000+ac000]
Sep  9 10:30:38 helix kernel: [ 7998.316195] compiz[10750]: segfault at 0 ip 00007fa4facb3be8 sp 00007fffe0b08c10 error 6 in i965_dri.so[7fa4fac42000+ac000]

You can see that the kernel is using the i915 driver for this chipset by default:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Lenovo Device 21cf
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 43
    Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Region 4: I/O ports at 6000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

This is a brand new machine with a new install of 11.04, so it is not related to an upgrade or anything like that.

In summary, I would recommend the following:
apt-get install xserver-xorg-video-intel libdrm-intel1
(I am almost sure you have these)
apt-get install libdrm-intel1-dbg xserver-xorg-video-intel-dbg

Then boot your kernel with debugging turned on(drm.debug=0x06) and mount debugfs:
sudo mount -t debugfs debugfs /sys/kernel/debug

Additionally you can configure your system for cores using ulimit:

ulimit -c unlimited
ulimit -s unlimited

(etc)

Verify the changes with ulimit -a

When the issue happens again, you can then use /usr/bin/intel_gpu_dump to get more details about the state of the GPU AFTER the GPU is hung as before.

Additional information might be found under /sys/kernel/debug/dri/0/i915_error_state AFTER a crash has happened.

You can also pull the stack information from the core file generated, usually under /.

In summary, this looks like a bug to me.  You can take this information, as well as a software stack report and file a formal bug report.


Cannot login at login.launchpad.net since the SSL certificate apparently expired?

Well turns out it seems to be a problem with my university's network. Once I turned on VPN I could connect correctly.


enabling copy/ paste on ubuntu-server 18.04.4

Clipboard is an X protocol concept. Since there is no X server running, you get an error message.
Passing a display value is vain, for there is actually none. This is the same for any graphical utility
on a headless machine.
Nothing, however, prevents you from dumping contents into a file and retrieving contents from it as
a clipboard would do. If going this route, an appropriate set of bash aliases or functions would make the process smoother.
Otherwise, check out How to get clipboard support on a Linux server without X11 and the links therein for alternatives.


How do I disable the screen saver in 12.04 system wide?

The fix:

sessionfile=`find "${HOME}/.dbus/session-bus/" -type f`
export `grep "DBUS_SESSION_BUS_ADDRESS" "${sessionfile}" | sed '/^#/d'`

Now, try running your command again.

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

Stack Overflow is awesome. :)


I suggest you to try PlayOnLinux which is a wrapper for wine.

You can get an overview about Gaming and Ubuntu in the wiki.

By the way, Valve is currently working on a Steam version for linux.


The support for Ubuntu 10.10 has ended in 2012. You cannot upgrade to 14.04 from it.

The only solution is a fresh install from a DVD or USB drive.

The error is not about your internet connection. It is the HTTP 404 not found error because the repositories for 10.10 are not online anymore.


How to install Ubuntu on more than one machines with same configuration?

I would say the easiest thing to do would be to install Ubuntu and all of the packages on to a main hard drive.

Then clone that hard drive, maybe use CloneZilla and rip an image of it. Once said Image is ripped CloneZilla should let you use the image and distribute it to several hard drives at once, (given they are all in the same computer). So if a single computer has 4 or 5 sata ports, you could throw out the image to 4 or 5 hard drives at once that would have the same config and packages loaded.

http://clonezilla.org/

If you are unsure how to use this software, read up on it. Plenty of information on the site and lots more if you just Google it as well. Hope this might help.


Volume slider only change the Master volume, not PCM

After some more searching I found the following: How do I change the way Ubuntu adjusts my volume mixer levels?

The solution mentioned there worked for me.


Getting Issue with installing via. apt-get

Perform an Update

Enter command sudo apt-get update and try again.

Else Remove PPAs

If it doesn't work then I bet it is a conflict with a ppa that is requesting an old version of the library.
If at some point you added a ppa to install swi-prolog then:

Remove the ppa.
Update repository.
Try to install again.

It is possible a ppa for a different program could be the problem but I doubt it. Since tyring to installed the program is requesting the older version of the library 10.5.2-0ubuntu1~trusty1 compared to 10.5.9-2ubuntu1~trusty2 that "is to be installed", then you probably have a ppa that is installing an old version of the program with old libraries.

Alternatively

Check this very informative answer.

Let me know if nothing works and we can try something else. Sometimes during upgrade some files are not correctly updated and we can take a look.


deploy Openstack via conjure-up in pending

solved that...
it was my error during the configuration of Maas


Changing keybindings for Ubuntu using xmodmap fails

You also need to remove caps lock functionality from the caps lock key using remove Lock = Caps_Lock in addition to remapping it.


Bash History not containing all history and blank after reboot, how to resolve?

Run:

sudo chown bob:bob ~/.bash_history && chmod 660 ~/.bash_history


Ubuntu 12.10 not booting on Lenovo Z580 with Windows 7

You can find a site to download a boot repair disc like this http://sourceforge.net/projects/boot-repair-cd/files/
burn it and then start the system. It will repair your boot.
    Otherwise press the F12 when windows starts and see If Ubuntu is on boot devises.


Yes, it is possible. The installer offers you that option, you have to select advanced partitioning though and set mountpoints.

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


Fixing Deluge Torrent Error After Reboot

For question 1, do a killall deluged in terminal before rebooting.


Keeping ACPI off isn't necessarily dangerous. The biggest issues are:

Power consumption
Lifetime of certain components
Waste heat

If you're on a laptop then I don't recommend disabling ACPI at all, for obvious reasons.

If you're on a desktop then there isn't an inherent danger to keeping ACPI off. Some components such as your SSD or CPU may have their lifetimes impacted, but not by noticeable amounts. Again, the biggest issues on a desktop are power consumption.

I recommend testing out disabling ACPI. Delete the acpi=off parameter from the Ubuntu kernel params at boot and see what happens (remember, editing the GRUB parameters is temporary). If you can, I advise leaving ACPI on.


You need to include the server's network configuration and routing table, because as it stands, I can only see your DNS being set to 75.75.75.75 and 75.75.76.76

Enter the following command from the command prompt and the output to your original question above.

ifconfig
route -env

Under normal condition, you need 3 things configured to be able to access external IPs

IP address.
Routing table (with default gateway configured).
DNS server.


In .bashrc how to use the output of "uname -m" as path (I get error: "uname: No such file or directory")?

You have to use a command substitution - $(...). As example:

echo "local/$($ARCH)"

But, if you use only:

local/$($ARCH)

you will get again an error if local/x86_64 is not an executabile file


system bootOrder not found on Lenovo T540

If you didn't change the defaults, You are using Grub2 as your bootloader. in this case, please use this command to reconfigure your grub configs.

I assume that os-prober and efibootmgr are installed by default, so:

grub-mkconfig -o /boot/grub/grub.cfg

It will create new grub.cfg file. now reboot your system.
Let me know if it solve your problem or not.


How to integrate "run as shell script" in right click menu of file manager?

Right click to run script in Nautilus

Here is how I setup this script: Nautilus can set desktop wallpaper. How can it set login and lock screen wallpaper?.

After using Nautilus to navigate and view an appropriate .png or .jpg file to use as login screen and lock screen wallpaper, Nautilus can set this for you using a script.

To create the script use:

cd ~/.local/share/nautilus/scripts/
gedit set-login-wallpaper

Paste in these lines:

#!/bin/bash

## Set login wallpaper

# strip new line char passed by Nautilus
FILENAME=$(echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS | sed -e 's/\r//g')

# Multiple files can't be selected.
LINE_COUNT=$(wc -l <<< "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS")
LINE_COUNT=$((LINE_COUNT-1))

if [[ $LINE_COUNT > 1 ]] ; then
    zenity --error --text "Ony one file can be selected at a time! "
    exit 1
fi

# Object type must be "file..." (ie no directories, etc.)
if [ -d "${FILENAME}" ] ; then
    zenity --error --text "$FILENAME is a directory!";
    exit 1
else
    if [ -f "${FILENAME}" ]; then
        : # Bash noop
    else
        zenity --error --text "${FILENAME} is not a file!";
        exit 2
    fi
fi

# Build working file in /tmp
echo "[com.canonical.unity-greeter]" > /tmp/set-login-wallpaper.tmp
echo "draw-user-backgrounds=false" >> /tmp/set-login-wallpaper.tmp
echo "background='$FILENAME'" >> /tmp/set-login-wallpaper.tmp

# Must run as sudo
if [ "$EUID" -ne 0 ] ; then

    # Get sudo password
    PASSWORD=$(zenity --password --title="Set Login Wallpaper" --timeout=20)

    # copy working file to real file using sudo
    echo $PASSWORD | sudo -S cp /tmp/set-login-wallpaper.tmp \
/usr/share/glib-2.0/schemas/10_unity_greeter_background.gschema.override

    # compile using sudo
    echo $PASSWORD | sudo -S glib-compile-schemas /usr/share/glib-2.0/schemas

else
    # Already sudo so simply copy and compile
    # copy working file to real file
    cp /tmp/set-login-wallpaper.tmp \
/usr/share/glib-2.0/schemas/10_unity_greeter_background.gschema.override

    # compile
    glib-compile-schemas /usr/share/glib-2.0/schemas
fi

exit 0

Save the file and exit the gedit editor.

Now mark the script as executable using:

chmod +x set-login-wallpaper

Open Nautilus and navigate to your directory with wallpaper images. Find an appropriate image and right-click on it. This drop-down menu appears:

Click on the third option Scripts. Another drop down menu appears with all your scripts:

Select set-login-wallpaper.

When the script runs you will have to enter your sudo password.

Reboot and enjoy your new login and lock screen wallpaper.


For a quick solution, add to the compilation line:

-I/home/student/Downloads/fftw-3.3.4/api/ -L/home/student/Downloads/fftw-3.3.4/lib

The -L path might need adjustment depending on where the libraries are.

To automate this you can add the following to your .bashrc file:

export LDFLAGS="-L/home/student/Downloads/fftw-3.3.4/lib"
export CFLAGS="-I/home/student/Downloads/fftw-3.3.4/api"
export CPPFLAGS="-I/home/student/Downloads/fftw-3.3.4/api"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/student/Downloads/fftw-3.3.4/lib


How to expand primary partition when WUBI is used to install?

-Boot from an Ubuntu Live CD
-Mount your NTFS partition that the root.disk file lives. For me it was sda3 but just check in GParted (included on the Live CD) In most
cases it is the one that is largest, labeled OS. You must mount it
with these commands (make sure that you mount the correct drive, if
yours is sda1 then replace "sda3" in the command with "sda1"):  sudo
mkdir -p /media/winsudo mount /dev/sda3 media/win
-Check the size of your root.disk (optional) de -h --apparent-size /media/win/ubuntu/disks/root.disk
-Run fsck on root.disk fsck -f /media/win/ubuntu/disks/root.disk
-Resize root.disk (this command resizes it to 40GB, but you can resize it to whatever you want, ONLY IF YOU HAVE THE REQUIRED SPACE
ON YOUR HARD DRIVE) resize2fs /media/win/ubuntu/disks/root.disk 40G
-Shutdown and boot into your WUBI installation

But if while doing this process some crash happens you can recover deleted files and folders from corrupted or formatted hard disk drive, memory card, SD cards and many more storage device use windows data recovery software


Unless we need a new or special version we do not have to compile the video tool FFmpeg .

It is available for installation from the repositories. When installed from there it will also install the codecs needed to play most formats.

At present this will be the package libavcodec-extra-53  which can also be installed without ffmpeg if we only needed the codecs for other applications.

After installation ffmpeg will list all supported codecs including WMV versions with:

ffmpeg -codecs

Due to a bug we will get this misleading message:

*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

We can ignore this as ffmpeg is still being supported and will be further developed too. But we can of course also install and run avconv  which has almost the same functionality and command syntax.


What image should I install on VirtualBox for practising DevOps?

For practicing on an Ubuntu Server, use the Ubuntu Server image. It is precisely the stripped-down image you are thinking of.

Simply put the Ubuntu Server .iso in your VM's virtual CD drive (it's part of the Host's Vbox Application settings), and start installing.

Installing VMs into VirtualBox is a learned skill like any other. Many folks make lots of mistakes on their first Guest VM install - learn from it, and don't be afraid to throw it away and start over.


What are the differences between `key` and `type` commands of xdotool?

Basically type will type a string, key will type individual keys or key combos. For example here's two ways to type "Hello world!":

xdotool type "Hello world!"
xdotool key H e l l o space w o r l d exclam

More info from man xdotool (trimmed down a bit):

key keystroke [keystroke ...]

    Type a given keystroke. Examples being "alt+r", "Control_L+J", "ctrl+alt+n",
    "BackSpace". Multiple keys are separated by '+'.

    Example: Send the keystroke "F2"
     xdotool key F2

    Example: Send 'a' with an accent over it (not on English keyboards, but
    still works with xdotool)
     xdotool key Aacute

    Example: Send ctrl+l and then BackSpace as separate keystrokes:
     xdotool key ctrl+l BackSpace

type something to type

    Types as if you had typed it. Supports newlines and tabs (ASCII newline and
    tab).

    Example: to type 'Hello world!' you would do:
     xdotool type 'Hello world!'


Wi-fi problem encountered by new Ubuntu user

Try to restart your network manager by running

sudo systemctl restart network-manager

 let me know if that does not work...


Where can I find the location of folders for installed programs?

Also, if you just need to know where the executable is you can run whereis executable or which executable For instance:

$ whereis firefox
firefox: /usr/bin/firefox /etc/firefox /usr/lib/firefox /usr/share/man/man1/firefox.1.gz

$ which firefox
/usr/bin/firefox


32 bit or 64 bit becauce of upgrade of RAM?

With regards to RAM, the only benefit is when you have more than 4gb installed.  Be sure that your motherboard will actually support more than 4gb, then go for 64bit.

Either way though my opinion on 32bit vs 64bit is that running 32bit is like wasting half of your processor. Your OS can only handle 32 bits at a time but your processor can do double that. Mathematically speaking that is true.

I have but one question. Why have you not gone 64bit already?


Did you try to access any unsecured¹ web sites yet? Many public wireless hotspots require you to agree to their terms of service and redirect you to their terms of service for that purpose upon you first page request. However, this can only work if you try to access unsecured sites; secured connections are simply prohibited and terminated before your agreement.

Any valid unsecured URL will do, e. g. https://askubuntu.com/.

¹ Secure connections have a URL starting with https:// and most web browsers display a lock symbol before it in the address bar. Unsecured connections have URLs starting with http:// (note the missing s), though many web browsers now simply omit that part, and no such lock symbols.


Foot note/ End note numbering in Bengali in Libreoffice

Option → Language Settings → Language
Set, Locale Setting: Bengali (Bangladesh)

Option → Language Settings → Complex Text Layout
Set, Numerals: System


Is it possible to share an Exchange calendar with another outlook user using Thunderbird/Lightning? If so, how?

If you have your calender is on outlook.companyname.com, you should be able to Publish the calender to anyone you wish to share with.

In your calendar, on the Home tab, in the Share group,
click Publish Online, and then click Publish to Office.com.

You can also set who can view this calender along with other settings.

Outlook products are being merged (renamed :P) into Office.com so the sources I have below should relate to this.

Sources:
Share an Outlook calendar with other people
Publish and share calendars on Office.com


How to recognize special function keys on keyboard

Using xbindkeys and xte you should be able to remap the f2 key.

sudo apt-get install xbindkeys && sudo apt-get install xautomation

Create the xbindkeys configuration file

xbindkeys --defaults > $HOME/.xbindkeysrc

Now we need to edit the file: gedit $HOME/.xbindkeysrc

Scroll to the bottom of the file and create a new line.

Type:

“xte 'key F2'”
0xff65

This should bind the f2 function key to F2.
Let me know if it doesn't work.

You can do this for any of your keys, just get their keysym from xev.

Restart the computer.


Can't setup Wifi even though installing various drivers

Bus 002 Device 003: ID 0bda:f179 Realtek Semiconductor Corp.

Your device is covered by the driver rtl8188fu. With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do:
sudo apt update
sudo apt install –reinstall build-essential git dkms linux-headers-generic
git clone https://github.com/kelebek333/rtl8188fu
sudo dkms add ./rtl8188fu
sudo dkms build rtl8188fu/1.0
sudo dkms install rtl8188fu/1.0
sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/

Reboot and your wireless should now be working.


installer spending most of the time removing applications and libraries

The 'minimal' install options was added via a 'list of packages to remove'.
The fastest install is to install everything (which isn't installed package by package for speed reasons), then if minimal install was selected, the packages on the minimal list are removed. Thus a minimal install option is a full-install, followed by removal of list of packages.
Martin Wimpress (Ubuntu-MATE project lead) has spoken about this a number of times on Podcasts, often because he was asked questions about it, but that was years ago so sorry, I didn't look them up.


There is some quite good directions at the following link:

http://www.howtogeek.com/193129/how-to-install-and-use-another-desktop-environment-on-linux/

But to give you some description, you can install practically any desktop that you like, and can even select to use different ones at the login screen.

You can install a new desktop environment by searching for it in the Software Centre or you can install it from the terminal with:

sudo apt-get install xubuntu-desktop

The example above should install the exact xubuntu desktop. If you install multiples and want to get rid of some, that can also be done through the software centre or by running (to uninstall the example above):

sudo apt-get remove xubuntu-desktop

Hope that helps.


Is it possible to get the normal login screen when resuming from suspend?

Yes,

first remove gnome-screensaver

sudo apt-get remove gnome-screensaver

Then install Lightlocker

sudo add-apt-repository ppa:light-locker/release
sudo apt-get update
sudo apt-get install light-locker

For more info on the project see Lightlocker's github page


If you are running the standard MySQL installation (I'm not sure what XAMPP installs) I've found it rather easy to use the MySQL GUI Tools to handle some of the administration tasks for MySQL. MySQL Server Administrator allows for the creation of databases, tables, users, setting privileges and much more. It can be run from another computer on your network and only requires that you have either root or admin user privileges for MySQL.


I have now re-installed Ubuntu server making some changes in BIOS before installation, the relevant one being:

Change boot to UEFI before installing.

After that the booting was normal.


Used SSH to establish internal connection to another virtual machine; now I can't change it back

When you connect via ssh you enter the remote machine in the home directory of the user you are using to connect /home/username (or /root if you are connecting as root, but this is not permited by default on ubuntu for security reasons).

If your ssh server.domain.com command sends you to the ftp server instead of the 192.168.5.33 machine, you have a routing problem or a DNS problem.

Your router (or firewall, not sure how is your configuration) can be redirecting port 22 to ftp server or you DNS resolver (local /etc/hosts file or DNS server or Samba server if you are using it to resolve hostnames) is pointing to your ftp server IP for host server.domain.com.

Look at the output of nslookup server.domain.com on your machine to verify if this is a DNS related problem.

Obs: not sure if you need that, but to go to the / directory (where you find /var/log) you need to issue cd / command. SSH connections will never leave you there by default.

edit after comment

Ye, from nslookup output, it is your name resolution (done on server 192.168.5.33) that is sending you to the wrong server.

Look at your /etc/hosts files in both servers and correct if wrong:

On 192.168.5.33, you should have the line

192.168.5.33 server.domain.com server

and on the ftp server, you should have:

192.168.5.37 ftpservername.domain.com ftpservername

Check the names of the servers with hostname on each and correct with hostname correctname and edit the config file with nano /etc/hostname.

Not sure how is DNS resolved on your network but if you are using bind, you will need to correct its zones config files too.


No Nautilus, Xterm, Terminal Ubuntu 18.04

As mentioned by the OP, XTerm serves as an alternative to the Gnome Terminal. If missing, it can be installed via Ubuntu Software by opening the Activities window (click the Activities button or press Super), typing xterm, and then clicking on the corresponding entry under Ubuntu Software.


If you don't have the application "Configuration Editor", install it using this command in terminal:

sudo apt-get install gconf-editor

Now, open Configuration Editor in the Dash. You will want to navigate to this path:

/apps/metacity/workspace_names

Now, rename name_1, name_2,... whatever you would like. :)

If it doesn't work initially, you may want to log out and log in.

Edit: This does NOT work with the right click option that you requested, sadly. It does work with the indicator-workspaces package and some other things on Ubuntu. Thought this would help :(

Edit Again: This link shows that the newest version of compiz that will be in 12.10 WILL have this capability. So, it looks like we'll have to wait another 2 months or so, then we can do this all we want. :)


you can just Right click on icon and select Resize Icon option in popup window...

It will show u a dotted rectangle around icon, and then u can resize it to anyhow u want.

for more details, visit resizing desktop icon


Added two lines in the top of /etc/iptables.firewall.rules:

-A FORWARD -s 10.0.3.0/24 -o eth0 -j ACCEPT
-A FORWARD -d 10.0.3.0/24 -o lxcbr0 -j ACCEPT

Just below *filter


How to play sound before suspending laptop?

You could create a two-line script:

#!/bin/bash
aplay ~/Music/suspend_sound.wav
qdbus com.canonical.Unity /com/canonical/Unity/Session com.canonical.Unity.Session.Suspend

Note, that aplay has limited set of types it supports (voc, wav, raw or au), so make sure you use sound file with appropriate format. The qdbus call is specific for Unity desktop, although you can use other dbus calls to suspend from other desktops. In Ubuntu 16.04 , you can use systemctl suspend for that as well. See the related post about suspending via commands: https://askubuntu.com/a/1795/295286


This can happen when certain files become corrupted or are provided in an incomplete state. You'll need to move the following files (if they exist) to another location, at least temporarily:
/var/lib/dpkg/info/libc-ares2:amd64.postrm
/var/lib/dpkg/info/libc-ares2:amd64.list

Then run:
sudo dpkg --configure -a
sudo apt update
sudo apt upgrade

This should resolve the main issue.


I've managed it, with a lot of work. You may be able to also - but apparently the hardware varies considerably between variants of the V3, so your mileage may vary. Also, I'm using Linux Mint, so apologies if filenames are slightly off. Oh, and haven't managed to get multitouch working. So with all the caveats out of the way, here's what you need to know:

The driver is already available for your kernel - silead - as root, do modprobe silead and check that it appears in lsmod. It might not, but it might fail silently because there is no firmware.
You will need firmware. Go to https://github.com/onitake/gsl-firmware/issues/37 - there is a file early on in that discussion called firmware.zip - extract the file h_firmware.fw. You then need to create a folder /lib/firmware/silead and copy that file there, with the name mssl1680.fw - reboot, and it might all magically work (albeit badly - see below) - use dmesg to debug.
If there's no progress, you may need to tell Xorg that you're using a silead touchscreen - make sure the folder /etc/X11/xorg.conf.d/ is created (create it if not) and add the file 99-calibration.conf as follows:

Section "InputClass"
    Identifier  "calibration"
    MatchProduct    "silead_ts"
    Option  "Device" "/dev/input/event14"
    Option  "MinX"  "31405"
    Option  "MaxX"  "-20"
    Option  "MinY"  "23984"
    Option  "MaxY"  "76"
    Option  "SwapXY"    "0" # unless it was already set to 1
    Option  "InvertX"   "0"  # unless it was already set
    Option  "InvertY"   "0"  # unless it was already set
EndSection

Reboot. If you don't now have some touchscreen activity, then I may have forgotten a step, or you might have different hardware. Check /var/log/Xorg.0.log to see if there are any useful silead errors.

If you have success this far, then this is good. But you'll find that only a small portion of your screen is covered - this is where touchscreen calibration comes in, and xinput calibrator would be great - if it worked.

If it doesn't, there is a tool that does work: xcal

https://github.com/reinderien/xcal

However, while it works, it doesn't make your changes permanent, and while it tells you the calibration values, it doesn't tell you how to use it. However, it's a simple python script! Near the beginning of xcal there's a method called xinput - I've modified mine as follows:

def xinput(*args):
    print('XINPUT command: ')
    print(' '.join(args))
    return run(args=('/usr/bin/xinput', *args),
               stdout=PIPE, check=True,
               universal_newlines=True).stdout

Next time you run xcal, and tell it to apply changes, it will pump out an output like:

XINPUT command:
--set-prop 14 libinput Calibration Matrix -2.0955599326947874, 0.006377553411765824, 1.002925809292515, -0.005228040857399382, -2.708875418324387, 1.0022455037336648, 0.0, 0.0, 1.0,

you will need to add some quotes, but essentially, that's your xinput command:

xinput --set-prop 14 libinput Calibration Matrix -2.0955599326947874, 0.006377553411765824, 1.002925809292515, -0.005228040857399382, -2.708875418324387, 1.0022455037336648, 0.0, 0.0, 1.0

Lastly, to make it stick: I put that command in the bottom of my ~/.xinputrc file. You might need to find somewhere else, dependent on whether you need touchscreen for your login screen.


ctrl alt f1 on chromebook virtual console

On Chrome OS this can be done with CTRL + ALT + one of the keys on top of the number keys. Image of a keyboard


Xfwm4 + Compton: Problems with gtk3 applications

I don't use compton on my Ubuntu installs except on my N22 where I run Gallium. The issue that has been reported by a few others appears to be that the GTK3 applications draw client side window shadows and compton draws its own around these.

There are two different workarounds for this problem:

Disable client side shadows. In the thread linked above users found some hacks to force the clients to not draw any shadows themselves. This is more visually consistent when you have configured compton to draw shadows that are visually distinct from the client side ones, like in your example.
Another option is to disable the compositor shadows. Add the window name or class to shadow-exclude in your compton.conf and reload it. It's suggested to launch xwininfo -stats -wm and click on the respective window to get the information. Edit: This appears to be an issue with your custom configuration which is missing "_GTK_FRAME_EXTENTS@:c" in shadow-exclude, according to the compton article on the Arch Wiki.

I had no luck on my 16.10 VBox guest getting compton to run and on my N22 based on 16.04 everything runs fine:

I didn't make any changes to my compton config (I installed Gallium through chrx) here are some details that may be helpful investigating possible solutions:

livewire@zc01:~$ apt-cache show quadrapassel | grep Version
Version: 1:3.18.0-1

livewire@zc01:~$ apt-file search compton.conf
compton-conf: /usr/share/compton-conf/compton.conf.example
ubuntustudio-default-settings: /etc/xdg/xdg-ubuntustudio/compton.conf
xubuntu-default-settings: /etc/xdg/xdg-xubuntu/compton.conf

livewire@zc01:~$ grep _GTK_FRAME_EXTENTS /etc/xdg/compton.conf
 "_GTK_FRAME_EXTENTS@:c"    # GTK+ 3 CSD windows https://github.com/chjj/compton/issues/189

livewire@zc01:~$ diff /etc/xdg/compton.conf /etc/xdg/xdg-xubuntu/compton.conf
18,19c18
< #glx-no-rebind-pixmap = true;
< glx-swap-buffer = 1;
---
> glx-no-rebind-pixmap = true;
21c20,22
< vsync = "opengl-swc";
---
> vsync = "opengl-swc";
>
>
43,45c44,46
<  "class_g = 'Firefox' && argb",
<  "class_g = 'Kodi'",
<  "class_g = 'XScreenSaver'",
---
>  "n:w:*Firefox*",
>  "n:w:*Chrome*",
>  "n:w:*Chromium*",
47a49
>  "class_g ?= 'Xfce4-notifyd'",
54,60d55
< # Opacity
< menu-opacity = 1.0;           # The opacity for menus. (default 1.0)
< inactive-opacity = 1.0;           # Opacity of inactive windows. (0.1 - 1.0)
< frame-opacity = 1.0;          # Opacity of window titlebars and borders. (0.1 - 1.0)
< inactive-opacity-override = true; # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.
<
<
77,78c72
<   dialog = { fade = true; shadow = true; opacity = 1.0; focus = true; };
< };
---
> };
\ No newline at end of file


simply copying the vmlinuz and initramfs and update-grub might work, but you might also need lib and usr. There is an interesting post that shows it is possible to use arch kernals in ubuntu.


Alternative ways to shutdown ubuntu 16.04?

You can shut down  your laptop with command line.
Use this command

$ sudo init 0


Why does resolv.conf have bad defaults and why is it always reordering the bad namesever first?

The usual nameserver address in /etc/resolv.conf, 127.0.0.53 is not at all ‘bad.’ It reflects that dnsmasq is running on your system.

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

  A local DNS cache can speed up internet browsing because the user's
  browser will not need to access a domain name server when it looks up
  a domain name the computer has visited before.

The fact that DNS lookup is not working with this nameserver doesn’t usually mean that the nameserver and the underlying dnsmasq system are faulty. It usually suggests that the is another error in the resolvconf system.

Is /etc/resolv.conf a symbolic link? Check:

ls -al /etc/resolv.conf

To what does it link? Ideally, it will be /run/systemd/resolve/stub-resolv.conf. If not, we’ll need to correct it.

As soon as we find more details about your system, we’ll make some amendments and I’ll further edit this partial answer.

EDIT: We see this in your edit:

$ ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Nov 30 10:27 /etc/resolv.conf -> ../run/resolvconf/resolv.conf

We suspect that the link should be as I posted above. Please try:

sudo rm -f /etc/resolv.conf
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

Reboot and test.


How to find GnuPG keys for apt-get source?

You can add it in your keyring using this command

sudo gpg --keyserver keyserver.ubuntu.com --recv-keys A744BE93

Once added, retry apt-get source dbus.


The offical releases are for the Galaxy Nexus, Nexus 4, Nexus 7 and Nexus 10.
However there are a lot of people working on ports for other devices.
The place to go and check for your device would probably be the xda-developers ubuntu touch ports forum: http://forum.xda-developers.com/forumdisplay.php?f=2098

You can also get in touch with a lot of helpful people via irc (freenode #ubuntu-phone).

WARNING: Remember this is a developer preview it is not ready to be used on your daily driver.


how do I RDP to Ubuntu 16.04 from windows

I believe this is a duplicate of a few other posts. You can use xRDP to rdp into your linux workstation. If you are looking to use rdp and log in to a Unity desktop, perform the following:

Install TigerVNC
Install xRDP
Configure preferred desktop to be used in xRDP

Full Instructions on how to perform this can be found at http://c-nergy.be/blog/?p=9962

Also see How to use xrdp with Unity on Ubuntu 16.04 LTS?


What's the correct driver to use with a GeForce 6150SE nforce 430 on Ubuntu and Ubuntu flavours?

I found that the correct driver (working well now for two days) is the nvidia-304 which can be installed from repositories. This might be problematic if you are making a clean install because the Geforce 6150SE will not work well when installing from the Ubuntu DVD: the Ubuntu live session will freeze, so follow this sequence:

Boot from the DVD and press Space to choose different methods of installation.
Choose Experienced Install.
Install Ubuntu.
After install is done, press CTRL+ALT+F1 and login.
Update your system:

sudo apt-get update

sudo apt-get upgrade
Install the driver:

sudo apt-get install nvidia-304
DO NOT run nvidia-xconfig (THIS IS IMPORTANT).
Reboot the system (just press CTRL+ALT+DEL)
Login normally.
Open Nvidia X server settings from the dash.
Backup your configuration (you can copy and paste it to a txt file)

I hope this helps others, it's worked for me (so far).


Do:

sudo apt-get install fglrx

See here:

How do I install additional drivers?


I have used alacarte to simulate what you did and it seems it saves the modified .desktop on ~/.local/share/applications.

So to undo the changes you made just navigate to that folder and delete the Chrome launcher. This is a local version which is checked before the system wide .desktop, so if you remove it you will have still how to launch Chrome. If the Chrome icon on launcher stops working just remove it (left click -> "Unlock from Launcher") and add it again.

Also you can try to inspect that file and see what is wrong. I would guess you either forgot one field code (see here) or you are not escaping well something.

Good luck.


Theme issue with Gnome Characters snap using the Communitheme snap

I don't know much about snaps and theming but just had a closer look at VLC and the Gnome Characters snap and I noticed the broken symlink ~/snap/gnome-characters/current/themes:

This exists even when removing the respective snap folder for the app, removing and then reinstalling the snap.

Combining knowledge about the broken link with the error message (/snap/communitheme/current/share/themes/Communitheme/gtk-3.20/gtk.css: Permission denied
) we can fix this.

rm ~/snap/gnome-characters/current/.themes
cp -av /snap/communitheme/current/share/themes ~/snap/gnome-characters/current/.themes

Looks better now. If you use a different theme you have to use the respective path of the theme. I'm aware the this is probably not the most elegant solution, the VLC snap has more themes in this folder like Adwaita and others which should also be included? I'm not sure.

According to my other question I now opened a bug report: https://bugs.launchpad.net/ubuntu/+source/gnome-characters/+bug/1828664


How to autostart a shell script on Ubuntu-touch?

There could be better ways, but you can create an upstart script in /usr/share/upstart/sessions/, called evolutionsync.conf

description "my script"
start on started unity8-dash

exec /path/to/your/script

This will essentially run once the desktop has started and you see the "home screen" (apps menu and scopes etc.).


Adaptec RAID 8805 aacraid driver issue in Ubuntu 16.04

I have been in contact with Microsemi support, who produce the Adaptec RAID controllers.

I have been informed they are aware of this issue and their engineering team are looking into how to resolve it.

In the mean time their recommendation is to use their pre-compiled Ubuntu binary (which is built to work with the linux-image-4.4.0-21-generic kernel image) or else stick with linux-image-4.4.0-112-generic and the DKMS driver (if like in my situation you require a newer kernel version).

I have been given an incident ID: 180226-000003 which I would suggest you quote if you also are experiancing this issue and want to contact Mirosemi support.


Main differences between fsck and chkdsk?

Apart from the link that fluteflute mentions the main difference for the end user is that chkdsk only checks the filesystems that are supported in windows, Fat32 and NTFS as the main ones.

fsck checks, Fat32, NTFS (Via ntfs-3g), ext2, ext3, ext4, reiser, xfs and a whole bunch of other ones. doing a man fsck wil give you the details. But the thing is that fsck actually uses another program to run the check depending on the filesystem that is going to be checked, so for example, if the filesystem is ext4, then it will use fsck.ext4, if the filesystem is btrfs, then it will use fsck.btrfs.

So basically chkdsk is limited and optimized for ntfs while fsck is not only opened to several fylesystems but it receives far greater optimizations and features than the windows counterpart in the same time frame. And because of this, it does some quick checks and some deep checks to a filesystem depending on the actual fylesystem, error detected, flags on the fylesystem and other attributes that are active on the system.

The tools that look like chkdsk when the NTFS filesystem is involved are several of the ntfs-3g collections of tools that in some cases surpass what chkdsk (And even scandisk) can do, for example:

ntfsfix - Forces Windows to check NTFS at boot time
ntfsresize - Resize an NTFS volume
ntfsundelete - Find files that have been deleted and recover them
ntfsdefrag - Defragment files, directories and the MFT
ntfsck - Perform consistency checks on a volume

This gives into some new ways of doing software recovery, maintenance, and repair. For example, in cases where a problem arises that the Windows system does not load, you could load up your Ubuntu and fix some of the problems with a quick fsck/ntfs-3g on the partition/disk. Or undelete something, defragment, etc.. Gives you an additional solution to several problems.


This worked for me in ubuntu 14.04.  I downloaded pandoc package from here

Download .deb file for ubuntu

sudo su
dpkg -i pandoc-1.19.2.1-1-amd64.deb
# These packages are too big. That's why install only things that are needed.
# So, included --no-install-recommends. Installs only dependencies
apt-get install --no-install-recommends texlive
apt-get install xzdec
apt-get install --no-install-recommends texlive-latex-extra
apt-get install --no-install-recommends texlive-xetex
apt-get install latex-xcolor
apt-get install --no-install-recommends texlive-generic-recommended

# For full texlive
# apt-get install --no-install-recommends texlive-full

After doing this run

jupyter notebook
open your .ipynb file
In menu bar, click File -> Download As -> pdf via latex

The other packages you can install is

(note: each package is separated by space)

aglfn chktex clisp cm-super cm-super-minimal context dvidvi dvipng feynmf fonts-cabin fonts-comfortaa fonts-dejavu-extra fonts-font-awesome fonts-freefont-otf fonts-gfs-artemisia
fonts-gfs-baskerville fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-porson fonts-gfs-solomos fonts-hosny-amiri fonts-inconsolata fonts-ipaexfont-gothic
fonts-ipaexfont-mincho fonts-ipafont-gothic fonts-ipafont-mincho fonts-junicode fonts-lato fonts-linuxlibertine fonts-lmodern fonts-lobster fonts-lobstertwo fonts-oflb-asana-math
fonts-sil-gentium fonts-sil-gentium-basic fonts-stix fonts-texgyre fragmaster lacheck latex-beamer latex-cjk-all latex-cjk-chinese latex-cjk-chinese-arphic-bkai00mp
latex-cjk-chinese-arphic-bsmi00lp latex-cjk-chinese-arphic-gbsn00lp latex-cjk-chinese-arphic-gkai00mp latex-cjk-common latex-cjk-japanese latex-cjk-japanese-wadalab latex-cjk-korean
latex-cjk-thai latex-sanskrit latex-xcolor latexdiff latexmk lcdf-typetools libffcall1 libfile-which-perl libintl-perl libmagick++5 libplot2c2 libpstoedit0c2a libruby1.9.1
libtext-unidecode-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libyaml-0-2 lmodern m-tx musixtex pfb2t1c2pfb pgf pmx prosper pstoedit psutils
purifyeps ruby ruby1.9.1 tex-gyre tex4ht tex4ht-common texinfo texlive-bibtex-extra texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc
texlive-fonts-recommended-doc texlive-formats-extra texlive-games texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-humanities-doc texlive-lang-african
texlive-lang-arabic texlive-lang-cjk texlive-lang-cyrillic texlive-lang-czechslovak texlive-lang-english texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-greek
texlive-lang-indic texlive-lang-italian texlive-lang-other texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-latex-base-doc texlive-latex-extra-doc
texlive-latex-recommended-doc texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures-doc texlive-plain-extra texlive-pstricks
texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex tipa ttf-adf-accanthis ttf-adf-gillius xindy xindy-rules

The Screen shot is below


Is there a way to install packages via a a queue even when there is another instance of an installation or upgrade is running?

You can safely interrupt apt during the download phase.

Otherwise, poor man's queue?

while pgrep aptitude; do sleep 10; done && aptitude install foo

:)


These lines are irrelevant to kernel upgrades. And also that is not good to comment them. You will not be able to install some packages if you do it.

You can freeze any package including kernel packages by

sudo apt-mark hold <package_name>

for example

sudo apt-mark hold linux-image-generic linux-headers-generic

But you need to check which kernel meta-package is installed for LTS versions. It may be linux-generic-lts-utopic, etc.


Music manager with Android sync support?

Chances are that your Android device is attaching itself to your computer as an MTP device. Most file managers and music players should recognize this, but there's a chance that they're not.

I would use Clementine, it does everything that you want it to do.

Note: If Clementine does not recognize your device, make sure libmtp-common and gvfs-backends are installed (sudo apt-get install libmtp-common gvfs-backends from a terminal)

In order to sync only part of your library, you would simply create a new playlist and add everything you want to sync to your device. From there, you would select the whole playlist (Ctrl+A) and, in the right-click menu, choose "Copy to Device...", and tweak the settings to your liking.

Clementine will automatically transcode music when you sync it. In order to do that, go to the Devices tab, right-click on your device and select "Device Properties...". Under the "File formats" tab, select "Convert all music" and select the format you want to be on the device.


Windows 8 failed to boot - Dual boot Ubuntu

You might have mistakenly deleted essential boot files in the windows folder. Since Ubuntu gives you the ability to access and read and write files in the C:\ folder, its possible that you might alter Windows system files, which are generally unalterable when using microsoft widows.
This problem might also arise due to the use of Partitioning Applications, like gparted, to partition the main windows drive from ubuntu
Its possible is that you resized the ubuntu partition either using a partitioning app of some sort, or during installation, and the resize ate in into the windows system. This is a fatal error, and is seriously hard to resolve.
If you have a windows installation disc, put it into your disc drive and restart your machine and try to boot to windows, and then try the "System Restore" option


Audio playing over bluetooth is handled by the pulseaudio bluetooth module. For  a permanent fix uninstall the module:

sudo apt remove pulseaudio-module-bluetooth

Reboot (or logout then login)

Unpair devices then pair again


On the solution:

In fstab, it'll never work to your satisfaction as you want:

No errors in dmesg
The shares to be mounted before log-in.

I see two solutions:

Use Autofs instead of fstab as Autofs allows you to automatically mount directories on an as-needed basis thus allowing you to manage changes more easily afterwards then the next solution.
Create a custom upstart script and put it in init.d/rc6.d
This is the real solution, used for servers that mount nfs volumes, but it'll require you to get your hands dirty, understanding the Linux init process ("boot process" in non-*nix speak)

Let me know which path you want to take, or just accept this as an answer if the above is already enough to point you in the right direction.


Upgrade from 13.10 to 14.04 LTS 32 bit not booting

I changed the video driver that the Ubuntu install picked.

The ports made me think it was related to PCI. PCI is the bus where the video card is. I changed the video driver and that fixed the issue.

In order to get to it I booted in recovery then picked continue to boot from the top recovery option. I could see only one of my dual monitors came up so that was another clue. From this boot I was able to go into settings and software updates to change the video driver.


Can you enable automatic updates in the guest account?

When you update your computer it is applied system-wide in most cases. So, yes the guest will also have those updates.

In addition, by default any saved data or changed settings will be removed/reset at logout from guest session. Each guest session starts with a fresh environment, unaffected by what previous guests did.

Have a look at the Ubuntuwiki pages here and here


Mesa installation - Make process - Issue

You can just see this one: http://hc0510.blog.51cto.com/537035/116070
It's the problem of '\r' in unix, just delete them.


How to re-enable display after using unset DISPLAY

Did you just try logging out and in again?  Anyway, the default value of the DISPLAY variable is :0
so to reset it:

export DISPLAY=":0"


Seems like USB sticks only work for Mac when created via Mac OSX tools.

Neither unetbootin nor usb-creator-gtk produced bootable sticks.


Ubuntu shortcuts won't allow to set media keys for custom commands

I was able to fix this eventually. One big thing that apparently played into this was having to restart gnome/log out of my session after the changes.
Here's the entire rundown if you want to replicate this:

Create 3 new custom commands for cmus pause/next/prev with a random shortcut.
Open xev and figure out the names of the keys that you want to map to, for me they were XF86AudioPause, XF86AudioNext, XF86AudioPrev
Run dconf-editor in terminal and navigate to /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/
All the custom* entries are your custom shortcuts. Open them up and replace the random shortcut you set previously with the correct keys.
Reboot your system.


i am getting an error when i excute ifconfig command on my virtual machine. (ubuntu 18.04 LTS)

ifconfig is no longer supported (by default) in Ubuntu.
you can use a tool with nearly the same actions which is ip, for example if you want to check your wireless card IP address it can be done as follow:
ip address show
If you really need ifconfig it can be installed using this command sudo apt install net-tools
For a detailed answer you can refer to this comment here


I carried out a fresh install of 16.04 on my ASUS GL552VW.

The only GRUB parameters I entered (for installation and normal boot) were:

  nouveau.modeset=0

To stop Nouveau from taking over.

Once I'd installed the nVidia drivers, I had to disable Secure Boot.

With those settings, everything works.
Touchpad, Skylake support, nVidia graphics @ 1920x1080, Wifi, Bluetooth.


How do I make the Unity launcher show up on the left hand screen?

Click the shutdown/settings gear, then "Displays". Use the "Launcher placement" dropdown to select which monitor(s) you want the launcher on.


Can I run a remote X session in windowed mode?

Xnest should be your friend here. Install the xnest package and use

Xnest -query hostname


I think you should uninstall compiz, due to the amount of information which you have given me to work with, I can not confidently asses your issue.


Can't access modem manager gui on ubuntu 16.04 LTS

I know that this is an old question but maybe someone like me will face the same issue. After some digging I found the answer here:

  For some reason application crashes while converting SMS message timestamp. Could you, please, try to remove (or rename) directory with messages database and try to start MMGUI. Command to rename this directory:

mv ~/.local/share/modem-manager-gui ~/.local/share/modem-manager-gui.old

The next step is to replug the modem and run modem-manager-gui.

Shout out and huge thank you to Alex the author of MMGUI!


Caja dropbox extension doesn’t update when a file is uploaded

Reinstall the extension and it works perfectly:

sudo apt install --reinstall caja-dropbox


How to install the Java plugin for Firefox?

If you are using a version after 52 (not ESR), which disabled NPAPI, you are out of luck. If you are using one prior, which you absolutely wouldn't want to, you can install the OpenJDK JRE, which would allow you to execute Java binaries locally using the java binary. This however, isn't enough to execute Java web applets on your browser, which can be accomplished by installing the Icedtea plugin:

sudo apt-get install icedtea-plugin

Then go to about:addons, in the plugin section, check if the plugin is enabled. Mozilla disables insecure plugins by default, that means that Java is disable even after installation due security concerns. You need to activate it before using it.


How can force a bash script to execute in www, and not executing in filesystem/*?

It's right at the top:
cd / changes to the root directory. Also, the slash in line 4 needs to be removed.


How to install an alternative display manager?

sudo aptitude install slim

SLiM saves the themes on /usr/share/slim/themes and the configuration file on /etc/slim.conf which is the one that will do all the work.

background.jpg: Here goes the Image.
panel.png:It ´s the login box.
slim.theme: Configuration file.

We only need to modify these files and then create a new folder inside /usr/share/slim/themes and put our own files.

sudo mkdir usr/share/slim/themes/name_of_the_folder

Now we´ve got to tell SLiM where to look for the files, we must edit /etc/slim.conf. And look for the line that says:

  current_theme       default

and replace it with your own folder.


Switching from Windows 7 to Ubuntu 13.10 my wifi router

Yup. It should work since the password is put on access to WiFi.
Ubuntu should automatically find your WiFi. Info should be in the top right corner.
All you need to do is to choose your WiFi and type in your password.


Removing Trusted software providers from 'Software & Updates'

In this time you can rely to terminal for list current trusted software provider, by:

sudo apt-key list

Now find your key that you want to remove, when you finish searching, run following command:

sudo apt-key del (keyid)

Where (keyid) is the actual keyid of your corresponding trusted software providers.

For example:

Liso@thinkpad:~$ apt-key list
/etc/apt/trusted.gpg.d/nowrep-qupzilla.gpg
------------------------------------------
pub   1024R/7A2DA9DB 2011-12-05
uid                  Launchpad PPA for David Rosca

/etc/apt/trusted.gpg.d/ppsspp-stable.gpg
----------------------------------------
pub   4096R/ED0F784C 2014-08-02
uid                  Launchpad PPA for PPSSPP
Liso@thinkpad:~$ sudo apt-key del ED0F784C
[sudo] password for Liso:
OK

Will delete PPSSPP key.


How do I set the default icon set and wallpaper for new users?

Create a new dummy user, modify its settings to your liking and cherry-pick the changes from .config and .gconf, place them into /etc/skel. Keep the directory structure intact, e.g. copy:
/home/dummyuser/.gconf/desktop/gnome/background/%gconf.xml
to:
/etc/skel/.gconf/desktop/gnome/background/%gconf.xml

Note:

Install gconf-editor and try to locate the settings that interest you. The tree structure maps directly to the files involved.
Be proficient in XML-editing, e.g. a syntax-highlighting editor like geany may show you common typos (In case you want to impose only a subset of the keys in the XML-file, you need to delete the remainder correctly)
Less is better, too much branding may cause eye-fatigue ;)


Try running sudo apt-get install -f to resolve the unmet dependencies.


Apply button not active in Nvidia Xserver configuration settings in Ubuntu 12.04

Try this in terminal

  gksudo nvidia-settings

This should allow you to save the changes

Good Luck - Mal


wifi adapter problem rtl8723bu created new problem

I assume that you downloaded the usual driver from the lwfinger git repository. If this is so, please open a terminal and change directories to the location of the files:

cd ~/Desktop/rtl8723bu

Or wherever you downloaded the file, if not Desktop.

Let's clean up the old driver files:

make clean

And update the driver with any changes:

git pull

In the README.md, concurrent mode is explained:

  Concurrent or Non-Concurrent Mode

  By default driver operates the hardware as a station AND as an access point simultaneously.  This
  will show two devices when you run the iwconfig command.

  If you do not want two devices (station and an access point)
  simultaneously, then follow these instructions.

  Step 1: Run the following command in the Linux terminal.  nano Makefile
  Step 2: Find the line that contains EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE and insert a # symbol at the beginning of that line. This comments that line and disables concurrent mode.

Now run:

make
sudo make install

Reboot.


How to edit pdf metadata from command line?

Give exiftool a try, it is available from the package libimage-exiftool-perl in the repositories.

As an example, If you have a pdf file called drawing.pdf and you want to update its metadata, Use the utility, exiftool, in this way:

exiftool -Title="This is the Title" -Author="Happy Man" -Subject="PDF Metadata" drawing.pdf

For some reason the Subject entered ends up in the keywords field of the metadata in the pdf file. not a problem in some cases, even desirable, however, this may be problematic, evince and the nautilus metadata previewer do not show this but Adobe Acrobat viewer and PDF-XChange viewer does.

The program will create a backup of the original file if you do not use the; -overwrite_original switch, this means a duplicate will exist in the folder where the updated pdf is. From example above; a file named ; drawing.pdf_original will be created.

use the overwrite switch at your own risk, my suggestion is not to use it and script something to move this file to a better location just in case.


Your lsusb output suggests that the WWAN is not even being recognized at the bus level, as none of the entries in the list looks like a WWAN adapter.

If you have a hs3110, you should be seeing the following line in lsusb output:

Bus 002 Device 003: ID 03f0:521d Hewlett-Packard

Bus and device IDs may vary but the ID should match.

For the hs4112 the ID should be 03f0:581d. I don’t have the ID of the hs4211 at hand, unfortunately.

If you remove the bottom cover of your laptop, you should see which device you have.

Another thing to try: on boot, hit ESC repeatedly to get the boot menu. Enter BIOS setup and open System information. This will give you a detailed overview of all components installed in your system, and the WWAN module should show up there. If it doesn’t, the module is either shot or not plugged in correctly.


How do I mark a file as executable via a GUI?

Simple Permissions Tab (default)

First, right click on your file and choose 'Properties'.

Switch to the 'Permissions' tab and then simply check the box that says 'Allow executing file as program'.


Terminal requires ^C every so often after running (seemingly any) Python program?

As a result of switching between my Python file in a text editor and the command line so often I was occasionally hitting ^S out of habit of saving the file often, but when I was in the command line and not the text editor.

Hitting ^S on the command line reproduces the issue.


how do you create a "signed" deb package

Package signing on Ubuntu/Debian systems is rather messy. In theory, signing a deb package makes it possible for the person receiving your package to verify that the package was not modified after you signed it. In reality, signature verification is terribly difficult to setup and is disabled by default. Unless the user does a bunch of setup locally, they won't be verifying the signature when the package is installed.

In order to sign a package, you can use either: debsigs or dpkg-sig. The signatures are not compatible with one another, so you'll need to make sure the user is using the proper tool on the receiving side for verifying signatures.

dpkg-sig is easier to use for both you and the user, but debsigs is the tool with built-in support (which is disabled by default) on Ubuntu and Debian.

I wrote a blog post containing all the technical details of signing and verifying source packages (.dsc files), binary packages (.deb), and APT package repositories themselves here: http://blog.packagecloud.io/eng/2014/10/28/howto-gpg-sign-verify-deb-packages-apt-repositories/


How do I disable the guest session from Lubuntu 14.04?

Please see this page in the Ubuntu Desktop Guide. That solution works fine on Lubuntu too.

The instructions:

  If you prefer to not allow guest access to your computer, you can disable the Guest Session feature. To do so, press Ctrl+Alt+T to open a terminal window, and then run this command (it's one long command, even if it may be shown wrapped on the screen - copy and paste to get it right):

sudo sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" >/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf'

  The command creates a small configuration file. To re-enable Guest Session, simply remove that file:

sudo rm /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf


Stuck at initramfs prompt AFTER removing a non existent HDD

Ok i found the solution for my particular problem: Apparaently cloning the existing partitions to a new hdd via clonezilla beforehand somehow mashed up my kernel boot commands - which were for some reason set to drive letters instead to UUIDs in grub

Lesson learned: always check for every parameter involved.

Thank you Panther for your time and effort.


Can calculator show decimal as fraction?

You might be able to use Wolfram Alpha as an web application in a few days with 11.10.
http://www.webupd8.org/2011/10/install-epiphany-320-with-web.html
With 11.10 you can install epiphany and have Wolfram Alpha as a web application and have it saved as an launch-able icon in Unity.
Hope this helps.


Resolve "x2golistsessions: command not found" Ubuntu 14.04.5

I was confused by the fact that some, but not all, of x2go is in the Ubuntu repos. To get everything necessary, you need to add a PPA:

sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
sudo apt-get install x2gomatebindings # if you use MATE/mubuntu
sudo apt-get install x2golxdebindings # if you use LXDE/lubuntu

For the client side:

sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goclient

Hope this helps!

Hugh


How do I flush output appended to a file by a bash function/loop in real-time?

Bash doesn't buffer, but python will buffer if output isn't going to a terminal (because it's more efficient), so you'll want to flush stdout after every line.

#!/usr/bin/env python
import sys
import time
while True:
    print "hello"
    sys.stdout.flush()
    time.sleep(1)


To run fsck on your harddrive you need to boot a liveCD and then run the commands with your harddrive partitions as the target.

  "There is no /forcefsck file in my root"

-You need to create the file, it is just a blank file so run sudo touch /forcefsck and fsck will check your drive next time your reboot.


how to install genimage on ubuntu 18.04 LTS

#!/bin/bash

# download and create genimage by nagel

#update ubuntu
sudo apt install -y autoconf
sudo apt install -y gcc
sudo apt-get install -y make
sudo apt-get install -y genext2fs
sudo apt-get update -y
sudo apt-get install -y libconfuse-dev

rm -rf download

git clone https://github.com/pengutronix/genimage.git download

pushd download

./autogen.sh

./configure CFLAGS='-g -O0' --prefix=/usr

make

popd

if [ -e download/genimage ]
then
    cp download/genimage .
    rm -rf download
    echo "creation of genimage successful"
else
    echo "creation of genimage failed"
fi;


Installing python-dev actually fixed this for me:

sudo apt-get install python-dev

Got the hint here: https://github.com/Valloric/YouCompleteMe/issues/484


wine: WINEARCH set to win32 but '/home/koha/.wine' is a 64-bit installation

Suggest you follow https://wiki.winehq.org/FAQ#How_do_I_create_a_32_bit_wineprefix_on_a_64_bit_system.3F and create a 32bit wineprefix by opening a terminal window and running WINEARCH=win32 WINEPREFIX=path_to_wineprefix winecfg


Is there a shorcut to access the last files used?

If you're using unity, Super+F will open a list recently used files.

For more unity shortcuts, please have a look here.


The following packages were automatically installed and are no longer required

yes this message is normal it seems that you have updated your kernel before and these headers are no longer needed anyway before you make sudo apt-get autoremove you can test your kernel version by typing uname -r if the version is greater that 3.2.0-29 so you can do the autoremove and this wouldn't affect your system


How do I add an executable to my search path?

To make this work for the command line (terminal):

I would suggest that you do the following steps in the terminal:

Create a folder called bin in your home directory.

mkdir ~/bin

Add ~/bin to your PATH for all sessions of Bash (the default shell used inside of the terminal).

$ nano ~/.bashrc

# Add the following to the end of your .bashrc file while using nano
# or your text editor of choice:

export PATH="/home/$USER/bin:$PATH"

Add either the executable files themselves OR symlinks to the executable into ~/bin
Restart your terminal session by closing out the terminal and reopening it, or run source ~/.bashrc to reload the configuration for your session

That should allow your terminal to read the PATH variable for terminal sessions.

I do not know how to add it to the GUI, though, as I'm not certain of how the GUI manages the PATH variable(s), but it might be necessary to modify the path with other methods should this method here not work with the GUI.


I did not experience this issue with my E4.5. The sound notification for Telegram is configured via system settings - sound - message received > choose sound.

If only vibrate on message causes this continuous behaviour, this is also the right menu to turn of vibrate on message.

I hope you can get this solved!


How can I "verify data after burn" when using Brasero to burn a data DVD?

File and disk image integrity are checked by default in a standard installation of Brasero by comparing an MD5 sum of burned data with the original file.

To change these settings, select Edit -> Plugins to open the following window:

By selecting Configure we can change the hashing algortihm for the checksum from MD5 (default) to SHA1 or SHA256. Unticking the tick box next to a plugin disables checksum generation to speed up the burning process (at the cost of security).

Data integrity can further be checked with Tools -> Check Integrity where we are able to select a disc from a list of mounted disks. There we may also import an MD5 file for data comparison.


I need a way to remove tags from images within a folder and it's subfolders

This worked for me:

for i in *.jpg; do echo "Processing $i"; exiftool -all= "$i"; done

(remove echo after testing to actually change the files)


Terminal has disappeared as an application after software update

sudo apt-get install gnome-terminal

But this should not happen. You proably use non-standard repositories and some dependecies are broken.


Solution to no ultimately trusted keys found

This is a PPA problem; it's all about broken PPA's. All you need to do is fix them. If you want to know more about why it has happened,read here.

To fix the issue , open your terminal and type

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys

Then launch the application with sudo

sudo launchpad-getkeys

Credit to webupd8 & trog.qgl.org


Creating split view window keyboard shortcuts

sudo apt-get install compizconfig-settings-manager
and then open CompizConfig Settings Manager, search for Grid plug-in and change the bindings for Left Maximize and Right Maximize to Ctrl+Super+Right/Left  accordingly.


If you use the fixmbr command in Windows, then assuming it succeeds, it will write the Windows boot loader to the Master Boot Record. That will overwrite the part of GRUB (Ubuntu's boot loader) that is installed to the MBR, and you will not have an option to boot Ubuntu.

However, that's not usually a big problem, as it's quite easy to put Ubuntu's boot loader back in the MBR:

How can I repair grub? (How to get Ubuntu back after installing Windows?)
(Applies even if GRUB is broken due to reasons unrelated to a recent installation of Windows--including fixmbr having been run--or even totally unrelated to Windows.)
Grub2/Installing: Fixing a Broken System (in the Ubuntu documentation wiki)

These methods will also often fix the same kinds of problems you might use fixmbr to fix. They will facilitate Ubuntu and Windows bootiing; fixmbr, at least as it is normally used, installs the Windows boot loader to the MBR, and results in a configuration that only boots Windows.

For boot problems, you may be interested in the Boot Repair utility.

If the problem is that the installed Windows system doesn't come up in the GRUB menu when you turn on your computer, it might be sufficient to run

sudo update-grub

in the Ubuntu system. (You can also run sudo os-prober but that should get run automatically when you run sudo update-grub.)