16.04 LTS to 18.04.1 LTS upgrade: dock configuration

This behaviour has changed indeed. The concept behind how this works in Gnome Shell is that you access and manage these devices through Files (aka nautilus file manager). As such, your drive is two clicks away rather than one. While you are at work, extra similarly looking drive icons are not cluttering your workspace. They are listed in the left pane of Files, where you can unmount/mount them or remove them. The left dock is solely used for launching applications and managing running applications.

While Gnome Shell moves away from an active desktop, and by default works with a desktop which only functions as a background without icons, Ubuntu still maintains the active desktop. Your drive icons appear there, but that can be turned off in Tweaks, "Desktop" tab.


How to display KDE lock screen time in 24-hour format

Mr/Ms user26687 above hit upon the correct answer in his/her comment above, but I can't mark a comment as The One True Answer, so I will summarize the content of the referenced page at kde.org.

As a bonus, that page contains instructions for changing the date format to YYYY-DD-MM, just like God, ISO and Gary Houston intended.  Wasn't even asking for that, but got it anyway.  Niii-i-i-i-ice.

HOW TO:

Go to the directory

/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components

Therein you will find a file called InfoPane.qml or in 17.04 Clock.qml.  Edit it as root.

Find this line:

text: Qt.formatTime(timeSource.data["Local"]["DateTime"])

and change it to

text: Qt.formatTime(timeSource.data["Local"]["DateTime"], "hh:mm:ss")

For the ISO date change, find this line:

text: Qt.formatDate(timeSource.data["Local"]["DateTime"], Qt.DefaultLocaleLongDate);

and change it to

text: Qt.formatDate(timeSource.data["Local"]["DateTime"], "yyyy-MM-dd");

Save the changes.
That's it!  You don't even need to log out/in, much less restart anything.  Hit Ctrl+Alt+L to lock your screen and see the change immediately.


top shows it's output on a terminal device, not on any standard stream (e.g. STDOUT/STDERR). As there is no terminal involved in the remote host when doing:

ssh user@host top

it's giving the error about the TERM environment variable not being set.

You need to allocate a pseudo TTY on the remote host using the -t option of ssh:

ssh -t user@host 'top'

Now you can send keys to top in the usual manner too e.g. q to quit, h for help etc.

This same solution goes for all programs that require a TTY to show output.

For the sake of completeness, you can allocate a pseudo TTY even if there is not local TTY involved, by using multiple -ts e.g.:

ssh -tt user@host 'top'


Removing the need to sudo with a password

Try this,

less /etc/group

You should see your user name in front of group www-data. Something like this,

www-data:x: ................. <your-user-name>

If this isn't the case, add yourself to the group,

sudo gpasswd -a <your-user-name> www-data

If your name was already there, then it means files inside /var/www don't belong to this group. In that case, just change their group using chown command,

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

You'll have to logout and login for all group related changes to take effect.


try something like this, check this link

    rm -rf /tmp/.X0-lock


Python libgtop bindings for Ubuntu 12.10?

You need to use the introspected bindings for new versions of glib-based libraries. In this case, you need to install the gir1.2-gtop-2.0 package, and use from gi.repository import GTop to access the APIs.


Can I dual boot a Nexus 4 with Touch preview?

Well, a real dual boot like with a pc is not possible, but maybe this app works.

It runs under rooted Android and you can select what ROM to boot next reboot. Maybe worth a try


"could not connect to session bus" on login

That's a very weird file path //bin/dbus-launch - that should've been /usr/bin/dbus-launch. Does the system hang there or does it allow you to go further?

Have you tried searching for that path in your home?
This will go through your files/documents in home and echo the filename that contains "dbus-launch":

grep -ri dbus-launch /home/myusername

Also try creating a new user.

Press CTRL+ALT+F1 - this will get you in the console. Login with your credentials.
Execute:

 sudo adduser mynewuser
 sudo adduser mynewuser admin

It will ask for a password twice, type it in. You can leave the rest of the fields empty (full name etc.), just press enter. The second command will add you as administrator.
Now restart your lightdm (desktop manager): sudo service lightdm restart

If the new user works, then it's definitely a problem in your home folder (probably hidden folder settings, press ctrl+H in nautilus to show hidden files/folders).


Gwibber holds its data in a SQL database which you can view and amend if you use sqlitebrowser

sudo apt-get install sqlitebrowser

cd ~/.config/gwibber
sqlitebrowser gwibber.sqlite

Change the database table to messages - highlight the messages you want to delete - click the delete button and then save the database changes.

Note - Gwibber appears to hold your account and messages in memory - so you may have to reboot if a gwibber-refresh action doesn't work.

Note 2- if you just want to start from a clean database - just delete gwibber.sqlite and reboot.  When you next start Gwibber, the database will be recreated and you will need to re-add you twitter/facebook accounts again.


For now, the only supported version of gedit on Ubuntu 12.10 are 3.6.1 and 3.6.0. You can check this with the command

apt-cache policy gedit

This gives an output

apt-cache policy gedit
gedit:
Installed: 3.6.1-0ubuntu1
Candidate: 3.6.1-0ubuntu1
Version table:
*** 3.6.1-0ubuntu1 0
    500 http://archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
    100 /var/lib/dpkg/status
 3.6.0-0ubuntu1 0
    500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

version 2.0 is very old one and is no longer supported on Ubuntu 12.10.

The only feasible solution for testing the plugin seems to be that you get an older version of Ubuntu which supports gedit 2.0, run it in VM and install and test the plugin there.


IBus on Ubuntu 14.04 Japanese not working

I don't know how you get them installed. I first installed mocz from software center and I didn't work. But the following command works. Press Ctrl + Alt + T to start the terminal, then right click on anywhere in the terminal to paste the command:

sudo apt-get install ibus-mozc mozc-server mozc-utils-gui

After everything is done in the terminal, log out once and try find mozc in Text Entry Settings.

Reference:
http://inokara.hateblo.jp/entry/2013/03/23/091307


Command line autocomplete no longer escapes special characters on certain operations

You may want to check this out because I had the same problem and modifying /etc/bash_completion did solve it.

http://www.yenlo.nl/thijsvolders/2011/12/06/ubuntu-11-10-bash-autocompletion-changed/


find out which process wakes my hard drive from sleep state

More then likely your file manager or desktop enviroment is "scanning" the drive for indexing.

You can stop this by unmounting the drive when not in use, then mounting, backup, unmounting when you need to backup.

Other then that you can use tools like lsof to see what processes have files open on the drive. But this is can be very hit or miss, as the access that cause wake may be nothing more then a "Are you still there?" from the kernel.

To use lsof and not go crazy:

lsof | grep /media/external

changing the path to your mount point of course.

I Really recommend unmounting though if you don't want the drive to be in use.


I think you want python-svn, which is in Universe.

http://packages.ubuntu.com/precise/python-svn

You may need to activate the Universe repository

See https://help.ubuntu.com/community/Repositories/Ubuntu for information on the repositories.


I wanted to restart vino-server because I could not connect anymore. I tried the way you did but it did not work out. What help for me:

sudo pkill Xorg

Afterwards

DISPLAY=:0.0 /usr/lib/vino/vino-server &

says:

Server is already active for display 0

So I deleted:

sudo rm  /tmp/.X0-lock

And restarted vino afterwards:

nohup /usr/lib/vino/vino-server --display=:0.0

Note: It still told me already running but now I could connect to it via VNC anyways.


Found the solution here:
Okular crashes Ubuntu 14.04

Basically:

sudo apt-get install kdelibs-bin kdelibs5-data kdelibs5-plugins kdelibs-bin kdelibs5-data kdelibs5-plugins oxygen-icon-theme


No output sound with my Xonar D1 in 16.04 (16.10 works)

Inspired by this link on archlinux

  Under alsamixer, I just had to MUTE S/PDIF for the sound to play back
  again. Please wait for me while I smash my head against the wall.

I then decided to mute the front panel on alsamixer. Of course now it works. Just fine. I'm genuinely speechless!


Just noticed you are using the Classic mode of Natty - to hide the tray icon you need to delve into X-Chat's preferences


Firefox UI font changed after upgrade from Kubuntu 16.04 to Kubuntu 18.04

Apparently, I had custom settings for Font hinting and antialiasing in the KDE system settings. Removing the ~/.fonts.conf configuration file and restarting firefox seems to have solved this issue.


Update stuck at "configuring unattended-upgrades", software updater turned black. Why?

I suspect there is a bug in the code that configures unattended-upgrades that assumes the system is actually set up to use automatic upgrading.

I reproduced the bug in a VM that was basically a fresh install of Ubuntu 16.04 x64 off the media and had never had any other software installed or any updates installed.  Only some minor reconfiguration had been done.

After it had frozen for a number of hours very similar to your screenshot, I paused and snapshotted the VM, rolled back to a snapshot prior to starting the update, made certain config changes and then repeated my actions down to opening the same things in the dialogs, etc.  This time the update completed without issue.

The config changes I made were as follows:

In System Settings->Software & Updates->Updates, set "Automatically check for updates" to "Daily."  When the failure occurred this had been set to "Never."  Do this first, because otherwise the GUI will clobber the remaining config changes.

(I think this setting is redundant with APT::Periodic::Update-Package-Lists, but for some reason setting that directly did not change it in the GUI, so I also changed it in the GUI to be sure.)
Edit /etc/apt/apt.conf.d/10periodic, replacing the following settings with the ones shown here:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";

These settings had all been 0 when the failure occurred.

You should be able to set these back however you want them once the update is done.  Or you could probably just skip the update of unattended-upgrades.

Disclaimers:

I had some serious instability related to gnome after the upgrade.  A second update & upgrade (done via the apt-get CLI) resolved that so I suspect that was an unrelated issue.
Although I strongly suspect, since I repeated almost exactly the same actions from VM snapshots, the bug to be related to the above settings, it is possible the bug is not deterministic, in which case it may have just worked by coincidence.
I don't know which of the above changes actually fixed it.
There is some small chance that once the bug has been encountered it will automatically affect the next run regardless of settings; keep in mind I did the fix from a VM snapshot which had not 'seen' the initial failure.


Is there a ROBLOX player for Ubuntu 18.04?

No, Roblox has no official availability on Linux, and is known to be incompatible with Wine/PlayOnLinux.


Sounds like either a corruption to Unity or a modification. Either way, following the below instructions should fix your problem.

Start by opening Terminal using (Ctrl+Alt+T) and then enter the below command.

sudo apt-get install --reinstall unity && sudo apt-get install --reinstall ubuntu-desktop

Doing this will reinstall both Unity and Ubuntu desktop essentially putting them back to default settings.

After the reinstall is complete, you will need to restart your computer for the changes to take affect.


Keyboard backlight function keys for Samsung Series 9 np900x3d and Ubuntu 13.10

in 13.10 you have to
check your product

cat /sys/class/dmi/id/product_name
  870Z5E/880Z5E/680Z5E

edit

vi /lib/udev/hwdb.d/60-keyboard.hwdb

and check/edit/add a lines like this

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][CDG]*:pvr*
  KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
  KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up

and then

udevadm hwdb --update

But it seems to matter whether you installed ubuntu in EFI or in CMS/BIOS mode.
EFI-installed does not work even after those changes


Does apt upgrade trigger netplan apply in 18.04?

Conclusion: "systemctl restart networking" (networking.service) is not as clever as the boot process. Avoid mixing comments with configuration in /etc/network/interfaces, put them on separate lines in stead.

Canonical: Please remove "restart networking" from apt upgrades (netplan.io, nplan, etc). Upgrading packages should always be networking safe, not something you delay for a fear of being cut off from a remote server.

Explanation: I got the remote server up and running by logging in to the physical console and doing a simple "ifdown (WAN-interface)" and "ifup (WAN-interface)". The problem seemed to be that /etc/network/interfaces contained one interface with a comment at the end of a line, like this:

iface br4 inet static # COMMENT

This caused the raise network interfaces job to fail during the apt upgrade, as shown in the logs (dozens and dozens of errors like the first one for one run of 'systemctl restart networking'):

ifup[30436]: /etc/network/interfaces:98: extra parameter for the iface line not understood and ignored: #
systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: networking.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Raise network interfaces.

I assume this means that restart networking reads /etc/network/interfaces multiple times, at least once for every interface, and that the process only got as far as shutting down the first interface before it failed. This interface was not the one with a comment, so the order of events of the failure is a bit mysterious.

Generally speaking, I don't understand why 18.04 runs restart networking during an apt upgrade. This does not seem networking safe for remote management. (And it marks the first time in more than 12 years that an Ubuntu server caused a two day travel to login physically after an upgrade.)

I also don't understand why the server would boot just fine with that comment in the interfaces file, but not be able to upgrade properly. One should think that it was the same processes doing the same things at boot and during upgrades.

Technically speaking, I didn't have the time on site to verify that upgrading netplan works after removing the comment from the interfaces file. But I did manage to reproduce the errors that the upgrade process produced, and to eliminate them when running restart networking on the console. In other words, restart networking now works.


Cant install UpWork Team app on Ubuntu 15.04

Problem resolved using a mirror package:

For x86_64/amd64 (64bit)

$ sudo wget https://mirror.umd.edu/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb

$ sudo dpkg -i libgcrypt11_1.5.3-2ubuntu4_amd64.deb

Download a package here: "Debian-based 64-bit (Standard)"

$ sudo apt-get install gdebi-core

$ sudo gdebi upwork_amd64.deb

For i386 (32bit)

$ sudo wget https://mirror.umd.edu/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb

$ dpkg -i libgcrypt11_1.5.3-2ubuntu4_i386.deb

Download a package here: "Debian-based 32-bit (Standard)"

$ sudo apt-get install gdebi-core

$ sudo gdebi upwork_i386.deb


I can't install my TL-WN422G in ubuntu 12.10

Found This ( in french , i guess you understand it ! ) http://forum.ubuntu-fr.org/viewtopic.php?id=421628


To start:

/var/log/syslog - main system log file.
/var/crash - program crashes, look for anything with the right timestamp
/var/log/Xorg.*.log - GUI log files.  Look for one that matches the right time.

It could very well be a graphic card bug.  I would make sure your graphics drivers are up to date, and if so, file a launchpad bug.  So much of movie playback is hardware accelerated now, that subtle bugs can creep in.

You will probably also want to clarify in your question what you mean by restart.  Does the full system reboot, or just the user interface crash and you go back to the login screen?

The following guides have been helpful to me when debugging system crashes.  To be clear, I think you have a genuine bug of some kind, and I think you should file it upstream.  I know that doesn't help you watch movies. :(

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

I don't see anything obvious in your log files.  A true kernel crash will not show up in log files usually, and if find that is what you have, you will need to enable the following to make forward progress:

https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

Sorry that you are having this trouble. :(


BZflag Doesn't start on Kubuntu 18.04.03

Resetting the resolution to 1366x768 fixed the problem.


Ubuntu Server 20.04 Reset Group Ownership?

I hope this works :)
I made files with
getfacl -R {dir} >{dir}.facl

for system related directories. Downloads:

var: https://drive.google.com/file/d/155VXpDsfjtrJJ2AYyq_Y_Sj0rjulQXAt/view?usp=sharing
usr:  https://drive.google.com/file/d/1jJ9MbWrZtUNiwCWBPChALdrpuGnR15uX/view?usp=sharing
etc: https://drive.google.com/file/d/1SG4bwp-Hu5RuE_qB_GGDt5w3eVPXBWKz/view?usp=sharing
bin: https://drive.google.com/file/d/1QpM1kDTfcvW68JX2Dh7GCjDFwHRXIsFo/view?usp=sharing

Use
setfacl --restore={dir}.facl

to reset them. Warning: Change the bin and var file and replace rinzwind (my username) with your username in the bin and var file before doing this.
If sudo permissions are changed use a live session or grub rescue to do this. A live session will be the easier method if you have one.


Welcome Jarrod

Open the Terminal, and execute the following command:

sudo apt-get install ubuntu-restricted-extras

To play DVDs, you also need to install libdvdcss by opening a terminal and entering the following in addition to installing the restricted extras package:

 sudo /usr/share/doc/libdvdread4/install-css.sh

additional documentation https://help.ubuntu.com/community/RestrictedFormats


Compatible version of "Adobe Shockwave Player?"

The Shockwave player is only available for Windows. You can use mozplugger(a program that lets you "embed" other programs in your web browser.) along with wine and windows version of firefox

First, install the wine and mozplugger packages (from the software center).
Now download and install the Windows version of Firefox . Download it from Mozilla's web site. Now double click it and install it .
Run the windows version of firefox .
Now go to a web site that requires Shockwave, and choose to get the missing plugin. Again, follow the on-screen instructions, and when the plugin has installed and is working, you may close Firefox.
Now you need to configure mozplugger to use the Windows version of Firefox for Shockwave files. Press Alt + F2 and type:

gksudo gedit

then open the /etc/mozpluggerrc file

Add the following two lines to the end of the file:

application/x-director: dir,dcr,dxr,cst,cct,cxt,w3d,fgd,swa: Macromedia Director file
        swallow(firefox.exe) fill stream: wine "C:\\Program Files\\Mozilla Firefox\\firefox.exe" -chrome "$file"

Now open a Terminal ( Ctrl + Alt + T ) and paste

rm ~/.mozilla/firefox/*.default/pluginreg.dat

Now run the native version of firefox and test the shockwave player by visting this site .

Modified From Here


I am trying to remove Ubuntu and reinstall Windows 10, can someone help me?

You might retitle the question, since as it is, it has almost nothing to do with Ubuntu.  The part that is Ubuntu related is how do you create a bootable media from the downloaded Windows 10 ISO.  First, hashcheck the downloaded ISO.  I found that ISO was not recognized as an ISO by much on the Ubuntu side, and even on a Windows 8 machine, the ISO fs was something like UDF and not handled by the usual Windows burn mechanism.  I did succeed on Windows 8 by using Rufus to create a CD-ROM.  You might try asking for a Rufus like program which will correctly handle the Win 10 ISO.


How can i prevent standard user from accessing terminal?

If you are looking to ban users that you allow to log in from using a terminal for security reasons, it does not make much sense. "The Terminal" is  a tool that will allow you to perform certain actions that you have rights to do. If you take away the right to run "the terminal" (which is actually just another program), the right to perform these actions is not taken away. A user could simply run another program (downloaded?) to perform these actions.

Now if you want to block other users (non-standard I would call them) from loging in at all (be it via the normal method, or via 'the terminal'), you could change the shell line in /etc/passwd to something like /sbin/nologin: this user will not be able to log in.

Example (I can't stress enough that this is probably not what you want for normal users, but it is the only way I can see use for the question. proceed with care)

nologinuserx:111:123:description,,,:PATH:/bin/false
normaluser:1123:1123:,,,:/home/myname:/bin/bash

I'm currently using /bin/false instead of nologin it seems, but that's how it looks

As @gertvdijk mentions in the comments, you could (should?) do this with the chsh (CHange SHell) command like so:

$ sudo chsh -s /usr/sbin/nologin username


Downloading Ubuntu to Computer with No OS

If you are simply placing the .ISO file onto the disc the computer will not recognize it as bootable and you must therefore use a program like imgburn to "write image file to disk" which will then extract the contents to the disc rather than place the ISO on the disc. Then you can resume as usual and boot to the disc.


How to start a KVM-guest as single user mode

Remove the $vt_handoff, quiet, and splash parts of the line.

The vt_handoff option causes the kernel not to display the text console so that there can be a flickerless transition to Xwindows when it starts up, which is why you don't see anything when you boot to single user mode.  The splash option tells plymouth to show the pretty splash screen, and the quiet option suppresses a bunch of text console output.


Old Ubuntu core snap versions are filling up disk space

Right now I don't believe it's possible to change the number of old versions of any snap, that's set at 3. If you see more than that, it's likely a bug, so should be filed at https://bugs.launchpad.net/ubuntu/+source/snapd


Believe you might be seeking GNOMEKiSS, a fork of the KiSS project here.

Believe this is in the general Ubuntu app repositories and should be able to be installed, though can't say what version and there are probably non-free dependencies for actually using the software.


14.04 - Power button that shows usage of external graphics card is always on

What you're seeing is probably perfectly normal.  You should check the GPU usage and GPU temperature with some NVIDIA software (likely available from their website).  Ubuntu 14.04 had an issue with some NVIDIA GeForce cards, in that, when running the GUI, the GPU would run at 100% usage all the time, and it would quickly overheat, shortening the lifespan of the card.  This may have been fixed in an update somewhere, but it's a possibility that this issue is still out there.

If you have your main monitor connected to that graphics card, then you will definitely use the GPU.  The GPU is just another term for the chip on the graphics card that figures out what to send to the monitor, so if you have a desktop running with monitor output, it will be used.

In short, this is probably normal, but it would be a good idea to check it by the numbers.


Why does Ctrl+\ (backslash) not kill the process any more?

What Ctrl + \ does is send SIGQUIT to the foreground process. Some developers want to use SIG* events in a way that the user might not expect or is accustomed to. You didn't mention the program, but lets see my case with Ctrl + \ and mplayer:

AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:   1.7 (01.7) of 0.0 (unknown)  0.4%
// here I press Ctrl + \

MPlayer interrupted by signal 3 in module: play_audio
A:   1.0 (00.9) of 0.0 (unknown)  0.4%

Exiting... (Quit)

As you see, mplayer catch the signal, but don't exit immediately. If I had used Ctrl + C it would say "MPlayer interrupted by signal 2 in module: play_audio". What I'm trying to explain is that each program can interpret the signals the way they like, without caring for what it is supposed to do. You must review the documentation. Also, remember that SIGKILL or 9 should be resorted as last resource. You must check that the keystrokes are also sent to the process, the keymap is correct and your keyboard is connected.


Have to press Fn+Alt+Volume up/down keyboard shortcut after upgrade to 14.04

The problem is that an incorrect string is set in dconf key:

Original (working) value:

~$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-up
'XF86AudioRaiseVolume'

After running "unity-control-center keyboard", and setting the shortcut for
volume-up key:

~$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-up
'AudioRaiseVolume'

The new value misses the "XF86" part of the string, and does not work.

You can get the key working again by resetting the value, with:

~$ gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-up
~$ gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-down

The bug already reported:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1302885


You must go for a Unix-filesystem, supporting permissions and inodes, for Unix to work correctly.

FAT32 doesn't support all the things Unix needs, so it will simply not work well.

Unless you know exactly what you are doing and/or have plenty of time to spare, I would use the installation procedure suggestion.


The issue is not with isolinux.bin but actually with how remastersys was checking for isolinux.bin, it doesn't exist with a parent directory "isolinux/isolinux.bin". Remastersys has since been abandoned by its original developer but we have adopted the project and renamed it respin. The updated code now works on Ubuntu 15.04 and even 16.04 but there seems to be a ubiquity issue in 16.04 that crashes when running the install of the custom iso which we are currently looking into. You can obtain the respin package from my launchpad ppa and install with the following commands:

*Please note this is the command line version. The python GTK gui version will be available soon.

For Ubuntu 15.04

sudo apt-add-repository ppa:sergiomejia666/respin

Prese Enter to add repo

sudo apt-get-update

sudo apt-get install respin -y

sudo respin

For Ubuntu 16.04

sudo apt-add-repository ppa:sergiomejia666/respin

Press Enter to add ppa

sudo apt-add-repository ppa:sergiomejia666/xresprobe

Press Enter to add ppa

sudo apt-get update

sudo apt-get install xresprobe -y

sudo apt-get install respin -y

sudo respin


How to save "initctl" log-priority options?

'sudo initctl log-priority debug' will set the most verbose log level.  You should be able to view the logs at /var/log/syslog, or if it's a custom script the logs might be at /var/log/upstart/[script-name]


Is there a Kubuntu theme available to make it look like Windows 2000?

Looking at Open Desktop, I found  these two themes

Windows 2000 Theme.  Theme/Style for KDE 2.1

Windows 2000 0.1, KDE Color Scheme KDE4

You can look at the above site for more themes, that might be available.  Hope that helps.


Can't update my Ubuntu phone with phablet-flash

I don't have a Nexus 4 (only 7's and a 10) to test this, but ..

Step 1.

Re-start the device:

Press and hold Power + Volume Up + Volume Down buttons, for 5-7 seconds.

You should now be at the Bootloader screen ('green START' )

Step 2.

Use the Volume Down button twice, to show 'Recovery Mode' (in red)

Then press Power, to restart in 'Recovery Mode'.

This will first show the Google logo for 4-6 seconds ..

Then change to Recovery Mode (with a Ubuntu logo in white circle).

Step 3.

You should now be able to verify a USB connection.

adb devices should return 'recovery'

You can now download a fresh install to device.

Make sure only the target device is connected. This will not verify the device attached, and will simply install software for a Nexus 4 (mako).

phablet-flash -b -d mako

UPDATE (10-Aug-2013 onwards)

syntax now changed to:

phablet-flash cdimage-touch -b -d mako

If this does not succeed, restore the device to Android (factory) settings.


It is possible that some BIOS's option is disabling the EFI correct behavior.
Have you tried to enable the EFI options in the BIOS before booting the dvd?
Also, it is possible that the signed lock is causing problems during the boot. Check these things and good luck!


How can I move a tab to another window(file manager)

This isn't possible with nautilus as said @pomsky, but there is a way to have 2 tabs in 1 window :
Just use the keyboard shotcut Ctrl + T when nautilus is active

You can also open a new tab by clicking with the scroll button on a folder, the tab opened will be inside that folder.

NB:

Ctrl + Alt + T open the terminal
Ctrl + Shift + T will open the default application of the selected file
Ctrl + W will close the current tab (if only 1 tab, it close the window)
Ctrl + N will open a new nautilus window (when it's an other nautilus windows active)
Ctrl + Q will close all nautilus window


The name of the package is pentium-builder and not Pentium-builder. Linux is case-sensitive. But that's not the problem. The package system is smart enough to know, what you mean (at least in Wily). But you have to enable the universe repository:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install pentium-builder

And you're using Saucy, a End-of-Life release

sudo sed -i 's/us\.archive\.ubuntu\.com/old-releases.ubuntu.com/' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install pentium-builder


grub-install: error: embedding is not possible

Is this a fresh installation, or an upgrade without repartitioning?  I had this problem a while ago when upgrading an old disk.  The old partition tables only reserved 32kB at the start of the disk, and that wasn't enough room for grub2 to install it's images.

I was running LVM+RAID1, so I was able to break the mirror, repartition with 1MB reserved at the front of the disk, shrink the filesystems, remirror, and repeat on the other disk.


Graphic card from Nvidia to Intel In Ubuntu12.04.3

Intel graphic card support is built in into Ubuntu 12.04, you don't need to install a driver separately. If you are looking for latest Intel drivers consider adding PPA by Glassen https://launchpad.net/~glasen/+archive/intel-driver


OpenVPN and Asterisk - Ekiga or Empathy is unable to register the service

I would recommend to try MicroSip http://www.microsip.org/ through Wine first. Works perfect. Had a lot problems with Ekiga and Empathy.

The remote address of Asterisk service through OpenVPN has to change to 10.0.0.1 for remote networks.

The sip.conf for Asterisk does have to contain a line:

localnet=10.0.0.0/8

The openvpn configuration file in /etc/config has to contain:

option server '10.0.0.0 255.255.255.0'


This appears to be an issue with certain Nvidia cards and affects both proprietary and Noveau drivers. The only resolution I have found to this problem is to try boot with extra options. At the boot screen, hit 'e' over the Ubuntu selection. Then, find the line that end in "quiet splash." Add one or both of the following to the end of that line:

vram_pushbuf=1
Either agpmode=0 or agpmode=2

This seems to have fixed it for some people, but not for others.

Here are some relevant bug reports I've found on the issue: bug report 1, bug report 2, bug report 3.


How to I make a program start on boot (no gui)

Since this is your first question on the site, I'm gonna try to over-explain everything in case you are new to this. In general, to run a process on boot on a modern Ubuntu system, you want to setup a "Systemd unit file" for a "service unit" and "enable" that unit so that it auto-starts on boot. Now you have terms to Google if any of this is unclear.

Depending on what service you are starting, the specifics can change a bit, but for all services that is the high-level process.

For minecraft, this seems like a sane guide. Per the guidelines of askubuntu, I'll try to summarize the main points of the guide here (and add a few things they have left out)

Create a user/group for running the minecraft server

We will call this the 'minecraft' user and the 'minecraft' usergroup for obvious reasons ;-) We create this user because it's more secure than re-using your own user/group. If there happens to be a bug in the minecraft server and one of your players takes advantage, we want the damage they can cause to be limited. Hypothetically, let's say the bug lets a malicious player run commands directly on your server. If your server was running as a separate "minecraft" user and group, they can only run commands as that user which is pretty restrictive. Worst case, they probably damage your minecraft install which is frustrating but not catastrophic. If you didn't make a new user/group and you ran minecraft using the root user (the one that can do anything) then the same hypothetical attack would go from "frustrating" to "my whole system is compromised and all data was stolen off my server"

$ sudo adduser minecraft

Follow the prompts to setup a new user. If you're curious there are better commands than this one available (for example, you don't really need a shell or a home dir for this user), but this will work just fine

Create your service unit file

Using your editor of choice (you will need superuser permissions, so prefix the command with sudo e.g. sudo nano , create a file in /etc/systemd/system/minecraft.service with these contents:

[Unit]
Description=Minecraft server
Wants=network.target
After=local-fs.target network.target

[Service]
User=minecraft
Group=minecraft
UMask=0027

EnvironmentFile=/etc/conf.d/minecraft
KillMode=none
SuccessExitStatus=0 1 255

NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=full

WorkingDirectory=~
ExecStart=/usr/bin/java -Xms${MINHEAP} -Xmx${MAXHEAP} -XX:ParallelGCThreads=${THREADS} -jar server.jar --nogui
# ExecStop=/usr/bin/mcrcon -H localhost -p ${RCON_PASSWD} stop

[Install]
WantedBy=multi-user.target

Note 1: I've commented out the mcrcon dependency. If you want a slightly better server, go install that and un-comment the ExecStop line.
Note 2: Feel free to change the ExecStart line as needed. For example, if you want to put the full path to your own server.jar, you could do that by changing the ExecStart line

Create an environment file

FYI, we only need this step because the prior unit file references /etc/conf.d/minecraft and then uses those variables in the ExecStart line. If we changed the unit file contents to not need an environment file, we would not have to make this one.

Create a file, again using sudo nano, at /etc/conf.d/minecraft and give it these contents:

# RCON_PASSWD needs to be identical rcon.password in server.properties
RCON_PASSWD=example
MINHEAP=2G
MAXHEAP=4G
THREADS=6

Enable your unit file

$ sudo chmod 644 /etc/systemd/system/minecraft.service

Start your service (this is a one-time "start"), and then check it's status. Make sure you can log in and everything looks ok. If you have issues, use the stop command, fix the issue, then rerun the start command and check the status again. Repeat until it looks kosher

$ sudo systemctl start minecraft
$ sudo systemctl status minecraft

Once everything looks good, enable the service to have it auto-run at bootup:

$ sudo systemctl enable minecraft


USB Backup Drive does not show up complete after a successful dd backup

Don't do that, especially with lvm; use a proper backup method instead.  By copying the whole thing bit for bit, you now have two volumes that have the same UUID, and this makes them difficult or impossible to differentiate.  In the case of LVM, this may cause the system to sometimes mount the second disk instead and write your changes there, then you may shutdown, remove the external drive, start up again, and wonder why you "lost" files.


If you want to install Ubuntu in dual boot you should:

set the boot to the UEFI mode
activate the boot menu option in the bios in case it isn't
boot on Windows
go to the advanced boot settings
choose to boot using a flash drive(in case you use that)
boot on your flash drive and install your Ubuntu


I think this was caused by running a second instance of my desktop from the console while one was already running from vncserver. It went away after a reboot and logging in from the console without vncserver running, then logging out from the console and restarting vncserver. Although I can't be sure as I wasn't really paying attention when it starting working properly again.


Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.

sudo apt rdepends gparted:

gparted
Reverse Depends:
  Suggests: drobo-utils
 |Suggests: lxqt-config

as you can see gparted had only suggested package.

the package mentioned in your post are dependency of gnome core:

sudo apt rdepends gnome-themes-extra:

gnome-themes-extra
Reverse Depends:
  Depends: gnome-core (>= 3.22)
  Recommends: afterstep
  Depends: materia-gtk-theme
  Recommends: lightdm-gtk-greeter
  Depends: gnome-themes-standard
 |Recommends: cinnamon-core
 |Depends: cinnamon
  Depends: arc-theme

And I think you have a broken installation of gnome there. As per @Parto says, run :

sudo apt --fix-broken-install

In order to satisfy the missing dependency, and after that start to remove packages you want to remove.

Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.

Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.


The response above said it was keeping back an upgrade to libodbc1. Not know what else to do, I ran sudo apt install libodbc1 which forced an install of this. After this, I ran sudo update-manger -c and hit upgrade and the install started.


lspci | grep VGA

mark the digits in front of it. Then do...

lspci -v -s {digits}

Example from my machine:

~$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]

and

$ lspci -vm -s 01:00.0
Device: 01:00.0
Class:  VGA compatible controller
Vendor: Advanced Micro Devices, Inc. [AMD/ATI]
Device: Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]
SVendor:    Acer Incorporated [ALI]
SDevice:    Radeon HD 6650M

will show all the details of the videocard. edit: seems not all show the memory of the card. This methods works for more than just your videocard: details on network card both wired and wireless, USB controller are also shown (just change the command to 02:00.0, 03:00.0. My audio is on 01:00.1; just check the 1st command for the digits).

So another method:

lspci -v | grep VGA -A12
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Radeon HD 6650M
    Flags: bus master, fast devsel, latency 0, IRQ 35
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    Memory at c0300000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at 3000 [size=256]
    Expansion ROM at c0340000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: fglrx_pci

256Mb


Howto publish in Ubuntu App Sotre an app that was not writted with Ubuntu SDK?

I fond the answer on G+: just package the app as click, which can be done directly on the phone itself: # click build
an the directory has to contain the binary, the data like sounds, images, config files etc, AND 2 files for the click package builder that you can make yourself in text editor: manifest.json and .json, like explained here: http://click.readthedocs.io/en/latest/file-format.html


Difference between OpenSSH server and Apache server?

By default OpenSSH Server uses port 22 and Apache Webserver (with default config) uses ports 80 and 443
So you can safely install them alongside each other.

Packages in general are installed, updated or removed via aptitude or apt-get

apt-get in the Ubuntu Wiki

Aptitude in the Ubuntu Wiki

To install Apache by the way you can enter sudo apt-get install apache2

If this server should be reachable from the internet you should consider installing UFW (UncomplicatedFirewall in the Ubuntu Wiki), which is a firewall and configuring it to allow only ssh and http/s

Also keep your packages up to date with

# This updates the package lists
sudo apt-get update
# This actually upgrades packages if new versions are found
sudo apt-get upgrade

And if you want to install held back updates use sudo apt-get dist-upgrade


how to install download-monitor on 15.10

From this page https://launchpad.net/download-monitor :

  Download Monitor is no longer developed or supported. It has been
  replaced by BitBudget: http://lazyteq.github.com/bitbudget/

That github link doesn’t work for me, but I searched on launchpad and it seems to have a page https://launchpad.net/bitbudget. You can download the source directly from there. Its also not available from the standard package repositories using apt-get

In short - that package doesn’t exist any more. Best to find an alternative, of which I am sure there are many.


Is is possible to show the keyboard shortcut for a menu item in the HUD?

It turns out that this function is not yet available in the HUD at the time of asking this question. The functionality has been proposed as a bug on Launchpad here: https://bugs.launchpad.net/unity/+bug/921546

The bug has been confirmed and a fix committed so this functionality should appear within the HUD in a future update.


How can I run gedit with a different configuration

It doesn't seem to be supported right now, see this upstream bug report.

However, you could create a wrapper for gedit, that sets the specific plugins you want via gconftool-2.

This would look something like:

#!/bin/bash
old_config=$(gconftool-2 --get "/apps/gedit-2/plugins/active-plugins")
gconftool-2 --set --type list --list-type string "/apps/gedit-2/plugins/active-plugins" "[$1]"
gedit
gconftool-2 --set --type list --list-type string "/apps/gedit-2/plugins/active-plugins" "$old_config"

Now save this somewhere as eg. gedit_profile and make it executable:

chmod +x  gedit_profile

To load different profiles, just call it with a comma-separated list of plugins you want to enable, for example:

/path/to/gedit_profile "terminal,colorpicker"

[Of course you then can put this into separate launchers.]


Connecting to university LAN using Ubuntu 12.04 Server

Few things to clarify first, you have a 10. address which means is a private address and you won't be able to access it from the Internet unless you have a port forward or DMZ. Most likely the university has isolation for the client computers (at least my university does), meaning that you can't talk to another computer in the network, they do this as a security measure.

Similar alternatives for this could be remote desktop such as team viewer (http://www.teamviewer.com/en/download/linux.aspx), or reverse SSH (this is a more advance option and requires a third party server somewhere in the Internet such as amazon ec2), and I am sure there are more options out there.

Good Luck.


Dropbox (different) installation error in Ubuntu 12.04

SOLVED.

The issue seemed to be the lack of an SSL connection to retrieve the
nautilus-dropbox directly from Dropbox.

I downloaded it from a Ubuntu/Linux server and now seems to work well. Once installed, had to add the proxies directly to Dropbox (does not seem to automatically pick up Ubuntu's network proxies).


if you want to have your network shares mounted at boot time, you have to edit your /etc/fstab file. Go to a terminal and type

 sudo apt-get install cifs-utils
 mkdir ~/DirectoryNameInYourLocalFolderToMountTo
 sudo nano /etc/fstab

Add one of the following lines to the end of the file... (change servername/sharename,etc..)

If not password protected..

//servername/sharename  /home/Pasta\ personal/DirectoryNameInYourLocalFolderToMountTo     cifs  guest,uid=1000,iocharset=utf8  0  0

If password protected..

//servername/sharename  /home/Pasta\ personal/DirectoryNameInYourLocalFolderToMountTo     cifs  username=msusername,password=mspassword,iocharset=utf8,sec=ntlm  0  0

When you are finished, hit Control-O (the letter) then Enter to save. Then Control-X to exit

Now you can either reboot, or remount your filesystems from the command prompt with sudo mount -a

MountWindowsSharesPermanently


Wifi disconnecting on closing screen of laptop

press f2 or any other key with airplane or signal symbol and try disabling auto disable wifi to save power from settings power


There isn't a hierarchy per se. Instead you just have to understand what's really going on underneath the hood.

For this, it's important to know something about the history and what a terminal emulator is doing. Namely, it is literally emulating an old hardware terminal, such as the VT100. For example, the Wikipedia article on the GNOME Terminal indicates it is emulating the Xterm terminal emulator (which is more software), which itself was emulating the VAXStation 100 (which is a physical thing). These old terminals were serial devices---they saw the world as a stream of input, which is being generated by whatever program is currently running in the foreground in your terminal session.

So to get color, programs outputting to the terminal need a way to signal things like "this next text should be red." This is indicated by feeding the terminal an escape code, which tells the terminal the immediate next few characters are meant to be interpreted as commands, and not echoed for the user to see. In particular, to get color, the command means something like "Switch to displaying text in so-and-so-color" and later "Go back to displaying text in normal color."

If you read the article I linked, you'll see the earliest terminals supported selecting from 8 colors each in the foreground and background. The combined 16 colors are precisely what you are setting in the Colors dialogue in the GNOME Terminal preferences. This only makes sense because you are dealing with a software emulator, so you can exercise control of which actual colors should be chosen for the 16 colors the escape sequences can choose from. For another example, to configure Urxvt in the same way, you might modify your X resources file.

Later on terminals added support for choosing from among 256 colors and later 24-bit colors. These were implemented as new types of escape sequences.  Terminal emulators don't typically let you customize these colors because they are supposed to be "real" colors, and not just a particular list of whichever 16 colors you like.

Some modern software, like Vim, will let you decide which type of color protocol you want to use. Usually you get the most precise control over colors when you use 16 colors because you can set them in your emulator's preferences, at the cost that your software only gives you 16 colors (e.g., that is the subject of this blog post). Sometimes software attempts to determine what level of color support your terminal emulator has, and then you have to fiddle with environmental variables to convey this information to that software. For instance, this vim page mentions you might want to set the envar TERM to the value xterm-256color if you want Vim to use the 256 colors approach.

(Edit: This is why you might think Vim is "overriding" your terminal settings. It isn't. It is probably just using a different type of color protocol, instead of the 16 colors you set.)

The environmental variables you refer to are used for specific purposes. E.g. PS1 is your shell prompt. When you see mangled-looking text like "[\033[01;32m]\u@\h[\033[00m]" in your PS1, you are looking at (a textual representation of) the precise escape sequences you want to use, some of which are commands to switch colors. The variable LS_COLORS is used similarly, but those settings are specific to the program ls.

Ultimately the colors are determined by the settings of your terminal emulator, and which escape sequences (and which type of color protocol) your user program is using.


Most DHCP providers (routers etc) have the option to set a 'reserved address' - a pairing of MAC address to IP Address.

It would be an option in the DHCP setup somewhere - this may vary by device.

You then don't have to set up static addressing on the local machine, it applies for a DHCP address & gets it's reserved address every time.


Is there a SSH client for Ubuntu with File Manager?

I suggest using sshfs instead of using something like sftp://; It's a small package, install it using:

sudo apt install sshfs

Then mount your remote machine using something like:

mkdir ~/sshfs
sshfs root@192.168.x.x:/home ~/sshfs

/home is the path you want to mount, you can use whatever path you want.

Now you have access to your files using your default file manager, you can even play music/video etc using  your default applications and work with your files on remote machine in real time.

After you were finished run:

fusermount -u ~/sshfs

to unmount the mount point.

The advantage over sftp is that you don't need to move files to your local machine to edit/run/play them you can use them as they are located on your local machine.


The latest kernel update (kernel ending in '59') on 14.04, and which I installed today, has somehow blocked use of certain parts of my computer's file system.  I'm no expert, but the last readable message during boot ended with 'file system blocked'.  No idea why, but previous kernels seem to be working OK, and allow Steam to install/access games with no problems.  After the first boot from the new kernel ('59') which I will be leaving alone for now, I was informed from the GUI of some kind of system error which I sent to the developers.  Hope this helps...


Updating or uninstalling and reinstalling Firefox on Linux

Quit Firefox Effectively

First make sure Firefox is not running:

ps ax | grep [f]irefox

If it is running, quit it. If it doesn't appear to be running but appears in the list from ps ax, kill it by running killall firefox, waiting a few seconds, then running killall -KILL firefox. If you don't see firefox: no process found after the second killall command, run that second command again. If you still don't see it, reboot (or you may want to try running it with sudo too, thought that won't usually help).

Consider Clearing Your Profile

If you want to clear out your profile (which can fix many problems, especially problems relating to upgrading Firefox to a new version), then rename the folder called .mozilla that resides in your home folder. There's two ways to do this:

In Nautilus (the GUI file browser): Press Ctrl+H or click View → Show Hidden Files. Then you can see files and folders that start with a .. Go to your home folder if you're not already there, and rename .mozilla to .mozilla.old (or whatever you want to call it).
On the command-line: Open a Terminal window (Ctrl+Alt+T) and run the command:

mv ~/.mozilla ~/.mozilla.old

(Or put whatever you want to call it, in place of .mozilla.old.)

The idea behind renaming the folder instead of deleting it is so you can restore it. But if its contents are keeping Firefox (or a recently installed newer version of Firefox) from working, then you may have trouble actually using them later!

Therefore, if there's anything you want to save--often, this will be your bookmarks--you should back that up first, before you do this. (This article may help with that.)

Finally, note that I'm certainly not advocating clearing your profile regularly, or even every time you upgrade Firefox. It's only when you have severe problems after upgrading that I recommend trying it. (If it makes no difference, you can rename .mozilla.old back to .mozilla--you may have to remove a newly created .mozilla first. That's one of the reasons to back up the whole profile.)

Reinstall Firefox (from the latest version in any of your software sources)

To reinstall Firefox, removing global configuration files and getting the latest version available in any of the software sources configured on your Ubuntu system, run:

sudo apt-get update
sudo apt-get --purge --reinstall install firefox

Should apt-get upgrade be run too?

Running sudo apt-get upgrade is not necessary for getting the latest available Firefox, because the install command will automatically fetch and install or upgrade to the latest installable version, and whatever other packages (if any) are needed to enable that version to install.

With that said, it's reasonable to run sudo apt-get upgrade in this situation. You may want to bring all your software up to date, and that can even potentially help with some interoperability problems. (New versions of some packages and really old versions of others have not necessarily been tested together, after all.)

If you're accustomed to using the Software Updater (Update Manager in older Ubuntu releases), go ahead and do that. If you prefer to use the command-line:

sudo apt-get upgrade
sudo apt-get dist-upgrade

Of course, if you haven't run sudo apt-get update shortly before running those, you should do that. And sudo apt-get dist-upgrade will upgrade packages that require the installation of new packages or removal of currently installed packages, so you should make sure to look at what it says it plans to do, before letting it proceed.

(To address a common confusion: dist-upgrade does not attempt to upgrade your Ubuntu system to a later Ubuntu release, though on some other OSes it's used for that purpose in combination with manually editing a configuration file. See this explanation of dist-upgrade. Running sudo apt-get update, sudo apt-get upgrade, and sudo apt-get dist-upgrade in that order approximates the behavior of the Software Updater / Update Manager and tends to work well.)


Grub never shows, always boots to Windows 8.1 - Sony Vaio

Try use the recommended Boot Repair from a Ubuntu Live CD/DVD/USB

Run these commands in a terminal in number order with a internet connection:

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

Press the enter/return key after typing each command

Answer source.


How to delete one specific characters from a word within a file based on a condition

It's fairly straightforward in awk, assuming a "word" is a whitespace-delimited field:
awk '{for(i=1;i<=NF;i++){if( !(length($i)%2) ) gsub("a","",$i)}} 1'

ex.:
$ awk '{for(i=1;i<=NF;i++){if( !(length($i)%2) ) gsub("a","",$i)}} 1' file
bd _12
asf     aga 3


Ubuntu 16.04 keeps freezing and not responding at all

According to your description, Ubuntu is accessing the hard drive rapidly. The led blinks every time when the OS accesses the hard drive.

Not sure if this is the case but it seems like you have a really slow drive. If that is the case then this will work

Just boot into Ubuntu and wait a few minutes till the LED stops blinking. Then do what ever you want.

Be patient. Not sure if this will work though


Is there any way to "dual boot" xubuntu and lubuntu?

Yes, simply install both environments on the same Ubuntu installation.

sudo apt-get install lubuntu-desktop xubuntu-desktop

Then at the login screen you should be able to choose which kind of session you want to launch each time you log in.  Here's what that looks like on lightdm (left) and gdm (right):

Things to know:

You'll only use one display manager, either lightdm or gdm, not both.  This will mainly affect just the login screen.  Once you install both the Lubuntu and Xubuntu desktop it may ask you which you prefer, and lightdm is probably preferable (though it's up to you).
Different desktop environments tend to provide alternative software applications that do the same thing, and once you have multiple desktop environments installed you'll end up with software from each of them, so you'll have overlap.  See this as extra choice.


Application Finder or Launcher for Mate and Gnome Session Fallback?

You probably are seraching for gnome-do application. It's easy simple and cute app for esearching for items, files and other apps in your system, and many other utilities.

Simply install it by sudo apt-get install gnome-do

You can also give a try for kupfer and synapse

To install Kupfer

sudo add-apt-repository ppa:kupfer-team/ppa && sudo apt-get update
sudo apt-get install kupfer

To install Synapse

sudo add-apt-repository ppa:synapse-core/ppa && sudo apt-get update
sudo apt-get install synapse

source


Error : file '/boot/grub/i386-pc/normal.mod' not found after set prefix=(hd0,msdos6)/boot/grub

You deleted everything. That is what /* does, specifies to delete all in root folder

I sincerely hope you made a backup, because you'll need to reinstall

For future advice, to delete a folder you use

rm -r /folder/path


How can I upgrade from 17.04 to the latest non-LTS Ubuntu?

You should consider a fresh install, as guiverc suggests, because that will work.

But you can attempt to upgrade if you want. I tested this successfully, yesterday. The method I used consists of three upgrades: from 17.04 to 17.10, from 17.10 to 18.04 LTS, and then from 18.04 LTS to 19.04. I cover each of these three in its own section.

For why this particular sequence of upgrades works while others don't, see the "How is this even possible, and why is it even necessary?" section below. Some readers may be less interested in that, so I've put the instructions first.

17.04 to 17.10

This can be achieved using a variation on the procedure in laugh's excellent answer to How to install software or upgrade from an old unsupported release?

Edit /etc/apt/sources.list to change your repository URLs to use the old-releases server. You can inspect the file with less /etc/apt/sources/list or by opening it in a text editor. One way to perform the edits automatically is by running the command:

sudo sed -i.orig -r 's/us\.archive\.|security\./old-releases./' /etc/apt/sources.list

Before using that command, you should inspect the existing sources.list file. In that sed command, change us appropriately (or remove us\. if you're using the main server, archive.ubuntu.com) before running it.

For an alternative, see the sed command in this post by fossfreedom.
Update your package manager's knowledge what packages are available and from where:

sudo apt update

If this produces errors, you should stop and investigate them. The first step may have been done wrong.
Upgrade packages within the current release to their latest available versions:

sudo apt upgrade

Make a temporary directory (it can be in your home directory) and change into it, and download and extract the upgrade tool for 17.10, by running these commands:

cd
mkdir tmp
wget http://old-releases.ubuntu.com/ubuntu/dists/artful-updates/main/dist-upgrader-all/current/artful.tar.gz
tar xf artful.tar.gz

Normally, the Software Updater or do-release-upgrade command would automatically download and run this tool, but in this case it won't because 17.10 is end-of-life. Normally, in cases where it won't, you can still get a working URL for the tool from the meta-release file as laugh's answer instructs, but in this case, the file does not (yet?) reflect that the tool has been moved to the old-releases server.

On such occasions, you can replace archive in archive.ubuntu.com with old-releases in the URL after UpgradeTool: to get a working URL. Basically, you can try downloading with the URL it says to use and then, if that fails, try downloading from the old-releases server instead. That's what I did to get the URL shown above.
Go into the extracted directory and run the tool as root:

cd artful
sudo ./artful

A window titled Distribution Upgrade should come up, showing the message Upgrading Ubuntu to version 17.10 with six steps: Preparing to upgrade, Setting new software channels, Getting new packages, Installing the upgrades, Cleaning up, and Restarting the computer. (Note that those steps do not correspond to the numbering of the instructions in this post!) The first step should complete successfully.
On "Setting new software channels," a dialog box will appear with the message:

  No valid mirror found

  While scanning your repository information no mirror entry for the upgrade was found. This can happen if you run an internal mirror or if the mirror information is out of date.

  Do you want to rewrite your 'sources.list' file anyway? If you choose 'Yes' here it will update all 'zesty' to 'artful' entries. If you select 'No' the upgrade will cancel.

Click Yes.

This works because, like the 17.04 (Zesty Zapus) repositories, the 17.10 (Artful Aardvark) repositories have moved to the old-releases server. Ever since step #1 above, /etc/apt/sources.list has old-releases URLs for 17.04. Clicking Yes lets the upgrader tool replace occurrences of zesty with artful which converts them to old-releases URLs for 17.10.
Another dialog box comes up to ask you, "Do you want to start the upgrade?" It tells you how many packages will be removed, installed, and upgraded, how big the download is, and lets you see the full details (of how each package is affected).

Click the Start Upgrade button.
Packages are downloaded for a while, then installed for a longer while. (You can expand the "Terminal" view if you like.)

If something were go to wrong, it would probably go wrong here. This is possible (even in upgrades that don't involve any EOL releases), but I think this is fairly unlikely. I believe the later upgrade from 17.10 to 18.04 LTS is where errors are more likely to occur. If it does happen, the troubleshooting techniques suggested in step 15 below may help.
You're asked if you want to remove obsolete packages. Unless you have a specific reason not to do this, I recommend clicking Remove.
You're asked to restart the system to finish the upgrade to 17.10. Do that by clicking Restart Now.

17.10 to 18.04 LTS

This is much more straightforward, at least if nothing goes wrong. In fact, the only reason I'm even showing a numbered list of steps below is to make clear where things are most likely go wrong and what to do about it. I think problems are more likely in this upgrade than in the preceding one, due to numerous packages in 18.04 LTS receiving newer versions since 17.10 became end-of-life.

One of the times I tried it, there was a problem, but I was able to fix it easily, as described below. The other time, I removed the open-vm-tools and open-vm-tools-desktop packages before the upgrade, and even though those packages had been installed from Ubuntu's official repositories, proceeding without them eliminated the problem. (Unless you're using a VMware virtual machine, you probably don't have either of those packages installed, but you might have other packages that cause problems.)

Because 17.10 is not supported but 18.04 LTS is, the Software Updater automatically offers to upgrade to 18.04 LTS. This might even come up by itself. If not, just run the Software Updater.

If it still doesn't offer to update, quit the Software Updater, run sudo apt update, and then run it again.

Click the Upgrade... button.
The release notes are shown. Click the Upgrade button at the bottom of that window.
A list of what the upgrade will do is shown, as in step #7 of the previous upgrade, and you're asked if you want to start the upgrade.

Click the Start Upgrade button.
The Distribution Upgrade window, which says "Upgrading Ubuntu to version 18.04" this time, shows the six steps of the upgrade. (As mentioned above, those steps do not correspond to the numbering of these instructions.) At least the first three steps should proceed with no problems.

The fourth step, "Installing the upgrades," takes the longest. If you've expanded the terminal view you may see messages that appear to be errors. If you do, they likely are errors, but don't worry yet: any errors you need to know about should be shown to you explicitly later.
If there's an error that prevents the upgrade from finishing, a dialog box will come up that says:

  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).

If that doesn't happen to you, then please don't follow the rest of the instructions in this step, but skip to step 16 of these instructions instead.

If it does happen, click Close. The upgrader tool will try try to fix the problems by running dpkg --configure -a. This attempts to configure broken or otherwise unconfigured packages, but it won't install any packages that haven't already begun to be installed. It will then likely tell you that the upgrade finished but with errors.

After the upgrader tool has closed, run:

sudo apt install --fix-broken

Then, if that appears to have fixed the problems, attempt to finish the upgrade:

sudo apt dist-upgrade

That might or might not actually be needed, depending on how much was being blocked and how much sudo apt install --fix-missing ended up having to do, so don't worry if sudo apt dist-upgrade doesn't do much here.

Then I recommend you remove packages that were installed as dependencies of packages that are no longer installed (which covers many packages that the upgrader tool would offer to remove as obsolete if it had reached the end of the upgrade):

sudo apt --purge autoremove

Then reboot. If that fixed the upgrade, then you're in the 18.04 LTS system. Run sudo apt update followed by sudo apt upgrade. If neither gives errors, and programs like Firefox and LibreOffice work, then the system probably works.

I believe the release upgrade process does not attempt to roll the system back to the release it started on, when when errors occurred after it started installing packages and it ran dpkg --configure -a to attempt to fix them. However, you may want to check that the contents of the /etc/apt/sources.list have bionic, the codename for 18.04 LTS, and that the output of lsb_release -a agrees.
If there is no error, then the upgrade finishes installing packages. Then it offers to remove obsolete packages, as in step 9 above.
You're asked to restart the system to finish the upgrade to 18.04 LTS. As in step 10 above, do that by clicking Restart Now.

18.04 LTS to 19.04

18.04 LTS and 19.04 are both supported releases, and the release in between them, 18.10, is EOL. So upgrading 18.04 LTS is a normal upgrade from a supported release to the next release that is still supported.

There is only one special thing you may have to do to make this work. Even though, as guiverc says, 17.04 is not an LTS, and 17.10 isn't either, upgrading into 18.04 LTS may have set up your Ubuntu system so it only offers upgrades to subsequent LTS releases.

Run the Software Updater. If it offers to upgrade to 19.04, just do that.

Otherwise, there are only two command buttons: Settings... and OK.
Click the Settings... button. This brings up the Software & Updates preferences. If the Updates tab is not the current tab, click it.
Near the bottom, where it says "Notify me of a new Ubuntu version:" change the selection in the drop-down menu from "For long-term support versions" to "For any new version."
Click the Close button.

This shows the usual dialog box that appears after you've changes your Software & Updates settings:

  The information about available software is out-of-date

  To install software and updates from newly added or changed sources, you have to reload the information about available software.

  You need a working internet connection to continue.

Click the Reload button.
Run the Software Upgrader again.
This time, it offers to upgrade to 19.04.

  The software on this computer is up to date.

  However, Ubuntu 19.04 is now available (you have 18.04).

It also shows an Upgrade... button that didn't appear before. Click that Upgrade... button.
It will show you the release notes for 19.04.

Click Upgrade.
Once you've gotten this far, this third upgrade is likely (though of course not certain) to proceed without problems.

I won't list the steps, because unlike the first two upgrades, this one isn't unusual and there's nothing special to do or say.
Assuming the upgrade succeeds, boot into and try out the new 19.04 system.

How is this even possible, and why is it even necessary?

A combination of two related factors made this problem interesting:

17.04 and 17.10 are both end-of-life, and 17.04 has been so for a while. Not only their repositories (which provide individual packages), but also their upgrader tools (importantly, the one for 17.10), have been moved to the old-releases server.
They are not LTS releases. Upgrading from an LTS to the subsequent LTS release, skipping the releases in between, is very well-supported, and that doesn't apply here. Furthermore, because they're not LTS, they don't even have ESM support from Canonical, so they should no longer be expected to have much infrastructural support.

It is often said that Ubuntu only supports updates from one release to the next and from an LTS release to the next LTS release. Those cases are supported, but so is another: upgrading from a supported release to the next release that is still supported, when the releases in between them are no longer supported.

I've found this to work from some unsupported releases too--though usually when they've just become EOL recently--so I'd hoped the Software Updater or do-release-upgrade tool might upgrade 17.04 directly to 18.04 LTS. And after I switched to the old-releases repositories on 17.04, it did offer to upgrade directly from 17.04 to 18.04 LTS:

  Software updates are no longer provided for Ubuntu 17.04.

  To stay secure, you should upgrade to Ubuntu 18.04.2 LTS.

But when I clicked Upgrade... and attempted to proceed with the upgrade, it downloaded the upgrader tool for 18.04 LTS, ran it, and the tool reported that upgrading from 17.04 was not supported:

  Can not upgrade

  An upgrade from 'zesty' to 'bionic' is not supported with this tool.

Attempting the upgrade with the do-release-upgrade command produced the same error, as did manually downloading, unpacking, and running the bionic upgrader tool.

I considered, and even attempted, a Debian-style upgrade procedure that begins with manually editing /etc/apt/sources.list to point to the target release. I actually managed to upgrade from 17.04 to 18.04 LTS this way, but plenty went wrong that I had to repair. Furthermore, that procedure is not and has never been a supported way to upgrade to a new Ubuntu release. Except for upgrading to early-phase development versions of Ubuntu that are nowhere near release and cannot yet be reached with do-release-upgrade -d (which most people won't ever want to do), I do not recommend that approach. I mention it here only for completeness.

Acknowledgements

Kulfy and I brainstormed possible solutions. Kulfy astutely suggested it might still be possible to upgrade to 17.10.
laugh wrote the answer that showed the technique of manually downloading, unpacking, and running an upgrader tool, for updates that are possible but that Software Updater (and do-release-upgrade) don't facilitate.


Follow these steps:

Hit Ctrl+Alt+T to open terminal and run following command:

ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase

It will ask for a Passphrase:, enter your login password and you'll get the key.


Installation of specific version of redis server in Ubuntu 16.04 server

Download redis-3.2.4.tar.gz or redis-3.2.6.tar.gz from the official http://download.redis.io/releases/ webpage.
Install Redis from the  redis-3.2.X.tar.gz archive that you downloaded by following the instructions from How To Install and Configure Redis on Ubuntu 16.04. alternative link


PC automatically booting into windows 10 in dual boot

The problem can be resolved by going into the

BIOS -> UEFI Boot Order > OS Boot Manager

The exact wording will vary on different computer makes and models.

Now look for the Ubuntu entry.  Select that one and save the settings.


Ubuntu 18.04 on Dell Lat 5591: Ethernet Card not showing

I have the same problem with:
Fedora 5.2.9-200.fc30.x86_64 #1 SMP Fri Aug 16 21:37:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I think there is some specific driver missing. I was searching on intel site, but without success. I will try to find out what is "00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)"

I figured it out. The problem was that in the BIOS the networking device for LAN wasn't activated


I've found how fix this:

It's in the gnome-shell.css file from the theme package. Some id definitions need the class name definition:

Example:

#notification {

Change to this:

#notification, .notification {

and some other definition... to sumup you have to compare with the gnome-shell.css file in /usr/share/gnome-shell/theme.


Well, regular users don't get permission to do many things to the file system outside their home directory. I think it's just to make sure that no one accidentally deletes something really important.

Anyways, about mapping, you can try this: create a folder with any name inside your home directory, open the terminal and use sudo to make a symbolic link in /var/www with the name html which would point to the folder in your home.

So for example, in your home, you can create a folder named webdev. Then open the terminal, and do the following:

cd /var/www
sudo mv html xyz
sudo ln -s ~/webdev html

And that should do it. Now you can manipulate files in the webdev folder inside your home.

Do make sure that the webdev folder in your home directory has proper permission to let other users at least access the contents. You can do this easily by right clicking on the webdev folder icon and going to Properties --> Permissions.


You are using OpenJDK, please Install OpenJFX error?

According to the release notes in STM32CubeProgrammer release v2.2.0, under "known problems and limitations", it says

  STM32CubeProgrammer does not work under Ubuntu® 18.04.


How to re-enable a previously installed Nvidia Driver

Same here, I had nvidia driver working ok (installed as adicional driver on system properties...) and last update screwed all that.

Had a login screen but was unable go login to my session, screen flashes black and returns to login screen (lightdm). Guest session reports fail and just does not enter.

after doing an apt-get purge nvidia * I was able to login again but now if i try to use the adicional nvidia driver it goes all over.

using ubuntu 16.04 LTS to avoid system pimping, i have work to do and wish you guys stop breaking my system so often or at least give me a nice button to go back some bad updates.

Using dual monitor.

P.S. the current driver is the Nouveau (beside that broken nvidia) and it returns from suspension with a scrambled screen, not allowing even the ctrl+alt+f1 (and i wish we could at least copy and paste from any system dialog)


First remove all NVIDIA software you have installed.

Open a terminal and execute :

sudo apt-get purge nvidia*
sudo reboot

Now install the NVIDIA drivers from the repositories.

Open a terminal and execute :

sudo apt-get update
sudo apt-get install nvidia-352
sudo reboot


How do I change passwords that have been saved in the keyring?

Expand "Login" by clicking the arrow beside it, right click on the password you wish to change and select "properties". Click the little arrow beside "Password" to show the password box, and click the "Show Password" option. You should now be able to see the old password, which you can overwrite with a new one.

My apologies, you can't edit it there ... although I'd swear I'd done it before. I can't edit my wireless password through the tool either. The upvotes on this answer should be reverted until I find the full answer.


installing ubuntu on windows 8 ubuntu doesn't load

Many users trying to dual boot windows and ubuntu are running into issues with Secure Boot. This might be your problem as well - start with this question and see if that solves your problem. Otherwise posting the errors as they are might provide more insight on the problem.


Running virtual machine host and guest on a laptop/desktop

It is possible with VirtualBox. When you create a virtual machine, you can choose where the files are saved, so you can save them on removable media. And on the other machine you can tell it to run the virtual machien stored on the removable media.

Actually, it may be preferable to create separate virtual machines on both systems, and store only the virtual disk file on removable media. Think of having two computers in two places and just carrying the hard drive.


Removing deb packages from apt repository with reprepro

You have part of your solution right there in your question:
you have to tell reprepo where to look!

sudo reprepro -Vb /var/www/html/apt/debian list stretch

and

sudo reprepro -Vb /var/www/html/apt/debian remove stretch a320

should do the trick.


How to disable high-res Grub2 and Linux Console?

So, you didn't say whether you were attaching the monitor to a serial, USB, or VGA port.  And, it matters.  The problem sounds more like the 'console' is not going to the port the monitor is attached to.

If you think the monitor is attached to the correct port, try editing /etc/default/grub and uncomment the 'GRUB_GFXMODE=640x480' line and/or put in whatever resolution you want to run at.

If it is not the correct port, edit /boot/grub/grub.cfg and find the line that says (approximately) console=ttyS0  and replace with the device path to your console.  If you do change this, you will need the link below to make sure you are running getty or mingetty on that port: https://help.ubuntu.com/community/SerialConsoleHowto

The N2800 has the "FDI" integrated graphics chip set built-in.  Unless your monitor is pre-1987, it can do graphics, as well.

You also say 'there is no X windows or Graphics' - but, your hardware supports both X and graphics.  Thus, we need to ask, did you or did you not install Unity desktop and/or an X server, with or without a desktop?  Ubuntu generically tries to use X it can find if it.


This hopefully provides a solution for you and maybe also for others:

If you suspect a networking error which is probably not caused by hardware or driver problems, then this might work for you in most cases. If you have an advanced network configuration, this might not help (but then probably you know basics about networking or somebody else configured your machine, so you know better already).

Open the network manager: right-click on the network icon next to the clock and then "Edit connections...". Otherwise you can run nm-connection-editor after pressing ALT+F2.
Choose the wired (wired in your case, since it's a wired connection)
Add a new connection and leave everything to the default values except tick "Available to all users" and "Connect automatically" and click "Apply"
Edit all other entries there and unselect "Connect automatically"

Then it hopefully works (at least after the next network connect, reboot or whatever). This fixes probably any messed up network configuration. It simply sets back everything to automatically (the IP address, gateway etc. will be taken from DHCP). (There might be a lot of other or better ways, I tried to describe a very simple but also very general way)

Update
Because this didn't help, some more info. I think the most common set up at home is a private network (LAN) connected to a router (often also a cable or ADSL modem) which is acting as NAT. Your private network often has the IP address 192.168.x.0 and the clients 192.168.x.y  where x is some arbitrary number between 0 and 254 and y a unique number for every client. The gateway as two IP addresses, one from the network 192.168.x.0 (usually 192.168.x.1 is used) and one public IP. The clients' network configuration need to contain a unique IP address of the correct network, the correct gateway address and the correct subnet mask (usually 255.255.255.0). Then it should be possible at list to ping the router otherwise you did something wrong with these settings. Usually this configuration is automatically done with DHCP, so you don't have to care about it and just plug in the cable. Otherwise maybe your DHCP configuration is messed up or the DHCP server in the router isn't working correctly. You can always configure these things also manually. If you can ping the router but you can't ping the internet, try to ping some public IP addresses, for example 8.8.8.8. If this works but you can't ping google.com something with our DNS settings is wrong.


I'm Having many problems after last update, can anybody help me?

Run sudo apt-get update && sudo apt-get upgrade in the terminal  That should enable you to download and install all upgrades that are available.


How do I use aptitude to downgrade/force version of a package?

Something like this will work:

sudo aptitude install package-name=package-version

For example:

$ aptitude versions firefox$

Package firefox:
p   45.0.2+build1-0ubuntu1             xenial                         500
i   52.0.2+build1-0ubuntu0.16.04.1     xenial-security,xenial-updates 500

Then:

sudo aptitude install firefox=45.0.2+build1-0ubuntu1

And with the GUI:


Dell XPS 15 7590 Killer wifi 1650 card not recognized in Ubuntu 19.04

You can try this
sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi
sudo apt-get update
sudo apt-get install backport-iwlwifi-dkms

Reboot

I found info on this at https://bugs.launchpad.net/ubuntu/+bug/1835858
Since it is Intel backports it will only support Intel wifi


ERROR 1045(28005) : Access denied for user 'root@localhost' (using password: no )

You can start MySQL server and skip the grant tables to change the root password.

You should only do this while fixing it, and restart it normally after you've set the root password.

Stop the MySQL Server.

sudo /etc/init.d/mysql stop
Start the mysqld configuration.

sudo mysqld --skip-grant-tables &
Login to MySQL as root.

mysql -u root mysql
Replace YOURNEWPASSWORD with your new password

UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;

Reference: https://stackoverflow.com/questions/16556497/how-to-reset-or-change-the-mysql-root-password


How to turn off screen rotation in Ubuntu 18.04 LTS?

The best solution I have found so far is to use the icon that is available in the top right corner of the screen, when you click on the down arrow. The icon is the one in red in the screenshot below:

It might also look like this:


The correct place for jre1.6_0 is /usr/lib/jvm.

Please see this question where I detailed manual installation steps for installing 1.7. You should easily adapt that to your case.


Enabling multiple screens on KVM/spice Ubuntu guest

It turns out that I did not know I needed to install spice-vdagent within the guest machine.  Doing that enabled me to select the additional displays.  That initially fixed the problem.  Now I have a new problem, so I was leery about posting this as a solution until I confirm they are unrelated.  See comments above.


Delete certain files with find in subdirectories only

Use -mindepth 2
find . -mindepth 2 -name "*.bak" -type f -delete


How to recover lost files after an install

There are some paid recovery tools such as R-studio for linux would be perfect. Also, they have a free edition called rlinux try it


Is there a way to change default ssh connect port?

Use your favorite editor to modify ~/.ssh/config

nano ~/.ssh/config

and enter

Host *
User root
Port 2222

this would mean, by default, if you tried

ssh remote-host.com

SSH would actually do this

ssh -p 2222 root@remote-host.com

you can, of course, also specify this per host with a special username

Host remote-host1 remote-host2 remote-host3
User jackvanier
Port 2222

these settings can also co-exist

Host remote-host1 remote-host2 remote-host3
User jackvanier
Port 2222

Host *
User root
Port 2222

See also here for some more ideas.


This won't be necessary because although Rhythmbox will no longer be default, the latest stable version will be included in the Software Centre for easily installation and updating.


lsusb - I get always Couldn't open device. Is this normal?

Yes it is. You are asking for hardware information so some information might need sudo. See the difference between the 2 ...

rinzwind@schijfwereld:~$ lsusb -v | grep device
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

and when using sudo it disappears though you will get other notices:

rinzwind@schijfwereld:~$ sudo lsusb -v | grep device
can't get debug descriptor: Resource temporarily unavailable
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
can't get debug descriptor: Resource temporarily unavailable
Device Qualifier (for other device speed):
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable


Massive format of numbers in LibreOffice

Search and replace:

select all columns and/or rows and/or cells you want to changes.
edit, find&replace
Put a "space" in "search for"
Click "Replace all"

All spaces will disappear, and all fields that are now only digits and a decimal sign will align up to the right side of the cell (making them numbers).

With your example:


How can I set up FakeRAID/SoftRAID using mdadm without losing data?

Had to destroy my data, but found a solution. The --build command actually constructs an existing array and runs it. The full command in my case looks such:

sudo mdadm --build --verbose --chunk=64K /dev/md1 --level=0 --raid-devices=2 /dev/sdh /dev/sdi

I think that chunk and level options are not necessary, but use them to be sure everything goes right. And I also should never use the --create command, because it destroys existing arrays.

As far as time passed, dmraid was improved. Now, in 2017, it can detect Silicon Image SoftRAID volumes, so I just installed and ran dmraid -ay.


Ubuntu 12.04 server no internet connection

You shouldn't be grouping each interface together like you did.  Start by defining each section for networking separately like below,  with different auto entries corresponding with each interface.  Also remember you need to provide a different iface line for each device as well.

Like this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


It looks like Ubuntu is already installed. And you have no separate /boot partition.

If Ubuntu works with this installation, you can leave it as it is.

If you boot from LiveCD, turn off swap by running

sudo swapoff -a

you will be able to expand /dev/sda4 right and create an NTFS partition inside of it.

You cannot create one more primary partition because you already have 4 of them. But there is no problem to create another logical partition.

But I recommend to remove a separate /usr partition and re-install Ubuntu using only /, /home and swap partitions.


You can get outdated and no longer supported Ubuntu releases from http://old-releases.ubuntu.com/releases
The latest 12.04 release images specifically can be found here.

However, How can I install on a non-PAE CPU? (error "Kernel requires features not present on the CPU: PAE") suggests that even 12.04 requires PAE already, meaning you'd have to go even further back to e.g. 10.04.
Also please note that the package repositories got moved to the old-releases server as well, which makes you unable to download and install any packages at first. Have a look at How to install software or upgrade from an old unsupported release? for that.
Anyway, installing an unsupported operating system is really not advisable. You'll get no updates or security patches, have to rely on old software versions, etc.

Instead, I'd recommend you to look for a more modern, still supported operating system, that supports no-PAE CPUs. An example would be PuppyLinux/XenialPup 32-bit:

Xenialpup 7.5 uses Ubuntu 16.04 Xenial Xerus packages and includes the bugfixes and improvements from the Woof CE build system. It is compatible with Ubuntu 16.04 packages. The Linux kernel version is 4.4.95-noPAE for the 32-bit version and 4.9.58 for the 64-bit build.


It ended up being the image resolution... I resized it to be exactly 1280x1024 and it worked fine. I guess grub does not know how to resize/scale an image.
Sorry about answering my own question and accepting my own answer... but that's the solution and I think someone could find it useful


Can't set Shotwell Photo Viewer as default XFCE4

I have Ubuntu 13.04, with XFCE4.  Here is what I did.  I don't know why its not working, but see what I did, just to be sure.  I right click of the image, and choose Properties, and then changed the Open With to Shotwell.

If that doesn't help, then do this.  Right click on the image, choose Open With, and then Open with other Application.  Once the new screen comes up, choose Shotwell, and make sure the you click on Use as default for this kind of file.


I am using Wine 1.5.19 (the development version) and it does install successfully when I used XP as the Windows version.

However, you may be interested to know that there is a native program that will probably do what you want. It is the pdf2swf module in the swf tools suite of programs. It does need to be compiled, but it is relatively straightforward to do so. For those on 12.10 and above, it is in the repositories once more, but the package unfortunately does not include pdf2swf or avi2swf, as shown here.

Compilation

Compilation should be pretty straightforward, as noted here, but here is how I did it.

You can use the git repository with git clone git://git.swftools.org/swftools, but it is probably better to use the stable source code, so download the package, and open terminal and cd to the download folder and extract it with

tar xzvf swftools-0.9.2.tar.gz

You need to download some tools and dependencies, so please enter the following:

sudo apt-get install build-essential checkinstall libgif-dev libjpeg8-dev libfreetype6-dev

Now, with terminal cd to the unpacked swftools-0.9.2 folder and simply run

./configure && make

and then

sudo checkinstall

The programs in the suite will now be available for you; enter pdf2swf for a list of options, and to convert a pdf to swf with no particular options, run

pdf2swf my.pdf -o new_version.swf

You may have some particular requirements, so I should take a look at the various command switches.

You can then open the swf file in the viewer that you use, or even use your web browser to check that it is a valid file (if you have flash installed).

More information on the suite of tools is available at the official site, which details options for all of the programs.


how to install gvfs-mtp backend in ubuntu 12.10

It updates the existing gvfs-backends package with the newer one, which contains the GVFS-MTP backend. Just let the package manager install the updated packages and you're good.


Create a LiveUSB from existing Ubuntu / Xubuntu installation?

I think you what you need is Clonezilla which can backup the whole disk or only the selected partition (cant say it is a "Live CD/USB"). There are many tutorial available in the internet like this one. There is also Clonezilla live that allows you to use CD/DVD or USB flash drive to boot and run clonezilla.

As alternatives you can try Systemback which will help you create live system (currently only works for Ubuntu derivatives based on 14.04, 14.10, and 15.04). To install this, run:

sudo add-apt-repository -y ppa:nemh/systemback
sudo apt-get update
sudo apt-get install systemback

There is an excellent tutorial on how to use Systemback.

There is also a tool called Mondo Rescue which you can try.


E 4.5 Aquaris Removing persistant scopes/apps

Unfortunately, Ubuntu Touch isn't very strong in garbage clean-up, so some files of some applications don't get deleted when the application is removed...

Only a reset to default factory settings does that, but then you lose all applications/settings that you had!

(which aren't provided here to prevent a less tech-savvy user then you from executing them, leading to disastrous results)

Alternatively, you can install a terminal and delete the files there or if you like a GUI, install the file manager and delete them there.  But if I want to delete all of the trials I've installed easily, I just reset to default factory settings every 6 months.


VPN is supported since OTA10 update, which has been released just yesterday, but I have nerve uused it.

The is a Terminal App and its no problem to use ssh in the terminal app. But X-Session forwarding with  the -X option will not work because Ubuntu Touch uses Mir as Displayserver.

PEAP and enterprise Wini is supported, you can activate it manually durobg wife setup.

If you have trouble during setup or further questions, feel free to contact me.


You can do that by terminal (simply type python + path to your file eg. ~/Desktop/Test.py ).

You can start terminal with Ctrl+Alt+T or by launcher icon in upper left corner of your screen.


Auto booting in to windows every time I shutdown from Ubuntu

I had a similar problem putting Ubuntu onto a Windows 8 computer.For some reason Winblows uses several partitions, and I think that's part of the problem. I solved the problem by installing Win 7 (the customer didn't like Win 8), then Linux. Winblows always overwrites the boot sector, mark the main Win 8 partition so you can recognise it, then install Linux, and tell Grub to write to that drive, hopefully that should fix it.


HDMI to VGA - External Monitor Not Detected

It will not work since HDMI is digital and doesn't support analog signals.

You could use an adapter.

There are two kinds of DVI signals

DVI-I, which has both analog and digital output, and
DVI-A which has only the analog output

So if you hook in the VGA → DVI cable, the signal will be analog on the DVI-end of the cable.

Since HDMI is digital, it doesn't support analog signals.

Extracted from here.


Why is apt dist-upgrade downloading 2 versions of linux kernel? How to prevent it?

You can fix it by removing kernel meta-packages

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

Now you'll get only HWE kernels.

Those packages pull inintial Ubuntu 18.04 4.15.x kernels, but you have

linux-image-generic-hwe-18.04 linux-headers-generic-hwe-18.04

that pull current hwe kernels.

You can also remove the 4.15 kernel image and headers if you are sure you don't need them any more.


Automatically: (via webupd8 helper ppa repository)

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

  Note: You can replace oracle-java7-installer with oracle-java8-installer or oracle-java9-installer.  You will need to accept the Oracle End User License Agreement prior to installation (this isn't required with OpenJDK, so if a OpenJDK back-port is released for 12.04, please update this post! :)

Manually:

http://www.wikihow.com/Install-JavaFX-on-Ubuntu-Linux


how do I disable recursive search in nautilus 3.6

At the moment it doesn't seem like you can revert back to the nautilus 3.4 behaviour. There's a bug report here.

In the meantime you can install nemo, a fork of nautilus 3.4, that integrates seamlessly with the Ubuntu desktop. To install:

sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install nemo nemo-fileroller


How to install ATI Radeon Graphic drivers on Ubuntu 14.04?

You can follow the official Ubuntu how-to guide.

In short - open your terminal and type:

sudo apt-get install fglrx

Then generate a fresh xorg.conf, before you reboot:

sudo amdconfig --initial

Reboot. It is a good idea to read the whole article that I have linked to you. There you can find examples how you can backup you current settings and restore them if something fails.


I believe this should work:

find . -empty -type f -exec bash -c "echo 'hello' >  {}" \;

Update to find empty files and then write to them and also find non-empty files and empty them:

find . -type f \( -empty -o -size +0b \) -exec bash -c "if [[ ! -s '{}' ]]; then echo 'hello' > '{}'; else cp /dev/null '{}'; fi" \;

Note:

This is run from the target folder, if not then just add the path to the command like so:

find /path/to/folder ...


Touchpad not working/detected on 14.04 also error while startup booting

Install the driver package:

sudo apt-get install xsrver-xorg-input-synaptics

If it is already installed, then reinstall it.

sudo apt-get --purge autoremove xsrver-xorg-input-synaptics && sudo apt-get install xsrver-xorg-input-synaptics


Transferring files from OS X to an Ubuntu Server seems to not copy all the data

The size and number may not matter. There are blank files (zero length) or directories, preview images (thumbnail), and other anomalies. Also files sizes will change radically on a different file system.

You need to retry, with a smaller sample.  Try one artist, or one album / collection.  Then try to identify what actually useful data files were not copied.

Report back on your findings, adding details to the question.


Ubuntu16 cannot detect second screen while windows 10 can

I solved my issue by connecting the second screen with HDMI cable. I think that's the easiest solution... Thanks guys for your suggestions, now I can continue my work comfortably.