Home files and folders permissions could not be determined

You first attempt to fix it was just missing '{}' but then you made things a lot worse...

There is hardly ever a reason for any file to have 777 permissions, and there is hardly even a good use case for the -R flag when using chmod, because we need directories to be executable in order to enter or stat them, but we rarely want all files to be executable.

First, chown your home directory. Logged in as yourself, run

sudo chown -R $USER: ~

If you have simply run something like

chmod 600 ~

Then revert it:

chmod 755 ~

However, if you have run something really ill-advised like (do not execute) chmod -R 777 ~, then fixing the permissions will be more tricky.

find is very helpful for this. Directory permissions in your home will vary, and could be 700, 775, 755 or 750. To err on the side of caution, I would do this:

find ~ -type d -exec chmod 700 '{}' +

So only you can access the directories. You could instead use 755 and then correct these modes:

chmod 700 ~/.local ~/.cache ~/.dbus ~/.thumbnails ~/.gconf ~/.thunderbird

Then files. You might have had some executable scripts in your home but in general files should not be executable. Most files in your home would probably have had 664 or 644 permission, but again to be safe you might want to go with

find ~ -type f -exec chmod 600 '{}' +

This makes it so only you can access the files and directories in your home. If you prefer, Use 644 instead, and then correct the mode of the Xauthority file and a few others:

chmod 600 ~/.Xauthority ~/.ICEauthority ~/.bash_history ~/.local/share/keyrings/* ~/.xsession-errors ~/.lesshst

If you want to be really thorough, you can install a fresh Ubuntu VM or check the permissions of ~ on another machine... something like

find ~ -type d -not -perm 700 -exec stat -c "%n %a" {} \; | tee dirperms

and

find ~ -type f -not -perm 600 -exec stat -c "%n %a" {} \; | tee fileperms

Will generate lists you can use to make corrections.


Problem using SMB credentials file to mount SMB share

So it seems that the quotes in my .smbcredentials file were not required after all. I changed the first line to:
username=My User

and do not get the error message any more.


Unable to boot Into Windows 7 after Ubuntu 10.04 update

I have found a solution which is more of a workaround than a fix. I installed startupmanager which is a GRUB GUI. When I ran it there was an additional (new) choice on the menu, one which actually said

Windows 7 (loader) (on /dev/sda2).

Selecting this option starts Windows 7 as it should. Prior to the Ubuntu update that started this problem, the menu item that started Win7 was listed as

Windows Vista (loader) (on /dev/sda1)


Keep the running processes alive when disconneting the remote connection

There are several ways to achieve this:

nohup

use nohup to run the command so that the process is immune to hang ups (log out).

For example: nohup command > /path/to/log 2>&1 &

  NOTE: the above runs command immune to SIGHUP in the background and redirects stdout/stderr to a file specified.

setsid and disown

Use setsid and disown Basically this allows the process to run as a new session (init / PID 1 as its parent) so that user logout doesn't affect it. You can read the manual for more information.

Recommended approach

Use tmux or screen

Run command/apps in a tmux or screen session. I personally prefer tmux. Technically it runs a server on the host (remote server), as long as the daemon does NOT die, all session information will be preserved.

  NOTE: if you get disconnected, just ssh to the server again and run tmux attach -t <target-session> to get back to the sessions. Use tmux ls to list available sessions.


How to provide grub for booting Ubuntu 20.04 from external USB in a dual boot installation alongside Windows 8.1 EFI Mode?

Booting Ubuntu Encrypted Drive from External Drive.
I installed Ubuntu using the option for Full Disk Encryption.
Similar to: How to Make BIOS/UEFI Flash Drive with Full Disk Encryption

I Flashed https://phillw.net/isos/linux-tools/uefi-n-bios/mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins_2020-09-07.img.xz to a 4GB flash drive in Windows using Rufus, in Ubuntu mkusb or Disks will work.

I use the FAT32 partition for data
Then I cut the "encrypted" Ubuntu menuentry from grub.cfg on the encrypted drive, (sdc5), and added it to grub.cfg on the external USB drive (sdd4) as the first menuentry.
I have had success booting this drive in BIOS and in UEFI mode.


Advice: External Drive FileSystem for Video files attached to Ubuntu Server, but compatible with Windows?

Windows does not read Linux partitions. It is best, however, if you used NTFS for storing bigger files (bigger than 4GB) and because you can make bigger partitions. Windows also does a better job reading NTFS (for some reason) than FAT or exFAT filesystems.


How can I install Ubuntu server on a USB stick?

EDIT: LinuxLive USB will do an awesome job for that.

You can make a LiveUSB from any distribution of Ubuntu (Server/Desktop). You can look on Ubuntu's Wiki, there is a step-by-step solution : LiveUSB.

I also found an article to literally install a portable Ubuntu on your flashdrive : How To: Install Portable Linux Ubuntu on a bootable USB Flash Drive.

With those two tutorials, you should be able to do what you want.


Any number of different updates can require you to reboot.

Kernel upgrades
Some core C/C++ library changes
Updates which can only be applied with a reboot to fully close an affected service's code that is part of the core OS
Certain undefined library updates which Security Team suggests a reboot to fix (the latest glibc vulnerability for instance, or some SSL library updates)

Unfortunately it is impossible to state what specifically is causing your system to say it needs rebooted, because there's so many potential causes for a reboot to be needed.


Backup and restore the whole system multiple times

If you're shipping identical systems and don't want to run the install multiple times, go ahead and run the OEM install, finish configuring it the way you want in preparation for the initial user boot, then image the drive.  For subsequent machines, instead of running the OEM install again, just write the image to the drive.

To do the image creation/restore, boot from a CD/USB drive in live mode.  You'd then do something like this:

dd if=/dev/sda of=/mnt/hard_drive_master.img sparse #create initial image file
dd of=/dev/sda if=/mnt/hard_drive_master.img sparse #Make each new hard drive


How to restore a partition that has been accidentally converted to a swap area

Could you please tell which Windows partition has been selected as swap area?

I think there generally are two partitions made default by Windows 7 in most cases, one of which is bootloader. Did you select that one or the C drive one as your swap area? Did you delete the old bootloader parition?

In any case, when you boot into Ubuntu next time, see that you off the swap first (How to do that is there in the question you linked). Otherwise it will start writing data, which I don't think would turn out good.

If you just selected C drive, I think swapoff and update-grub should reset your Windows system.

sudo swapoff -a

sudo update-grub

For more details on how to turn off swap, look here: Deleting Unused Swaps Partions


How to fix desktop error "Permission denied"

Your permissions have probably been messed up. The smallest change that is necessary is:

sudo chown danilo /home/danilo/Desktop

This should get you access to your Desktop again but more comprehensive changes may be needed if your permissions are more extensively altered from defaults...


Before do this ways, install gnome fallback first by running this commands:

sudo apt-get install gnome-session-fallback

And if the proccess is finish, log out and change desktop environment by clicking ubuntu logo near login field, choose Gnome Fallback and then log in back.

Place your cursor on panel
Press Super + Alt + Right Click, and you will see the option. Click "add to panel" and choose "add application". Then click at "Viber", click "OK".
You will se Viber Icons on panel


upgrade from 18.04 to 20.04 aborted using graphical package manager

I decided to try to upgrade to 20.04 again after getting LibreOffice fixed.  Decided to use the command line instead of the gui software manager after reading several articles about the 18.04 to 20.04 upgrade.  After a backup, I ran apt-get update and then apt-get upgrade.  Rebooted.  Ran apt-get install update-manager-core; it was already at the newest version.  Then do-release-upgrade.  This ran quite awhile as expected and appears to have completed successfully.  I am now on 20.04.1.  Have experienced no software issues so far.  Looks like I'm starting the new year with a new os.


Can I skip using apt-get update and update a software directly using .tar file?

I believe you are confused.
sudo apt-get update

Will only update the software repos list.

sudo apt-get upgrade

On the other hand, will update your software. (Sometimes you might have to run dist-upgrade as well)

Now, onto your actual question:
If you only want to upgrade a single package, just do:
apt-get install --only-upgrade <packagename>

For example, to update firefox:
apt-get install --only-upgrade firefox


check Ubuntu Installation/SystemRequirements here:
https://help.ubuntu.com/community/Installation/SystemRequirements


0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded

First step always before updating or installing something is to run sudo apt-get update.

Second step is to run your sudo apt-get upgrade or sudo apt-get dist-upgrade.

One final point, if there's nothing to upgrade, then it won't upgrade anything.


"sudo apt-get update" command giving error in my ubuntu box

You have an expired repos in your /etc/apt/sources.list.d/ folder or the /etc/apt/sources.list file itself.

Open your favourite console, I like yakuake or konsole (default is gnome-terminal I think), and do

sudo grep "installsvc" -R /etc/apt/

That will tell you where "installsvc" is referenced. In that file you want to instead link direct to the Puppet Labs repos. Delete installsvc.vip/mirrors/ part from the repos URL (eg gksudo gedit /etc/apt/$fileToChangeName and manually edit the file, remember to save it before closing the program).

You also appear to have a wrongly placed file, that's not doing any harm but is being "noticed" in the apt-get output.

sudo rm /etc/apt/sources.list.d/build

would delete it (with no undelete), but you probably want to check it first to see if you want to keep it, mv and chown will probably be needed then.

You should also be aware that 12.04 Precise Pangolin is well out of date. Newer Ubuntus will use apt instead of apt-get but once you've fixed the issues you can:

sudo apt-get autoclean; sudo apt-get update; sudo apt-get dist-upgrade

to do the latest available upgrades including any from the newly added Puppet Labs repos (the former repos was a mirror).


Dual monitors: one monitor starts blinking and after a while  turns black

I would tip it is a hardware problem. Once I had very similar behavior with DisplayPort->DVI adapter: It worked perfectly fine for approx 5 minutes and then the screen went black.

What type of connectivity do you use?

My personal experience with DisplayPort->DVI adapters is very bad: 2 out of 3 had problems so far.


MZP is a "mountable zip file" and it's proprietary to WinArchiver. That doesn't help you because WinArchiver is, as the name suggests, built for Windows. That also means that other archiving tools don't know the format so won't be of any use.

Your immediate options:

Download WinArchiver and run it in Wine. This may not work.
Create a Virtual Machine for a Windows installation, install WinArchiver and unWinArchive the file.
Slap the person who sent you it and tell them to use a standard archiving format.

There are other options, including breaking into national embassies and holding diplomats hostage, but I really hope you're not that desperate to get into this file.

Short answer: use the tool it was created with.


No bootable devices ubuntu 14.04 dual boot with win7

When I got grub> prompt then I did following:

Grub> ls

Grub> set root=(hd0,msdos5)

Grub> Linux /vmlinuz root=/dev/sda5

Grub> initrd /initrd.img

Grub> boot

Then your Ubuntu is there.

I am taking backup and then if I face any issue then will install it afresh. Will keep you posted. Thanks to all.


How Can I Remove All Characters After a Certain Character Appears Twice Using Bash Scripting?

To rename your example

Akouo - Float-H6hQuio26Ww.mp3

to

Akouo - Float.mp3

use

rename 's/-[^-]*\././' Akouo\ -\ Float-H6hQuio26Ww.mp3

If you want to rename all .mp3 files in your current directory with this schema, use

rename 's/-[^-]*\././' *-*-*.mp3

You can add option -n for a dry run.


Ubuntu VM doesn't recognize expanded storage in hard drive

You just increased the capacity of the physical file (or virtual disk), you still need to modify the partition table contained inside the virtual disk.

You'll need to mount the ISO file used for the installation on your VirtualBox. Start a live session and execute GParted

It should be fairly easy with the graphical interface. If for any reason GParted is not installed, open a terminal and execute

sudo apt-get install gparted

WARNING!!!! You there's a risk of loosing data. You may want to backup important things.
Although is pretty safe most of the time.

Finally reboot!


The php-gtk seems to be dead.
But you can try to use modern one, it is called php-gtk3. You have to consult with the documentation from GitHub repo.


Installing graphics drivers for GeForce 8500 GT

The nvidia-319 drivers are the ones you want.

See:
http://www.nvidia.com/object/linux-display-amd64-319.32-driver.html (from the package description, visible in Synaptic)


Poor screen resolution on my HP laptop after installing Ubuntu 20.04

Based on the specification sheet of your notebook, 1366x768 is the best you'll get on your 15.6" screen. If you would like a higher resolution, you will need to use an external monitor, replace the display with a higher-resolution option, or return the machine (if possible) and get one with a higher resolution.


Nautilus - How permanently keep my column sorting preferences for my download directory? ( 18.04.02)

This is indeed not anymore how it works. Nautilus currently remembers the preferences of the last changed window as defaults for a new window.

Nautilus used to remember a per-folder setting in (much) older versions. In the forked file manager, nemo, it still works that way.


Cannot install Ubuntu -- Wubi does not currently support EFI

You can try creating a different partition through windows and then installing with custom installation(when you boot with the USB or CD there is an option after you press ''Install Ubuntu'' instead of install alongside Windows or delete windows). Here is a program that you can try using and a guide along with it: Safely Create Partition for Windows 10 with Free Software


12.10 no audio via hdmi and video speeds up

I solved this problem! :D
What I said in my first post was correct. HDMI sound doesn't work with Gallium 0.4.
The new ATI drivers don't work for "old" graphics cards such as the Radeon 4200.

The solution to this problem is described here: http://www.ubuntuvibes.com/2012/10/how-to-install-amd-catalyst-legacy.html

The solution involves installation of unofficial packages. I tried it and it worked for me!

Cheers!


Currently canonical do not have any plan to officially support new language in ubuntu touch . But since java have linux arm version , you can install it. But none of currently existing java gui toolkits currently support MIR display server.
So don't expect gui apps with java atleast for now


Can i install Ubuntu 13.10 64bit on my Lanovo g580 Laptop

Use a regular Ubuntu DVD and select dual-boot during install. Use the 64-bit version. The boot options will appear automatically when you're done.


Intel Mobile GM965/GL960 Integrated Graphics Controller (primary) driver fail

After many unsuccessful tries, just upgraded to Xubuntu 19.10. Now everything works like a charm.

Stay away from the buggy 18.04!

New config: https://linux-hardware.org/?probe=cb550f69f7


Login screen is reappearing, what to do?

In terminal, type (use the correct username):

cd /home/your_username
ls -l .ICEauthority # (that's a lower case L)
ls -l .Xauthority   # (that's a lower case L)

If either ls command returns one of these (where it shows root, instead of your username):

-rw------- 1 root root 242476 Nov  6 12:48 .ICEauthority
-rw------- 1 root root 58     Nov  6 12:48 .Xauthority

Then type (changing your_username to the correct username):

sudo chown your_username:your_username .ICEauthority

and/or

sudo chown your_username:your_username .Xauthority


why do I have to set permissions to 777 in order to be writable

I'm trying to guess: user executing your script doesn't seem to have the required permissions.

For instance, if a php script run by apache web server is used to upload files to a certain subdir, then that subdir should be available for read/write access to your apache user (commonly "apache" or "www-data").

[edit]: when you run a web server, like apache for instance, only the parent process runs as "root", a child process (which is actually the one you care about to run php scripts) usually runs with "www-data" uid on ubuntu/debian platforms.

ps auwx | grep apache | grep -v grep
root      1606  0.0  0.0  63520  3020 ?        Ss   déc.01   0:16 /usr/sbin/apache2 -k start
www-data 22325  0.0  0.0 352676  4232 ?        Sl   06:25   0:02 /usr/sbin/apache2 -k start
www-data 22326  0.0  0.0 352676  4228 ?        Sl   06:25   0:02 /usr/sbin/apache2 -k start

and that explains why it cannot write to your specific subdir in your public_html, if that specific subdir does not belong to that "www-data" user or group.

To fix this, for instance you can set the "group" attribute of your subdir to "www-data", and set write permission to that group:

sudo chgrp -R www-data ./public_html/my_files
sudo chmod -R g+w  ./public_html/my_files

warning: By doing this, you recursively change the group attribute of ./public_html/my_files to www-data, and allow write access to users belonging to the www-data group, thus allowing apache to (over)write files in that folder.


Connecting Skype with Facebook is not (yet) supported in the latest version of Skype for Linux. The video you posted shows using Skype on Microsoft Windows.

Proof : 12/1/2013


Can't see "Install alongside Windows" option

You only get to see the "install alongside" if there is place to create a system alongside what is currently there. So ... use your favorite partitioning tool to create "unallocated space" (for Ubuntu 25Gb or more) and it will show up.


Guest Additions 5.2.18 not working in Ubuntu 16.04

Never mind!

I started this morning with a fresh mind and eyes. I went back to the Oracle page on Guest Additions and toward the bottom of the page there was a pretty detailed explanation on how it's installed. I didn't need to download a correct version of GuestAdditions since the most correct version is included by the VB install itself. As for the monitor resolution goes, I found a very good thread that says to remove the resolution hint from the setup and just put none in the setting. This is what was limiting the guest OS's resolution.


How to install imagemagick extension for PHP5 on Xubuntu 12.04.1 LTS

Try

wget http://pecl.php.net/get/imagick-3.0.1.tgz
tar zxvf imagick-3.0.1.tgz
cd imagick*
phpize
./configure
make
make install


Boot freeze (black screen) when booting without power cable (ubuntu gnome 16.04 / Dell XPS15)

I "fixed" it by replacing the nouveau driver with the nvidia driver. Now the problems are completely gone.

I guess I now need to read up on how to make sure that nvidia won't drain my battery...

If anybody knows any better methods that don't involve a nonfree driver, let me know.


running a binary with several added parameters works from bash shell , but not if the parameters are packaged in a variable

It's not the definition that needs quoting, it's the variable expansion:
Instead of:
var='core show version';asterisk -rx $var
like this:
var='core show version';asterisk -rx "$var"
See:

Why does my shell script choke on whitespace or other special characters?
When is double-quoting necessary?


GIMP 2.10 uses GTK2, and there is no full HiDPI support possible with GTK2. The upcoming 3.0 release is based on GTK3 with HiDPI support. Here is a link to the bug report tracking progress for the upcoming 3.0 release.
This November 2020 blog post by the GIMP team has all the details, and explains how you can try the 2.99 development release using Flatpak. With that version the icons will scale correctly as seen below (screenshot of GIMP 2.99.4 running on Ubuntu 20.04 on a 5k display). As a development release, 2.99 is not stable software.


How to clone Ubuntu 18.04 partition from a notebook SSD to a desktop PC SSD?

I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try


vfat partition cannot be mounted with x-gvfs-show option

As you pointed out, there's a problem with both x-gvfs-show and x-gvfs-name flags on the mount utility.

There's currently an open bug and, as suggested on that thread, until the dependencies are updated on Canonical's end, a workaround is to try and manually upgrade the package util-linux to 2.21+ in order to support the x-gvfs options.


I managed to get it working by editing my /etc/sudoers file (with sudo vimsudo), and changing the admin group permissions from

%admin ALL=(ALL) ALL

to

%admin ALL=(ALL:ALL) ALL

The sudo group is a bit of a red herring on Ubuntu, it's actually the admin group that defines sudo permissions. See this question for more on how Ubuntu uses the admin and sudo groups.


To create instructions for xmodmap which get processed every time you login you will need to create a file called .Xmodmap file in your home directory. You can do this using the following command from terminal

echo keycode 66 = Tab ISO_Left_Tab Tab ISO_Left_Tab > ~/.Xmodmap

Next time you login the new keymapping will take effect. If you want to to work immediately use the following command from terminal:

xmodmap ~/.Xmodmap

Hope that helps.


Wi-Fi disabled/disappeared in Ubuntu 16.04

Install broadcom-sta-dkms instead
Try the following commands

sudo apt-get update
sudo apt-get install broadcom-sta-dkms
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl

it will work for you
make sure your internet is on :)


How do I play sound when running an application as another user on Ubuntu 17.10

Pulseaudio is recommended to run per-user and not as a system-wide daemon

freedesktop.org PulseAudio Documentation -WhatIsWrongWithSystemWide

Suggest if you are running Pulseaudio per-user, copy pulse configuration files to home folder for each user

cp /etc/pulse/{client.conf,daemon.conf,default.pa} ~/.config/pulse


How to install VMware-Horizon-Client-5.4.0-1 on UBUNTU 18.04.4 LTS?

You need to make the downloaded file an executable...
On the command line, go to the Downloads folder - cd Downloads
chmod 777 (bundle file name)
ls -l (bundle file name) - should display rwxrwxrwx on the file
sudo ./(bundle file name) - should display Extracting VMware Installer...done.
then go to your 'start menu' and under Internet you should see VMware Horizon Client


I also encountered the same problem. My solution is to use the google chrome browser.
# step 1
sudo ln /path/to/your/chrome/in/windows /usr/bin/chrome
# e.g., /mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe

# step 2 add the following line in your ~/.vimrc
let g:vimtex_view_general_viewer='chrome'

However, there is still a little problem that every time you preview the compiled pdf file, it always open a new tab in chrome instead of the previous pdf tab.


Looking for a better solution to execute a single sudo command when using a normal user account?

Your configuration is a little abnormal. Normally you would add your username to sudoers, and limit the applications that can be executed in this manner if required. Without knowing more detail, I can't see any benefit to introducing a third account. It just introduces more indirection, which is what you're encountering now.

The first password you enter is to become the sudo-user. You can't avoid this - you're switching users. Here are some crazy workarounds that come to mind which you shouldn't use.

You could set an empty password for the user to make login simpler, but that would be an insane security risk. Do not do this.
You could automate the login with expect and a hardcoded password. This is no more secure than the previous suggestion. Do not do this.
You could use ssh. You'd create a ssh key as the sudo-user, copy it to your user's .ssh dir, permission it for your user, append it to the sudouser's .ssh/authorized_keys, and then use: ssh -i .ssh/sudouser_id_rsa sudouser@localhost <command>. It may work, but it's crazy.

The second password can easily be removed by editing the sudoers file with visudo and setting the sudouser as NOPASSWD. This is a more common operation. You can even limit the commands which don't require a password, which is obviously recommended if you only intend to run a few commands in this manner. Note, however, that unless this sudo user is treated very seriously, having a NOPASSWD policy is not a good idea. Generally speaking, it isn't a good idea regardless.

A configuration which can run all commands without a password prompt would look like:

sudouser ALL= NOPASSWD: ALL

Bottom line - I don't see why you're using this three account configuration. Setting that to one side, in terms of giving you what you asked for, allowing the sudo user to run certain commands without being prompted for a password is the most sensible route.

You have to be careful though - that creates a less secure setup.

As an aside, it is technically possible to achieve a zero authentication solution within your guidelines, by using both ssh key-based authentication and NOPASSWD for the sudo user, so your commands would look like:

ssh -i .ssh/sudouser_id_rsa sudouser@localhost sudo whatever_i_like

That's obviously way beyond insecure - that's just plain open. I shouldn't need to say it, but don't do that.


How to add custom fields / tags when I use modules in filebeat to distinguish the origins of log records?

Had same problem, resolved it by using modules  ingest pipeline with log input.

filebeat.inputs:
- type: log
   paths:
    - "/var/log/nginx/access.log*"
  fields:
    level: "INFO"
    application: "nginx"
  fields_under_root: true
  pipeline: "filebeat-7.3.0-nginx-access-default"

You need to load  the ingest pipeline from module of course


Not able to install dropbox Ubuntu 12.04

Run sudo apt-get autoclean then sudo apt-get update then install it again.


Compare two files and print results to new text file

Yes.

touch sets the modification timestamp of a given file to "now". If the given file doesn't yet exist, it is created. This is a common way to create empty files.
The >> redirection appends output to a given file. Similar to touch it creates the file if it doesn't yet exist. But keep in mind, it appends data to an existing file.
The > redirection overwrites a given file with the output of the preceeding command. If the file doesn't yet exist, it gets created. If it already exists, it gets truncated (that is: cleared or emptied) and then the output is written to it.
less is a so called pager. That is: it is meant for interactive usage so you can browse through larger files and use space and b (beyond others) to go forwards and backwards in a file or command output. If you redirect the output of a command to a file anyway, you can (and should) omit the less call.

Put together:

cd /home
(list contents) > authorizedlist.txt
dpkg -l | cut -d ' ' -f3 > currentlist.txt
diff authorizedlist.txt currentlist.txt > difflist.txt


The Meye or Vmeyesuper is possible to run as a google chrome extension. In order to do this you need to install the Google chrome, the Archon extension for the browser and chromeos-apk. Then you need to download the apk and with chromeos-apk convert it to a google chrome extension by: chromeos-apk vmeyesuper.apk --archon. Then you need to load Archon and the converted apk as unpacked extension to google chrome.

With current release of chromeos-apk you will need to add "message": "VM", to the extname section of the messages.json file like this:

{
  "appNotSupported": {
    "description": "Message displayed when the app is not supported.",
    "message": "This app is incompatible with your device. Check to make sure other Android apps work for you from the Chrome Web Store"
  },
  "extName": {
    "message": "VMeyesuper",
    "description": "Extension name"
  }
}

In case of Ubuntu then you can search in dash for VMeyesuper or whatever name you gave to the application in extname section.


How to make Greeter/Login Wallpaper Match Desktop Wallpaper

I used a pretty ugly workaround, but it gets the job done. Copy your desktop wallpaper into /usr/share/backgrounds, then change its name to warty-final-ubuntu.png, which should be the name of the current default login wallpaper. (If you want to keep the original, just change its name first to avoid it being overwritten.) Your desktop and login wallpaper should now match.


Help me with AMD integrated graphics please

Look at this image. This is what I got after running additional drivers app.


Will I be able to remove Unity and Zeitgeist completely?

Yes, you can remove both. When you remove them, you will get a warning that the package ubuntu-desktop is getting uninstall. Don't worry it is just a wrapper package.

For removing zeitgeist you need to remove the package named zeitgeist-core which is the base of all the zeitgeist packages.

As per Jorge, unity is the base package for Unity.

Just for knowledge. Why do you want to remove zeitgeist. If you find some technical issues, do contact us. We would be more than happy to fix it.


Here some of the commands can help you.

Use the right and left arrow keys to navigate through the sliders.
At the bottom of each slider you see either 00 or MM. Toggle these with the M key. MM means muted, 00 is enabled.
Use the up and down arrow keys or the Page Up/Page Down keys to control the sliders. Page Up/Page Down move the sliders in increments of five, and the End key resets to zero. When there are two channels controlled by one slider, Q increases the left channel and Z decreases. E increases the right channel, and C decreases.
Press F2 to see all the system information on your sound cards. If you have more than one sound card press F6 to display a sound card chooser.

Source


check the file /etc/apt/apt.conf

The contents are, after applying the proxy "system wide":

Acquire::http::proxy "http://172.16.0.2:8080/";
Acquire::ftp::proxy "ftp://172.16.0.2:8080/";
Acquire::https::proxy "https://172.16.0.2:8080/";

But, in order to make this work, you must add your username and password into it:

Acquire::http::proxy "http://<username>:<password>@172.16.0.2:8080";
Acquire::ftp::proxy "ftp://<username>:<password>@172.16.0.2:8080/";
Acquire::https::proxy "https://<username>:<password>@172.16.0.2:8080/";

Save the file and you are good to go to install things from both terminal and Software-center :P

(Note that the proxy will only work on internet-browsers and software-center/terminal with apt-get)


Script for moving files that are older than 5 days

You need to create the directory tree from subdir1/subdir2/ - mv won't do that for you. You could do, for example:

find . -type f -mtime +5 -print0 | while IFS= read -r -d '' file; do
    dir="${file%/*}"
    mkdir -p ../rootarchive/"$dir"
    mv "$file" ../rootarchive/"$file"
done

You could rsync. It can recreate the directory structure and do deleting copied files:

find . -type f -mtime +5 -print0 |
  rsync -0avP  --remove-source-files --files-from=- ./ ../rootarchive

For rsync:

-0 indicates file lists are null-separated. This affects:
--files-from= reads the list of files to be copied (from stdin: -).
-a enables archive mode, which retains file permissions, ownership, etc.
--remove-source-files deletes files which have been copied successfully from the source.
-vP enable verbose mode and progress information.


Right click on Chrome, Eclipse, etc.. triggered double click instead of single click

It seems to be a bug, see here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/365300?comments=all

You can see from the discussion there that this problem doesn't affect certain models of mouses.


What am I doing wrong with the shell script? Noob

You have to make a desktop file, eg. name.desktop which contains the following structure:

[Desktop Entry]
Type=Application
Name=your script name
Exec=/path/to/your/script.sh
Terminal=true     <-if you need sudo (to type your password)

Make both this file and your script executable (e.g. chmod 700 script.sh). Now you can double click your desktop file to launch your script.


Have you check that the applications themselves are not muted (I knonw this sounds stupid) or muted or set to very low levels in sound settings? You can also check with pavucontrol if the application is is set to use your USB sound bar, not something else. Try restarting PulseAudio by killing it with pulseaudio -k or replugging the USB audio device, some have had issues in the past that were solved this way.


Is there a command or way on how to retrieve or directly download a .csv file from raspberry pi to windows 7 using putty?

You mentioned putty so I'm assuming you are sshing to your rpi from windows.

To transfer file, you can use scp which for windows is available as winscp.

Look into this part for a command line, you should be able to automate it using whatever system you like in your windows.

An example would be:
winscp.exe /defaults /keepuptodate // "C:\Users\martin\Documents\csv" /home/pi/csv


www-data User cannot access mounted partition

Two things I would suggest:

Find which group owns that device:

ls -ald /dev/sdX

where X is the letter representing the external drive usually /dev/sdb, or /dev/sdc

Add www-data user to that group:

sudo usermod -a -G disk www-data

And now user www-data should be able to access that external HDD.


Type (hd0,1) without the space after the comma:

Use...

loopbak loop (hd0,1)/home/pepe/Downloads/ubuntu-18.04-desktop-amd64.iso

Instead of...

loopbak loop (hd0, 1)/home/pepe/Downloads/ubuntu-18.04-desktop-amd64.iso


may I suggest 2 things:
(i) did you check the boot sequence in your bios setup
(ii)did you try to run a live usb installation to clear up and then install from it

good luck,
Emmanuel.


wget inside chroot - cannot verify certificate?

Ok, found the answer after much poking around and searching.

  apt-get install ca-certificates

Probably

  apt-get install ssl-cert

is needed too if you haven't already installed it.


Wrong language displayed by SDDM on login Kubuntu 18.04

SDDM login screen

KDE Forums: https://forum.kde.org/viewtopic.php?t=137502#p375121 and What locale settings sddm respects?: https://www.bountysource.com/issues/37982685-what-locale-settings-sddm-respects

The SDDM is following the system locales defined in /etc/default/locale:

LANG="en_US.UTF-8"
LC_NUMERIC="fi_FI.UTF-8"
LC_TIME="fi_FI.UTF-8"
LC_MONETARY="fi_FI.UTF-8"
LC_PAPER="fi_FI.UTF-8"
LC_NAME="fi_FI.UTF-8"
LC_ADDRESS="fi_FI.UTF-8"
LC_TELEPHONE="fi_FI.UTF-8"
LC_MEASUREMENT="fi_FI.UTF-8"
LC_IDENTIFICATION="fi_FI.UTF-8"

LC_TIME is "fi_FI.UTF-8", so the SDDM Breeze greeter will show:

Changing to US time: LC_TIME="en_US.UTF-8"

LANG="en_US.UTF-8"
LC_NUMERIC="fi_FI.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="fi_FI.UTF-8"
LC_PAPER="fi_FI.UTF-8"
LC_NAME="fi_FI.UTF-8"
LC_ADDRESS="fi_FI.UTF-8"
LC_TELEPHONE="fi_FI.UTF-8"
LC_MEASUREMENT="fi_FI.UTF-8"
LC_IDENTIFICATION="fi_FI.UTF-8"

After reboot:

To edit the/etc/default/locale you can simply edit it with a text editor or execute the 'update-locale' command (see 'man update-locale' or https://manpages.ubuntu.com/manpages/bionic/man8/update-locale.8.html).

Plasma Lock Screen

Plasma lock screen is part of the Plasma Look and Feel theme, which is not the same as the SDDM greeter theme.

Plasma lock screen is configured in the KDE System Settings

Setting the Time format:

... and the Plasma lock screen shows:

Alternative SDDM greeters and Plasma lock screens

The KDE Store: https://store.kde.org has many alternative SDDM themes: https://store.kde.org/browse/cat/101/ord/latest/ and Plasma Look and Feel themes: https://store.kde.org/browse/cat/121/ord/latest/

It is possible to add the time format settings to the SDDM greeter configuration files. An example: SDDM Theme Breeze Slider 2 - https://store.kde.org/p/1222217/

...and from the Plasma 5.12 onwards it is possible to add clock configuration options to the lock screen settings. An example: Breeze Custom Lock Screen - https://store.kde.org/p/1216681/ .


Is there an Ubuntu distribution which is customized to run on the android kernel?

There is Ubuntu for Android.

Also, it is made clear at Ubuntu.com that Ubuntu is available for phones.


Wifi and Ethernet Extremely slow on my computer!

Poor IPv6 performance?

Check whether it could be an IPv6 related problem. You can disable IPv6 with

$ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
$ sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

If this helps, you can try to set IPv4 precedence over IPv6 by uncommenting #precedence ::ffff:0:0/96 100 in the file /etc/gai.conf.

Power Management?

Look whether turning off wifi power management could be a least the reason for poor wifi performance:

Edit the file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

and set wifi.powersave = 3 to wifi.powersave = 2.

You can check the current power management state with

$ iwconfig 2> /dev/null | grep 'Power Management'

Kernel issue?

Some users experience better network performance by using a newer kernel from the mainline PPA.
But please keep in mind that a newer kernel might have other issues (i.e. in combination with proprietary drivers like NVidia) and you have to keep track of updates etc.
There are also scripts to maintain mainline kernels like ubuntu-mainline-kernel.sh.

If it is fixed with a newer kernel, chances are high, that a bugfix for this issue will be backported for Ubuntu 20.04. So you should find and track this issue. Therefore you could switch to the stable kernel once this issue has been fixed.

PS: You can also add the corresponding Launchpad issue to this thread. This way others can track this issue as well.


Incorrect terminal height when left/right maximizing in Ubuntu 17.10

The first one is not necessarily a bug. Terminal applications usually ask the window manager to respect certain size criteria (multiple of cell size). In this case GNOME Shell respects this request. (Although it's indeed inconsistent that when you fully maximize, geometry hints are no longer respected and the "gap" will belong to GNOME Terminal.)

The second one looks like a bug, you should file it to GNOME Shell.

As a workaround, GNOME Terminal has a hidden config option to show the tab bar even if only a single tab is present. You can activate it with

dconf write /org/gnome/terminal/legacy/tab-policy '"always"'

(and revert with '"automatic"' or dconf reset ...).

UPDATE:

gnome-terminal has just received a fix/workaround (not sure what to call it) for the second issue (bugreport, commit). It'll appear in forthcoming version 3.28, and might get backported to 3.26.x too.

UPDATE2:

GTK+ version 3.22.25 properly fixes both of these issues (bugreport, commit 1, commit 2, commit 3 – I think it's the first commit that's really important here).


Why are there popular ideas on Brainstorm that developers haven't implemented?

First of all it is not necessary that Most popular or Most voted ideas should get Implemented by the Ubuntu Developers team.
I mean if anyone is so Inclined towards bringing it in Ubuntu , then there exists other way using Launchpad PPA  where you can Build your Idea and Implement in more Customizable form.
From Ubuntu brainstorm Wiki page

Ubuntu brainstorm provides a simple way for anyone to contribute ideas
for improving Ubuntu. Ideas are voted on by the user community and the
most popular ideas are brought to the attention of the development
teams

From idea to feature
There are several routes from idea to implementation:

The idea submitter implements by themself, and contributes the package or patch to Ubuntu.
The idea generates interest, and several volunteers form a new project to blueprint and implement the idea.
The idea attracts interest from the appropriate Ubuntu Teams, which form a working group or schedule a UDS Session to blueprint and milestone the idea.
The idea concept influences another forum, and is implemented by an unrelated group.

Ubuntu blueprints
For complex changes, write a 'blueprint' based on the result of the Brainstorm idea.

A blueprint is a feature design document. It is used to describe a proposed feature in enough detail for a developer to implement it (not quite the same as a specification, though that term is often used).
Anyone can start a blueprint though some software design or
development experience would be useful. After a first draft has been
composed the blueprint is typically discussed on an appropriate team
or project mailing list, forum thread, or at a development meeting
like UDS.

For example  Here are the ideas about Ubuntu that are currently being implemented for the Ubuntu 12.10 Quantal Quetzal release.
From my point of View,
Brainstorm is Platform to improve and contribute in innovative way to Ubuntu which includes bringing attention of Developers Team towards your Idea .
Alternatively bringing other proposed ideas or own ideas to life by developing and implementing it using PPA, if it found more useful then it may get ended up in Official Ubuntu Repositories bringing more interested Developers and volunteers to develop and maintain it.


Intel Graphics Control Panel alternative for Ubuntu?

There is built-in program called xgamma. You can set gamma values for red, green and blue color channels with it. Example of usage:

$ xgamma -rgamma 2.2 -ggamma 1.8 -bgamma 2.6

This program is installed by default. You can (and probably want to) add your xgamma command to Startup Applications (Dash -> Startup Applications).


How can I "install" a driver for a USB-to-Serial adapter?

It means you need to find the kernel configuration file. You can open it with

leafpad /boot/config-`uname -r`

Then add the lines you require.

Please note though, that messing around in the kernel files is not a good idea.


There is a Python program called PySheng than did the job for me.

It's available on Github at https://github.com/tokland/pysheng

You can run the following commands to install it.

git clone https://github.com/tokland/pysheng
cd pysheng
sudo python setup.py install

Now PySheng will be available from the Termainl.

You can run pysheng-gui and pysheng from the terminal for the GUI and terminal version respectively.

pysheng-gui


I found the solution (!), create a new file /etc/modprobe.d/intel.conf

add the following options:

options snd-hda-intel single_cmd=1
options snd-hda-intel probe_mask=1

reboot....


the line 139-141 in/etc/apache2/apache2.conf is:
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf

I think the error should be in mods-enabled/*.conf
I ever changed the /etc/apache2/mods-enabled/dir.conf,so I find the error in the file.
Now I could restart.
Thanks for your help!


How do you stop GNOME Shell adding a second icon to the launcher even though the application is already favourited?

Well, if it is Java application you talking about - see http://locademiaz.wordpress.com/2011/08/30/turn-your-java-apps-gnome-shell-friendly/ for solution.

Basically this is issue related to how Gnome Shell (well, Docky too) matches windows using WM_CLASS property. Mentioned above solution is based on two things:
- binds arbitrary WM_CLASS string to the particular Java application,
- ensures that *.desktop file (think - launcher) has the same string as filename.


I don't use unrar, but if you use 7z with the -x option, files extracted from the original .RAR archive will go into their respective subdirectories.


Scale / Spread shows windows from all workspaces in 12.10

Install CompizConfig Settings from the software center.  Under Window Management, click on Scale for options.  You're probably interested in the Behavior and Bindings tabs.


Adding ppa:deadsnakes/ppa via ssh on home server 18.04

According to the guide Step 6: Install NVIDIA CUDA 9.2, this are the right instructions for Ubuntu 17.10 and Ubuntu 18.04 :

sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/x86_64/7fa2af80.pub
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/x86_64 /" | sudo tee /etc/apt/sources.list.d/cuda.list


Ubuntu mate 19.10 do-release upgrade returns "No new release found" while trying to upgrade to 20.04

If you don't want to wait until it's unlocked for upgrading, run do-release-upgrade -dc. If you get 20.04 run do-release-upgrade -d to install.


Permission denied when using make install

@NewUSer's solution is absolutely correct, but I have to make another proposal:

Not always the command sudo make uninstall is supported. For this reason, I recommend the use of sudo checkinstall instead of sudo make install:

sudo apt-get install checkinstall

With this program a DEB package is created which can be easily removed with the package management again.

Instead of

sudo make install

use

sudo checkinstall


reinstall windows 7 (with ubuntu and windows7)

You'll BORK your bootloader when you do this.  Windows will install its' own MBR.

You'll be fine to re-install so long as you install to the correct partition, however you'll need to look at fixing GRUB once you've re-installed.


How to add the shutdown options to the unity

Thanks to atareao team.

With reference to this I found a pretty solution to share.

Install Power Commands for unity dash in Ubuntu 12.04 – 14.04

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install power-commands

After installation has completed the items will be available to find in the Dash almost instantly. If you don’t see them you may need to log out and back in to force the Dash to detect them.

To uninstall at a later date you simply need to open the Ubuntu Software Centre, search for ‘Power Commands’ and hit the ‘remove’ button.


Moving from Amazon Linun to ubuntu, now my init script isn't working.

You mention three errors. The first two are simple enough:

Starting wowza2s3: /etc/init.d/wowza2s3: line 20: success: command not found
/etc/init.d/wowza2s3: line 20: failure: command not found

The success and failure commands are not standard. They are, presumably, some sort of Amazon Linux specific thing. However, based on the context, I can make an educated guess about what they're supposed to do:

(exec $MONO $EXE & echo $! >> "$PID_FILE") && success || failure

That means "run a command and then run success if it worked and failure if it didn't. I have no idea why anyone would choose such a convoluted way of writing that. As far as I can tell, that line is equivalent to:

(exec $MONO $EXE & echo $! >> "$PID_FILE")

Presumably, the success and failure programs simply return a 0 (success) and non-0 (failure) exit value. The shell does that anyway though, which is why the line above should be the same. Whatever. If you really need to call an external program for this, use the shell builtins true and false:

(exec $MONO $EXE & echo $! >> "$PID_FILE") && true || false

The next error is harder to understand. The status program is just a symlink to /sbin/initctl. The version of initctl on Ubuntu doesn't have a -p option. I haven't been able to find the manual of whatever initctl is used on Amazon Linux. Presumably, if you can find it, you can check what the -p option does and figure out the equivalent in Ubuntu's initctl.


UbuntuGNOME uses other nautilus, how do I make it split the window into two using F3

That functionality (and a few others) were removed when Nautilus 3.6 was introduced to GNOME. It is one of the good reasons why Unity is diverging from GNOME and why the Mint folks came up with Cinnamon. Unity uses Nautilus 3.4, the last fully functional release.

Luckily for you it is possible to downgrade from Nautilus 3.6 to 3.4.


How to manage files in ipod with kubuntu

maybe ifuse+kio_afc is the solution.

sudo apt-get install ifuse

and then, download and compile kio_afc

However, aio_afc's last update was in 2010...


Cannot Ubuntu desktop edition perform as Ubuntu Server Edition?

You can do everything you need from the desktop edition, provided you install the needed software.

More importantly, server actually removes some features from desktop edition, which don't make particularly much sense for an enterprise server installation, but you might want available for your purposes. So you might prefer to stay with Ubuntu Desktop, or use some Ubuntu derivative with lighter requirements, especially in GUI department, like xubuntu or lubuntu.


How to Run Matlab 2016a with Nvidia Drivers of GTX-960 in Ubuntu 16.04?

the problem with the matlab libraries: it contain old libraries as compare to ubuntu and they conflict with the new one...

you can check this for solution: Doesn't Matlab work on ubuntu 16.04?

or run

sudo apt-get install matlab-support

and during installation choose replace the libraries with .bek file name.


Blank screen after installing nvidia restricted driver

Remove all Nvidia-related packages

Log in to a terminal: Ctrl+Alt+F1 (terminal is visible with a blank screen)
sudo apt-get remove --purge nvidia-*

Start from scratch

sudo apt-get remove --purge xserver-xorg-video-nouveau xserver-xorg-video-nv

Reinstall everything

sudo apt-get install nvidia-common
sudo apt-get install xserver-xorg-video-nouveau
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core

Reconfigure the X server

sudo dpkg-reconfigure xserver-xorg

Source: Ubuntu Wiki


Ubuntu 12.04 LTS is unstable on my system

You need to go to the synaptic package manager gui and search for libXrandr. BTW, are you running 32-bit or 64-bit Ubuntu? Which one you install, libXrandr.i386 or libXrandr.x86_64 is dependent upon that. Once done, you might have to reboot. Then you should be able to setup your display to handle the 2 screens.


Installation of Older version QGIS2.4 on Ubuntu 14.04 rather than QGIS2.8

The QGIS project uses CMake, so you need to run cmake to generate the Makefile, followed by make to build the application. Based on the way Ubuntu builds QGIS, you might want to run cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_SKIP_RPATH=TRUE -D BINDINGS_GLOBAL_INSTALL=TRUE -D PEDANTIC=TRUE -D WITH_SPATIALITE=TRUE -D WITH_MAPSERVER=TRUE-D QGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin.

You might also want to install the build dependencies for QGIS. You can do so by running sudo apt-get build-dep qgis.


Ambari agent installation on ubuntu 14.04 32 bit

Ambari agent not available for Ubuntu or 32 bit Platform :

2.2. Operating Systems Requirements

The following operating systems are supported:

Red Hat Enterprise Linux (RHEL) v5.x or 6.x (64-bit)
CentOS v5.x or 6.x (64-bit)
SUSE Linux Enterprise Server (SLES) 11, SP1 (64-bit)

https://ambari.apache.org/1.2.0/installing-hadoop-using-ambari/content/ambari-chap1-2.html


How can I get ddclient to work with freedns?

Until ddclient is fixed, you can manually install the old module it wants:

sudo apt-get install cpanminus
cpanm --sudo Digest::SHA1

Free DNS's clients page and ddclient --help provide sample ddclient configurations. Restart ddclient for changes to take effect:

sudo service ddclient restart


secondary hard drive sometimes mounted to wrong location?

You can prevent this from happening by using UUID in place of device paths.

Your fstab should look something like

    # /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=60db2d35-5065-476c-9396-92e8754dd613 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda3 during installation
UUID=66d44124-3c90-4e42-8d1a-eb8f84350b4b /home           ext4    defaults        0       2
# swap was on /dev/sda2 during installation
UUID=4bd642b2-bff1-42cf-a013-f30c592cadc9 none            swap    sw              0       0

You can find out details at
https://help.ubuntu.com/community/Fstab

and a guide on how to set this up at
http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/


How do I make the background of transparent Terminal windows blurry in Ubuntu Gnome 16.04?

sadly it's not currently possible, though efforts are being made to make it possible ATM. In the meantime, I think Ubuntu MATE with compiz can blur behind windows :)

To expand on this answer, KDE plasma now blurs beautifully behind windows and has a pretty cool theming system too :

Here's my desktop ! you can check out how I achieved it here : https://www.reddit.com/r/unixporn/comments/8idl9p/plasma_shameless_macos_clone/


If you are in ubuntu you need to go to settings and power settings and change the settings there to never.


Unsupported proxy in Ubuntu software center

In the network settings page, simply edit your settings as shown:

Good Luck!


Asus Pro P550ca Trackpad unresponsive, cursor moving leftwards every 20 seconds

The problem is that the touchpad is not yet supported by the kernel. Details can be found in the Bugtracker for issue #77391.

There is a workaround for now to at least use the touchpad as a simple mouse. You need to add psmouse.proto=bare to your kernel command line.


Internet connection on ubuntu 18.04 is way slower than on windows 10

I can suggest couple of fixes with my reasons.

First fix

iwlwifi drivers are pretty bad in handling 802.11n protocol. Only newer routers can handle this protocol anyways. So your first step will be to disable the 802.11n and check your internet speed.

To disable:

sudo modprobe iwlwifi 11n_disable=1

If this helps you need to make the changes permanent. If not just reboot and you will revert to the old settings.

To make it permanent:

sudo su
echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf

reboot

Second Fix

Power management could be incorrectly restricting the power to your network card.

Run: sudo iwconfig

This will show you the name of your device.

Now Run: sudo iwconfig <device name> power off

reboot


Grub installation failed during Ubuntu installation

Try with Boot Repair.

1 - Live CD

First, you'll need to boot from a Ubuntu Live CD.

2 - Repair the bootloader

To restore the Grub bootloader, follow these steps.

Open a terminal from the Live CD, and run the following commands:

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

After a few seconds, Boot Repair's main window will open.

Click on Recommended repair.

You're done!

Reboot to test everything out.

If everything went well, you should be up and running now.

Glossary

  Bootloader: a piece of code that runs before any operating system is running. A bootloader is used to boot other operating
  systems. Each operating system usually has its own bootloader.

  GRUB (Grand Unified Bootloader): a bootloader package developed to support multiple operating systems and allow the user to select among them during boot-up. It is Ubuntu's default bootloader.

  Command, command line: the traditional Unix environment , where you type commands to tell the computer what to do.

  Terminal: an application that allows you to access the command line. Open it by hitting its keyboard shortcut, Ctrl Alt T


If your USB stick was made using Startup Disk Creator, the partition format is read only ISO9660.

Some formatting utilities do not handle ISO9660 very well.

The easiest method I have found to recover such drives is by using the Wipe function in mkusb.

mkusb / wipe | Ubuntu Community Help Wiki

I generally wipe the first MB then create a new MSDOS partition table and a partition with the FAT32 file system.


Meaning of /proc/Meminfo file and Dmidecode command

dmidecode

This program attempts to gather information about your hardware from your BIOS. Your BIOS should correctly report the maximum supported RAM on your computer.

In this case, it is reporting a maximum 8 GB of RAM. I would guess that this is most likely correct. The official specifications for your laptop don't list a maximum RAM capacity, just that it came with 4 GB of RAM. Most likely, your motherboard came with support for more RAM than was originally installed.

From man dmidecode:

  dmidecode  is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description  of  the  system's  hardware  components,  as well as other useful pieces of information such as serial numbers and BIOS revision.  Thanks to  this  table,  you  can  retrieve this information without having to probe for the actual hardware.

meminfo

/proc/meminfo reports current memory usage on your system, along with some other information about your memory.

MemTotal is the total usable memory in your system. In your case, it says that you have 3467664 kB total RAM. That is approximately 3.5 GB. It's not unusual for digital storage to have less actual capacity than advertised capacity, so this is most likely in line with what dmidecode reported — that is, the advertised capacity of your RAM.

MemFree is the amount of memory not being used by your system at all. The Linux kernel allows memory to be used for caching frequently-used files so that you can access their data faster in addition to currently running programs. MemFree is the total memory that's not being used for any of those things.

MemAvailable is the amount of memory that can be given to programs to use. The kernel won't reallocate the memory used for currently running programs, but it will reallocate memory used for caching to programs that need it, because it can just read that data back from the hard disk if it's needed again. Therefore, MemAvailable is the total memory minus the memory used by currently running programs.

See man proc for more detailed information on the meminfo file.


Your mount options are correct.

The problem is between file-system and FreeFileSync.

Go to FreeFileSync, Options and uncheck here two checkmarks - File-safe copy and Copy file access permissions (the last one may be the problem).


Ubuntu 17.10, changing input switching to alt-shift (with gnome-tweaks) creates problem in firefox

Use shift+alt (i.e. shift before alt) in Firefox.


How to highlight and annotate PDF and DjVu documents?

Okular  can be used to view, highlight and annotate (with sticky notes) both pdf and djvu files. After opening the document in Okular, press F6 (or Fn key + F6). The controls to highlight, annotate will appear(along with some more tools).

A small hitch: By default these annotations are stored outside the document. So if you mail the document to somebody, he/she will not be able to see the annotations/highlights. But there are ways around this problem (as described in the  official help page of Okular)


Thinkpad T495s Ryzen, kubuntu 20.04: display only works in recovery mode

have you tried the boot option "iommu=soft" as described here:
https://www.reddit.com/r/thinkpad/comments/eb08hk/t495_unplugged_battery_broken_boot_with_linux/
Maybe this will solve your problem too...


libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting

One thing I did to fix this was after installing libdvd-pkg, run the following command to complete the setup:

sudo dpkg-reconfigure libdvd-pkg

If this problem persist, you can select not to do "automatic" updates.


Black screen when upgrading 12.10 to 13.04

I don't think that your GPU is died.
Maybe the Nvidia drivers are not compatible to Ubuntu 13.04 yet. Why you don't use the Nouveau drivers. They are open-source and because that they are faster compatible to newer Ubuntu versions.


How to transfer data from a disk with block size 512 to larger one with block size 4096

Okay, got it working now. Instead of copying the content from the disk image, I've cloned it directly to the destination. Perhaps that should've been done in the first place.

This might not be the exact answer, but worth sharing.

Here is what I did:

created a disk (assume it's called vdb) of 2.6TB to make sure there is more than enough space.
successfully restored the image using dd

root@server:~# dd if=./data.dd of=/dev/vdb bs=4096 conv=notrunc,noerror

root@server:~# lsblk
vdb                 253:16   0   2.6T  0 disk
└─vdb1              253:17   0   1.8T  0 part

While mounting it turned out to be a Raid member

root@server:~# mdadm --assemble --run /dev/md127 /dev/vdb1
mdadm: /dev/vdb1 is busy - skipping
root@server:~# mdadm --assemble --run --force /dev/md127 /dev/vdb1
mdadm: /dev/vdb1 is busy - skipping
root@server:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : inactive vdb1[0](S)
      1953511936 blocks

unused devices: <none>
root@server:~# mount /dev/md127 /mydata/
mount: /dev/md127: can't read superblock
root@server:~# mdadm --examine /dev/vdb1
/dev/vdb1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 0a0f4cab:13da9f8f:32773d18:de90fe8d (local to host server)
  Creation Time : Mon Jun 20 14:38:59 2011
     Raid Level : raid1
  Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)
     Array Size : 1953511936 (1863.01 GiB 2000.40 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Tue May 31 06:45:38 2016
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : f2035ced - correct
         Events : 1354346

      Number   Major   Minor   RaidDevice State
this     0       8       17        0      active sync

   0     0       8       17        0      active sync
   1     1       8       49        1      active sync

root@server:~# mdadm -A -R /dev/md127 /dev/vdb1
mdadm: /dev/vdb1 is busy - skipping

root@server:~# mdadm -S /dev/md127
mdadm: stopped /dev/md127

root@server:~# mdadm -A -R /dev/md127 /dev/vdb1
mdadm: /dev/md127 has been started with 1 drive (out of 2).

root@server:~# mount /dev/md127 /mydata/
mount: unknown filesystem type 'LVM2_member'

root@server:~# fdisk -l /dev/md127
Disk /dev/md127: 1.8 TiB, 2000396222464 bytes, 3907023872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

root@server:~# lvmdiskscan
  /dev/vgname/lvname  [       1.66 TiB]
  /dev/md127          [       1.82 TiB] LVM physical volume

root@server:~# lvdisplay
  --- Logical volume ---
  LV Path                /dev/vgname/lvname
  LV Name                lvname
  VG Name                vgname
  LV UUID                W4abfE-wnuM-Q2Z1-item-mdo9-daHx-K10yQB
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                1.66 TiB
  Current LE             435456
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:2

root@server:~# vgdisplay
  --- Volume group ---
  VG Name               vgname
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.82 TiB
  PE Size               4.00 MiB
  Total PE              476931
  Alloc PE / Size       435456 / 1.66 TiB
  Free  PE / Size       41475 / 162.01 GiB
  VG UUID               tNqlCk-SSzi-1eFO-ZPyX-fAee-3cIi-Tdu2gR

root@server:~# lsblk
NAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
vdb                 253:16   0   2.6T  0 disk
└─vdb1              253:17   0   1.8T  0 part
  └─md127             9:127  0   1.8T  0 raid1
    └─vgname-lvname 252:2    0   1.7T  0 lvm

root@server:~# mount /dev/vgname/lvname /mydata/
root@server:~# lsblk
NAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
vdb                 253:16   0   2.6T  0 disk
└─vdb1              253:17   0   1.8T  0 part
  └─md127             9:127  0   1.8T  0 raid1
    └─vgname-lvname 252:2    0   1.7T  0 lvm   /mydata

root@server:~# cd /mydata/
root@server:/mydata# ll
... lots of files and folders ....

Resources that helped me find a way to handle the case:

10 Linux Fsck Command Examples to Check and Repair Filesystem
mount: unknown filesystem type 'linux_raid_member'
How to mount software RAID1 member using mdadm
mount: unknown filesystem type ‘LVM2_member’
How to make disk image with dd on Linux or Unix


Those remaining folders of already purged kernels are only links to the headers/source files of those kernels.

So, you can get rid of them purging the respective headers files, like:

sudo apt-get --purge remove linux-headers-3.18.0-rc1-00326-g3d85e2c-dirty

Look, I suggest you to use --purge remove directive to clean it all up. Also, If you remove future kernel only image with --purge remove, you will also get ride of the /lib/modules links, even not purging the headers files.


The binary (symbolic link) /usr/bin/opt is in the package llvm. Therefore install with

sudo apt-get install llvm

The installation of this package creates a symbolic link

/usr/bin/opt -> ../lib/llvm-3.6/bin/opt

Or create the link via

sudo ln -s /usr/lib/llvm-3.6/bin/opt /usr/bin/opt

You can check this via apt-file

sudo apt-get install apt-file
sudo apt-file update
apt-file search --regex /opt$

Sample output

glibc-source: /usr/src/glibc/debian/control.in/opt
llvm: /usr/bin/opt
llvm-3.4: /usr/lib/llvm-3.4/bin/opt
llvm-3.5: /usr/lib/llvm-3.5/bin/opt
llvm-3.6: /usr/lib/llvm-3.6/bin/opt
scsh-0.6: /usr/lib/scsh-0.6/opt


Ubuntu 14.04LTS on ASUS wifi disconnecting and reconnecting

Good an easy fix

echo "options asus_nb_wmi wapf=4" | sudo tee /etc/modprobe.d/asus_nb.conf

Reboot and if it is still blocked try the keyboard combo to clear it


Unable to install Pycharm with Ubuntu 18.04

I have solved my problem by following Jos's advice.

I let my notebook connected to my phone's network and I downloaded successfully. Not sure why a 24mbps internet is more stable than 500gbps....
Question closed.


Graphical glitch in background of windows after update to 17.04

I'll give you a fix for the gedit problem, and maybe it'll also fix your other glitches.

Remove the .xinputrc in your home directory. Log out and then log back in and retest gedit. Then retest your other things.

In the terminal:

rm -i ~/.xinputrc # to delete this file with a confirmation prompt


You can use Compose", for „ and Compose"< for “.

See How can I add a custom compose key sequence? for how to define your own compose sequences.


Whats the difference between installing a desktop from iso and apt-get?

It depends on what you start from.

If you do a clean install of Xubuntu, only XFCE applications will be installed.

If you run

sudo apt-get install xubuntu-desktop

from already installed Ubuntu, you will keep all Unity applications.

That may get system slower and you will have too many similar programs installed.

But you will have an option to log in to Ubuntu or Xubuntu.


Please help building ladosc on 64bit raring

I contacted the developer and he helped me compiling it.

I had to replace the liblo.a with liblo.so (.so is a shared lib and .a is not) in the makefile and compile with -fPIC flags for gcc.

Now the plug-ins compile. Couldn't test them functionally, yet, but they open fine in Ardour.


You should not edit files in /var/spool/cron/crontabs directly. The correct procedure to do so is:

get current crontab with the command crontab -l >file
modify the output file using any means, eg. sed, perl etc.
apply new crontab with the command crontab file

If you are doing this for a different user than yourself (you must be root for this of course), add -u username parameter after the crontab command.
You can write a script that performs the above points 1-3 and schedule it using the at command as said in comments.


Only 3GB of RAM with PAE kernel on 12.04

Turns out it's probably a motherboard/BIOS issue and there's no workaround. Similar to 64-bit and 32-bit 12.04 report 1GB less ram.


This may be a stupid question but can juju work on a kubernetes cluster that was created and deployed outside of it

It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:

Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.

https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1


Preseed - partitioning manually doesn't work

I was able to get it working by removing partman-auto entirely. The updated preseed.cfg is as below.

################################################################################
# This is the preseed file for setting up the initial Cloud In a Box
################################################################################
### Localization                                                             ###
################################################################################
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US

# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string en
d-i debian-installer/country string US

################################################################################
### Network configuration                                                    ###
################################################################################
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
d-i netcfg/choose_interface select eth0

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
d-i netcfg/dhcp_timeout string 60

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Configure network manually

#Static network configuration.
d-i netcfg/get_nameservers string 192.168.1.1
d-i netcfg/get_ipaddress string 192.168.1.42
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.1
d-i netcfg/confirm_static boolean true

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
d-i hw-detect/load_firmware boolean true

################################################################################
### Mirror settings                                                          ###
################################################################################
d-i mirror/country string US
d-i mirror/http/mirror select us.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu

################################################################################
### Suite to install                                                         ###
################################################################################
d-i mirror/suite string trusty
d-i mirror/http/proxy string

################################################################################
### Clock and time zone setup                                                ###
################################################################################
#Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true

# You may set this to any valid setting for TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string US/Eastern

################################################################################
### Base system installation                                                 ###
################################################################################
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
d-i base-installer/kernel/image string linux-server

################################################################################
### Account setup                                                            ###
################################################################################
# Skip creation of a root account (normal user account will be able to
# use sudo).
d-i passwd/root-login boolean false
# Alternatively, creation of a normal user account.
d-i passwd/make-user boolean true

# To create a normal user account.
d-i passwd/user-fullname string Cloud In a Box Admin
d-i passwd/username string cibadmin
# Normal user's password, either in clear text
d-i passwd/user-password password cibadmin
d-i passwd/user-password-again password cibadmin

# Set to true if you want to encrypt the first user's home directory.
d-i user-setup/encrypt-home boolean false

################################################################################
### Apt setup                                                                ###
################################################################################
# You can choose to install restricted and universe software, or to install
# software from the backports repository.
#d-i apt-setup/use_mirror boolean true
#d-i apt-setup/mirror/error select Change mirror
d-i apt-setup/multiverse boolean true
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/partner boolean true
d-i apt-setup/backports boolean true
# Select which update services to use; define the mirrors to be used.
# Values shown below are the normal defaults.
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string security.ubuntu.com
d-i apt-setup/security_path string /ubuntu

################################################################################
### Package selection                                                        ###
################################################################################
tasksel tasksel/first multiselect standard

# Individual additional packages to install
d-i pkgsel/include string openssh-server build-essential debconf debconf-utils apt-utils whiptail netbase

# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select safe-upgrade

################################################################################
### Boot loader installation                                                 ###
################################################################################
d-i partman-auto/disk string /dev/sdb
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/sdb

################################################################################
### Install security updates automatically                                   ###
################################################################################
# Policy for applying updates. May be "none" (no automatic updates),
# "unattended-upgrades" (install security updates automatically), or
# "landscape" (manage system with Landscape).
d-i pkgsel/update-policy select unattended-upgrades

################################################################################
### Execute final scripts                                                    ###
################################################################################
d-i preseed/late_command string \
  echo "deb [arch=amd64] http://get.megam.co/0.6/ubuntu/14.04/ testing megam" >> /target/etc/apt/sources.list.d/megam.list; \
  in-target apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B3E0C1B7; \
  in-target apt-get update; \
  in-target apt-get -y --force-yes  install megamcib


13.04 doesn't boot after installing nvidia driver 319.49

Following @TrailRider link, I managed to solve this problem. Not sure exactly what did the thing, but I solved it.

1) be sure to purge any nvidia-current package!
2) if you install with the nVidia driver, run it like:

sudo sh NVIDIA-Linux-x86_64-319.49.run --uninstall

So that it will clear any bad things that was there
3) finally, just reinstall normally:

sudo sh NVIDIA-Linux-x86_64-319.49.run

Now, I have access to cuda again. Thanks to everyone that took time to read this question and a special thanks to @TrailRider!


Ubuntu 18.04 No WiFi adapter found [Dell Inspiron 3542.]

Guys i tried contionusly for a month then able to find solution of problem "No WiFi adapter found " , the problem is same in all versions of ubuntu because i tried Ubuntu 16.04 and then Ubuntu 14.04 , but i finnally able to find the solution.I almost tried each and every solution available.

In my case the output of rfkill list

0: dell-rbtn: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes

so to solve the problem i need to blacklist dell-rbtn (this is hardware issue)

to balcklist dell-rbtn, i did

echo "blacklist dell-rbtn" | sudo tee /etc/modprobe.d/dell-rbtn.conf

and after this reboot the laptop and now i m able to use WIFI.

I hope this will help someone because i also tried for months to solve this problem. Thanks

One last thing my laptop configration  Dell Inspiron 3542 and Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter


ping the FQDN failed but 'short name' works

set your computer as if it is in the same domain name:

sudo hostname mypc.mydomain.local

replace mypc with your computer name


How to take sreenshots on Nexus 4 running Ubuntu Touch?

Using the devel channel for mako (nexus 4) if you hold down both the volume buttons together it takes a screenshot.


How to change firefox font size in command line?

Find the value(s) name(s) with about:config

By tunning only the font size to 12, I found font.size.variable.x-western

Tune your profile prefs.js file

~/.mozilla/firefox/<DefaultProfile>/prefs.js

You can get the default profile folder name with this

cat ~/.mozilla/firefox/profiles.ini | grep 'Path=' | sed s/^Path=//

insert the line

user_pref("font.size.variable.x-western", 12);

A good way will be to customize a template profile while watching for differences saved in prefs.js (ie save default pref.js and compare with customized one with a tool like Meld)


Unlock gnome-screensaver instead of deactivating

Ubuntu 14.04+ no longer uses gnome-screensaver, that's why gnome-screensaver-command -d may not work (probably, I'm not sure, but Ubuntu has replaced the old gnome-screensaver with something new and that command doesn't work currently). You can lock and unlock your computer using dbus.

Lock:

dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock

Unlock:

dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.SetActive boolean:false

It should unlock without asking for password.


Find a theme you like e.g. https://www.gnome-look.org/p/1009237/

Extract the theme to /boot/grub/themes/
Edit /etc/default/grub file. Find the line starting with "#GRUB_THEME" and change it to "GRUB_THEME=/boot/grub/themes/[THEME_FOLDER]/[theme.txt]"
(replace [THEME_FOLDER] ; [theme.txt] is probably OK ; remove "[]" brackets)
Run sudo update-grub

NB: The example given is in 7z format so you unzip it with 7z x grub_themes_stylishdark_0_1_by_vinceliuice-d8t31ig.7z.

It also contains a deb file that you can run to copy the right files or you can copy the unzipped files. However, you have to make sure you copy the right ones. It contains files like this:

grub-themes-stylishdark_0.1-1_all/boot/grub/themes/StylishDark/background.jpg

You want to go to /boot/grub/themes/ and copy the grub-themes-stylishdark_0.1-1_all/boot/grub/themes/StylishDark directory into it so you end up with /boot/grub/themes/StylishDark

P.S.: Grub themes usually come with appropriate install instructions or auto-installer. You can find lots of grub themes on https://www.gnome-look.org/browse/cat/109/ord/latest/


Taking screenshots from random frames of a video file

It's a GUI solution, but a very simple one. You may use SMPlayer for this purpose.

Open a video with SMPlayer and select Menu > Video > Thumbnail Generator.

You should get a few options to play with.

Select OK and you'll get the final output.

Since SMPlayer is a front-end for mplayer, I believe same can be achieved using Terminal with the proper usage of mplayer command.

Video source


You can change /usr/lib/mailman/Mailman/Cgi/admin.py. Remember to back it up!

Original:

    creatorurl = Utils.ScriptURL('create')
    mailman_owner = Utils.get_site_email()
    extra = msg and _('right ') or ''
    welcome.extend([
        _('''To visit the administrators configuration page for an
        unadvertised list, open a URL similar to this one, but with a '/' and
        the %(extra)slist name appended.  If you have the proper authority,
        you can also create a new mailing list.

General list information can be found at '''),
        Link(Utils.ScriptURL('listinfo'),
             _('the mailing list overview page')),
        '.',
        _('
(Send questions and comments to '),
        Link('mailto:%s' % mailman_owner, mailman_owner),
        '.)
',
        ])

Version without create link:

    creatorurl = Utils.ScriptURL('create')
    mailman_owner = Utils.get_site_email()
    extra = msg and _('right ') or ''
    welcome.extend([
        _('''To visit the administrators configuration page for an
        unadvertised list, open a URL similar to this one, but with a '/' and
        the %(extra)slist name appended.

General list information can be found at '''),
        Link(Utils.ScriptURL('listinfo'),
             _('the mailing list overview page')),
        '.',
        _('
(Send questions and comments to '),
        Link('mailto:%s' % mailman_owner, mailman_owner),
        '.)
',
        ])

Remember that this doesn't disable the creation of new lists, but just hide the link! So you still have to have a good list creation password!


How to enable noise suppression in Ubuntu 14.04?

First off, let me tell you my qualifications:  I have a degree in electronic engineering, a degree in audio engineering, and 23+ years experience doing both and as an IT professional.  I say this not to brag, but so you will understand what qualifies me to give the advice I'm going to give you.

The very first thing I'd tell you to do is try the microphone on a different device or computer - one that you KNOW for a fact works, preferably in the same location that you are trying to use the system that has the problem.  That will eliminate the mic and location as possible causes of your problem.  Since you are using the standard headphone-style jack, I can tell you that things like florescent lights are picked up by the cord like an antenna, and they are VERY noisy.  The microphone's cable should be shielded, but often times they are not, and this allows EM noise (like that from the aforementioned lights) to be picked up and converted to audio noise far more easily than many people realize.

Also try recording with nothing plugged in to the card (no sound source).  That will make sure the recording circuits and driver of your sound card aren't the issue.  If  you are using a player of some kind instead of a microphone, you may be sending too strong a signal in, especially if you don't have separate microphone and line in jacks.  Sending a line-level signal into a Microphone input will cause severe distortion that sounds a lot like static.  If this is the case, turn the volume down - WAY down - and pray you haven't blown the input on your sound card.

It's possible you don't have exactly the right driver for your sound card.  Playback, which is (of course) the most commonly used section of a sound card, is far easier to develop a driver for (or so I'm told - I'm not a programmer) because so many of them use the same DAC (Digital to Analog Converter) chip.  It is also more forgiving of minor variations from card to card because the conversion from digital to analog is so basic and straight forward, electronically speaking.  As long as the data gets to the DAC properly, there isn't much more for the driver to do, and that is more or less done the same way by all sound cards, so a generic driver works pretty well for that side of things.

Recording is a far more difficult process because ADC (Analog to Digital Converter) chips are more expensive and therefore more varied from card to card.  The noise you are getting can EASILY be caused by the recording circuit of your sound card not being initialized properly due to the wrong driver.  If you can't find a driver for your exact sound card, try to find an old Sound Blaster 16 (or compatible) card and put it in your system.  The system will have the proper driver for that built in since it's such a standard in the sound card world.

Good luck!


Computer 1: If you have added your SSH key to MAAS, it should be placed on Computer 1 when it starts up and you can do
ssh ubuntu@computer1

Computer 2: you should use maas-enlist and then go to the UI to 'Accept and commission' the new node. After that, the commissioning process should start and then you should get in the same state than computer 1.

As for deletion of the nodes, it's not currently possible to do that when their state is "commissioning". We are looking at implementing a watchdog in the near future that will mark them as "failed" if they don't complete commissioning in time (see bug 981082), however I may also add a utility script to do this manually if you don't want to wait for the timeout.


Activate remote desktop on my ubuntu server, which interface/program?

Ok, I've resolved with the solution proposed in the comment by bodhi.zazen. I didn't it was possible to forward the X11 applications through the ssh connection and use the graphic interface. You can find the detailed explanation here: askubuntu.com/questions/436725/x11-forwarding-in-ssh

So the final solution was by directly launching the interested application or by installing a lightweight browser to manage the other programs (like in the case of Plex).


Yes, it should be possible.
Quoting from help.ubuntu.com > What are VServers > Installation:

  Create a new guest

/etc/vservers/newvserver-vars (man newvserver(1) for options):

DIST='dapper'
MIRROR="http://us.archive.ubuntu.com/ubuntu"

  This command creates a new Ubuntu Dapper image. You can change
  "dapper" to "edgy" or whatever you want above. You can run virtually
  any Linux distribution as a guest (for instance, Gentoo).

Bigbluebutton is based on Apache Tomcat, mySQL and several libraries, I don't see too many incompability problems here. However, I didn't verify all myself.

EDIT: However, using a virtual machine should be the easier & quicker way - as there is at least one preconfigured VMWare image with a BBB system.


Okay, I've managed to fix this myself. What I have done is to reinstall the ubuntu desktop.

sudo apt-get install --reinstall ubuntu-desktop

Then I rebooted the machine using sudo shutdown -r now. This worked perfectly.


How can I determine user and group in Ubuntu 14.04?

The syntax of the command is incorrect.  The correct syntax is:

sudo chown -R username:usergroup freeradius_2.1.12+dfsg

Both username and usergroup are missing in what you wrote.  So, if for example, you want root to be the owner, type:

sudo chown -R root:root freeradius_2.1.12+dfsg


How to keep apache and mysql from starting automatically

Apache

sudo update-rc.d -f apache2 disable

Apache is still using rc.d init script, which is why you must disable it using update-rc.d.

MySQL

echo manual | sudo tee /etc/init/mysql.override

MySQL on the other hand has converted to an upstart configuration file. The recommended way of disabling upstart services is to use an override file.


Ubuntu 16.04 installer cant see SSD drive previously used as RAID

If drive was previously part of a RAID set it may have RAID meta-data on it.
Change example from sdx to whatever drive is sda, sdb etc.

sudo dmraid -E -r /dev/sdx


Ubuntu 16.04 doesn't recognize the headphone anymore. no guide seems to work

RESOLVED.
using this: Ubuntu 16.04, no sound, no audio output available in sound settings

I cleaned the ~/.config/pulse and after reboot the sound was back.


ubuntu-touch: packages not configured in libertine containers

This is a recurring problem if you try to set up a Libertine container from the Terminal App, and caused by the confinement of the Terminal App.

Please try again using an ssh or adb shell session, which is fully unconfined.

A better long-term solution for this problem is under development but unlikely to be delivered before OTA-13.


External USB HDD Unreadable After Formatting

By formatting a drive, you are essentially erasing all data boundaries ("partritions") on the drive, which in turn causes your data to no longer be usable.

In all likelihood, you erased the drive's partitions (and thus its data in the most rudimentary sense), but did not create storage space on the drive in the form of a partition.

Open up gparted.  (If it doesn't exist on your system, install it with sudo apt-get install gparted.)  Find the drive in the devices dropdown in gparted, and see it says "Free Space" or "Unpartitioned Space".  You will need to create a partition there.  If that is the case, make sure that you create a partition that is readable on both systems (i.e. if one system is Windows and your netbook is Linux, then make an NTFS partition).

Then after that is complete, try using the drive on the other system, and see if it is readable.


You will need to install all the dependencies prior to installing MySQL Workbench.

Try out this command:
sudo apt-get install libgcc1 libgtkmm-2.4-1c2a libpcrecpp0 python mysql-workbench-data


Installed Ubuntu on HDD, how to move it partially onto SSD

In your place I would make it like this:

Install the system on the SSD,
Keep the /home mounted on the HDD

The fstab's relevant rows would look something like this:

/dev/sda1       /         ext4     noatime,nodiratime,errors=remount-ro 0       1
/dev/sdb1       /home     ext4     noatime,nodiratime,defaults          0       2


As far as I know, proxychains only works with TOR.

After trying some other options I posted in the comments, the solution was in fact:

sudo apt install tor

After installing TOR , proxychains works as expected.


keyboard shortcut to switch focus between separate X screens?

I managed to figure this out for myself on Ubuntu 10.10 (Gnome in my case). There doesn't appear to be a built-in shortcut, but there is a useful utility called DualscreenMouseUtils:

Download dualscreen-mouse-utils archive from here
Extract the archive: tar -zxvf
Build the util: make mouse-switchscreen
Copy the created executable to a bin directory, e.g. /usr/local/bin
Set up a keyboard shortcut using your window manager that runs the executable whenever the shortcut is used.


Ubuntu 18.04 crashes on suspend, sometimes randomly

I think I fixed it, so I figured I should post the answer here in case some poor soul comes by with a similar issue. As it turns out the problem did extend to the windows boot, it was just rare and I spend much less time in that boot so I had not observed it at time of writing. The other clues were that I would occasionally get the error

  Detection error on SSD (M.2)

from the firmware while trying to boot and I finally read the error log that ubuntu would dump to the screen when it crashed to find that it was all complaints about failures to read/write on the drive. Some googling suggested that the drives sometimes come loose or get dirty connections on this model of laptop, so I opened it up, took out the SSD, hit it with some canned air and put it back taking care to seat it securely. Seems to have worked. I think the canned air was probably superfluous but hey, I had it.


Ubuntu Server Ver. 16.04 Intel Centrino 6205 wireless card doesn't connect.

OK, I solved my problem. Here is what is needed:

install aptitude
sudo apt-get install aptitude
install wpa_supplement   ***** note the "_" is not required in statement below
sudo aptitude install wpasupplement
Read and understand and use parameters and follow instructions as follows:
https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant
Modify /etc/network/interfaces:
Comment out your hardwired Ethernet device
Modify /etc/network/interfaces by adding
auto " characters
iface < your wireless device as above> inet static|dhcp
wpa_ssid
wpa_psk  < your access point password>
***** other parameters as needed, i.e address, netmask, network, gateway, etc.
See examples in "HowToUse#wpa_supplement"
Reboot system to test that network is up and will stay up
worked great for me...good luck to you


Where is the best place to start projects and attract developers?

When it comes to startups, new projects, technology news and major developments I keep pretty close tabs on news.ycombinator.com

Y Combinator is notorious for their investing into startups/new opportunities. Many a great developer keep an eye on it.


Why does Firefox Return 'Server Not Found', and SeaMonkey Loads URL Perfectly?

Sometime it happens,try the following

Click on the Tools menu and select Clear Recent History.Or you can bring up the Clear Recent History window by pressing  Ctrl +Shift+Del
In the Time range to clear drop-down menu, select Everything
Click the arrow next to Details to display the list of items to clear, then select the following items,

  o Cookies
  o Cache

Then click clear now.

In your worst case if that din solve your problem then have a look at this troubleshooting link.


So I realized that I had turn off Compositor in Windows Manager Tweaks. And this partly helped. It helped only in Xubuntu session, but login screen and, for example, ubuntu session still looks ugly..


I don't think that it's possible using only xmodmap tool to accomplish what you wish. This because the mouse button is not a key, so it can't have a keyname.

One way to do what you wish is to use xdotool . Using the following command line you can simulate a left click of your mouse:

xdotool click 1

Now, all you have to do is to add a custom keyboard shortcut for the above command. You can't use the F1 key for a custom shortcut, but you can use for example F2 key, then use xmodmap to make F1 key to act as F2 key:

xmodmap -e "keycode 67 = F2"


Installing Windows on server SSD preserving Ubuntu installation

Perform a Windows install as you normally would.  You can do it via your current computer, or put the SSD drive for Windows in a different computer and install it that way.

To install Windows you would have to boot into a Windows Install disk.  As long as you choose the SSD for your Windows install, it will only affect the install disk, not your other drives.

If you need help in installing Windows you can use a Windows support site such as http://superuser.com.

After Windows is installed on your SSD drive, boot to Ubuntu with the Windows drive attached.  Then run sudo update-grub.  This command will add all recognized OS installations to the grub menu, making them selectable during bootup.

Note:

You might also consider detaching your Ubuntu disk during the installation of Windows.  This will give you added guarantee that you will install Windows on the intended drive.  After you have the working Windows installation, reattach your Ubuntu drive.  Be sure to have your Ubuntu drive selective as your boot device in your computer's BIOS.


The product id is same because the modem chip used in both your (HTC) devices is the same.

I have 3 different USB dongle's, two of which have the same chip Huawei EC1260 and the third has Huawei E398. Please see my lsusb output in attached image.

Can't attach all three USB dongles at the same time, but you can see all three have different device IDs - 16, 19 and 21.


Ubuntuone is autostarted from /etc/xdg/autostart/ubuntuone-launch.desktop not from upstart. gnome-session-properties OR StartUp Appication Preference on session-indicator doesnot let you enable/disable the autostart application in /etc/xdg/autostart as most of them contain NoDisplay=true. What you can do is either:

Comment the line NoDisplay=true as #NoDisplay=true and disable it from the above mentioned guis.

OR do:

mv /etc/xdg/autostart/ubuntuone-launch.desktop /etc/xdg/autostart/ubuntuone-launch.desktop.disabled

How do I add/remove the "hidden" startup applications?