Will 11.10 come with keyboard short-cuts for the file and applications lenses?

Super-A and Super-F are still the default keyboard shortcuts for the Application and File lenses.

If they're not working for you while you were using the Alpha/Beta then they could have broken during the process, you can try resetting your Unity and/or Compiz configuration:

How do I reset my Unity configuration?
How can I reset compiz to the default settings?


how to transfer files from galaxy nexus running ubuntu?

Ubuntu Touch does not support mtp file transfer yet. The best way to transfer files is via sftp. Here is how to enable and use sftp:

(Before starting make sure your nexus is connected to the same LAN as your desktop)

1 - Install OpenSSH

Open terminal on ubuntu desktop with your nexus devices connected via usb and run these commands in this order:

1st: sudo apt-get install android-tools-adb

2nd: sudo adb root

3rd: adb shell

3.5th.. If you are using the developer preview ubuntu_chroot (If you don't know, it can't hurt to try this step.)

4th: apt-get install openssh-server

2 - Connect to nexus via sftp

1st: Open nautilus (the file manager) in ubuntu desktop and press ctrl+L to open the address bar

2nd: Enter sftp://phablet@YOURNEXUSIP into the address bar.
(obviously replace YOURNEXUSIP with the ip address of your nexus which you can find by logining into the adb shell and running ifconfig

3rd: When prompted for a password enter phablet

4th: If you did everything correctly you should now have access to the root file system as the user "phablet"


No sound - but Ubuntu thinks there should be

Call up alsamixer and unmute the speakers would be my guess.  That kind of hardware flag seems like it is not always exported/visible to Pulseaudio.


Dual boot with Ubuntu

Shrink Windows partition

Press search button on your keyboard type partitions
Select Settings >> Create and format disk partitions
Select the Windows partition (C drive, yellow-marked) and shrink volume. The free space is for your Ubuntu installation

Starting Ubuntu from Live USB stick

Create a live usb stick with Ubuntu 17.04 (older versions do not support build-in keyboard OOTB on Surface Book), e.g. with Unetbootin
Shutdown
Open Surface BIOS by pressing both Power and Volume_up
Change boot order by drag and drop, USB Storage as first entry

Change secure boot settings to Secure boot is Enabled with Microsoft & 3rd party CA key configuration. (There is no need to completely disable secure boot)

Plugin the live USB stick and restart, Linux bootloader should come up automatically

Install Ubuntu

Simply click on the Installer shortcut and follow the instructions
Choose "Ubuntu besides Windows Boot Manager". If you shrinked the Windows partition, partitioning can be done automatically.

Office Suite

Opening Microsoft Word (.doc / .docx), Power Point (.ppt, .pptx), and PDF files is working out of the box. But depending on the document there are formatting issues.

Further improvements

Touch and Pen

GitHub user jakeday created a surface kernel where pen and touch is working. Thanks a lot!

Boot theme

The default boot theme in 3000x2000 is not optimal, here is an replacement:

What is not working out of the box

Currently not everything is working/unstable:

front and back camera
NVIDIA GPU
sleep/awake, use hibernate instead
touch and pen (if custom kernel is not used)
dock/undock of the screen (if custom kernel is used)
WiFi sometimes required a reboot to connect again after system configuration changes


can't play wmv files - Failed to initialize the VAAPI device

A quick look at the VLC wiki reveals the following:

  On modern Ubuntu distributions, first install the hardware support
  (packages i965-va-driver, libva-intel-vaapi-driver and vainfo) and
  then activate GPU hardware acceleration in Preferences ->
  Input&Codecs.

  Install terminal command: sudo apt-get install i965-va-driver
  libva-intel-vaapi-driver vainfo

  The following video codecs are supported: MPEG-1, MPEG-2, MPEG-4
  Visual, WMV3, VC-1 and H.264 (MPEG-4 AVC).


Printers compatible with Ubuntu also compatible with Crunchbang?

There both Debian based. So yes their compatible.


how to uninstall viber completely from Ubuntu 14.04?

Viber is available as a .deb package and also as tarball. If you installed viber through the .deb package, then you can easily uninstall it using sudo apt-get remove viber

But instead, if you installed through the tarball, then you must have extracted the viber files into a single folder such as /opt/Viber. Just delete that folder and any .desktop files (shortcuts) that you created for it.

In addition, Viber user configurations are stored in ~/.ViberPC. You can choose to delete that as well. Note that if you do this, the next time you install viber, you would have to make any customization you made this time , again.


How to manually restart services affected by apt upgrades?

You can prevent service restarts with the Debian policy layer which works on Ubuntu as well.

Example:
Create a file named /usr/sbin/policy-rc.d with following content (don't forget to make the file executable):

#!/bin/sh

exit 101

No service¹ would be automatically started/stopped/restarted anymore.
See /usr/share/doc/sysv-rc/README.policy-rc.d.gz for details and how to adjust it to just ignore a single service.

1. as long as the installation scripts follow the Debian guidelines and use invoke-rc.d for service restarts


My advice would be to stick with FreeNAS for the time being and wait until ZoL 0.8.0 is finalised unless the stable 0.7.x is an option and you can temporarily live without those features. (I'm not sure from your statements whether you've updated FreeNAS and found that features are not available anymore, in which case a downgrade might be an option, or whether you did not yet update, in which case you might want to simply choose not to until you find a solution.)

The size of the userbase is a very important criterion! (I have not seen "that many" people discussing the migration from FreeNAS to a ZoL(RC)…) Apart from that, switching to ZoL 0.8.0RCn means you're basically opting to become a beta tester (assuming that you're currently not using some test version of FreeNAS)–is that really what you want to do with your time? (Not saying the world does not need beta testers, but if it's not one of your main objectives in this context…)

Even if everything was supposed to work, you'd need to create a backup of your pools to be safe–then, why not simply recreate them in the first place?


There is now a ufw show added command that will list the configured rules for you, even when the firewall is inactive. It was added as a fix for this bug report and added in v0.33

So now you can do:

# ufw status
Status: inactive
# ufw allow ssh
Rules updated
Rules updated (v6)
# ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow 22
# ufw enable
Firewall is active and enabled on system startup
# ufw status
Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
22 (v6)                    ALLOW       Anywhere (v6)

The format of the output from ufw show added makes it much easier to write the delete command for each rule too.


How can I diagnose flaky solid-state hard drive behavior?

These specific errors indicate a problem...

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   096   096   010    Pre-fail  Always       -       318
183 Runtime_Bad_Block       0x0013   096   096   010    Pre-fail  Always       -       318
187 Uncorrectable_Error_Cnt 0x0032   095   095   000    Old_age   Always       -       42737
195 ECC_Error_Rate          0x001a   001   001   000    Old_age   Always       -       42737
199 CRC_Error_Count         0x003e   099   099   000    Old_age   Always       -       281

If this is a Samsung SSD, then download the Samsung Magician here and check for a firmware update.

You can also check for ncq errors with the command...

grep -i FPDMA /var/log/syslog*

If you find these, I'll give you a patch.


10.04LTS can only recognise USB sticks 8GB or less. Issue resolved.


Machine stops suddenly, Only hard reset can help

debian-sa1 and the cron job seem to come from the sysstat package; try uninstalling the package to confirm whether it's a cause of lagging:

sudo apt-get remove sysstat

If it won't help, you can at least eliminate one possible cause.

Edit: According to your information, sysstat isn't a problem. However since you have pointed out kswapd for high I/O activity, the problem is probably caused by swapping – which usually leads to notable performance degradation (however it should not kill your system). See What are kswapd0, kworker/num:num, ksoftirqd/num? for information about kernel threads, including kswapd.

There are few ways to address issues with swap:

Reduce swappiness – value about 1 to 10 could be useful
Try using zRam which compresses RAM; it may or may not help depending on your usecase and hardware
Buy more RAM :)

Also, if I am not mistaken, your laptop contains a smaller SSD which Windows OS uses for caching; I am not sure whether it can be utilised by Linux in the same way, however if you don't dualboot, you could use the SSD for the root system or some of its parts (with /home on a primary HDD) – see i.e. How to dualboot Ubuntu on Asus Zenbook UX32VD? and How to combine an SSD boot drive with a HDD data drive? and ArchWiki on tips how to utilise SSD. Anyway, as pointed elsewhere, it's not really a good idea to move swap to SSD due to its limited read/write cycles.


<Juhaz> in ##gnome on freenode got it.

gvfs-info -a metadata::emblems FOLDER

will retrieve the emblem of a folder/file and

gvfs-set-attribute -t stringv FOLDER metadata::emblems EMBLEM

will allow you to set emblem of the folder/file.


Changing the sound setting from the command line

I think you should be looking at something like this:

alsactl save CARD # to save the configuration
alsactl restore CARD # to restore the configuration


If you didn't execute vgextend before lvextend, the volume group intern should still have the same size and be on the same physical volume.
In my view, the problem is unrelated to extending the LV.

It's just that the physical volume on which the VG is located has been resized so perhaps LVM simply doesn't find the VG.

You may be able to recover from this by booting a rescue system and trying to find the volume group headers on the physical volume. vgck and cgcfgrestore may help here. Perhaps this or that might help. Good luck!


How to enable WiFi on Ubuntu server 18.04 without existing connection

You need to edit /etc/netplan/*.yaml to enable your wireless card. Here's a basic .yaml for you. Note the corrected spelling of "ethernets" and "gateway4".

You'll need to install wireless-tools and wpasupplicant, so you need to either, connect your (corrected) wired ethernet connection, or download them on another machine, and put them on a flash/external drive, and install them that way. There are a number of dependencies, so you may have to obtain them also to install these. See https://packages.ubuntu.com/.

https://packages.ubuntu.com/bionic/wireless-tools
https://packages.ubuntu.com/bionic/wpasupplicant

You may have to adjust the .yaml, depending if you want dhcp or static addresses. Adjust the static addresses and wi-fi SSID/password as required. See https://netplan.io/examples for additional help.

Note that netplan is very fussy about indentation, spacing, and no tabs.

For wireless dhcp addressing:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0f1:
      addresses: [10.0.0.131/24]
      gateway4: 10.0.0.1
      nameservers
        addresses: [10.0.0.1, 8.8.4.4, 8.8.8.8]
      optional: true
  wifis:
    wlp3s0:
      dhcp4: yes
      access-points:
        "network_ssid_name":
          password: "**********"

For wireless static IP:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0f1:
      addresses: [10.0.0.131/24]
      gateway4: 10.0.0.1
      nameservers
        addresses: [10.0.0.1, 8.8.4.4, 8.8.8.8]
      optional: true
  wifis:
    wlp3s0:
      addresses: [10.0.0.132/24]
      gateway4: 10.0.0.1
      nameservers:
        addresses: [10.0.0.1, 8.8.4.4, 8.8.8.8]
      access-points:
        "network_ssid_name":
          password: "**********"

sudo netplan --debug generate # make config files

sudo netplan apply # apply new configuration

reboot # reboot and verify proper operation


Get the unique lines of second file in result of comparing two files

You could accomplish this with grep.

Here is an example:

$ echo localhost > local_hosts

$ grep -v -f local_hosts /etc/hosts
127.0.1.1       ubuntu

# The following lines are desirable for IPv6 capable hosts
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


This was answered in a comment (this answer might not be sufficient for everyone, but it will likely solve the problem for many people, and provide a source of diagnostic information for even more).

  Run chkdsk /r and then check if the \ubuntu\disks\root.disk is
  there - or else refer to this:
  ubuntu-with-wubi.blogspot.ca/2011/08/missing-rootdisk.html

– bcbc Nov 7 '12 at 16:38


To start the mysql demon (or service) you should do:

sudo start mysql

the old way should still work for now:

sudo /etc/init.d/mysql start

But it's quite strange that mysql didn't start while installing. IIRC, it should be started at the end of the installation and autstarted by default with the system. You can check if the server is running using:

ps -A u | grep sql


After some search I found out that it was pulled back actually because of critical errors like this one here:  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1669611

Thank you all though!  :)


How do I install higher version of gcc but not as default?

Installing gcc-7 from the toolchain-r PPA should not affect your default installation of gcc - it will install /usr/bin/gcc-7 and all the supporting files, but will not symbolically link /usr/bin/gcc to it.

For example, given

$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc-7 --version
No command 'gcc-7' found, did you mean:
 Command 'gcc-6' from package 'gccgo-6' (main)
 Command 'gcc-5' from package 'gcc-5' (main)
 Command 'gcc-5' from package 'hardening-wrapper' (universe)
gcc-7: command not found

Then

$ apt-cache policy gcc-7
gcc-7:
  Installed: (none)
  Candidate: 7.2.0-1ubuntu1~16.04
  Version table:
     7.2.0-1ubuntu1~16.04 500
        500 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages

$ sudo apt install gcc-7

Results in

$ apt-cache policy gcc-7
gcc-7:
  Installed: 7.2.0-1ubuntu1~16.04
  Candidate: 7.2.0-1ubuntu1~16.04
  Version table:
 *** 7.2.0-1ubuntu1~16.04 500
        500 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

$ gcc-7 --version
gcc-7 (Ubuntu 7.2.0-1ubuntu1~16.04) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

but

$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Ubuntu 13.04 default icons in Ubuntu 12.04

you can get them here: http://gnome-look.org/content/show.php?content=155513
But they aren't all from the new Ubuntu, some of them were designed by the author


My Ubuntu LiveUSB won't boot after formatting it on Windows XP. HELP!

If you have access to any working PC, you could just get yourself another working live CD/flash drive again. This might considering all things the easiest route for you.

Also I am not quite exactly sure what it is you did. Could it have been that your bootloader was on your flash drive and you formatted that?


will Ubuntu adapt without problems?

In general: yes.  The normal device drivers get recreated on every boot so those will switch to the new hardware.

As stated in comments: pay attention to the boot process. If one is old skool non-(u)efi and the other is... you need to boot the new system with the method the old one used.
The one thing you always should do is remove all 3rd party drivers. You can run into problems going from a nVidia to an AMD GPU or from a AMD to a nVidia GPU. Same for your NIC: 3rd party driver, delete it before switching. Those blobs are all static so will mess up your new system.

In general you can fix that too though with a "reconfigure" from commandline.

I know you are going from old to new but in case you would go from new to old:

Ubuntu has for every release a hardware stack. An LTS will update the hardware stack to the newest normal release stack (so 1n.04.2 has 1n.10's stack, 1n.04.3 has 1(n+1).04's =2 , 1n.04.4 had 1(n+1).10's stack for n=4 or n=6). Those hardware stacks also remove older hardware that is deemed obsolete. If you are unlucky your hardware is far too old to run an newer version.


How can I automate the running of updatedb on an encrypted partition?

Not in the /etc/rc* structure at all - that is for system startup, run level transitions, and NOT for user stuff. When the rc scripts are running, the system is only partially started, the only UID is 0 (root).

I run updatedb from my crontab, at 02:05 daily. Here's the line from my crontab:

02 05  *   *   *     /usr/bin/updatedb -l 0 -o /home/w3/var/mlocate/mlocate.db -U /home/w3

Note that this cron job must be scheduled to run at a time when user w3 is logged in, and the unencrypted directory is mounted.


In Ubuntu Studio, what is the name of the auto-hide panel at the bottom?

A comprehensive list of docks is available as answers to this question: What docks are available?

I can't say which one is Ubuntu Studio using at the moment and it will be useful if you drop an image as an edit to your question in order to identify it thus provide a workaround for installing in XFCE.

Nevertheless, the already provided answers in the mentioned question are very illustrative and they also includes a way to install in the majority on the Ubuntu based systems (xUbuntu, LUbuntu, etc.)

Good luck!


You probably forgot the change the directory to where the debian package is stored.

If you downloaded it into Downloads the 1st command needs to be:

cd ~/Downloads


Why not include something like Ksplice so there is no need to reboot after updating?

The Ubuntu Kernel Team does not currently have the resources available to perform the additional work to create (and test!) ksplice modules for all of the supported Ubuntu kernels. Uptrack is getting used on production systems in a lot of big companies. I would not dismiss it out of hand, since staying up to date with kernel vulnerability fixes is very important. If it's a choice between ksplice (and the potential dangers of not setting /proc/sys/kernel/modules_disabled to 1 immediately after booting), and waiting days or weeks for a good time to reboot, I'd recommend ksplice. And when you do reboot, the fresh "real" kernel will be waiting for you too.


You need to click Summarize Comments button at the bottom of File > Print screen.


Can I change the Linux console (Ctrl+Alt+F1) font to Ubuntu Mono?

By joining the font beta testing team, the PPA details given in the sign-up email let you enable a Personal Package Archive that contains:

fonts-ubuntu-font-family-console ("Ubuntu Font Family Linux console fonts, sans-serif monospace")

after enabling the PPA you can do:

Ctrl+Alt+F1
sudo apt-get install fonts-ubuntu-font-family-console
setfont /usr/share/consolefonts/UbuntuMono-R-8x16.psf

Note that the font hinting that enables the bitmap generation is still a work-in-progress by Vincent Connare at Dalton Maag.  Please give feedback about the look of the 8×16 rendering to bitmaps and how they could be improved at:

launchpad.net/ubuntu-font-family/+filebug?field.title=Mono: 16ppem Hinting: ...

PPEM means "pixel per em" and is the number of pixels allocated to the design square when rendering at any size.  For the Linux/VGA console this is 16 pixels high.  For your question about the tools involved (after the instructing/hinting has been done), the tools are:

otf2bdf
bdf2psf

If you apt-get source ttf-ubuntu-font-family in Ubuntu 11.10 beta, then the code already exists in the debian/console/* source directory (just type make). >This was disabled for the moment because the two small utilities listed above are in Universe, rather than Ubuntu's main component and will need Main Inclusion Reports first.

The bug to follow and add your comments to is:

Bug #861334 ("Ship Ubuntu Mono .psf as default console font in Ubuntu 11.10")

Because of the extreme deadlines involved, it is not likely to happen by default until the next release cycle of Ubuntu (after which Vincent will have had a chance to incrementally tweak the hinting work too!).


Just to add to this, there are ways to recover data from dead HDDs. For example, if the plates are intact, but the electronics is defective, it can be swapped with a healthy HDD to recover the data, however, this is very special treatment and mind you, not cheap.

Ask some computer repair shop near you, they could help you. There are even businesses specializing on data recovery.


Battery doesn't charge when completely drained

I have documented a workaround for the said issue, which is applicable to ASUS notebook PC that I have been using since late-2014.

The workaround based on what I have documented in mid-2016:

When the battery is empty, or when notebook PC is unable to power on, connect the notebook PC to the charger and start charging.
Do not boot to Linux. The notebook PC should remain off whilst charging. Wait for 10~30 minutes, depending on charging rate.
Afterwards, turn on the notebook PC and boot to Linux. Login to the desktop and confirm that the battery is charging from the Power Manager or using upower -d command in Terminal.

The important point is notebook PC should be turned off when charging battery from empty, otherwise charging will not start. Even suspend will prevent the battery from charging at all. I have observed that again and again, whenever I had left my notebook PC unused for weeks.

Note: Documented for ASUS X200MA, running Xubuntu 16.04 LTS 64-bit.

Firmware issues

Despite the workaround has worked for my notebook PC, I have thought of other issues that may be related to the question:

Faulty firmware for certain models of ThinkPad product line, or
Varying behaviour of firmware recognized by operating system to start charging battery, such as when running Linux on ThinkPad (unanswered to this date)

The latter may be influenced by proprietary firmware for power management, which can only be fully utilized by Windows operating system but not Linux. This may explain the condition when battery is empty, charging may start when running Windows but does not start when running Linux.

Battery treatment

There is one critical advice: Lithium ion battery should not be fully discharged or should not be used until empty (see Battery treatment on ThinkWiki).

Regardless of running Windows or Linux, the operating system supposedly has sane default settings to prevent the battery from fully discharged. As a result, the system will automatically suspend, hibernate or even shut down when battery level has reached to certain percentage. This however, may be changed by users.

TL;DR Forget Windows and Linux. Charge the battery from empty when the power is off. Battery should not be fully discharged because of potential damage or reduced battery life.


No GUI in Ubuntu after upgrade was interrupted

The command you want to run is:

startx

This will start the x-server and bring up the GUI.


It's the correct way to downgrade a package, but you seem to have got the version number wrong....

apt-get install sun-java6-jdk=6.22-0ubuntu1~10.10 - won't work since there is no such package in the Package.gz list, that's why you got the error: Version ‘6.22-0ubuntu1~10.10’ for ‘sun-java6-jdk’ was not found.

Try this...
dpkg -r sun-java6-jdk --- Removes the sun-java6-jdk

Download the .deb for your previous sun-java6-jdk version, you may already have this file in /var/cache/apt/archives --- use: $ ls /var/cache/apt/archives/sun* -lash in your terminal to find out whether you have an older version locally.

apt-get install -d sun-java-jdk / openjdk-6-jdk -- the -d will only download the file into your /var/cache/apt/arhives folder.

dpkg -i --force-downgrade /var/cache/apt/archives/sun-java-jdk(the version # that you have).

Lock Version in Synaptic so ubuntu doesn't try to upgrade it again.
Dpkg man page will also help explain things -- downgrade has a big warning label on it in the man pages, so take note you don't wreck your dependencies.
There is a post here and here that explains downgrading.


The answer is: it's not GNOME. It's Cairo-Dock app.

plugin Clipper ~/.config/cairo-dock/current_theme/plug-ins/Clipper/Clipper.conf set to false property: enable actions=false
Restart cairo-dock


Error messages like this can sometimes look like the following:

"absolute path '/usr/bin/qmlscene -I ./modules/ ./app/saucybacon.qml' for Exec given in .desktop file.",

It's important that you don't use absolute paths because

they can change
you might be relying on somethign that is available locally on your development machine and not on the actual device.


Unable to resolve dependency for libpango-1.0-0 in 12.04

The deb file you downloaded is from https://hadler.me/linux/forticlient-sslvpn-deb-packages/. The package maintainer there tried to build .deb files for easier installation of Forticlient–SSLVPN which comes with a .tar.gz package.

But I think, the package maintainer wrongly included libpango-1.0-0 in the dependency list in packages for releases older than 15.04. libpango-1.0-0 pulls libpango1.0-0 package in recent releases, but in 12.04 there is no libpango-1.0-0. You need to install libpango1.0-0 for that.

The easiest solution I think (I haven't tested this) to decompress and re-build the deb again. First remove the package using

sudo dpkg -P forticlient-sslvpn

Then proceed with these steps:

Install dpkg-dev package

sudo apt-get install dpkg-dev

Make a directory to extract

mkdir forticlient-sslvpn

Extract the deb file to it

dpkg-deb -R forticlient-sslvpn_4.4.2312-1_amd64.deb forticlient-sslvpn/

Go to the forticlient-sslvpn/DEBIAN folder and open control file. Change the libpango-1.0-0 in the line Depends: to libpango1.0-0. Save the file.

Return back out of the forticlient-sslvpn directory.

Use this command to build the package again.

 dpkg-deb -b forticlient-sslvpn

This should create a deb file named forticlient-sslvpn.deb. Install it with

 sudo dpkg -i forticlient-sslvpn.deb

Then install any missing dependencies using

 sudo apt-get -f install

Hope that helps.


Virtualbox Ubuntu on Windows host appears to be connected to network, but not

As you cant ping www.google.com but you can ping 8.8.8.8, it seems like you cant resolve domain names. You should try different DNS-server. Try 8.8.8.8 and 8.8.4.4 DNS-servers. Using bridged connection mode can also help.


Ubuntu virtual machine cant connect to the internet

I had a Linux VM that wouldn't connect - the issue was two-fold.  Check your network settings for the VM and ensure that the VM can access the host computer's network adapter.  I prefer setting the network connection to bridged, but you can configure it other ways - just do the homework and make sure that is working.

Second issue was the VM was set to not acquire an IP address from the DHCP, it was static.  It installed that way (not sure why) but I had to change it to DHCP and it was able to get a valid IP and get online.  As another poster commented, you should have a valid IP address for your network.


Videos won't play when bluetooth connected, ritual needed to make it work

Bluetooth on Linux always has been a pain.  I would suggest either doing a fresh install of Zesty, buy a new Bluetooth headset that can just be used with the Ubuntu device, and/or buy a new wired headset/phone.


Trying to create a python virtual environment but getting OSError

This is due to a bug in setuptools. It's been fixed in v2.1.

Otherwise, the workaround is to either install the latest virtualenv (1.11) using pip, or use virtualenv 1.10.1:

First, uninstall virtualenv:

pip uninstall virtualenv

You may need to run this twice (for some unknown reason) to actually uninstall it. Then install using pip or easy_install:

pip install virtualenv

or

easy_install "virtualenv<1.11"

You may require sudo to run these commands.


How to burn a DVD which is playable in an external player?

What you do need to make a DVD work for a DVD Player is a program called DeVeDe NG.

1 - Open up Ubuntu Software Centre and in the search field type devede and it will be shown in the results.

2 - Install that program.

3 - Start the program and then you will see a series of options.

4 - choose Video DVD: Creates a video DVD suitable for all DVD home players

5 - You need to add the file to create an .ISO so it will work in a DVD Player.

6 - In the Files section, click ADD and then search for the file you want.

7 - Once you have added the file, click on it and then click on Properties

8 - If the file exceeds 99%, then click on Adjust Disc Usage

9 - Click on the Video Options tab and select Scale Picture so there are no black bars (Letterbox Effect)

10 - Click Forward (check 2nd picture) and choose where you want to save the finished .ISO

11 - Click OK

The .ISO will now start to be processed, once it has finished you will then need to burn the .ISO to a blank DVD.  I advise that you burn the .ISO at the slowest speed possible to ensure the best results.


go to settings go to software and updates

go to additional drivers

see if it shows up that way?


Terminal is asking for password while sudo command

The password you enter for login. Sudo command gives you full access to all your files and documents so it needs to be sure that you are the owner of the computer. Sudo stands for "superuser do".


Unable to mount MatshitaDVD-RAM UJ-850 on Toshiba Satellite A205-S5843. Suddenly quit working about a year ago under 12.04LTS

Here is some info I was able to find, although I'm not sure that a resolution has been found for your problem. http://ubuntuforums.org/showthread.php?t=771313

It seems that you aren't the only person having this problem, so maybe there is a fix out there.


Can I manually copy files to a backup drive without corrupting existing backups?

If you wish to run the Software on linux -
have you looked into Wine?
how-to-run-windows-software-on-ubuntu-with-wine
Otherwise -
Can see it supports android -
https://www.seagate.com/gb/en/support/downloads/
is it possible you could store the macos backups on your phone?
this will give you the flexibility to either test folders on the Seagate drive while it is empty. Or to wipe completely to NTFS format to use during the partition change - then revert after with the software again.


How to disable physical touchpad buttons but keep tap as click

If you upgrade to at least Ubuntu 18.10 or 19.04, there is a simple way :

create the file (and the directory) :

/etc/libinput/local-overrides.quirks

put in it this :

[disable physical button of touchpad]
MatchUdevType=touchpad
MatchBus=ps2
AttrEventCodeDisable=BTN_LEFT

It work fine on my sony vaio pro 13.
You may have to tweak the Match* lines, have a look at :
https://wayland.freedesktop.org/libinput/doc/1.13.0/device-configuration-via-udev.html

good luck


Are there any programs/applications/commands that will monitor and report GPU memory usage during a programs execution?

If you're really interested in monitoring an Nvidia GPU you can use the nvidia-smi tool (installed with nvidia-current package). See these references:

http://developer.nvidia.com/cuda/nvidia-system-management-interface
http://www.matrix44.net/blog/?p=876

The latter in particular provides a nice script to output info.

For general memory and cpu usage, I'd go with htop (or top).  Or you can use gnome-system-monitor for a gui based tool.


Ubuntu nautilus and gedit crashes on minimize

I figured it out myself, the problem was i had upgraded my gnome terminal by using the gnome3-staging ppa and had neither disabled nor purged it so when i added the ppas for the theme i got the wrong version and the wrong libraries which did not seem to play well with my unity.

After purging the ppa and downgrading packages, the issue was fixed.


how to install windows programs in ubuntu 14.0.1

you could not install a windows programs directly. There are some softwares are available like Wine,Crossover Linux etc.. you can download it from Internet as .deb file and you could install it via terminal using the following command.

To install a downloaded .deb file:

sudo dpkg -i packagename.deb

To remove a installed package:

sudo dpkg -r packagename

Or directly you can install wine via terminal by following commands.

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine1.6 winetricks


System is crashing every day with bizz sound and colorful distroted screen. How to solve this Nvidia issue? I am using graphic-driver ppa

I have found a solution and get back to you all if it works for my problem 1.

sudo ln -s /usr/lib/nvidia-384/bin/nvidia-persistenced /usr/bin/nvidia-persistenced


To have more infos about the new version of Unity 2D, you can take a look at this article here.


Is there any brightness control for desktops?

On this site, a while ago I found an nice script from someone. THIS IS NOT MINE!

I am using it ever since on my netbook, running Xubuntu and it seems to run on anything.

For reasons of not posting a link-only answer, here it is:

#!/usr/bin/env python

from gi.repository import Gtk
import subprocess

class BrightnessScale:
    def __init__(self):
        # get active monitor and current brightness
        self.monitor = self.getActiveMonitor()
        self.currB = self.getCurrentBrightness()

    def initUI(self):
        # initliaze and configure window
        window = Gtk.Window()
        window.set_title('Brightness Scale')
        window.set_default_size(250, 50)
        window.set_position(Gtk.WindowPosition.CENTER)
        window.set_border_width(10)

        # slider configuration
        self.adjustment = Gtk.Adjustment(self.currB, 0, 100, 1, 10, 0)
        self.scale = Gtk.HScale()
        self.scale.set_adjustment(self.adjustment)
        self.scale.set_digits(0)

        # close Gtk thread on closing window
        window.connect("destroy", lambda w: Gtk.main_quit())

        # setup event handler on value-changed
        self.scale.connect("value-changed", self.scale_moved)

        # add the scale to window
        window.add(self.scale)

        # show all components in window
        window.show_all()

        # close window on pressing escape key
        accGroup = Gtk.AccelGroup()
        key, modifier = Gtk.accelerator_parse('Escape')
        accGroup.connect(key, modifier, Gtk.AccelFlags.VISIBLE, Gtk.main_quit)
        window.add_accel_group(accGroup)

    def showErrDialog(self):
        self.errDialog = Gtk.MessageDialog(None,
                                           Gtk.DialogFlags.MODAL,
                                           Gtk.MessageType.ERROR,
                                           Gtk.ButtonsType.OK,
                                           "Unable to detect active monitor, run 'xrandr --verbose' on command-line for more info")
        self.errDialog.set_title("brightness control error")
        self.errDialog.run()
        self.errDialog.destroy()

    def initStatus(self):
        if(self.monitor == "" or self.currB == ""):
            return False
        return True

    def getActiveMonitor(self):
        #Find display monitor
        monitor = subprocess.check_output("xrandr -q | grep ' connected' | cut -d ' ' -f1", shell=True)
        if(monitor != ""):
            monitor = monitor.split('\n')[0]
        return monitor

    def getCurrentBrightness(self):
        #Find current brightness
        currB = subprocess.check_output("xrandr --verbose | grep -i brightness | cut -f2 -d ' '", shell=True)
        if(currB != ""):
            currB = currB.split('\n')[0]
            currB = int(float(currB) * 100)
        else:
            currB = ""
        return currB

    def scale_moved(self, event):
        #Change brightness
        newBrightness = float(self.scale.get_value())/100
        cmd = "xrandr --output %s --brightness %.2f" % (self.monitor, newBrightness)
        cmdStatus = subprocess.check_output(cmd, shell=True)

if __name__ == "__main__":
    # new instance of BrightnessScale
    brcontrol = BrightnessScale()
    if(brcontrol.initStatus()):
        # if everything ok, invoke UI and start Gtk thread loop
        brcontrol.initUI()
        Gtk.main()
    else:
        # show error dialog
        brcontrol.showErrDialog()

How to use

Paste the script into an empty file, save it as brightness_set in ~/bin (you probably have to create the directory). Make it executable
Add it to a shortcut key: Choose: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

brightness_set

Log out and back in and it should work

Edit

To make a nice set, you could make the slider available in Dash, the Launcher or any other application menu, by adding a .desktop file in ~/.local/share/applications

[Desktop Entry]
Type=Application
Name=Brightness Scale
Icon=/path/to/set_brightness.png
Exec=brightness_set
OnlyShowIn=Unity;

In the Icon= line, set the path to the icon. Yopu can choose your own icon, or save the icon below as set_brightness.png:

In the Exec= line, the assumption is that the script is in $PATH (which includes ~/bin on Ubuntu), and executable


How to show current keyboard layout on mate-panel as country flag?

On Ubuntu MATE 18.04 LTS you need to send one command:

gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags true

it will change MATE Panel appearance from

to

On Ubuntu 16.04 LTS having MATE 1.12 this method does not work out-the-box (it is bug 1783543), but we have two options here:

download flags manually and place them in home folder:

mkdir -p ~/.icons/flags
cd ~/.icons/flags/
wget https://raw.githubusercontent.com/linuxmint/flags/master/usr/share/iso-flag-png/{ru,us}.png

then toggle layout indicator state:

gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags false
gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags true

and we will get flags in place. Note: I used ru and us, you can pick others from LinuxMint GitHub repository.
use newer MATE 1.16 from official xenial-mate PPA:

sudo apt-add-repository ppa:ubuntu-mate-dev/xenial-mate
sudo apt update
sudo apt full-upgrade

then enable flags

gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags true

and we can get flags in place after reboot and login.

On Ubuntu 14.04 LTS we need to download flags manually (as in 16.04 LTS):

mkdir -p ~/.icons/flags
cd ~/.icons/flags/
wget https://raw.githubusercontent.com/linuxmint/flags/master/usr/share/iso-flag-png/{ru,us}.png

then toggle layout indicator state:

gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags false
gsettings set org.mate.peripherals-keyboard-xkb.indicator show-flags true

and we will get flags in place.


Bash Terminal showing unwanted text on opening

You need to put the evaluation in "command substitution", like this:
eval "$(dircolors /home/neil/gnome-terminal-colors-solarized/dircolors)"

Then it should work without displaying the output (the same way it's written in your .bashrc under the # enable color support section).


Ubuntu not connecting to wireless after restarting networking service

If the wireless keeps on asking you for the password, do this:

Click on the wireless icon on the top right.
Go to Edit Connections...
Highlight and delete the wireless network you are trying to connect to.
Try to connect again.


How to install xnviewmp in ubuntu 14.04?

To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:dhor/myway
sudo apt-get update
sudo apt-get install xnview

Or you can download the.deb file here, and install it.  I would use Gdebi to install, if you don't have it just do

sudo apt-get install gdebi

You can install it from there, but its an older version 0.51.  To install from there, just click


Intel 3945ABG wireless not working at all

You can undo those changes, remove /etc/modprobe.d/iwl3945.conf by running:

sudo rm /etc/modprobe.d/iwl3945.conf


Executing vi on directory does not list files

The behaviour you are describing is caused by a bug in netrw, which is the plugin handling the file browsing.

Updating to the latest version of the plugin fixes this behaviour.

To do so, just download the latest version of netrw, open it in vim and source it. Doing so will extract the plugin into your ~/.vim directory, where it will be loaded before the system's buggy version.

Download the file:

wget http://www.drchip.org/astronaut/vim/vbafiles/netrw.vba.gz

Open it in vim:

vim netrw.vba.gz

In vim, source it:

:so %

Afterwards, close vim. Then, enjoy browsing directories again.

Update: On one box, this gave me an error about not being able to close the last window. Had no effect on the plugin, which worked flawlessly afterwards.

2nd Update: This version of netrw expects a version of vim with the clipboard capability.

You can check if your version has it by running vim --version. The output will probably have -clipboard in there, which means the capability is not enabled.

To get a version compiled with clipboard support, install any version of vim with a GUI, which will also replace your normal vim with a version with clipboard support. I used vim-gtk as a test case.


Having difficulty uninstalling World of Warcraft os v 15.10

Everything you installed under PlayOnLinux is stored under Wine Prefixes at inside the PlayOnLinux folder in your home directory.

The windows programs you installed will be located at ~/.PlayOnLinux/wineprefix/PREFIXNAME/drive_c/Program Files/

I personally don't play WoW, but PREFIXNAME should probably be WorldOfWarcraft.


No desktop icons on Ubuntu 19.04 after upgrade

This is a new "feature" in GNOME 3.32 which is used in Ubuntu 19.04. Basically, only folders are allowed on the Desktop proper. To get to previous icons that were on the desktop, open a Files (Nautilus) window and click on Desktop in the left pane. Suggest that you create a new "Work in Progress" folder on your desktop, and move all of your previous Desktop items into there.

Go to here and configure the Desktop Icons GNOME extension...

If you don't see Desktop Icons, you can get it here.

Update #1:

The user upgraded from 17.10 to 19.04, and there are "leftovers" from previous Ubuntu versions in 19.04 causing crashes. Backup your data, do a fresh install of 19.04, and restore your data.

Update #2:

From the user... "I wiped everything and started over again and have finally got everything installed and configured now."


Xenial with 4.4 kernel still requiring reboots

Canonical Live Patch was just announced today for 16.04:

http://blog.dustinkirkland.com/2016/10/canonical-livepatch.html
https://www.ubuntu.com/server/livepatch

This uses the live patching technology in the upstream Linux kernel since 4.0 was released.


Changing directory of binaries after compiling

Yes, you can, but most Makefiles do have a target called install that does the job.

Also check if the Makefile has an uninstall target, in case you should wish to uninstall the program later.

To facilitate the maintenance, you could use the checkinstall program.
(https://wiki.debian.org/CheckInstall)


How to install Ubuntu in Asus Eee PC 1015CX?

To run Ubuntu from a USB stick, the first thing you need to do is to insert a USB stick with at least 2GB of free space into your PC.

Download Ubuntu Desktop
How to run Ubuntu from a DVD or USB stick


unable to add accounts in online accounts Ubuntu 15.10 gnome 3.18

Try this

sudo apt-get install gnome-online-accounts

I had a same problem, this was solution.


Can't make nvidia work in fresh dual boot install

Preliminary step - Removing old drivers:

sudo apt purge nvidia*

sudo reboot now
Adding the Graphics Drivers PPA (additional software source providing newer drivers versions):

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt update
Installing the recommended driver:

sudo apt install nvidia-370

sudo reboot now


Difference between tutorials for installation of MATE on Ubuntu (/Xubuntu) 16.04

You have mentioned actually two options.

Install from PPA and
Install from official Ubuntu repository

The main difference is, PPA has more updated version for MATE compatible with the Xenial Xerus. For example, considering mate-desktop-environment package, this is the output in my system

→ apt-cache policy mate-desktop-environment
mate-desktop-environment:
  Installed: (none)
  Candidate: 1.14.0+2~xenial1.2
  Version table:
     1.14.0+2~xenial1.2 500
        500 http://ppa.launchpad.net/ubuntu-mate-dev/xenial-mate/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/ubuntu-mate-dev/xenial-mate/ubuntu xenial/main i386 Packages
     1.12.0+1 500
        500 file:/media/Linux/apt-repo/xenial-mate  Packages
        500 file:/media/Linux/apt-repo/xenial3  Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages

As you can see, PPA has updated version of MATE packages. (Some packages are from my local repository)

The recommended way to install would be using the official repository though. Because that reduces the possibilities of being in difficulties during upgrade.

Answering the question regarding installing only mate-dock-applet package:

The tutorial that suggested this was http://sourcedigit.com/18099-how-to-install-mate-desktop-environment-on-ubuntu-16-04-ubuntu-15-10/

They suggested these commands as an installation path

sudo apt-add-repository ppa:ubuntu-mate-dev/xenial-mate
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mate-dock-applet

I don't know why they suggested that particular package to install instead of standard mate-desktop-environment. Maybe they thought that will pull less packages, but that may be not the case. Because mate-dock-applet needs mate-panel and that needs mate-desktop and all other mate stuff eventually.

Also note that, the first option has a flaw. There is no package named mate in the repository.


kylin-greeter is a version of LightDM greeter, and to switch back to the default greeter ( which is unity-greeter ) one must tell lightdm which one to use via configuration file.

What you want to do is edit ( or create if it doesn't exist ) the file /etc/lightdm/lightdm.conf

Basic steps ( done from terminal )

Open the file with your text editor. You can use nano because it's easier. sudo nano /etc/lightdm/lightdm.conf
If you have [SeatDefaults] line, go to step 3. Otherwise, add this line.
Bellow [SeatDefaults] add greeter-session=unity-greeter line.
Save with Ctrl + O. Exit with Ctrl + X .
Reboot, or go into TTY1 ( via Ctrl+Alt+F1 ） ， login there and restart lightdm with sudo service lightdm restart


Caldav _kind of_ available for Calendar?

See the comment above -- didn't realise I couldn't promote it to the answer.  But the issue is solved.

I will say, however, that there don't seem to be any really good calendar apps for Linux.  I guess that's not surprising, but it's a pity.


Reboot Router, should connect
Set unused wifi channel, in router, in nearby areas
[ type
nmcli dev wifi
in terminal to find wifi channels in use].
Set wifi channel by logging into router.
If still persists, Reserve ip address for laptop in router lan settings


This kind of problem is not simple to solve. There is a lot of knowledge
about X necessary to solve this kind of situation. I suggest the following
procedure to start a diagnosis:

1 - If it is a driver issue, then you will see no graphic window showing.
If you see some graphical, then the driver is working and the problem is
other (I think this is your case). If it is a graphic card issue, do
lspci and see what VGA board you have and try to see the best driver
to that. You cited that your video board is Nvidia, so usually install
the package "nvidia-driver" will do the trick. When finished,
modprobe nividia as root, or reboot the system. The driver probably
will be inserted at boot (lsmod | grep nv as root will show it).

2 - Try to log-in as user and simply run Xorg without any
parameters. This should show you a grey pattern screen. If this happens,
the Xorg is working (without a Window Manager X and Xorg does nothing).
Ctrl+Alt+Backspace can shutdown Xorg. Or Crtl+Alt+F1 (to -F6) to change
to a text terminal ps and kill Xorg manually.

3 - Do cat to the file /etc/X11/default-display-manager. It will show
the default display manager, usually the login manager (lightdm, gdm,
kdm, etc. ). If it is not installed or points to the wrong executable,
then the display will crash and X will close. It looks like you problem,
so  see if the value is right and and correct it if needed.

I am using Xfce and so the value in default-display-manager for me is:

/usr/sbin/lightdm

In your case it could be /usr/sbin/gdm3 (or something like that).

4 - The command /usr/bin/startx is a script. There are a lot of user
files referenced by that script. See if one of that has some weird
value. Usually the files are in user directory and are .x(something) or
.X(something) . Be carefull, because there are .x(something) files not
related to Xorg.

If you have Gnome installed, you can try to start it using startgnome
script (startgnome3, startkde or startxfce4, or something like this
depending on what you have installed). I remember the graphical interfaces
are packed with this scripts to help. If the interface enters, the problem
is with the login manager or other file.

The config files for X are in the /etc/X11 directory. Special attention to
/etc/X11/xinit/xinitrc  and /etc/X11/Xsession .

If there are X or Xorg errors when you enter the user space, you can see
the errors in user directory in the file .xsession-errors .

This text does not show how to solve your problem, but is a start to
diagnose it.

Graphic interfaces are very complex, there are a lot of problems that are
system wide (your problem for instance) and a lot of problems that are user
space specific (configuration files in user space problems, Display Manager
behavior because user space config problems and so on).

Different of many commercial software, Linux enables you to dig the
problem til the scripts (and til the source code if you really need).
The task is huge, but do not get discouraged by that. You can learn
everything that happens in your system if you want. But to do that
you need to be pacient and stubborn enough to study, try and try
again til it works.

I hope you can find the solution of your problem.

Ric.


It is possible that your fan is clogged with dust. You must clean and lubricate it. I have had that situation on w530. After maintenance operation my fan is working very fine and temperature is quite decent (40 - 50C)
If you have a workshop available is OK, if not do it yourself. Not to forget to have therm compound available.
Before to start watch some tutorials.
"https://www.youtube.com/watch?v=sRTRoBenvlQ" is relevant tutorial but the guy make some mistakes but at the end of the day succeed.

Best regards


How to change sample text in font installer

As an alternative to the preinstalled font-viewer:

Font Manager allows you to compare fonts with your own custom text.

sudo apt install font-manager


"set -e -o pipefail" not working on bash script on Ubuntu 16

On Ubuntu the default shell is dash (aka Debian Almquist Shell), to which /bin/sh is symlink. When your shell script is run with #!/bin/sh, you are effectively trying to run it with the default shell. However, dash doesn't have the pipefail option, which is why you're getting the error.

# Verifying what /bin/sh is symlinked to dash
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2月  17  2016 /bin/sh -> dash
# Verify that pipefail doesn't exist as option for dash
$ dash
$ set -o | grep pipefail
$ set -o pipefail
dash: 1: set: Illegal option -o pipefail
$ sh
$ set -o pipefail
sh: 1: set: Illegal option -o pipefail
# Try this same option in bash
$ bash --posix
bash-4.3$ set -o pipefail
bash-4.3$
# no error


You don't have unallocated space adjacent to /dev/nvme0n1p6. If you want to move /dev/nvme0n1p4 then /dev/nvme0n1p5 and then /dev/nvme0n1p6


fyi... xrdp by itself uses VNC on the remote desktop/server to really take advantage of xrdp you also need x11rdp which is often is not provided in the software center etc.

I've found and used the following scarygliders tool that automatically downloads & builds the latest/greatest xrdp and x11rdp on your machine and intalls it for you.   It takes a while because of the complexities of building the x11rdp but it has always worked for me.

Then.. with that done.. look into installing guacamole

scaryglider's site:
http://scarygliders.net/2012/05/23/the-scarygliders-x11rdp-o-matic-and-rdpsesconfig-hotness-upon-hotness/

guacamole site:
http://guac-dev.org/

with guacamole installed and with xrdp/x11rdp... all you need for remote desktop on your client is a HTML5 capable web browser.

This works very well together and the HTML5 browser doesn't require any plugins for the remote desktop.


How do I apply my mouse settings globally?

There's no central place to apply mouse settings globally.

Why?
let's review how a user session starts in a X window environment(GNOME, KDE, XFCE,etc.).

a display manager starts X server which read its configuration file xorg.conf and shows a login window (typically created by an independent greeter program). so the only way to change mouse settings at the moment is through xorg.conf.
after you login, a session manager starts a settings daemon which re-applies the settings it stored, which can overwrite those settings in xorg.conf. for different desktop environment, the settings daemons are different and they have no responsiblity to respect each other's settings. normaly, there's a GUI frontend for each settings daemon.

a clarification on the settings daemon. in GNOME, it's gnome-settings-daemon while in XFCE it's xfsettingsd. In Unity it's gnome-settings-daemon because Ubuntu reuses most of the GNOME stack.

Back to your requirements.

apply to the login screen
the only way to achieve this is through xorg.conf. because the settings-daemon is not started at the time.
to change the mouse to be left handed, refer to how can I configure a specific usb mouse model as left-handed?
to change the mouse acceleration, refer to https://wiki.archlinux.org/index.php/Mouse_acceleration
apply to all other user sessions
this is simple. all desktop environment have settings programs. change the mouse settings of every desktop environment to your desired value.


Sounds to me like you have overwritten the GRUB boot loader with the Windows one.


Increase size of toolbar and url bar in firefox?

You can try to edit/create the userChrome.css inside of the chrome folder in your profile.

1) Close Firefox

2) Go to the firefox folder in you home. Open a Terminal and type:

cd ~/.mozilla/firefox/

3) find out the name of your profile folder.eg: the default profile name is xxxxxxxx.default (where "x" are letters).My case is dfafal1w.default

ls -l

The result:

drwx------ 5 virtual virtual 4096 Oct  4 17:33 dfafal1w.default

4) Go to your profile folder.

cd xxxxxxxx.default

where "x" are your profile letters.

5) find if your have a chrome folder and the userChrome.css file

ls -l chrome/userChrome.css

6) if you have the file.. edit it with:

gedit chrome/userChrome.css

Add the following lines to the end:

#urlbar {
min-height: 50px !important;
        }

In this example I will set the minimum height of the urlbar to 50px. (Feel free to change it according to your needs)

7) if you do not have the file and the folder... create them.

mkdir chrome
cd chrome

8) Create the userChrome.css and set the minimum height urlbar (my case 50px).

cat > userChrome.css << EOF
#urlbar {
min-height: 50px !important;
        }
EOF

9) Open Firefox to see the changes...

BEFORE:

AFTER:

NOTE:If you want the search bar in the same height of the urlbar... just add the following to the userChrome.css file.

#searchbar, .searchbar-textbox {
min-height: 50px !important;
        }

Hope this helps.


Apps capable of mounting/unmounting CD/DVD Images with multi-sector or protected format

I see you have the same problem as I have and I found the solution and want to share it with you. The name of the app is cdemu you can install by doing the following steps in the terminal:

sudo add-apt-repository ppa:cdemu/ppa
sudo apt update
sudo apt install gcdemu

(Or open Synaptic and type cdemu in the search box)

(Source Info)


The Ubuntu manual page for "ls" neither explains what the "author" is and it also does not  mention that the option only applies to long format.
From a GNU/Hurd man page:

--author  List each file's author when producing long format directory
listings. In GNU/Hurd, file authors can differ from their owners, but
in other operating systems the two are the same.

Example:

ls -l --author
total 0
lrwxrwxrwx 1 rinzwind rinzwind rinzwind 20 2011-06-18 19:33 Desktop

will shows 3 names instead of 2 (owner, group, author).

I found some good information on this on an old mail archive for gnu from 2002 but in Ubuntu it is the same as the user name.

If you need to set 'author' the idea is you create a man page for your function and add an author tag in the man page. Unless you use something other than Ubuntu and actually can set this.


Running script in host server from my computer and shutting down my computer

Take a look at the screen program.

You can ssh to your server, then create a new login session by typing:

screen

In that session, you can start off your script that will take a couple of weeks.

You can then detach from that session by typing:

Ctrl-a Ctrl-d

You can then log off your ssh session, and your script is still running in the detached screen session.

Later, you can ssh in to your server again and type:

screen -r

This will reattach you to the detached session from before, and you can see how your script is going. If not finished, just detach again.

Also note that if your screen session is accidentally detached (e.g. ssh stops working, or a network outage) your screen session will still be there and you can ssh again and screen -r to reattach!


Touchpad right click doesn't work on touchpad, only the buttons above it. Thinkpad E480 Ubuntu 18.04 LTS

Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details is that Ubuntu defaults libinput touchpads to "clickfingers" behavior.

To revert that, run this in a terminal:

gsettings set org.gnome.desktop.peripherals.touchpad click-method areas


How to limit user access to `gvfs-mount`? How to set `rw` permissions on a device mountpoint when using `gvfs-mount`?

In Ubuntu, gvfs-mount uses udisks2 for volume monitoring of "local" devices:

  Volume monitors provide a set of GDrive/GVolume/GMount objects
  representing physical device or service hierarchy. So called native
  volume monitors provide access to locally available devices, i.e.
  those appearing in /dev and mountable by standard POSIX ways (mount,
  umount). GVfs provides several implementations of those (hal, gdu,
  udisks2) and only one can be active.

You can control access to udisks2 using Polkit rules. The relevant polkit actions are:

$ pkaction| grep mount
org.freedesktop.udisks2.filesystem-mount
org.freedesktop.udisks2.filesystem-mount-other-seat
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.filesystem-unmount-others

You can require admin access via a Polkit rule like so (say in /etc/polkit-1/localauthority/50-local.d/disable-mount.pkla):

[Disable mount]
Action=org.freedesktop.udisks2.filesystem*
Identity=*
ResultActive=auth_admin
ResultAny=auth_admin
ResultInactive=auth_admin

This would mean that users would need Polkit admin privileges (by default, group sudo or the root user in Ubuntu). A prompt like this will be shown:

polkit 0.106 adds support for JavaScript rules, which means you can set more nuanced permissions, but that version is not yet available in Ubuntu.

Presumably gvfs-mount leaves the actual read/write permissions to the mount backend.

That said, rules in /etc/fstab still take priority over whatever gvfs-mount does. With this rule for /dev/sdb in /etc/fstab:

/dev/sdb /mnt   ext4 ro,noexec 0 0

gvfs-mount simply throws an error and udisksctl mounts using the fstab rule:

$ gvfs-mount -d /dev/sdb
No volume for device file /dev/sdb
$ udisksctl mount -b /dev/sdb
Mounted /dev/sdb at /mnt.

Of course, udisksctl asked for Polkit authorization, since I had created the pkla file mentioned earlier.


Dual boot 3 Ubuntu Based Systems and a bootloader using Virtual Hard Disks

You can change GRUB settings manually through the config file, or a GUI program (Both are described in answer linked directly below).

There is a community post here How do I change the GRUB boot order? , which points to the direction I believe you are looking for (and a little more).

ZorinOS is Debian/Ubuntu based, so if using apt you could probably use apt-get upgrade, for the packages on your system but I cannot be sure. For the OS the ZorinOS website has this as a ReadMe.


WiFi problem in Ubuntu 18.04.1: "activation of network connection failed"

TL;DR = Remove your wifi access point connection, then reconnect.

Hi. I've recently got the same issue with Ubuntu 18.04.2 LTS, albeit my wifi driver is different. Here is how I fixed it:

Open "Settings"
Choose "Wi-Fi" tab
In "Visible networks" list click on cogwheel icon next to your Wi-Fi access point
Click "Forget connection"
Now select your Wi-Fi access point, enter Wi-Fi password and click "Connect"


I accidentally deleted administrator account and the other accounts are asking root password

You can use recovery mode to add the standard user to the admin group (which is now called sudo in 12.04). Below is a set of simple instructions copied from my personal website.

Using Recovery Mode To Add Users To The Admin / Sudo Group

First shutdown your computer.

Then restart whilst holding shift on the keyboard to load grub menu.

Select recovery mode from the grub menu.

Select drop to root shell from the recovery menu.

Use the following command to remount the drive mount -o rw,remount /

Now type adduser username sudo replacing username with your user name  ie. 'adduser  phil sudo'

You should now see a message saying 'adding user' followed by 'done'.

Type shutdown -r now to restart the computer.

EDIT: If it is telling you that user xxx does not exist, first you can use the following command to list users and make sure that you have the correct username

ls /home

The other option is add a new user, from recovery mode using the following commands :

useradd username -m -s /bin/bash
passwd username
adduser username sudo

Again replacing username with your desired username.


I have the T14s AMD running Linux Mint 20.10 and have the same issue. What I did was go into 'alsamixer', then choose to turn the mic led completely off until I find a way to fix this issue.


Solved!
I reinstalled the Ubuntu fonts with this command:
apt-get install --reinstall ttf-ubuntu-font-family

Then I rebuilt the font information files with this command:
fc-cache -f -v

And Solved the problem! :)
I found the solution in another question:
Fonts totally unreadable


Big file on ubuntu 16.04 virtual machine

A large amount of space is being used by /var which is likely related to log files. For whatever reason, systemd likes to use a lot of disk space storing almost every bit of history made to log files. You can clean it up using:

sudo journalctl --vacuum-size=50M

This will delete all the old log files leaving just 50MB of logs remaining, which is likely more than enough for most basic logging needs. You can make this a permanent setting by creating/modifying the /etc/systemd/journald.conf file and putting:

SystemMaxUse=50M


Shortcut to open Terminal and run some commands

First you need a script like one from the following example:

#!/bin/bash

commands () {
    cd / # change directory, in this case to `/`
    echo "your_password" | sudo -S mkdir -p "test" # execute a command as root for which the password is automatically filled
    $SHELL # keep the terminal open after the previous commands are executed
}

export -f commands

gnome-terminal -e "bash -c 'commands'"

Don't forget to make the script executable!

Then, if you are not familiar about how to execute a script using a desktop shortcut, see
Execute sh script from *.desktop file?.


Just to be clear this was never answered or fully addressed. I solved the problem by upgrading but never in the original installation.


Why is Dell OptiPlex GX520 barely running Ubuntu 18.04?

If youre trying vanilla Ubuntu with the gnome desktop, then that Pentium 4 with 2gb of memory is the cause of your issue. I have the GX620 myself, and it STRUGGLES VERY hard to run the gnome DE, even with an aftermarket gpu installed. Its the effects and the compositing on the Gnome desktop youre using thats making your experience bad. I suggest you try out Xubuntu. It will run pretty well, at least way better, than the vanilla Ubuntu. If you want, I can help walk you through this. Im sort of new myself, so I'm new user friendly :)
 Cheers!

Edit: I see that your post says that you have only 1gb of memory now, my apologies. I would suggest using Lubuntu or Xubuntu. Again, my offer is still open to help you transition into the beautiful ecosystem of GNU/Linux!


You can use the link from old-releases subdomain:
http://old-releases.ubuntu.com/releases/focal/ubuntu-20.04-desktop-amd64.iso
or torrent
http://old-releases.ubuntu.com/releases/focal/ubuntu-20.04-desktop-amd64.iso.torrent

Netboot mini.iso (if needed) is available here:
http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso

Currently there is mirror with flavor torrents:

kubuntu-20.04-desktop-amd64.iso.torrent
lubuntu-20.04-desktop-amd64.iso.torrent
ubuntu-budgie-20.04-desktop-amd64.iso.torrent
ubuntu-mate-20.04-desktop-amd64.iso.torrent
ubuntukylin-20.04-desktop-amd64.iso.torrent
ubuntustudio-20.04-dvd-amd64.iso.torrent
xubuntu-20.04-desktop-amd64.iso.torrent


It appears to be the USB driver. Changing to another USB port fixes the problem. Changing back to the USB group on the motherboard starts the problem again. Maybe the coffee-lake USB drivers are not that stable yet.


how to enable beats audio for hp 7040tx for the intel Corporation 7 Series/C210 Series Chipset

I have a HP Envy dv7 with beats audio, probably similar sound hardware.

In Ubuntu 12.04 I got it working by doing gksudo gedit /etc/modprobe.d/alsa-base.conf and adding the line options snd-hda-intel model=ref at the bottom, then save the file and reboot.

Now under Ubuntu 14.04 this solution doesn't work anymore for me, but I found a solution on this thread in the Gentoo forums:

do gksudo gedit /etc/pulse/default.pa
add the line load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe at the bottom
save the file, close all windows and reboot
open sound settings (through system settings or by clicking on the volume icon in unity and choosing "sound settings") and you'll have an extra configuration "simultaneaous sound output". Click on this, then test the sound using the "test sound" button to the right. For me 5 speakers out of 6 work now, only the subwoofer doesn't. Not perfect, but close.

Hope this helps...


There are several issues for kwallet. In a newly installed system, try this:
apt install kleopatra kwalletmanager signon-kwallet-extension libpam-kwallet-common libpam-kwallet4 libpam-kwallet5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkwalletbackend5-5 kwalletcli

Do not create any wallet/certificate/key manually.

Install and open Brave browser. It will automatically create kdewallet and it should be able to unlock at login as per my test.


Why am I getting the error "Cannot assign to non-existent property "head"?

This is because you are running an out of date version of the Ubuntu SDK. The Ubuntu SDK is no longer updated on Ubuntu 14.04 (Trusty) even if you have added the SDK PPA. This is because the Ubuntu SDK requires Qt 5.3 which is only available in Ubuntu 14.10.

You can solve this by,

Using the Emulator for testing your applications. So you code on Trusty, but run it in the emulator to see if it works as expected. You can find more information on getting started with the emulator here.
Upgrading to 14.10 to able to test and run applications on the desktop
Use a Utopic VirtualBox VM


Firestarter is a program for editing your firewall rules - the firewall is part of the linux kernel and will automatically start whether or not you run Firestarter.

So, you don't need to do anything with passwords to have a firewall - it's already there.  In fact, you should keep your password enabled, since that way no one but you will be able to edit the firewall rules.


What's the best way to handle passwords in Ubuntu (Application + Browser PlugIn)

The adjective "best" turns this question into opinion, but there are indeed multiple ways to do it. In KDE all passwords are saved using their own keyring program. The alternative is gnome-keyring, which does the same thing. I do not know of a browser plugin for either application, but you can set firefox to do the same thing.

Go to Edit>Preferences>Security, then check "Use a master password". The dialog for master passwords should appear.


How can I quickly disable standby lid off in Ubuntu Unity 16.04?

The script below will toggle the close-lid action between "nothing" and "suspend":

#!/usr/bin/env python3
import subprocess

key = ["org.gnome.settings-daemon.plugins.power",
       "lid-close-ac-action", "lid-close-battery-action"]

currstate = subprocess.check_output(["gsettings", "get",
    key[0], key[1]]).decode("utf-8").strip()

if currstate == "'suspend'":
    command = "'nothing'"
    subprocess.Popen(["notify-send", "Lid closes with no action"])
else:
    command = "'suspend'"
    subprocess.Popen(["notify-send", "Suspend will be activated when lid closes"])

for k in [key[1], key[2]]:
    subprocess.Popen(["gsettings", "set", key[0], k, command])

...And notify what is the currently set state:

How to use

Simply:

Copy the script into an empty file, save it as toggle_lid.py
Add it to a shortcut key: choose: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

python3 /path/to/toggle_lid.py

Explanation

The current state of the close-lid action setting can be retrieved by the command(s)

gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action

(on power), and

gsettings get org.gnome.settings-daemon.plugins.power lid-close-battery-action

(on battery)

The script reads the current state, and sets the opposite ('suspend'/'nothing') with the command:

gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action '<action>'

Optionally (additionally)

Optionally/additionally, you can run an indicator as a detector to show what is the current state of the lid- setting. It will show:

...in the panel, if the suspend will be prevented on closing the lid, It will show a grey one if not.

The script

#!/usr/bin/env python3
import subprocess
import os
import time
import signal
import gi
gi.require_version('Gtk', '3.0')
gi.require_version('AppIndicator3', '0.1')
from gi.repository import Gtk, AppIndicator3, GObject
from threading import Thread

key = ["org.gnome.settings-daemon.plugins.power",
       "lid-close-ac-action", "lid-close-battery-action"]

currpath = os.path.dirname(os.path.realpath(__file__))

def runs():
    # The test True/False
    return subprocess.check_output([
        "gsettings", "get", key[0], key[1]
        ]).decode("utf-8").strip() == "'suspend'"

class Indicator():
    def __init__(self):
        self.app = 'show_proc'
        iconpath = currpath+"/nocolor.png"
        self.indicator = AppIndicator3.Indicator.new(
            self.app, iconpath,
            AppIndicator3.IndicatorCategory.OTHER)
        self.indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE)
        self.indicator.set_menu(self.create_menu())
        self.update = Thread(target=self.check_runs)
        # daemonize the thread to make the indicator stopable
        self.update.setDaemon(True)
        self.update.start()

    def check_runs(self):
        # the function (thread), checking for the process to run
        runs1 = None
        while True:
            time.sleep(1)
            runs2 = runs()
            # if there is a change in state, update the icon
            if runs1 != runs2:
                if runs2:
                    # set the icon to show
                    GObject.idle_add(
                        self.indicator.set_icon,
                        currpath+"/nocolor.png",
                        priority=GObject.PRIORITY_DEFAULT
                        )
                else:
                    # set the icon to hide
                    GObject.idle_add(
                        self.indicator.set_icon,
                        currpath+"/green.png",
                        priority=GObject.PRIORITY_DEFAULT
                        )
            runs1 = runs2

    def create_menu(self):
        menu = Gtk.Menu()
        # quit
        item_quit = Gtk.MenuItem('Quit')
        item_quit.connect('activate', self.stop)
        menu.append(item_quit)
        menu.show_all()
        return menu

    def stop(self, source):
        Gtk.main_quit()

Indicator()
GObject.threads_init()
signal.signal(signal.SIGINT, signal.SIG_DFL)
Gtk.main()

How to use

Copy the script above into an empty file, save it as show_state.py
Copy both icons below (right click -> save as), and save them in one and the same directory as show_proc.py, and exactly named as indicated below

green.png

nocolor.png

Now test- run show_state.py by the command:

python3 /path/to/show_state.py

and change the current state by pressing the shortcut you set the first section of this answer.
If all works fine, add the following to startup applications:

/bin/bash -c "sleep 15 && python3 /path/to/show_state.py"

Note

The detector- indicator above is an edited version of this answer. Simply by changing the test in the function runs() (and optionally the according panel icons), you can use it to show the state of anything that is True or False.


Gnome Shell running applications in Unity?

You have to install Compizconfig Settings Manager.

sudo apt-get install compizconfig-settings-manager

Warning: What are some of the issues with CCSM and why would I want to avoid it?

Then, run compizconfig Settings Manager and go to Window Management -> Scale plugin. Now, under the third tab - Bindings, you can configure the window picker you want with any corner of your desktop. If I understood you correctly, you would need to click on the fourth entry, "initiate window picker for all windows" and choose the Top-Left corner.


Error installing libjasper-dev and libpng12 package in ubuntu 19.04

To install libjasper-dev using below:

Add the following line to /etc/apt/sources.list:

deb http://ftp.fau.de/trinity/trinity-builddeps-r14.0.0/ubuntu/ bionic main

Install GPG key of the repository:

# sudo apt-key adv --keyserver keyserver.quickbuild.io --recv-keys F5CFC95C

Update the package index:

# sudo apt-get update

Install libjasper-dev deb package:

# sudo apt-get install libjasper-dev

Reference https://ubuntu.pkgs.org/18.04/trinity-r14-builddeps-i386/libjasper-dev_1.900.1-debian1-2.5ubuntu18.04.0+5_i386.deb.html

To install libpng12 refer below link

E: Package 'libpng12-0' has no installation candidate [ubuntu 16.10 Gnome]


LinuxAlt - The Linux Alternative Project

From the website:

  My goal is to provide an informational website available to all linux users. The website is currently in beta form and I will periodically update the database with Windows software and the Linux equivalents and alternatives.

The site has a very lengthy list of Windows programs and their Linux alternatives. The website is apparently still under active development.


Between SynPackManager, Update Manager, and apt-get, which is the healthiest for my system?

They all use apt in the end. Use whichever front end you prefer.


Sorry that you found some now outdated reference: ubuntu-device-flash is deprecated in favor of ubuntu-image.
You can find its code on launchpad: https://code.launchpad.net/~mvo/ubuntu-image/+git/ubuntu-image/+ref/master (there is as well a package for yakkety).

No official documentation is available yet (it's a question of days, I'm told and will be published on http://snapcraft.io). Meanwhile, you can play with it and use --help to check the syntax.


How can I always show the close, minimise and maximise buttons on their windows and keep global menus?

Turns out this bothers many people and there were six separate bugs already filled in launchpad, this is the master bug


Ubuntu 16.04 won't let me run my CodeLite program

I'm not familiar to CodeLite, but message "Permission denied" says you don't have rights to a file.

I guess you don't have executable rights for file ./NumerosGrandes. You need to change permissions by command chmod u+x ./NumerosGrades in directory where the file is located. The file should be located at project_directory/bin or at similar place.

If it doesn't help, please provide rights of the file. You can obtain rights by command ls -l from the same directory.

If you don't own the file, you'll need root rights to do chmod, but I guess that is not your case.

If you don't know where to type the commands, the application is called Terminal or Console or *something*Term. Some filemanagers supports as default right click -> Open Terminal here

Edit

If I made you afraid of linux because of terminal, there should be way in GUI. Open filemanager and navigate to file NumeroGrandes, right click on it and select properties. On tab Permissions you can set required permissions (executable should be enough).


How can I determine what services I had running before a new install?

Try:

service --status-all

or:

ls /etc/init.d


"The Python ssl extension was not compiled. Missing the OpenSSL lib?" error when installing Python using pyenv

If the python version you are trying to install is equal or lower than 2.7.12, it does not support OpenSSL1.1.0, so you would need to replace libssl-dev with libssl1.0-dev.

Ubuntu 18.04 is the first official release to switch to OpenSSL1.1.0 which is why you might not have been impacted with this in the past.

Reference:
https://github.com/pyenv/pyenv/issues/945

https://github.com/pyenv/pyenv/wiki/common-build-problems#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib


/usr/bin/firefox should do it. You can even specify a webpage to open:

/usr/bin/firefox http://www.google.com/

If you are ever stumped as to where to find a specific command, run which <command> in a terminal to find out where it is.


How do I get sound back after connecting with x2go without rebooting?

Instead of doing a re-start,  shut down the system completely, doing a restart will hang up the sound card, and what you are currently using will not release control of it.


Get bash history to remember only the commands run with space prefixed!

You can reverse the default Ubuntu settings by setting two variables (HISTIGNORE an HISTCONTROL), use the commands like below:

HISTIGNORE='!( *)'
HISTCONTROL=ignoredups

HISTCONTROL=ignoredups changes history behaviour to only ignore duplicate lines, and not ignore lines starting with a space. (You can also set HISTCONTROL to the empty string (with HISTCONTROL= ) if you do want to keep duplicates, but that is usually not wanted.)

HISTIGNORE='!( *)' makes history ignore every line which doesn't start with a space: ( *) would match every line starting with a space, but the leading ! negates the match, so it matches everything which doesn't start with a space. And everything what is matched by the HISTIGNORE pattern will be ignored by history. (This latter option requires that bash is run with extglob turned on, with shopt -s extglob, but that is the default setting on Ubuntu.)

If you want to make this permanent, don't forget to put the above two commands into your ~/.bashrc.


Issues with Ubuntu non-ISO-Hybrid iso images

did you use Universal USB Installer? or another tool on PenDriveLinux... if that didn't work I suggest you use YUMI as it is what I use and it always* works


Ubuntu startup login not coming, shows black screen with GNU GRUB prompt instead

Sorry for your lost of data.

There are a few problems here.

The first problem is that the 12.04 LTE is unsorted as it has reached it 5 year end of life cycle.
The wubi  installation is contained in the root.disk file.  The unavailability of that file makes the running of the wubi installation (which is a program running under Windows) impossible.
Recovering Windows data file under Windows is off topic on this forum.  If there is a chance to recover the data file, you would have to use a Windows support forum for their provided tools and procedures.

Resolve

Outside of the lost OS your recourse is installing Ubuntu on it's own partition where it won't be dependent on Windows and you'll have the normal Linux and Ubuntu tools for recovering from failed startups and recovering data from those installations.


Mount it manually.

01) Identify the device using lsblk command:

I'll assume it's sdc1

02) Then issue the mount command:

  sudo mount /dev/sdc1 /mnt

03) Browse your files:

  nautilus /mnt


What Activities Stop Computer from Sleeping

As someone above has posted in a comment, it seems to be mouse or keyboard activity that keeps the machine awake. I'm not marking this answer correct, as it's not really mine, and I can't guarantee it's accurate at this point.


Gnome-shell can't install - broken packages

Installation

Please do the following. Open up a terminal and start with:

sudo apt-get clean

followed by

sudo apt get update && sudo apt-get upgrade

If you got errors continue with

sudo apt-get -f install

Finally finish with

sudo apt-get install gnome-shell

Login to Gnome

I am assuming you are using lightdm

If that worked out, logout and choose 'Gnome' for the next login-session in the login-manager and login again.


Where can I get the source code of KDE's Folder View plasmoid?

You can browse the source code of Folder View plasmoid at
KDE Projects → KDE / KDE Base Apps → Repository → root/plasma/applets/folderview
or checkout the KDE Base Apps repository with git clone git://anongit.kde.org/kde-baseapps.


You need to have silverlight to see skydrive UI, but that is for Windows only. Luckily there is an open-source project which implements most of the silverlight. It is moonlight.

Download this from here and install as per instruction on the same page. It is a Firefox plugin, so I think, you must use Firefox for this. (but may work on  chromium also, not tested though).

After installing moonlight plugin, you need to install user-agent-switcher extension in Firefox. Then change the user agent to "Internet Explorer" 7 or 8 (I tested with IE7).

Install the extension by clicking this. Then from Firefox menu  → Tools → Default user agent → Internet Explorer → Internet Explorer 7. Then refresh the page to see skydrive UI in your Ubuntu browser!


How to set symbolic name for a directory in terminal directory indentifier?

What Adrien's answer provides is merely creating a symlink for one specific directory. This will get annoying really fast when you want to do that same process for 125 directories over and over.

What's far more simple is to use edit your prompt. For instance, here's what I use:

bash-4.3$ PS1='$([ "$PWD" == "/" ] && echo / || echo ${PWD##*/}) $ '
/ $ cd /home
home $

This basically sets prompt to show last word of the full path of current working directory if it's anything else than root directory /. To make such change permanent, place

 PS1='$([ "$PWD" == "/" ] && echo / || echo ${PWD##*/}) $ '

at the end of your ~/.bashrc file, save, run source ~/.bashrc and you're done. This works for all directories that you visit, and will not require making symlinks each and every time


Enter your wireless router's administration web page by using your web browser and going to http://192.168.0.1 (or http://192.168.1.1).

Use your administrator's login name and password to log in. Find the wireless security tab, and look for something that indicates that enryption is currently set to WEP. Change this setting to WPA2, or WPA2-AES.

There may also be a setting in the same area that indicates TKIP or AES. Make sure it's set to AES.

There's also a password field that you need to make sure is known to you. Now you should be able to connect using your Netgear wireless adapter.


How can I customize my kernel configuration?

You would need to recompile the kernel to change the configuration.  Some configurations are known incompatible with Ubuntu userspace: these are documented in the enforce file.  Self-built kernels are typically not supported by Ubuntu Developers, so take care when building such kernels.

The documentation with the procedure you ought follow is at https://help.ubuntu.com/community/Kernel/Compile


How to change the number of workspaces from the command line?

You can use dconf:

To get the current values:

dconf read /org/compiz/profiles/unity/plugins/core/hsize
dconf read /org/compiz/profiles/unity/plugins/core/vsize

To set new values:

dconf write /org/compiz/profiles/unity/plugins/core/hsize 2


Intel® HD Graphics 530 compatibility with 16.04

What worked for me, was using the nomodeset option in the grub bootloader. There are two methods to set nomodeset:

Temporary:

While booting press and hold shift in order to see the grub menu
Choose the entry you want to change (in a normal installation the first entry) and press e to edit it
Look for quiet splash and add nomodeset before it
Finally press F10 to boot.

If this worked for you, you can use the permanent way for all bootups.

Permanent:

edit /etc/default/grub (for example: sudo nano /etc/default/grub)
change the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="nomodeset quiet splash"
Finally update the grub config: sudo update-grub

The next time rebooting, you don't have to specify the boot option.

I run Ubuntu 16.04 LTS with 4.4 kernel on Lenovo i310 laptop.

The output for sudo lshw | grep -A9 VGA is the following:

  description: VGA compatible controller
  product: Sky Lake Integrated Graphics
  vendor: Intel Corporation
  physical id: 2
  bus info: pci@0000:00:02.0
  version: 07
  width: 64 bits
  clock: 33MHz
  capabilities: pciexpress msi pm vga_controller bus_master cap_list
  configuration: latency=0

This answer is partially copied from last answer at When I start my camera in video call on Skype 4.1. incoming video is flashing blue?


problem in installing ffmpeg in ubuntu 14.04

The easiest way is to download one of the static builds linked from the FFmpeg download page.

You can then run it with

$ /opt/ffmpeg-2.3.3-64bit-static/ffmpeg

(or wherever you expanded the archive to).


Installed Ubuntu 16.04 but not actually installed

Use a live CD to try Ubuntu without installing and when your system boot into it, install Boot-repair.

Open Terminal using Ctrl+Alt+T
Then type the codes below:

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

After installation boot-repair will open. Then click the "recommended repair" button. Follow the instructions.

After completion, reboot your PC and check if you recovered access to your OSs.


Ubuntu dock icons on GNOME 3: show little dots instead of red underline

Open a Terminal window and run the following command

gsettings set org.gnome.shell.extensions.dash-to-dock running-indicator-style 'DOTS'


Microsoft Bluetooth Mouse 3600 doesn't show on device list

This link to the ArchWiki may be helpful

I had similar issues with my thinkpad bluetooth mouse. It would pair with other devices and temporarily pair with my laptop but eventually unpair. The solution was as follows:

Edit/create the file /etc/bluetooth/input.conf and apply the following changes:

# Configuration file for the input service
# This section contains options which are not specific to any
# particular interface
[General]

# Set idle timeout (in minutes) before the connection will
# be disconnect (defaults to 0 for no timeout)
IdleTimeout=0

#Enable HID protocol handling in userspace input profile
#Defaults to false(hidp handled in hidp kernel module)
UserspaceHID=true


I want to uninstall netperf 2.6.0 on ubuntu with linux kernel 3.2.21

Make sure your internet connection is on (Wired or Wireless).

Start a root shell using sudo -i and follow the instruction. Now type apt-get remove netperf then exit to drop root privilege


Virtual Box Won't Accept .ISO To Install OS

Make sure that you are choosing the right OS under the settings. (eg. Microsoft Windows, Windows XP) If that is correct try choosing "Unknown Windows" for the version.

Otherwise it is probably a bad or broken iso. Try re-downloading if possible.


Is there a way to find out which package was responsible for a DependecyPackageInstallation?

In a Terminal, try aptitude why $package.


How can I copy and paste text lines across different files in a bash script?

Use the paste command:

paste -d '' File1 File2

By default, paste joins the lines with tabs, so we need to use the -d option to tell it to use the empty string for joining.


How to uninstall and can we delete any folder from /usr

The uninstall will depend on the method you used to install.  If you installed via the Software Center or using Synaptic you can use the GUI remove click to uninstall, or the apt-get commandline to uninstall.

$ sudo apt-get remove [program installed]

Replace [program installed] with the package name of the program you installed such as ecliplse.


Why isn't Deja Dup making room for more backups?

It looks like Déjà Dup keeps at least two full backups before it will free up space by overwriting old ones. You mention you have been using it for a 'couple months'. I bet that means you are up against this limitation. Full backups can't be scheduled exactly, but it is going to be about once a month with scheduled backups happening weekly.

You can manually delete old full backups, they are all those 'duplicity-full*' files on the backup drive. Make sure you have at least one full backup to recover from, obviously. You are taking a risk here that your remaining full backups are not corrupted, too.

Best practice before deleting anything is to use another drive to make a tested, known good backup to, then try deleting and/or resizing the backup partition on the destination drive.

Since you know you normally need 2 backups before Déjà Dup will make the third (and overwrite older ones), you need a destination of roughly 3x your current quantity of data being backed up.

If you are seeing different behavior or any bugs, you can ask a question or report a bug on the project's Launchpad page (requires a Launchpad account)


No sound in Ubuntu 18.04 after (dual boot) Windows start and updates

After all this fuddeling around I found a simple solution: put the laptop to sleep and wakeup again.
Aaaah, sometimes simple things make you happy!


I think we need to cherry pick. This is what I suggest:

Open System Settings -> Language Support
Make English (United States) the top item on the Language tab
Select English (Ireland) in the Regional Formats tab
For the date format, add this line to your ~/.profile file:

export LC_TIME=en_DK.UTF-8


You need kipi-plugins:

sudo apt install kipi-plugins


You should find the necessary instructions to boot the live-CD, mount your hard disk, and edit /etc/default/grub at:  changing grub timeout using live cd (or otherwhise)


How does "Accounts Service" work with lightdm?

For Ubuntu the recommended command to add a new user to the system is

sudo adduser <newuser> --ingroup <group>

This will take care to add this new user to the system with settings defined in /etc/adduser.conf.

The low-level command useradd is available but not all default settings are made

  useradd is a low level utility for adding users. On Debian, administrators should usually use adduser(8) instead.from manpage useradd


How to fix error with ATI driver "Error of failed request"?

Check if fglrx isn't blacklisted.

To do that you can grep through all of the files in /etc/modprobe.d/:

grep fglrx /etc/modprobe.d/*

In my case this gives following output:

blacklist-local.conf:blacklist fglrx
fglrx.conf:# This file was installed by fglrx
fglrx.conf:alias fglrx fglrx

All I had to do is to edit /etc/modprobe.d/blacklist-local.conf file and comment out line with "blacklist fglrx" by inserting "#" in front of the line. So it looks like this now:

# blacklist fglrx

I hope you could understand what i am writting here and it will help you solve your problem.


It may mean that package from PPA is somekind wrong. You can remove it and install package from the official repository with terminal commands below
sudo apt-get install ppa-purge
sudo ppa-purge ppa:sylvain-pineau/kazam
sudo apt-get install kazam


Just use rsync its extremely powerful, very generic and not that hard to use really.

Your backup scenario:

rsync -avz  /home/myfolder/* 192.168.40.1:/remote/backup/myfolder/*

Keeping folders in sync (removing extroneous stuff from destination)

rsync -avz  --delete  /home/keepsynced 192.168.40.1:/remote/backup/keepsynced

From folder to usb:

Just like the first one just change IP , to a local path instead.
Rsync will overwrite files on the remote end if they exist.

If you want to skip entering a password every time are syncing to your network backup host. Just follow this instruction


Cannot Print This PDF, Can Print Other PDFs

I came across this question because I have the same issue with a specific pdf (OpenSUSE Tumbleweed, kde, Epson printer, Okular). While I still don't know why this happens, a 'Force Rasterization'in the kde print dialog, pdf options, works around the issue for me.


A plain text viewer which can hide lines that meet specified regexps

Here are 5 of the best viewers

MultiTail  View multiple logfiles windowed on the console

System Log Viewer  A system log viewer for GNOME

KSystemLog     System log viewer for KDE 4

Xlogmaster     GTK+ based program to keep track of logfiles and devices

Swatch     Logfile viewer with regexp matching, highlighting & hooks

source


find all '&' characters in files and folders

Recursively: from bottom to top

You probably need to do this recursively, which means you need to make sure the rename is done from bottom to top. If you would start at the highest level for example, all files and folders below, would literally be moved, and would need to be found again for example:

/folder & co/some other folder/test & file.txt

->

/folder and co/some other folder/test & file.txt

This is where python's os.walk() can help, to work recursively, ran with the argument topdown=False, to make sure it works from bottom to top.

For the same reason, you need to rename the files first, then the folders, and so does the script below:

The script

#!/usr/bin/env python3
import shutil
import os
import sys

def move(subject):
    shutil.move(os.path.join(root, subject), os.path.join(root, subject.replace("&", "and")))

for root, dirs, files in os.walk(sys.argv[1], topdown=False):
    for f in files:
        move(f)
    for d in dirs:
        move(d)

How to use

Copy the script below into an empty file, save it as move.py
Run it with the directory with all your files and folders as an argument:

python3 /path/to/move.py /path/to/directory

if the path includes spaces, use quotes:

python3 /path/to/move.py '/path/to/directory'