I'm not sure what you are looking but there is

Embed window ?

The KDE svn playground has the old http://websvn.kde.org/trunk/playground/base/plasma/applets/embed-win/

it is source code - seems to work with the Kubuntu 13.04.

It will embed the application as plasmoid.

KDE System Activity embedded to the plasma widget.

Q

  Provided that it could be any application, this is perfect! But I could not figure out > what to do with all those files on the link you have given.

Build example

Build is depending:

build-essential
cmake
kdelibs5-dev

Source download:

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/embed-win

This should download:

embed-win/Messages.sh
embed-win/embed-win.cpp
embed-win/CMakeLists.txt
embed-win/embed-win.h
embed-win/plasma-applet-embed-win.desktop

Open a konsole to the embed-win directory

Make the build directory

mkdir -p builddir

Move to the builddir

cd builddir

Execute the cmake with the command

cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

Should tell:

...
-- Configuring done
-- Generating done
-- Build files have been written to: ../embed-win/builddir

Execute the make

make

Should tell:

Scanning dependencies of target plasma_applet_embed-win_automoc
Generating embed-win.moc
[  0%] Built target plasma_applet_embed-win_automoc
Scanning dependencies of target plasma_applet_embed-win
[ 50%] Building CXX object CMakeFiles/plasma_applet_embed-win.dir/plasma_applet_embed-win_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_embed-win.dir/embed-win.o
Linking CXX shared module lib/plasma_applet_embed-win.so
[100%] Built target plasma_applet_embed-win_automoc

Install

sudo make install

Should tell:

[  0%] Built target plasma_applet_embed-win_automoc
[100%] Built target plasma_applet_embed-win
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/kde4/plasma_applet_embed-win.so
-- Installing: /usr/share/kde4/services/plasma-applet-embed-win.desktop

Uninstalling - remove the /usr/lib/kde4/plasma_applet_embed-win.so and /usr/share/kde4/services/plasma-applet-embed-win.desktop or run the 'sudo make uninstall' in the same directory as you executed the 'sudo make install'.


intel_powerclamp: Start/Stop forced idle injection

Warning: check your CPU temperature. On my system, idle injection starts only when things get hot. The OS protects the hardware from overheating.

See intel_powerclamp manual. It has "Usage and Interfaces" section which describes how to control it.

TL;DR sudo rmmod intel_powerclamp, but you've been warned.

More gentle means to control the thing exist.

First, locate the abstract "thermal device" corresponding to the power consumption control loop:

# grep -l intel_powerclamp /sys/class/thermal/cooling_device*/type
/sys/class/thermal/cooling_device11/type

# cd /sys/class/thermal/cooling_device11

Now, the "slowdown" percentage of the control loop can be adjusted:

# echo 25 > cur_state

It's possible to set 0 there. Percentage above 50 is not allowed.

It'd be great if someone came up with an applet for controlling this contraption easily (i.e. if someone added the obviously needed general user controls), perhaps with rules (AC/battery, time of day, screen idle etc).


Find all python files in linux file system

-name '*.py' since -name accepts a pattern.

Mind the single quotes.


How to remove ubuntu touch webapps from app store

Is there not an option to delete your app on Ubuntu MyApps?


ubuntu 16 - wifi unbale to scan my own ssid, but able to scan others people ssid

Then, I create new WiFi network.

  I key in a connection name: wifiwork1, network name wifiwork. Then
  Wi-Fi security: WEP 128-bit passphrase and finally my key. I will show
  connected when click create.

  However, when I check the Connection information, it is all wrong. The
  address is wrong --> IP Address is 10.42.0.1, suppose to be
  192.168.0.xxx

"Create New Wi-Fi Network" is intended for computer-to-computer; that is, ad-hoc connections. That is not what you want. Please remove all those settings and restart Network Manager:

sudo service network-manager restart

Make certain that your wireless interface is not set to ad-hoc:

iwconfig

It should read: Mode: Managed. If not, change it:

sudo iwconfig wlp11s0 mode managed

  My actually router is configure as the following: Wireless security
  mode is Enable WPA/WPA2 Wireless Security (enhanced), Cipher Type is
  AUTO (TKIP/AES), PSK/EAP is PSK, Network key is 8~63 ASCII or 64 HEX.

WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.

Next, I recommend that your regulatory domain be set explicitly. Check yours:

sudo iw reg get

If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then set it temporarily:

sudo iw reg set IS

Of course, substitute your country code if not Iceland. Set it permanently:

gksudo gedit /etc/default/crda

Use nano or kate or leafpad if you don't have the text editor gedit.

Change the last line to read:

REGDOMAIN=IS

Proofread carefully, save and close the text editor.

Next, I'd set IPv6 to Ignore in Network Manager: http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/images/netconfig/network-connections-ipv6-ignore.png  This example is for ethernet, but you want wireless.

Reboot the router and the computer and check:

sudo iwlist scan

Do you see your network?


Issues with sound when running program as different user than login-user

Answered in question by OP

The solution was just run chrome as it's own user.


Where does Discord store its cache on ubuntu

Discord saves its cache in your home folder, in the ~/.config/discord subfolder.
On my system it is about 500 Mb, and this not too big amount of data.


Clamav-daemon on Ubuntu 16.04.6 LTS: Why is clamd socket file not created in /var/run/clamav?

I resolved this problem today by reconfiguring clamav-daemon:

dpkg-reconfigure clamav-daemon

Even without changing any values that seemed to kick something and get it working again.


How to determine, from the command line, whether rhythmbox is playing?

Media Player Remote Interfacing Specification (MPRIS)

You can use the MPRIS2 DBus interface, it is well established standard and implemented by almost all players.

The same standard that is used by Ubuntu Unity sound indicator to detect, show and control players. So your script will be generic and could work with any player you like.

Hint: Use D-Feet to explore it, d-feet is DBus monitor and can interact with DBus interfaces directly.

Pause

gdbus call \
  --session \
  --dest org.mpris.MediaPlayer2.rhythmbox \
  --object-path /org/mpris/MediaPlayer2 \
  --method org.mpris.MediaPlayer2.Player.Pause

Pause/Resume

gdbus call \
  --session \
  --dest org.mpris.MediaPlayer2.rhythmbox \
  --object-path /org/mpris/MediaPlayer2 \
  --method org.mpris.MediaPlayer2.Player.PlayPause

Check Status

~$ gdbus call \
     --session \
     --dest org.mpris.MediaPlayer2.rhythmbox \
     --object-path /org/mpris/MediaPlayer2 \
     --method org.freedesktop.DBus.Properties.Get \
         org.mpris.MediaPlayer2.Player PlaybackStatus
(<'Playing'>,)

~$ gdbus call \
     --session \
     --dest org.mpris.MediaPlayer2.rhythmbox \
     --object-path /org/mpris/MediaPlayer2 \
     --method org.freedesktop.DBus.Properties.Get \
         org.mpris.MediaPlayer2.Player PlaybackStatus
(<'Stopped'>,)


GLIBCXX_3.4.20 not found, how to fix this error?

I was having the same problem when trying to run other program, and found a solution on StackOverflow.

Basically, just do the following commands:
Firstly, install:

sudo apt-get install libstdc++6

This should already be installed by default, but try it anyway.
If it doesn't solve it, just do the following:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

I didn't perform the "dist-upgrade" command, but the ones before solved it for me


Try Step-by-step setup instructions for Window/Ubuntu dual-boot from the Ubuntu documentation, scroll about half-way down for Windows installation on current Ubuntu set-up.


ModuleNotFoundError: No module named '_csv'

I have a very limited knowledge of Python coding, but you might try executing:
'pip install csv' in a terminal. AFAIK, some missing modules have to be installed via pip. Also, you may want to go here for Adrian Rosebrock's excellent "Py Image Search" website for some easy-to-understand Python tutorials. Some of them are written for the Raspbian OS (the OS that many Raspberry Pi SBC users run), but I think much of the coding used may apply to other Linux-based OSes.

delta1071


USB Mouse suddenly stopped working 16.04

This is a known bug and I have personally faced it and reported it to the GNOME Software developer, the problem exactly is in fwupd package.

If you want to solve it and remove fwupd, run:

$ sudo apt remove fwupd
$ sudo killall fwupd

Then re-plug your USB mouse and it should be working.
Here's the bug report, please add your comments there: https://bugzilla.redhat.com/show_bug.cgi?id=1322259


Finally I found the cause, I'll post it in case anyone has the same issue.
I googled the exact device that showed in the IRQ, and found that some MSI PS63 users who installed Linux found themselves with the same issue:
https://bbs.archlinux.org/viewtopic.php?pid=1862570#p1862570

The problem comes from the touchpad. In my case, rebinding the i2c bus solved the problem:

sudo -i
echo -n "i2c_designware.0" > /sys/bus/platform/drivers/i2c_designware/unbind
echo -n "i2c_designware.0" > /sys/bus/platform/drivers/i2c_designware/bind


Use a torrent client instead of downloading the iso image directly, install Utorrent if you're downloading from within Windows, or Transmission if you are downloading from within Linux, and download the torrent file from official Ubuntu download page, load torrent file in utorrent/Transmission, and the iso image should be present on your desktop in just a few minutes.

By the way, I suggest that you scroll down on the download page and choose Ubuntu 14.04.1 version instead of Ubuntu 14.04. The links for torrent downloads are marked with .torrent at the end.

If Ubuntu download page is the only page where you are experiencing download speed limitation, and you can download at high speed from other pages check with your Internet provider, and ask why this happens. If you have the same problem when downloading other software then there must be something wrong with your Internet connection, either some firewall related issues or some serious conflicts generated when using both IPv4 and IPv6 protocols at once.


If you using any gnome based distro (like Ubuntu) create bootable usb drive using Startup Disk Creator or if you are using Windows try Rufus to create bootable usb and try to install Ubuntu again.


Upgrade to 14.04 failed: segmentation fault on su

I solved the segfault problem as follows:

logged in as root using ssh root@localhost
ran apt-get update, which complained about duplicate sources:

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)

I then backed up /etc/apt/sources.list and commented out the lines for partner repositories.

I then ran

apt-get update
apt-get upgrade
apt install -f

After that I could su and sudo.


1 st Question Answer:

Your IP is changing continuously because you dont have take Elastic IP
So please create Elastic IP and Select  particular Instance for that. Then your issue of changing IP every restart will slove.

2nd Question Answer:

You need to install SSL certificate for that to HTTPS

You can be install SSL on AWS by selecting Classic Load Balancer.


where should I put my .desktop files in kde plasma?

Global application launch files ending ".desktop" go in:

/usr/share/applications

Personal application files go in:

/home/$USER/.local/share/applications/


Xserver is not extending to the third monitor

I have enabled Xinerama , disabled Composition extension in the config, and not it works. the login screen shows on all three monitors, but now I have got another problem, the X session wont start. I can start X by hand and output xterm to it from the console , but thats it. I think I should find a window manager that is designed for Xinerama.

EDIT:
Xinerama is 100% compatible with X. After looking into the problem I found out that GNOME or Ubuntu window managers do not work with Xinerama because they use composite extension which is disabled. So I installed Xcfe and now I have awesome window manager and it is times faster than the Ubuntu's default.


What are all these connections holding up my network?

That looks like a load of outgoing connections to an Amazon CloudFront node.
CloudFront is Amazon's content delivery network product. It could be hosting anything.

So to answer your headline question: No, you aren't being ddossed. This isn't distributed and it's not an attack. Your computer is nuking your network by creating too many connections for your router.

To properly diagnose you would need to either:

Intercept the outgoing traffic with something like Wireshark.
Work out the application sending the requests.

But given that you're running two pretty substantial downloading applications, they would be my first obvious suspects. Shut them down and see if things improve.

In my limited experience with NZB, it might be that you just need to limit the number of connections they're making. Many will split files into dozens of chunks and the downloader will use multiple threads on each. If you tell the downloader to just do a couple of chunks at a time, you might see better performance.

Or get a better router.


Trying to migrate Windows 7 install of Adobe CS5 to Ubuntu 12.04 with Wine - 'Internal errors - invalid paramters received"

You can install Adobe Photoshop CS4 in Ubuntu. For that you have to install PlayonLinux. Please follow this procedure to install it in your ubuntu.

Open

  Ubuntu Software Center > Edit > Preference

Then select "Other Software" tab. Click on add and copy/paste

  deb http://deb.playonlinux.com/ precise main

Click add source and close it.

Then open a terminal. Type

sudo apt-get update

sudo apt-get install playonlinux

After finishing installation run PlayOnLinux from Game or search it in dash.

Run the program. 1st time it will install some windows base font. Follow the instruction. It may take a while. After finishing click on Install a program.

A window will appear with list of software. From left click Graphics and then select Adobe Photoshop CS4  and then click Install button to install it. After installing you can find it in graphics menu. Hope it would help.


Ubuntu 14.04 cannot unlock "user accounts" panel

I don't know what could be the reason maybe it's a bug.

But as a workaround for you to do your work you can run it previously unlocked using command line

sudo gnome-control-center user-accounts


I'd download the installer and use that to install to the drive - even if you use Wubi it will have to download what it needs anyway - so you'll not save much in the way fo bandwidth.

If you get it with a torrent then you will be sure the iso you get is good.

http://www.ubuntu.com/download/desktop/alternative-downloads

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


Sort and classify files using their name components (unix)

In bash, you can split the file name to an array:

#!/bin/bash
for file in *_*_*_*.txt ; do
    IFS=_ arr=($file)
    dir=${arr[0]}/${arr[1]}
    [[ -d $dir ]] || mkdir -p "$dir"
    cp "$file" "$dir"/
done

If you want to move files instead of copy them, use mv instead of cp.


You can download Python 3.6.7 source code from Python site, then compile it yourself.

wget -P ~/Downloads https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tar.xz
cd ~/Downloads
tar -xJf Python-3.6.7.tar.xz
cd Python-3.6.7

Proceed to installation.

./configure
make
make test
sudo make install

This will install Python as python3 executable, assuming that what you want.


Software Updater. The package system is broken. 14.04

regarding this issue

"dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin"

looks like you need to double check /etc/sudoers following entries are exactly as below

Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

( To edit /etc/sudores you can use  sudo visudo )

Then also do the following

sudo cd /etc/apt/sources.list.d/
sudo mv ia32-libs-raring.list.disable ia32-libs-raring.list.BAK
sudo mv steam.list.disable steam.list.BAK
sudo mv ia32-libs-raring.list.disable ia32-libs-raring.list.BAK
sudo mv steam.list.disable steam.list.BAK
sudo apt-get update


Link-local (zeroconf) networking with multiple hosts/interfaces

It a shot in the dark, but could you try this on the host foo:

echo "1" | sudo tee /proc/sys/net/ipv4/ip_forward


It worked what @PonJar said in the comments. My Ubuntu partition was indeed number 8 (sda8) and it looks like I didn't loose any data.


ubunu 10.10 unable to upgrade to any latest version

There is no documented process yet for upgrading from 10.10 now that it is unsupported, but there is documentation on upgrading from some of the earlier unsupported versions that may be helpful to you.  You may be able to adapt the information to your situation.

https://help.ubuntu.com/community/EOLUpgrades/Jaunty

You can still find the Natty sources online:

http://old-releases.ubuntu.com/ubuntu/dists/


the volume boot has only 5.9mb disk space remaining

When you do updates and install packages, "deb" package files are downloaded and put into the directory /var/cache/apt/archives/  and will stay there unless you clean them out.

The way to do this is with the command

apt-get clean

which will delete all of the "deb" package files from that directory which been processed.

If you want to clean up your system further, install deborphan

sudo apt-get get deborphan

Running deborphan will show you which packages installed on your system and are redundant.  Typically these are library packages which no other package requires because the package that required them was removed for whatever reason.

You can if you choose remove them by passing the output of deborphan to the command to remove them with

dpkg --purge deborphan

When running dpkg --purge, one is always prompted for confirmation to remove the packages specified.

If your /var directory is on your "volume boot" and not on a separate file system, you should check to see how much space it is using and if the problem is also due to large log files which have gradually accumulated.  These can be kept trimmed down using the logrotate package and specifying how often to process the log file and how many previous versions to keep either on a daily, weekly, monthly basis or just on fixed size.


If you run Ubuntu in Virtualbox, then you do not need to setup wireless connections there. It will use host system connection.
Guest system does not directly use network hardware, unless it is a USB dongle, which you passed through to the guest system.


How can I share my screen via Skype Beta 5.5?

It seems this feature is not implemented yet. As a workaround you may use Skype Preview, which has the screen-sharing feature.

You may download the .deb package from here (download link found on this page).

NOTE: Screen-sharing does not work in a Wayland session.

Source: This OMG! Ubuntu! article


Steam complains it's missing 32-bit libc.so.6

You could download the package directly:

$ wget http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i386_2.23-0ubuntu10_amd64.deb
$ sudo dpkg -i libc6-i386_2.23-0ubuntu10_amd64.deb

If you don't have wget, you can visit the link with your browser and download the file. Then run the command with the path to it (it could something like /home/YOUR_USER/Downloads).


How to uninstall Bitcoin Core and remove data

Remove bitcoin:

sudo apt-get remove bitcoind

Alternatively, you could just disable bitcoind from starting at startup:

sudo systemctl disable bitcoind

Remove extra files:

If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.

When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user.  Depending on your setup, this could be a user named bitcoin, or be your user.

rm -rf /path/to/.bitcoind/

If you're not sure where this path is, you could run the following commands to help find it:

sudo updatedb
sudo locate .bitcoind

More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.


How to solve the error: WARNING:root:could not open file '/etc/apt/sources.list'

Changing the permissions might work:

sudo chmod -R 0644 /etc/apt/sources.list.d/

UPDATE: I previously set the mode to 0420, which worked in my case, but per comments and further testing it seems that 0644 is correct.


It seems like your /boot/grub/grub.cfg file is broken. Maybe GRUB tries to boot your system partition by UUID, but your new partition have different UUID? You can check your partition UUID by running this in terminal:

sudo blkid

That UUID should also be in your /boot/grub/grub.cfg file, so if it isn't there, it might be the problem. You can correct it manually or just update GRUB files:

sudo update-grub

If it doesn't help, you can try reinstalling GRUB:

sudo grub-install /dev/sdX
sudo update-grub

(where /dev/sdX is your system drive).

If you can't boot your system, you can use Live CD, of course, but you need to bind your /dev, /proc and /sys directories:

Download Ubuntu GNOME 13.10 ISO file.
Burn it on CD or pendrive (with UNetbootin).
Boot from that Live CD.
In terminal:

Mount your system root drive, where /dev/sdXY is partition with your system, you can check it in GParted to be sure.

sudo mount /dev/sdXY /mnt

Bind some directories GRUB needs access to.

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

Change your root directory.

sudo chroot /mnt

Install GRUB (/dev/sdX is where GRUB will be installed, e.g. MBR sector of your system drive).

grub-install /dev/sdX
update-grub

Return to your normal root directory and unmount all.

exit

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

Now reboot and your GRUB should work.


Is there a simple "Hello World" for making games?

One fast and easy option is Quickly.

Creating a project is as easy as typing this at terminal:

quickly create ubuntu-application my-new-project

See this intro video.

Also this is a great site: http://developer.ubuntu.com/get-started/

And, of course, the manual:  man quickly

You will be using python which is also great for 3d games, see Panda3D.


I want to upgrade from ubuntu 12.10 to 13.10

Direct distribution upgade from Ubuntu 12.10 to 13.10 is not possible.But you can upgrade Ubuntu 12.10 to Ubuntu 13.10 through Ubuntu 13.10 live disk.

  does the data get removed or should we make backup of it

Yes your data's will be  lost if you don't have a seperate /home partition.


Updating from 12.04 to 14.04 - Autolaunch error: X11 initialization failed

Try:

sudo DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY update-manager -d


If you want to do it with standard command-line utilities, either cut or awk would work

cut -d, -f1 yourfile

awk -F, '{print $1}' yourfile

You could also use sed to substitute everything after the first comma-delimited field with nothing

sed 's/,.*//' yourfile

The same substitution syntax would work in vim (since you tagged the question with that) i.e. after entering command mode with Esc

:1,$s/,.*//


Symlinks in /var/www/html don't work on a 64 bit machine

you have created the ownership as root, that is the reason it is not accessible.

In apache for it to access a particular directory or files in it for example /var/www/my-site/index.html

then you need to change its ownership to www-data using the command for its directory and files inside it.

sudo chown -R www-data:www-data /var/www/my-site

else you will not be able to access due to permissions problem.


Cannot delete file from /home by rm command

As far as I see it, (And google translate tells me) you need to escape ( and ). Like this:

~$ rm /home/goldap/Загрузки/Put\ Don\ Kihota\ \(1934\)

Another way to accomplish this, would be to put it in single-quotes.

~$ rm '/home/goldap/Загрузки/Put Don Kihota (1934)'


You could save your script in /etc/profile.d/als.sh. According to Ubuntu EnvironmentVariables manual:

  Files with the .sh extension in the /etc/profile.d directory get
  executed whenever a bash login shell is entered (e.g. when logging in
  from the console or over ssh), as well as by the DisplayManager when
  the desktop session loads.

You should also modify relative path with absolute path:

 cat /home/$USER/.bashrc | egrep 'alias.+\=' | tr -s [:space:] | sed 's_^ alias_alias_' | sed 's_alias__' | sort | sed 's_=_\t\t_' | sed 's_^ __'

And this should works for all users.


To fix this problem, it should be enough to add your user to the network or netdev group. To do it, you can use the GUI in the settings menu (that cog in the top right), or just type something like this in a terminal:

sudo usermod -G netdev -a yourusername

Remember to logout/login again to update your user privileges.


Switching from Intel (Battery Saver) to GTX 970M doesn't work

I managed to figure this out thanks to some other posts in the community and a bit of intuitive poking around.

I used Ctrl+Alt+F1 to log into TTY. It asked for my login name and password, and from there I used the following commands:

sudo apt-get purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-364

Reboot and your graphics issue should be fixed.

NOTE: The proprietary drivers will NOT BE AVAILABLE unless secure boot is disabled in UEFI. The GRUB boot manager works fine though, and it speeds startup a little bit, which is why I was running the computer with Secure Boot on. But the NVIDIA drivers were not available even after the above steps, even though they were installed. Once I switched off Secure Boot, though, it was all smooth sailing!


Dell Latitude E6420 in-built microphone not working

According to Dell there is a driver that fixes this issue.  The have it listed ion their website.  It fixes internal microphone on E55xx series 3rd generation latitudes.

You can download it here


Your partition table is damaged, or at least quirky enough for parted to not know how to deal with it. It looks like you've probably just got stray GPT data, which is easily removed by fixparts (part of the gdisk package in Ubuntu). See this page or the FixParts documentation for further details.


How to correctly get command output while using Command Applet in MATE?

It is really simple, one have to save the command into script file like /home/user/bin/script.sh, make it executable by chmod +x /home/user/bin/script.sh and then enter this path /home/user/bin/script.sh in Command field of Command Applet.


How to assign keyboard shortcut for moving to next virtual desktop in kde plasma 5?

Kubuntu 18.04 and Kubuntu 19.04 use Ctrl+F1, Ctrl+F2, Ctrl+F3, and so on to change to the relevant desktop:

If you want to move to the desktop to the left or the right, assign appropriate shortcuts for those actions. If the keyboard shortcuts you input conflict with existing ones, the system will let you know.


sshfs uses fuse for permissions.

Add/Uncomment user_allow_other to /etc/fuse.conf
Add your user to the fuse group.

useradd -G fuse $USER
reboot

As your normal user, mount it

You should be able to mount/unmount with your normal user.  In some cases, you may have to umount as root, if the filesystem gets messed up, or you lose the link in a weird way.


Natty Alpha Testing "Kept Back" Updates, Ubuntu or My System?


Click the Unlock button on the top right of the window. You can then edit the particulars of your account.


It should be stable.

Password changes should not be a problem with one caveat: you need to use a user level password change tool (e.g. from the About Me window, or running the command line passwd tool without root privileges).

The encryption keys used for home folder encryption are themselves encrypted with your password.  The normal password change process requires you to enter both your original and new passwords, so is able to re-encrypt these keys seamlessly.  If you instead use an administrative password change (i.e. one that doesn't require your existing password), then this is not possible.

As expected, if you forget your existing password, you will lose access to your files if you have encrypted your home directory.


Access Yahoo's site and E-mail by Firefox

I had this happen a few times.  Try this it worked for me every time:
Go to Firefox preferences, and go to the privacy tab,

and click on clear your recent history

and then click on clear now


Pressing PrintScreen to take a screenshot closes all open applications

Check the shortcuts Logout and Shutdown in System Settings and navigate to Devices -> keyboard.

In right, scroll down and find out these key. Change for appropriate keys.


How to link 3 different U1accounts and sync them on all computers

Share all your u1 contents with other sister's accounts. Other sisters, in their turn, should share all their contents toward you.
There is a "share" entry in the Ubuntu One right-click menu of every file (on ubuntu). Otherwise you should use the web interface, I guess (never used U1 on win or mac).

Your sister's files should appear under your "Shared with Me" folder, and your content will show up in their "Shared with Me" folders on sister's pc.


what about

apt-get source <package>

Here is complete tutorial how to build your own kernel https://help.ubuntu.com/community/Kernel/Compile

You also don't need full kernel sources to build out of tree kernel module
https://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html


ubuntu can not detect my Sony MDR-ZX330BT HEADSET bluetooth

You need to press and hold the POWER button for more than 7 seconds. Make sure that the indicator flashes blue and red alternately after you release the button. That's how you connect it on ubuntu.

Cheers :)


Create desktop entry to connect with ssh using terminal, warn when close window

I found the solution. I added the -i option after bash as this:

Exec=mate-terminal -x bash -i -c "ssh -X lich@192.168.2.222"

and the problem solved.


How can I copy files with duplicate filenames into one directory and retain both files by having the duplicate(s) rename automatically?

Unfortunately Nautilus doesn't have that option.
Option 1: A different file manager
You could try another file manager like Dolphin.
 (requires the Universe repository)
Option 2: Command-line
You can also use the command line program cp(1) with the backup option:
cp --backup -t DESTINATION SOURCE [SOURCE...]

This has the following effects which can be controlled with other options as described in the manual page of cp(1):

--backup[=CONTROL] ― make a backup of each existing destination file
-b ― like --backup but does not accept an argument
-S, --suffix=SUFFIX ― override the usual backup suffix
The backup suffix is ~, unless set with --suffix or SIMPLE_BACKUP_SUFFIX. The version control method may be  selected  via the --backup option or through the VERSION_CONTROL environment variable. Here are the values:

none, off: never make backups (even if --backup is given)
numbered, t: make numbered backups
existing, nil: numbered if numbered backups exist, simple otherwise
simple, never: always make simple backups

Example
cp --backup=existing --suffix=.orig -t ~/Videos ~/Music/*

This will copy all files in ~/Music to ~/Videos. If a file of the same name exists at the destination, it is renamed by appending .orig to its name as a backup. If a file with the same name as the backup exists, the backup is instead renamed by appending .1 and if that exists as well .2 and so forth. Only then is the source file copied to the destination.
If you want to copy files in subdirectories recursively use:
cp -R --backup=existing --suffix=.orig -t ~/Videos ~/Music


Maybe you don't have the line disconnected, but it probably isn't. You probably have 2 ethernet ports and you plugged it in the extendible PCI ports, not the builtin motherboard. I don't think Ubuntu lets you configure your network cards manually. You must have to plugin to the motherboard port and reinstall.


Microsoft LifeCam VX3000 no longer works on 18.04

Works pefectly (better than on m$ ;-). All you need to do is to add user to group 'video'.
My lsusb is:

Bus 003 Device 006: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000


I don't know how you're syncing between Ubuntu and Android such that you are getting duplicates, but I found from a post elsewhere here that you can email the vcf file to yourself and in Ubuntu Touch on my Nexus 4 (OTA-13) when you tap on the attachment, it will ask which app you want to open it with, and when you select Contacts, they will be imported! (It's beyond me why the import capability is present but not exposed in the UI...)


3 special keys on Dell Inspiron 17R (5720)

I had the same problem and after searching for some time I found out that it is a bug that assigns incorrect keycodes to the these buttons (it assigned mine to super + x, keycode 224 (that's the next song multimedia button) and decrease brightness)
There currently is no way to fix this but the bug report has been filed and confirmed by multiple people.
Let's just hope they fix it for 13.05


Can't select supported max. resolution with HDMI Ubuntu 13.10 AMD card

In case somebody finds this via Google:

The 6900 series does not allow for HDMI in a resolution above 1080p. It worked on my Windows machine because the drivers I used there were old and buggy. The drivers I used on Linux were not so it didn't allow me to go above 1080p (as it was supposed to).


Why does my Atheros AR9285 connect at only 65 Mbits/sec?

Anyway, my wireless network adapter is pretty much crap.

Amen!

  Or should I get a replacement (I was looking at the Intel 6235)

To be honest, this is the easiest and most-troublefree option. The Intel 6235 will work out of the box, no extra drivers needed -- ever! (Intel's Wifi drivers are all open-source and come with the Linux kernel).

I have an Intel 6230 (older version of 6235 with Bluetooth 3.0) and an Intel 6300; both work flawlessly with Ubuntu 12.04 and connect at 300 Mb/s at close-ish distances; as you go further they will gracefully go down in 30 Mbps steps.


Configure mousepad double-tap to work the way I want?

There is no good way to do this. This plagues me as well, but I've gotten used to hitting both mouse buttons to get middle-click. A bug has been reported as well.

It has been happening for quite some time. There are some workarounds, such as making a script run the following at startup:

synclient TapButton2=2; synclient TapButton3=3;

But when you come out of suspend or hibernate the problem will come back up and you'll have to run it manually.

So short answer, it's a problem without a good resolution, but you can kinda work around it in an unsatisfactory fashion.


Terminal is not working after trying to upgrade and switch between Python 2.7 and 3.6

I just scraped through a few more solutions and finally stumbled upon the following that actually solved my issue. So I thought of posting it in case anyone else faced the same issue.

sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3

This was a problem with the system applications that have already been relying on python 3.5. The issue was in relation with symlink python3.


GnuPG Private key can be exported without password

It's not a security risk. The only vulnerability you are ;). You have to make sure that does not get your private key into the wrong hands.

Everyone who has access to your system and has sufficient access rights, can copy your key. Seahorse can not prevent that, too.

Encrypt your partitions and use a sufficiently strong password for your user account. Lock your system when you leave your workstation. Made sure that your backups are encrypted.


How to set up i3wm with a desktop environment?

I've set up i3 with the MATE desktop, they play together nicely.

Steps to set it up:

I started from a ubuntu server installation
Install MATE Desktop environment: sudo apt install ubuntu-mate-desktop dconf-editor and reboot (you should now be able to log into ubuntu MATE)
Open dconf-editor:

org > mate > desktop > session > required-components. Change windowmanager from marco to i3.
org > mate > desktop > session and in required-component-list, delete filemanager.
org > mate > mate-menu, remove hot-key
com > solus-project > brisk-menu, remove hot-key
Install https://github.com/city41/mate-i3-applet for a nice workspace indicator

Use the following color scheme to match with the MATE colors (in ~/.config/i3/config):

bar {
    tray_output None
    mode invisible
    colors {
        background #000000
        statusline #ffffff
        separator #666666

        focused_workspace  #4c7899 #285577 #ffffff
        active_workspace   #333333 #5f676a #ffffff
        inactive_workspace #333333 #222222 #888888
        urgent_workspace   #2f343a #900000 #ffffff
        binding_mode       #2f343a #900000 #ffffff
    }
}

Sources:

https://www.mattgreer.org/articles/mate-and-i3/
https://askubuntu.com/a/1039164


UPS beeping on mouse scroll or other events

CPU rates would jump during scroll but does this happen when you rotate the mousewheel wheel on something that doesn't scroll?

If it doesn't it's probably a hardware issue with the PSU or the UPS not being able to deal with the CPU changing power states. It's probably a sign that one or both is faulty or just overloaded. Testing the second is easiest: unplug a load of stuff and test again.

... But if you still get beeps aside from CPU-intensive things, I've really no idea. Some sort of interrupt crossover but again, no idea how that could happen.


.desktop file :line 1: [Desktop: command not found

The line

Type=Game

is invalid. Replace it with

Type=Application

This should fix the error when clicking it.

You can't run a .desktop file from the shell.


Ubuntu 16.04 using Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits) instead of intel or nvidia

That would seem to indicate that you are now using the open source noveau drivers for your NVidia card. You need to go to the Additional Drivers tab under Software & Updates in System Settings, and select the proprietary NVidia drivers to use.


No errors but cannot remove a folder from a USD drive

You may try remounting the drive with read-write flag. Something like following should work.

mount -o remount,rw /dev/sdb1 /media/me/MyDisk


You can use vnc for gui access to server.

Install the VNC-server

apt-get install vnc4server

Please make sure that you are using only vnc-server & no other VNC-server are installed as this could give errors in future mostly that clipboard sharing between the host Ubuntu Server & vnc-client machine. You can check it as follows:

xxx@yyy ~ $ sudo dpkg -l | grep vnc
ii  vnc4server                                            4.1.1+xorg4.3.0-37ubuntu5                           amd64        Virtual network computing server software
xxx@yyy ~ $

Please uninstall if tightvnc or anything similar installed.
Adding VNC user

In my case I am using user=sssss it will differ in your case. You can use any username for the same.

adduser sssss

xxx@server1:~$ sudo adduser sssss
Adding user `sssss' ...
Adding new group `sssss' (1001) ...
Adding new group `sssss' (1001) ...
Adding new user `sssss' (1001) with group `sssss' ...
Creating home directory `/home/sssss' ...
Copying files from `/etc/skel' ...

Enter new UNIX password: <--yourpassword
Retype new UNIX password: <--yourpassword
passwd: password updated successfully
Changing the user information for sssss
Enter the new value, or press ENTER for the default
    Full Name []: <--ENTER
    Room Number []: <--ENTER
    Work Phone []:<--ENTER
    Home Phone []:<--ENTER
    Other []:<--ENTER
Is the information correct? [Y/n]<--ENTER

Start the vncserver with the user, for this use:

su - srijan
vncserver

It will see:

sssss@server1:~$ vncserver

You will require a password to access your desktops.

Password:<--Put your VNC password
Verify:<--Put your VNC password
Password too long - only the first 8 characters will be used
xauth:  file /home/sssss/.Xauthority does not exist

New 'server1:1 (sssss)' desktop is server1:1

Creating default startup script /home/sssss/.vnc/xstartup
Starting applications specified in /home/sssss/.vnc/xstartup
Log file is /home/sssss/.vnc/server1:1.log

sssss@server1:~$

Make backup of the original file & then make the configuration

cp ~/.vnc/xstartup ~/.vnc/xstartup.bak > ~/.vnc/xstartup
vi ~/.vnc/xstartup

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

Make the startup script for the vncserver

sudo vi /etc/init.d/vncserver

#!/bin/bash

unset VNCSERVERARGS
VNCSERVERS=""
[ -f /etc/vncserver/vncservers.conf ] && . /etc/vncserver/vncservers.conf
prog=$"VNC server"
start() {
 . /lib/lsb/init-functions
 REQ_USER=$2
 echo -n $"Starting $prog: "
 ulimit -S -c 0 >/dev/null 2>&1
 RETVAL=0
 for display in ${VNCSERVERS}
 do
 export USER="${display##*:}"
 if test -z "${REQ_USER}" -o "${REQ_USER}" == ${USER} ; then
 echo -n "${display} "
 unset BASH_ENV ENV
 DISP="${display%%:*}"
 export VNCUSERARGS="${VNCSERVERARGS[${DISP}]}"
 su ${USER} -c "cd ~${USER} && [ -f .vnc/passwd ] && vncserver :${DISP} ${VNCUSERARGS}"
 fi
 done
}
stop() {
 . /lib/lsb/init-functions
 REQ_USER=$2
 echo -n $"Shutting down VNCServer: "
 for display in ${VNCSERVERS}
 do
 export USER="${display##*:}"
 if test -z "${REQ_USER}" -o "${REQ_USER}" == ${USER} ; then
 echo -n "${display} "
 unset BASH_ENV ENV
 export USER="${display##*:}"
 su ${USER} -c "vncserver -kill :${display%%:*}" >/dev/null 2>&1
 fi
 done
 echo -e "\n"
 echo "VNCServer Stopped"
}
case "$1" in
start)
start $@
;;
stop)
stop $@
;;
restart|reload)
stop $@
sleep 3
start $@
;;
condrestart)
if [ -f /var/lock/subsys/vncserver ]; then
stop $@
sleep 3
start $@
fi
;;
status)
status Xvnc
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|status}"
exit 1
esac

Make it executable:

chmod +x /etc/init.d/vncserver

Make the configuration file for the vncserver  by creating file as follows:

mkdir -p /etc/vncserver
vi /etc/vncserver/vncservers.conf

Give the entries like this.

VNCSERVERS="1:sssss"
VNCSERVERARGS[1]="-geometry 1024x768"

Add it into boot startups:

update-rc.d vncserver defaults 99

xxx@server1:~$ sudo update-rc.d vncserver defaults 99
 Adding system startup for /etc/init.d/vncserver ...
   /etc/rc0.d/K99vncserver -> ../init.d/vncserver
   /etc/rc1.d/K99vncserver -> ../init.d/vncserver
   /etc/rc6.d/K99vncserver -> ../init.d/vncserver
   /etc/rc2.d/S99vncserver -> ../init.d/vncserver
   /etc/rc3.d/S99vncserver -> ../init.d/vncserver
   /etc/rc4.d/S99vncserver -> ../init.d/vncserver
   /etc/rc5.d/S99vncserver -> ../init.d/vncserver
xxx@server1:~$

Reboot the machine.

To access server you can user any vnc client app, list is here


By default, rsync checks file size and modification time before transferring to check whether the files are identical or not.

The rsync transfer time is rather misleading for files of same size and modification time, if you do rsync -vvv then you would see rsync spends most of the time doing the delta transfer check to make sure the files are identical, rsync does this chunk by chunk. In a nutshell, if the size and modification time remains the same, rsync won't do a transfer.

Also note that you can do a checksum before transfer by using the --checksum option.

In your case though, as the file sizes are same then it must be the modification time causing the files to be re-transferred. This is justified as you have used no option that preserves modification time on rsync.

You can use -t (--times) option to preserve modification time or -a (--archive) option that includes -rlptgoD options together:

sudo rsync -vv -trP /inputFolder ~/backupFolder

sudo rsync -avvP /inputFolder ~/backupFolder


How to Execute Build command in jenkins(Ubuntu)

Easy Way:
Save your Program/Script in a Source Code Repository (Github,
Gitlab, Bitbucket, .....)
Create New Build Job
In Source Code Mgmt,
Give Source Code Repository & Login Details
In Build Section, give list of commands to execute your Program/Script (Since you mention Java, I
assume it would be   javac .java  java
In Post Build  Actions, Add your Email ID, to get Email
Notifications...
This is the minimal setup you need.
Once you get comfortable, Pl note, ..
Each of the above can be parameterized,


Go into the folder where you downloaded it and run

sudo apt-get install ./sublime-text_build-3126_amd64.deb


You have a typo in your bumblebee.conf file. In the line for the LibraryPath in the [driver-nvidia] section you have written,

LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-nvidia-319-updates

whereas by default the library would be present in,

LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-319-updates

Note the extra 'nvidia' in your line.


Use these commands (just a sketch, add the device paths):

lvresize -l +100%FREE
cryptsetup resize
resize2fs # assuming ext*


Dash To Panel Extension breaks Lockscreen on Thinkpad T495

I had the same issue, Following @kenn's comment, this is fixed by ugrading to Gnome 3.36.3, I've tested with Dash2P v38. seems to work.
I did sudo apt upgrade and Alt+F2, hit R to restart the Shell.
If that does not work, reboot your machine too.
That's from the same issue posted by @kenn. Thanks man!


How do I require Two Factor Authentication to log in?

This thread details how to use a USB stick as your boot device, though for different reasons. I like the fact that without the stick the machine appears to have no OS on it.


it may be due to space problem.
first boot the system & then press f8 key.
In this some option to be show.

  check disk
  try to free space
  and more

you can try both check-disk & free space option & after completion the system boot normally.


You're looking for & which will run jobs in the background:

for i in {0..15}
do
    python my_script.py "$i" &
done

That will launch all 15 simultaneously. Alternatively, for more fine grained control, you might want to check out GNU parallel.

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


Problem installing latex-beamer ubuntu 18.04

The way you have chosen is Windows-like.

Debian (thus and Ubuntu) ships TeXLive distribution in deb-packages via APT.

For Beamer you need beamer.cls file and other beamer*.sty files.

The beamer.cls file is located in texlive-latex-recommended package (see search results on packages.ubuntu.com.

All you need is to install this package

sudo apt install texlive-latex-recommended

As the result you will have all needed Beamer stuff and then include this LaTeX package to your document.

The examples are located in texlive-latex-recommended-doc package.


DHCP Configuration in ubuntu server 12.04 LTS

Try webmin

install webmin web interface and add dhcp server module

 sudo apt-get install webmin

there are a lot of options in this great interface


Upgrading from 14.04 LTS to the next LTS with FDE

Recommendes as per above: the upgrade regarding the encryption wenth through fine.

Note to anyone else: If you have external PPAs activce which might interfere with your installation, it's best do downgrade your system withouth those PPAs active or your upgrade might fail.


It is unlikely a permission problem with your files would trigger such a problem.

Please check the output of dmesg if there are any messages related to out-of-memory conditions.

Did you know Mathworks provide their own Q-and-A-site for matlab?, it's called "MATLAB Answers" and available under https://www.mathworks.com/matlabcentral/

Perhaps you will get better support over there.


Install freezes "GRUB UEFI enabling NVRAM updates" server 18.04 LTS

Well I didn't exactly solve the root problem, but... I got a 250gb ssd and installed it using legacy while having my 6tb as GPT.  Now everything works as intended.


Execute a jar at console from another folder

I think your second command is wrong. I tried:

/home/users/myuser/myfolder/myjarfile.jar

and it works. If I try:

 ./home/users/myuser/myfolder/myjarfile.jar

I get an error message:

zsh: datei oder Verzeichnis nicht gefunden: ./home/users/myuser/myfolder/myjarfile.jar

which means that the file was not found.

The third command is also wrong. Try java -jar /home/users/myuser/myfolder/myjarfile.jar


Delete files from /sys (ubuntu do not boot normally)

If you are sure the culprit is in the file you placed there, then we need to see what file and where exactly it was placed, because you may have tweaked some hardware this way.
Otherwise, the content of /sys, being purely virtual, is regenerated every boot. So it is already deleted.


What are the differences between Ubuntu download servers

No. Servers need to get updated from the main server so some repositories will lag a little bit. Here is a list of mirrors with a column that states how far behind a server is. As you can see some are a week behind but you might also expect that this is due to localisation (translations in progress).
See 1. In general this is only the case when a server is updated and that mirror is not updated yet. I would assume this to be the case when a new release is out. The mirrors will need a bit of time to update.
See 1 and 2.
That would be archive.ubuntu.com and/or uk.archive.ubuntu.com I would assume it to be in the United States and the 2nd to be in the United Kingdom. And I would consider both "main" servers.


Why doesn't Banshee play music from another filesystem?

The partition does not auto mount so when Banshee is going to place a song, you double click on it and nothing happens. Just mount the partition and double click again the song, it should play. To auto mount a NTFS partition correctly please use the answers provide in the following questions:

1 - How to add NTFS partition to fstab?
2. How to automount NTFS partitions?
3. How do I use 'chmod' on an NTFS (or FAT32) partition?

With this 3 you will know how to mount, auto-mount and set permissions to the NTFS partition.


Second monitor not coming back on after going into hibernate

Check the Monitor application, detect monitors and see if that works.


Conky overlapping itself when switching between desktops

On line 11 change:

own_window_type override

to:

own_window_type normal

if that doesn't work, then try desktop instead of normal.

As per similar problems at (ubuntuforums.org - Conky overlapping everything).

On my own system I use normal without any problems however Conky stays on the internal monitor and I don't move it to the external display. Indeed I'm not even sure I know what you mean by "switching desktops". I did use Ctrl+Alt+F6 logged into console and then switched back to GUI with Ctrl+Alt+F7 if that's what you meant.


Accidentally deleted my Windows 8 boot entry from dual boot with EasyBCD

Test this:

Insert the Windows 8 usb install

Open a terminal,Press Ctrl+Alt+T

Run it:

sudo -i
dd if=/media/user/windows-usb of=/windows.iso
apt-get update
apt-get install unetbootin

Run Unetbootin.

Select the Diskimage option.

Then browse for /windows.iso

Under Type select Hard Disk

Leave / for the Drive.

Press OK

Restart your computer.

Select Unetbootin in the Grub 2 menu.

When the computer boots off Windows 8 iso.

Press the Troubleshoot option.

Select Advanced Options.

Select Command Prompt.

Recreate the Boot Configuration Data store:

bcdboot c:\Windows /l en-us /s v: /f ALL


initially, you can verify what are the resolutions that can be used by your video card in GRUB... To do this, restart your computer and, in the GRUB menu screen, type the 'c' key. The GRUB prompt will be shown.

In the GRUB prompt you should type the command 'vbeinfo' and hit Enter. GRUB will show the supported resolutions that can be used by it with your video card. After taking a look (and, if you want, writting them in a paper) you can hit 'Esc' and start Ubuntu.

In Ubuntu, I suggest that you check the file /etc/default/grub and, if you want, you can change the parameter GRUB_GFXMODE (the default value is 640x480). Note that you can use only modes which your graphic card supports via VBE (i.e., the supported resolutions that you looked previously).

If you change the parameter, you should run the update-grub command:

sudo update-grub

I hope this can help you.

Regards,

Rafael.


Try deleting all the print jobs in the queue and turning the printer off for 30 seconds.

Under the printers properties check that 'Enabled' is ticked and the error policy is set to 'Retry job'.

If these don't work paste the output from lpinfo -v into your question and attach /var/log/cups/error_log.


What ports should I allow for a MySQL server?

What ports are required by Ubuntu to run properly?

Even if you will close all your tcp/udp ports, ubuntu will technically still run properly.

I want to deny all non-essential ports on the system.

Here essential is relative term and you should state the functionalities you require.

At the moment, I have ports 22, 443, 53, and 3306 open. Are there any other ports I should allow/deny?

So you have opened ports for ssh, https, DNS, mysql. If you do not require any other service then you can close the port ( specifically kill the program using the ports ). Just check the open ports using
sudo netstat -tulpn

You can learn about netstat and the flags -t -u -l -p -n by visiting the man page of the netstat command

It will also give you the pid of the program name.
Hope this helps.


Why isn't my Cisco VPN receiving network packets?

in case you could not solve it yet. Directly after updating to 12.10 ,y VPN was not working either. I first had to allow all deactivated software sources again and then make an apt-get update / upgrade. Afterwards everything worked fine again.


There is no uninstaller for MATLAB on UNIX or Linux. To remove MATLAB you simply need to delete the MATLAB installation following the instructions below:

If you are running a license manager for MATLAB, shut down the license manager using the lmdown script located in MATLAB's etc directory. If this folder does not exist, you are not running the FlexNet license manager. For example:

[root@localhost ~] /usr/local/MATLAB/R2010b/etc/lmdown

You should also remove any license manager files in the /var/tmp directory. These files should begin with lm_TMW, e. g.:

[root@localhost ~] rm /var/tmp/lm_TMW*

Remove the entire root MATLAB directory using the rm -rf command, e. g.:

[root@localhost ~] rm -rf /usr/local/MATLAB/R2010b

Remove any symlinks to MATLAB binaries on the path, e. g.:

[root@localhost ~] rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild

Source


I have same problem, it seems it's a bug in Ubuntu 13.10. I recommend you trying these:

sudo add-apt-repository ppa:gnome3-team/gnome3-next
sudo add-apt-repository ppa:gnome3-team/gnome3-staging

Then do:

sudo apt-get update
sudo apt-get install gdm gnome-panel

also try "chkdsk /f" from windows.

if it doesn't work reinstall Ubuntu 13.10
it mostly happens when u boot into windows.


Qualcomm Atheros Device can't find channel 13 WiFi (Ubuntu 16.04.2)

You need to enable source code repositories in Software Sources and make sure build-essential is installed along with kernel header files.  You will also need Secure Boot disabled in BIOS

sudo apt-get install build-essential linux-headers-generic

Then we can download the kernel source code

apt-get source linux-image-$(uname -r)

Then we can navigate to the ath folder

cd linux-hwe-4.8.0/drivers/net/wireless/ath

Open the file we need to change with gedit

gedit regd.c

Got to lines 235-237 and change
   case 0x66:
   case 0x69:
      return &ath_world_regdom_66_69;

To
   case 0x66:
      return &ath_world_regdom_66_69;
   case 0x69:
      return &ath_world_regdom_60_61_62;
Make sure the indentation matches, case should be one TAB from left and return should be 2 TAB from left then save the file and exit gedit.  Then we can compile the module with

make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

It should compile if the changes were made correctly.  Then we can make a copy of the original module
sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko.bak
Then we can copy the new module to the kernel
sudo cp ath.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko

Reboot

This will need to be redone after a kernel update and you will need to
cd linux-hwe-4.8.0/drivers/net/wireless/ath
make -C /lib/modules/$(uname -r)/build M=$(pwd) clean
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko.bak
sudo cp ath.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ath/ath.ko
And reboot to have channel 13 in the new kernel

Reference: https://forums.linuxmint.com/viewtopic.php?f=53&t=236357


resized partition of Ubuntu Virtual Box successfully but can't resized it to actual size

Deleted extended partition and swap then I was able to extend my primary ie sda1


system policy prevents unlocking or controlling the mobile broadband device?

The message is defined and raised by polkit in the file /usr/share/polkit-1/actions/org.freedesktop.ModemManager1.policy.

Ideal is for the author of Modem Manager GUI to define a polkit policy (see the "Declaring Actions" section in the polkit documentation) that would be shipped in future versions of the application.

Meanwhile, you can add a set of authorization rules in /etc/polkit-1/rules.d/ in a file named something like 30-modem-manager-gui.rules as per the "Authorization Rules" section in the polkit docs I referenced above.

An example rule that checks for the specific message you get and that won't show the message if you are a sudo user:

polkit.addRule(function(action, subject) {
  if (action.id == "org.freedesktop.ModemManager1.Device.Control" &&
        subject.local && subject.active &&
        (subject.isInGroup ("sudo"))) {
    return polkit.Result.YES;
  }
});

Other users, please help improve this answer with a better example. This is my first stack exchange answer.


Maybe, the image in the USB stick is damaged. You may try wirting the image again. If it fails again, then try another USB stick, or a DVD with Ubuntu.
During the installation, select "Install allongside with Ubuntu 12.10" and partition your HDD. Or you may also select the "Something else" option to make partitions as you want.


You are missing mandatory whitespaces around the operator, i.e. = in your case:

if [ "$answer" = "$YES" ]

This concerns every condition.


Create a .desktop file and put the reference to your icon there.

Dash and the launcher will pick it up.


127.0.0.1 is by convention the "loopback" address of the system. In other words, on any computer, it is always present and is the computer itself (the very short ping delays will confirm this). It corresponds to your "lo" network interface.


Create both, trusty and xenial packages in Ubuntu PPA

Copy the source to another directory and edit the debian/changelog file in your source and replace trusty with xenial in the first line.

Also note that Launchpad will not accept packages with identical versions even if they are intended for different releases.

So replace the version there too, e.g. append ~xenial to it. It does not really matter what you append there, but you must change it somehow.

It will look this way:

libbiddy1 (1.6-1~xenial) xenial; urgency=medium

Then do debuild -S again and upload.


Depends on what you are doing, if only watching youtube cute cat videos, I would not worry too much.  If doing banking or sending secure personal information, would at minimum use a decent paid VPN(some have free option if using little). Secure personal info includes signing in to websites.


It sounds like you're looking for the --iconv option of rsync since you're dealing with two different filesystems (e.g. your mac and your ubuntu server).

Search the web, see the docs, or see here and here.

For the permissions, make sure you're using the -p switch to preserve permissions.


Since smartgithg is not in the Ubuntu repositories, something like this in /etc/apt/preferences should do (untested, however) :

Package: *
Pin: origin "XX.archive.ubuntu.com"
Pin-Priority: 1001

Package: *
Pin: origin "security.ubuntu.com"
Pin-Priority: 1001

You are giving priority >= 1000 to all packages from the Ubuntu repos (change according to your archive mirror, of course). This means that Apt will always prefer packages from the repos, even if the version is lower than packages available from other sources (in your case, the PPA).


The good package is called only "spotify-client" you can remove the "qt" part.

sudo apt-get install spotify-client

As you can see at this ouput, the QT one was a transitional package :

$ apt-cache search spotify-client
spotify-client - Spotify desktop client
spotify-client-gnome-support - Transitional package for spotify-client
spotify-client-qt - Transitional package for spotify-client

EDIT

According to this : http://packages.ubuntu.com/search?keywords=libqt4-webkit
You'll have to enable the universe repository.
Go into the software source and activate it.

This is what there is inside my /etc/apt/sources.list :

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates universe


Go to System Settings, and choose Keyboard Layout. There you can visually see if it matches to your actual keyboard. I suppose you have a wrong layout set.

See this video.


Have you tried using wine for this? This isn't running natively through your box, but rather through a compatibility layer. As user535733 stated, "full functionality" is a very difficult term, windows is windows for a reason, and they're not releasing their source code any time soon. Most commands on "cmd" should work in the wine version, but maybe not all:
https://wiki.winehq.org/Cmd
Alternatively, you can use the FOSS "Powershell" for this. It has/should have the same syntax as the windows equivalent. Someone online forked the original windows program:
https://github.com/powershell/powershell
And ultimately, the only other way i can think of having (near) native cmd/powershell is via gpu passthrough. Be warned, this is a difficult process. It all depends on what functionality you require out of your cmd/powershell environment.

If none of these fulfil your needs, consider dual booting with windows, or continue with your search.


Your second hard-drive is maybe just broken... Have you tried to use it in another machine ? You may also try to install it as master HDD and launch a bootable CD/USB key in order to check if it can be detected. I would also to put it in a USB enclosure, as you may get more debug information if plugged on a running system than at boot time.

The longer boot time suggests that either your OS is looking for the second HDD or has trouble accessing it. BTW, do you hear any noise (movement of heads on a classical HDD) ?


Is it safe to install GIMP 2.8 from a PPA?

Yes the problem with oneric not precise.

Just press Enter.

Then run sudo apt-get update

After that run sudo apt-get install gimp

Known issues are ok. Every application has bugs. Isn't it.


You need to install a program called XRDP. This is the only way I've found to make RDP connections into a linux box. You shouldn't need to install MATE at all.

sudo apt-get install xrdp

After you install this program you should be able to RDP into your linux machine.

I would personally suggest connecting to your linux box in a different way if possible- RDP connections into linux haven't really worked to well for me before, but you should definitely give this a shot.

EDIT: If you wish to continue following the youtube tutorial and want to use the MATE desktop, try this.

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop

You can thank nDCasT in the youtube comments if this works for you. Though if your purpose is to just to connect to your machine using RDP, you shouldn't really need this step at all.


Why is there always only the latest development milestone available for download?

CD images take up a lot of space. Consider all of the combinations of architectures and flavours that one might wish to download. I imagine that the potential use case for this (consider that this method of regression testing would only work for packages on the CD, which are likely to have lots of developer attention anyway) is sufficiently small that it is not deemed to be a worthwhile tradeoff.


How return from .bashrc if not run interactively?

According to the Bash Hackers Wiki, the most reliable method is to check for the existance of the i letter in the variable $- (your second method).

There are cleaner ways to implement this action, like the following:

[[ $- == *i* ]] || return

For more information, check this answer on the Unix&Linux StackExchange community.


Why is S-Video Out Not Working on an Acer 5720Z

Apparently this is indeed a bug that has been registered on launchpad. It has something to do with xserver-xorg-video-intel

The bug report can be found at https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/763688.


You can produce some of the characters using AltGr but not all of the ones you list.
AltGr+s = ß
Shift+AltGr+>+underscore   = ≥
Shift+AltGr+<+underscore   = ≤
This reference is also a useful source for click and paste various symbols from the clipboard.


How do I install node from the file "node-v10.15.3.tar.gz"

either download the linux binaries from this page: https://nodejs.org/en/download/

Direct link: https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.xz
Just unpack them

you can also use the official nodesource distro packages using the instructions at https://github.com/nodesource/distributions/blob/master/README.md

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

which would be my prefered way to achieve this.


kernel version 3.13 even I have ubuntu 14.04.2

Kernels do not upgrade automatically to a next major version (like 3.13 to 3.16) through routine updates. You can do it manually by running

sudo apt-get install linux-generic-lts-utopic

You can read about HWE stack.

If you want to install graphical stack from Ubuntu 14.04.2, then you can run

sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libqt5gui5 libgles1-mesa-lts-utopic libgles2-mesa-lts-utopic libgl1-mesa-glx-lts-utopic libgl1-mesa-glx-lts-utopic:i386 libglapi-mesa-lts-utopic:i386 libegl1-mesa-drivers-lts-utopic

Here is a good guide for that.

The Ubuntu Wiki command can remove a lot of useful packages. In some cases it removes ubuntu-desktop. So it is not good to run it. Anyway be careful and look which packages are going to be removed before agree to proceed.

After you are happy with the new kernel, you can remove 3.13 kernel meta-packages to prevent 3.13 kernels from updating. It can be done by

sudo apt-get remove linux-image-generic linux-headers-generic

Also old kernel images and headers can be removed with Synaptic.

Update Now 3.19 kernel is available for Ubuntu 14.04. It can be installed by

sudo apt-get install linux-generic-lts-vivid


14.04 CIFS mounting windows 8 share 'input output' error

I just had the same issue with a Windows 8.1 host (Asus TF100TA), when I tried to access a public share from my Ubuntu 14.04.2 LTS host (kernel 3.13.0-53-generic - might be a bit outdated).

Solution for me: Upgrade SMB version from 1.0 (Windows 9x) to 2.0 (Vista).

  root@thor:/mnt# mount -t cifs -o guest,vers=2.0 \\192.168.1.115\cam /mnt/network

Possible values for "vers" (from the manpage):

  vers=
             SMB protocol version. Allowed values are:

       ·   1.0 - The classic CIFS/SMBv1 protocol. **This is the default.**

       ·   2.0 - The SMBv2.002 protocol. This was initially introduced in Windows Vista Service
           Pack 1, and Windows Server 2008. Note that the initial release version of Windows Vista
           spoke a slightly different dialect (2.000) that is not supported.

       ·   2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server
           2008R2.

       ·   3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server
           2012.

2.1 did NOT work for me, but 2.0 did. Just test with the different versions.


Yes, it is possible.
Follow this procedure.

To make the folder you want to mount the ram disk to:

mkdir /mnt/ramdisk

Execute the following line to create a ram disk. The size can be whatever you like as long as it fits into your available memory.

mount -t tmpfs -o size=1024m tmpfs /mnt/ramdisk

If you want this to be permanent do the following steps:

Open this file in nano or in whatever your preferred editor is.

nano /etc/fstab

Add the following line to that file and save the file.

tmpfs       /mnt/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=1024M   0 0

This line is supposed to be one uninterrupted line. Again size can be whatever you see fit.

Now reboot and you will have a ram disk.


Porting a PPD to Linux from OSX-filter error?

Turboprint release their support to Canon G1000 last April 2017. I have updated my question also.


phpmyadmin uninstalled, but still prompting for login via browser

You have the following line in the apt-get output you posted:
dpkg: warning: while removing phpmyadmin, directory '/usr/share/phpmyadmin' not empty so not removed
So something is still left in the /usr/share/phpmyadmin directory and these files are probably prompting for login when you access them via web browser.
Check the contents of that directory and if there's nothing inside that's important for you, just delete that directory. That should fix the issue.


How to optimize whole folder like with jpegtran?

Also, if you need jpegtran, you can find it in the libjpeg-turbo-progs package. This has all the optimisation features of its Windows counterpart but you have to use it via the command line and it's frankly, quite a pain to use.

There are other ways of looping over files, but here I'll use find. The following will look for *.jpgs in the current directory. (Note this is not the same as previous versions of this post, for simplicity)

cd /path/with/jpgs
find . -exec jpegtran -optimize -outfile "{}.opti.jpg" "{}" \;

If you want it to save over itself, you can. Change the -outfile argument to "{}".


There are 2 methods with which you can embed the Ubuntu font in your website - using the Google Font Directory (preferred) or using the @font-face CSS declaration and converting your fonts manually.
Using Google Webfonts
You can now use the Ubuntu font as a Google web font. This will make the process a lot simpler. Most of the content of this part of the answer comes from sladen's answer.
Why is using the Google Font API the preferred method?
Using the Google Font API is an excellent suggestion as it allows webfonts to automatically work on all modern browsers without having to worry about the details.  Using the font API means visitors will always see the latest version of the typeface automatically.
How can I use the Google Font API?
Since 21 December 2010 the Ubuntu Font Family is now included and deployable from the Google Font API, visit:

font.ubuntu.com/web

You can read the Google Web Font posting about the news, and then:

Open the Google Font Directory: "Ubuntu - Use this font" page

Tick the combination of weights and styles out of Regular, Italic, Bold and Bold-Italic that you need for your web page.

If the default is incorrect, select the language/script combination you need: a Russian website with English examples might use "Cyrillic,Latin".

Add the given <link> tag between <head> ... </head> in your HTML page or templates and add the appropriate CSS code in between <style> ... </style> tags in your <head>.
For example, if you were creating the Russian/English hybrid website and wanted to use the font as the default for all text, you could add the following code between your <head> tags:
<link href='http://fonts.googleapis.com/css?family=Ubuntu&subset=cyrillic,latin' rel='stylesheet' type='text/css' />
<style type="text/css" >
    body {
        font-family : 'Ubuntu', sans-serif;
    }
</style>

Notes:
"Latin" is the script that English and many other European and African languages are written in.
"Subsetting" optimises the font files by only sending characters for certain languages, the fonts are around 44 kB eachs.  The 168 kB figure shown at the moment is for all 1,200+ glyphs as a single web font download—and most are not needed for a single website.
The Ubuntu font files are automatically converted in the correct format for different browsers; depending on the make and version the required format is WOFF, EOT, SVG or TTF.  The right combination of CSS is specific to each page request and magically solves this hard problem.
Using @font-face
You can embed the Ubuntu fonts by converting them to WOFF fonts. You can then embed them using the CSS @font-face declaration. The fonts (.ttf files) can be found in /usr/share/fonts/truetype/ubuntu-font-family.
For example, to use the Ubuntu Regular font, converted to a WOFF file, Ubuntu-R.woff, use this CSS code:
@font-face
{
    font-family : "Ubuntu-R";
    src: url('Ubuntu-R.woff');
}

Similarly for Ubuntu Bold:
 @font-face
{
    font-family : "Ubuntu";
    src: url('Ubuntu-B.woff');
    font-weight : bold;
}

Ubuntu Italic:
@font-face
{
    font-family : "Ubuntu";
    src: url('Ubuntu-I.woff');
    font-style : italic;
}

Ubuntu Bold Italic:
@font-face
{
    font-family : "Ubuntu";
    src: url('Ubuntu-BI.woff');
    font-weight : bold;
    font-style : italic;
}

This is supported by all recent browsers.
Considerations
Please remember that some users set up their browsers to use a specific set of fonts and may be annoyed if custom fonts are used. Also, read the Ubuntu Font Licence for exact terms as to how the font can be distributed.


I had the same problem and, like Rod says above, the file casper/vmlinuz.efi is the Linux kernel on the installation medium. So if you're getting this error, it's a problem with your USB flash drive.

To fix it, I formatted my USB flash drive and copied my Live CD back onto it. That fixed it for me and, if that helps you, please mark this answer as correct. Thank you!


There are many possible reasons for this problem (White Page of Death, you can search for it).

I'm listing here some major ones, and not it great detail. For details you can go to the links mentioned at the end.

1. Plugins

Plugins cause problems mainly after an upgrade, or if you've installed obsolete versions of the plugins. One way to quickly check to see if one of your plugins is problematic is to do the following:

Rename “plugins” folder temporarily to something else.

          Wordpress will automatically disable all the plugins.

Enable all your plugins at once

          Wordpress will enable only those plugins that don't crash and will disable any plugins that produce fatal errors.

Enable plugins one at a time

          Alternatively, you can enable one plugin at a time and observe which one leads to the crash.

Once you identify the problematic plugin or plugins, see if they have been updated. If they have, delete the ones on your server and replace with the newer versions. Hopefully that will work. Otherwise, just leave the bad plugins de-activated until they are updated.

2. Empty Line in `wp-config.php` file

Make sure the the file is in Wordpress directory, has correct DB information and doesn't contain any extra lines after the closing ?> tag.

Example:

Good

//Some text
?>
-END-OF-FILE

Bad

//Some text
?>

-END-OF-FILE-

Further Information:

http://www.hightechdad.com/2009/06/10/fixing-blank-empty-or-white-wordpress-pages-after-upgrade/
http://www.fridaytrafficreport.com/whiate-page-of-death-wordpress-php-problem-solving/
http://wordpress.org/support/topic/white-page-of-death-in-admin-interface-again
https://www.google.com/search?q=wordpress+white+page+of+death


Is there a 'flowchart' or plan for Unity?

You should start with the official documentation of Unity.

On the home page, there is a link to Unity Architecture. I hope it contains what you are looking for.


Install a software without user interaction

You can use -qq -y for apt get.

apt-get -qq -y install apache2 libapache2-mod-php5 php5

-qq = no output, only on errors

-y = answer all questions with yes.

apt-get -h gives you an explanation of all options.

If you like to install software that has interactive function (like mysql, phpmyadmin) etc. and you really want to install them quiet, you can do:

export DEBIAN_FRONTEND=noninteractive

before the apt-get install command.
But be careful, some software then needs to be configured later. (Like mysql root password, for phpmyadmin you need to link apache.conf to /etc/apache2/conf.d and so on)


Install sudo apt-get install libfuse-dev and retry. It works.


Document Viewer (evince) not opening from terminal

I have found the problem. Running

ldd $(which evince)

output this:

...
liblz4.so.1 => /home/USER/root-build/build/lib/liblz4.so.1 (0x00007f15f8ea0000)

Which led me to discover that my $LD_LIBRARY_PATH was set to

/home/USER/root-build/build/lib

from a script I call in my .bashrc to set up an analysis package I use. Removing the line calling the script resolved the issue.


How to create users from the terminal and give them different levels of permission

Create users using adduser:

adduser foo

Set complex permissions using ACLs:

setfacl -m u:user1:r /some/file
setfacl -m u:user2:rw /some/file
setfacl -m u:user3:- /some/file

See man setfacl and man adduser for details.


How to install Comodo Antivirus in Ubuntu?

First, you really don't need an antivirus for Ubuntu unless you're planning on dealing with windows files and/or systems.

You can download Comodo Antivirus from their website, and choose your architecture 32bit or 64bit.  Once downloaded, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to where the file was downloaded (probably the Downloads folder), and run the command(s) below:

sudo dpkg -i <file_name>.deb

I would recommend ClamAV.  To install run in terminal

sudo apt-get install clamav
sudo freshclam
sudo clamscan

Or click Here


How can I fix 'no wubildr' error in WUBI on Windows 7?

I never found a real fix for it when I ran Wubi on my laptop. For me, it came down to finding the version of Wubi/Ubuntu that worked. For example, 10.04 (64-bit) refused to install properly, but 9.10 worked like a trooper (until kernel panicked a few days later, but that's a different story).

"No wubildr" turned out to not be a problem in 9.10 -- I just had to wait a couple minutes and then the loading finished fine.

Strangely, I have no issues running Wubi on my new desktop -- the "no wubildr" error doesn't show up at all.


Log in into Ubuntu using a Windows machine like it was a new session

You can use VNC Server to accomplish this.
You will want to run a Virtual Mode session on the laptop (either write an init.d file, or add a cron job for when powered on).
Configure this to use the LXDE or XFCE desktop environment (instructions here) and you can then connect using IP:1 from another machine with a viewer, and it will not interfere with the console session being shown on the TV.


Touchpad edge scrolling not working on upgrading to Ubuntu 13.10

The reason is that two finger scroll has been enabled by default in Ubuntu 13.10. In case you want to get back the edge scrolling, do the following:

Go to Unity Dash and look for Mouse & Touchpad
In here, uncheck the Two finger scroll option

That's it. No need to restart or anything. Edge scrolling will be back. Here is a tutorial I wrote, in case you need screenshots: Enable edge scrolling in Ubuntu 13.10.


Change spacing of icons in Indicator Applet Complete, preferably by editing a config file?

Go to:

/usr/share/themes/"your theme"/gtk-3.0/gtk-widgets.css

Add:

-GtkMenuItem-horizontal-padding: 0;

To:

/* default */
* {

The /* default */ comment is optional, so look for  * {.


How can I get rid of the Aw snap error in Chrome?

First remove current chrome version with this commands

sudo apt-get remove google-chrome-stable && sudo apt-get autoremove

After try install again with this commands.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

Finally try to open with terminal.

google-chrome-stable


RescueTime asks for first time login every time Ubuntu starts

Assuming there is no bug with the code, this will happen if the application is unable to update its own settings. This would happen when the application's settings file is lacking the "write" permission or the file is owned by the root user.

This sometimes happens and what you need to do is identify the location where this application is saving its settings and do:

sudo chown -R $USER:$USER path_to_name_of_file_or_dir
chmod -R u+w path_to_name_of_file_or_dir

Without it, the settings never get written. Some applications warn you if they can't write the settings, some don't.


How come when I 'Browse Network' in Nautilus it says Windows Network?

Yes this is normal. I am not sure you can edit this.
As it is supposed to act as a Windows File/Print Server or Client.


ubuntu phone questions, about libraries, ubuntu-sdk, and QML

I don't see qxmpp in the what is called 'framework' (it's a ubuntu-sdk-libs package). There are no xmpp packages installed on the phone. So, it's probably a bundled copy.

The read-only part of the software on the phone is called 'OS image'. It's updated over the air as a whole. It consists of .deb packages as a desktop Ubuntu. So, direct approach is to chroot into an image and look with dpkg -l what packages are installed. Or do dpkg -l on the phone or the emulator. Doc says that earlier (13.10) the libs available were listed in the dependencies of the virtual package ubuntu-sdk-libs: http://packages.ubuntu.com/vivid/ubuntu-sdk-libs . But now it may be more useful to search in the list of all packages.
You don't have to use the QML layer. You can even use Qt Widgets. But believe me, QML is great. It doesn't want to harm C++ in any way.
Yes, you can develop without SDK. Ubuntu-Touch application is just a regular application compiled for ARM (it even runs on desktop if qemu-user-static package is installed). Only the last step wraps it into a Click package.

It's built with CMake, so that will be compatible with other editors. I've got an example of build files here. Usual compile and a small boilerplate inside CMakeLists.txt to invoke the Click packager.

You'll probably use SDK to generate the chroots. Then the code will be compiled in these chroots and the emulators can be run in them (outside of SDK).


GRUB shows Windows recovery instead of normal Windows

There is nothing wrong if Windows boots correctly when you select the Windows Recovery entry. GRUB detects all boot loaders and the first Windows boot loader detected is the one that points to the Windows Recovery Environment. The complete Windows Boot Environment starts when you select the Windows Recovery Environment entry from the GRUB boot menu entries list.
So this is absolutely nothing you should worry about ... it is just a misleading wrong name.


How can I download wattpad on Ubuntu 16.04?

As of this moment wattpad is not available for Ubuntu (nor any other desktop OS). To the best of my knowledge it's a mobile app only available for IOS or android. An alternative might be to run an Android VM. and install it on the VM via Google Play using the android link above.


To know from what folder this Process is running :

   sudo ls -l /proc/<Pid>/cwd

In your case Pid is  24916

So you can know what is this "Browser"


Ubuntu Touch(OTA-14) Amazon.de App is blank

I think that this might be the same issue as this question

I gave an answer there but tldr: it's an issue with oxide. To solve it you can wait for OTA-15 or switch to the rc-proposed channel - see link above for details.


You might want to try sudo dpkg-reconfigure phpmyadmin


Why Ubuntu 12.10 the touch screen inputs goes to second monitor?

for Dual screen: left 720p right 1024x768

  left:                                right:
[ 1280/(1280+2560)  0          0 ]   [ 2560/(1280+2560)  0          1280/(1280+2560)]
[ 0                 1024/1440  0 ]   [ 0                 1440/1440  0               ]
[ 0                 0          1 ]   [ 0                 0          1               ]

$ xinput set-prop "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface" --type=float "Coordinate Transformation Matrix" 0.8659999 0 0.55555555 0 1 0 -0.04 0 1

> almost correct
0.8659999 0  0.55555555 0  1.09 0  -0.04 0  1.000099
c0        c1 c2         c3 c4   c5 c6    c7 c8

  How do i invert the cursor?

xinput set-prop "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface" --type=int --format=8 "Evdev Axis Inversion" 0, 1
                                                                     X, Y = 0 false , 1 true


Take a look at this page: How do I use Expresso’s Cliq Modem in ubuntu?


samba-ad-dc.override to fix SMB/CIFS File and Active Directory Server failing to start

By default, that file doesn't exist; which means it has no contents unless you already created it.


New LTS releases are only offered at the first “point release”: 14.04.1, 16.04.1, (probably) 18.04.1, etc.  This is done because by then most of the bugs that only show up after a release goes public will be fixed, and people who prefer LTS releases usually prefer a stable system that works without giving them too much trouble.

You can (temporarily) select the option to inform you about all new releases instead of only new LTS releases if you want to be offered an update now.  But remember that there might be some issues that affect you still...


Doveconf -n not empty after fresh install - how to update the default, if possible?

It's not impossible that the defaults compiled into the binaries differ from the default config files shipped by the Ubuntu packages.

Either way, you can make sure you reinstalled the original conffiles shipped by the package by using the dpkg option --force-confmiss, as explained at e.g. How can I restore configuration files?

BTW in case any of the configuration files aren't marked as conffiles, but they affect the program, the purge procedure is indeed necessary (and it has to be thorough, i.e. the prerm and postrm packaging scripts have to account for everything relevant).


Open the dash and search for Startup Disk Creator., Where is the dash

The Dash is the menu, the icon in the top left of the screen. Or else just press the windows key and that should open it too!


You're probably using a USB keyboard on an at least somewhat old machine. Usually that works fine, but occasionally it doesn't.

A similar problem was encountered several months ago. This problem almost certainly is with your hardware (USB controller and/or keyboard), and/or your BIOS, and neither with Ubuntu (the OS you're trying to boot, but which is never actually running yet) nor Windows (which provides the boot menu that's not working...but is unlikely to be responsible for the problem).

Here are some things you can try:

(1) Enable legacy mode (for USB) in your BIOS setup (if it has that, and it's disabled). You can try disabling it if it's enabled, though that's considerably less likely to help.

(2) Install a BIOS update, if there is one available.

(3) If this is a USB keyboard plugged into the front (or top) of your machine, you could try plugging it into a USB port on the back of your machine. This will probably not help, but it's possible that some USB ports (the lower-numbered ones, which are usually on the back) work better for the simple I/O that is being used before an OS is booted.

(4) Try a different keyboard. Specifically, if this is a USB keyboard (which it almost certainly is), try a PS/2 keyboard. (It seems unlikely that this is a PS/2 keyboard, but if it is, try a USB keyboard.) This is the most likely to help.


This has happened to me a few times.

It usually is a problem with the router, not your wi-fi.

Unplug the router from the power outlet and wait 20seconds before
plugging in again.
Reboot your PC also just to be sure.

Another problem can be an IP conflict

So you have to reserve a dedicated internal IP address for your computer.

Access your router using the internal IP (usually 192.168.0.1 if
using a DLink device but it may vary)
Use your user and password (usually user:"admin" and pasword:"admin"
or blank)
Search for "Network settings" and wherever you notice a table of
MACaddresses and IP numbers, you should find a button to "reserve"
IPs.
Reserve the IPs of devices you recognize as yours and your roomates (so each one has it's own IP and there should be no conflict).

NOTE: Instrucctions are different depending on the make and model of your router.

And that's that.


default environment "maas" does not exist

I didn't know Juju is so sensitive about indentation. The mistake was, I didn't add a space in third line before

maas:

If anyone getting the same error, this or similar might be the cause.

P.S you have to add a space in the lines below also. Updated looks like this:

default: maas
environments:
 maas:
  type: maas
  maas-server: 'http://192.168.119.120/MAAS'
  maas-oauth: <maas-oauth>
  admin-secret: 'nothing'
  default-series: trusty


Permission denied in opening device file at service in boot time

ntp by default runs under apparmor isolation.
So for 99% your case you will be blocked by an apparmor Deny - check dmesg output.

Since there are so many potential names for refclocks the profile can't just allow /dev/* especially since the majority of users do not use refclocks.

Therefore the profile already has a tunable file: /etc/apparmor.d/tunables/ntpd:

#Add your ntpd devices here eg. if you have a DCF clock
# @{NTPD_DEVICE}="/dev/ttyS1"
@{NTPD_DEVICE}="/dev/null"

And for your case the following should make it pass this stage:

@{NTPD_DEVICE}="refclock-0"


The Latest Apple Live Event has been made available exclusively for Safari on OsX, iOS (Recording then added QuickTime for Windows)

No Other Platform/Browser combination is was allowed.

You may better wait for the official video to be uploaded to Apple Youtube Channel to watch it with the best watching experience.


Why do people use console-based file managers?

There may be several reasons:

They do not depend on X Window, thus can be used even if there are no desktop environment such as a server.
They are fast and consume less resources (also say above), can be good for old or slow computers.
They can be powerful and flexible, though you need to learn a bit more than Nautilus.


After reboot, it seems to work fine. I have mapped the pedals to CTRL, ALT, and SHIFT.


Try downloading p7zip-full from the standard repository.

"p7zip-full provides utilities to pack and unpack 7z archives within
a shell or using a GUI (such as Ark, File Roller or Nautilus)."

EDIT:  It seems that newer versions of File Roller can open 7Z files automatically, according to the installation notes.


Download Ubuntu 13.04:
Ubuntu-13.04-desktop-i386.iso (32bit) (Torrent Download)
Ubuntu-13.04-desktop-amd64.iso (64bit) (Torrent Download)
How to create a bootable USB stick
To run Ubuntu from a USB stick, the first thing you need to do is insert a USB stick with at least 2GB of free space into your PC.
The easiest way to put Ubuntu onto your stick is to use the USB installer provided at pendrivelinux.com. You’ll need to download and install and follow the instructions.
Download Pen Drive Linux's USB Installer

Select Ubuntu Desktop Edition from the dropdown list.

Click 'Browse' and open the downloaded ISO file.

Choose the USB drive and click 'Create'.

More detailed technical instructions are available on the Ubuntu wiki
After finish all step, reboot you PC/Laptop and choose TRY Ubuntu.


Try the startx command to open the GUI after having logged in.


Do you have to deactivate or deinstall gnome-screenshot when using shutter?

These tools aren't actually daemons running - but rather only run when executed or launched. It would be similar to having both OpenOffice and gEdit installed on a computer. Though they both serve the same function they won't collide with eachother.

You should be fine and safe to have both tools installed side-by-side


Typically this means that there was an error reading from the disk.  In other words, you have a bad sector.  You should check dmesg or /var/log/kern.log to see if there are more detailed error messages bout the drive, as well as the SMART health in the disk utility, and if the drive has many reallocated or pending bad sectors, you need to back up what you can and replace the drive at once.  If it is only one or two, then you may be able to repair it.  Have a look around for questions relating to bad sectors for more information on that.


Can I make a bootable USB stick boot on both a PC and a Mac?

USB boot stick 'Try Ubuntu' or 'Install Ubuntu'

Yes, the same USB boot stick works in modern Mac computers with Intel processors as in 'standard PCs made for Windows and linux'. You should use a 64-bit iso file (with amd64 in the file name).

If there are difficulties, they are of the same kind, that you might have with a 'standard' PC, for example with the UEFI boot system or with drivers for graphics or wifi. There is an Ubuntu Forum for Mac computers.

Ubuntu installed to a USB stick (like into an internal drive)

During the installation, the installed system will be locked into either UEFI or BIOS (the mode you are running during the installation), unless you do some special tricks,

help.ubuntu.com/community/Installation/UEFI-and-BIOS

but I don't know if it works in a Mac computer (if the correct drivers are installed).

A compromise is to use a persistent live system, which can be made according to this link,

help.ubuntu.com/community/mkusb/persistent


How do I install the linux-libre kernel?

You can either add their repositories or download the deb from their mirrors

http://linux-libre.fsfla.org/pub/linux-libre/freesh/pool/main/l/linux-source-3.3.2-gnu/

Repository : deb http://linux-libre.fsfla.org/pub/linux-libre/planet planet main

Of course such a kernel is not supported here, and, honestly I would use one of the advised distros (Trisquel, BLAG , GNUSense).

http://trisquel.info/en/faq

http://www.blagblagblag.org/

http://www.gnewsense.org/


Compiz (the default effects engine that can be turned on) has had a Window Previews plugin since well-before Windows 7 was around. It just provides a preview for a window. It doesn't stack them and it only works for windows that aren't minimised (although I think there are some hacks to get around that).

To enable it, turn on compiz:

Right click the desktop
Click Change Desktop Background
Select the Visual Effects tab
Use Normal or Extra

Extra may turn this on by default (I don't want to test it as I like my current compiz settings). Test it by hovering over a running program.

If it doesn't you want the CompizConfig Settings Manager (sudo apt-get install compizconfig-settings-manager). Once installed, load it from the System -> Preferences menu.

Use the filter box to search for "preview" and turn the option on by checking the checkbox. You'll end up with something like this:


How do I make Unity 3D work on my Dell D2400 desktop?

According to the specs I see about a D2400 it has an Intel i845 video driver, which I'm afraid isn't enough to run either Unity 3D or GNOME Shell.

Hardware Requirements
Wiki page with more information