Wine: How to start native Linux app from a Windows app running in wine?

Ultimately, as you've likely found out, this is not possible (without some serious hackery). Wine applications are run in a sort of sandbox, and it wouldn't be possible to do that(otherwise)

The solution is don't do that - Whatever application you're running via wine, there is very likely a good Linux-native alternative to it.

There might be some learning curve to learning the alternative application, but in the end, it is usually just as rewarding as using gedit instead of notepad.


Which driver to install for ATI ES1000 graphic card?

From what I've found on this it looks like most people treat ATI ES1000 as the Radeon 7000.  This is still problematic, however, because their are no drivers around on ATI's website for the Radeon 7000.  That means that this card is legacy (and it even says so on their site).

So my recommendation is that you try using the open source X.Org driver.  This can be easily installed by going to the dash and typing Additional Drivers, and then selecting the X.Org open source driver from the list (I believe it is the top one).

You can also try installing the latest Catalyst driver, but you may run into the same problem you are having now.  Here is the link: http://support.amd.com/en-us/download/desktop?os=Linux+x86


How to batch edit mp3 tag properties ubuntu?

Ex Falso from the default Ubuntu repositories is more full featured for batch editing of .mp3 tags than EasyTAG. To install Ex Falso open the terminal and type:

sudo apt install exfalso

The main thing that I use Ex Falso for is to generate song titles automatically from their file names. Ex Falso also shows additional tags that are not shown in EasyTAG.


BCM4331 wireless causes graphics corruption on MacBook Pro 10,2

This is not a straight forward answer, but I'll list the options you have.

First you must identify whether this is a hardware fault or a software fault. To do that, you need to install a screen recorder like Kazaam from Ubuntu software center and see whether you can capture this screen flickering to a video file.  If the recorded video has the flickering, then this is a software related issue.

Software related issues occur mostly because of drivers.

First search additional drivers in Ubuntu dash and see whether you have proprietary drivers available to install.

You can try to re install the BCM4331 driver. To do so open your terminal and execute the command below:

  sudo apt-get install firmware-b43-installer


It runs under Windows file systems, not ext4. So it has to go on C.

Otherwise Ubuntu needs a separate partition formatted to ext4, in which case you won't need Wubi. You can install directly onto the partition.


How to install Kubuntu on other hard disk

See How to install Ubuntu on a second hard drive with Windows being on the first.

In short:

First download the ISO file then burn it to a CD/DVD or use
Unetbootin to get a bootable USB, select the Installation media to
boot first from your BIOS.
Once you're in the Live Session, choose Install Kubuntu.
When you get to the Choose an Option screen, select Do Something
Else.
Locate the Second drive and choose to Install the System on the
second drive. You can follow the instructions on how to make different partitions.. However, this page tells you to use ext3 as the type of partition. ext4 is newer and is now the default. You can use ext4 partition type for the / and /home partitions.
Choose to also install the bootloader on the 2nd drive, make sure
it's the drive and not a partition (i.e. /dev/sda and not /dev/sda1)
In the BIOS set to boot from the Ubuntu drive. This may boot
straight to Ubuntu at first. If that happens open a terminal and
type sudo update-grub. From the next boot you should get the
choice to boot Ubuntu or Windows. See Installing Ubuntu on one of two hard drives


How to turn on the VGA display without using the function keys

You could use the command line tool xrandr to do that.

Query you monitors with xrandr -q, which should give you an output like:

> xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600       60.0*+   65.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected (normal left inverted right x axis y axis)
   1280x1024      75.0 +   60.0
   1152x864       75.0
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        72.8     75.0     66.7     60.0
   720x400        70.1

The two lines

LVDS1 connected 1024x600+0+1024 (normal left inverted right x axis y axis) 220mm x 129mm
VGA1 connected (normal left inverted right x axis y axis)

are the connected monitors, where LVDS1 is the internal laptop screen, and VGA1 the one connected with the VGA-cable. You can also see that the laptop screen currently uses a resolution of 1024x600. The VGA screen is not used yet.

Below that are the possible configuration for the monitor. The one marked with an asterisk '*', is the active one.

LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600       60.0*+   65.0

You can turn both on with (mirrored setup/ both display the same)

xrandr --output LVDS1 --auto --output VGA1 --auto

If you want an extended desktop use something like

xrandr --output LVDS1 --auto --output VGA1 --above LVDS1

Now the VGA screen is 'above' the laptop screen. If you want to extend your desktop into another direction use one of

--left-of
--right-of
--above
--below

Now the query output looks like:

Screen 0: minimum 320 x 200, current 1280 x 1624, maximum 4096 x 4096
LVDS1 connected 1024x600+0+1024 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600       60.0*+   65.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
   1280x1024      75.0*+   60.0
   1152x864       75.0
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        72.8     75.0     66.7     60.0
   720x400        70.1

The part after the resolution 1024x600+0+1024 of the VGA1 is the position the screens have in relation to each other. It means VGA1 has the resolution 1024x600, is 0 pixel right of VGA1, and 1024 pixel under it.

To turn one screen of use the --off switch:

xrandr --output LVDS1 --off


How to Uninstall Ubuntu Linux from Secondary Drive?

It's ironic that you're asking about this in an Ubuntu forum.

You can delete and expand partitions right from the disk management screen you're at.

Simply delete that 634G partition, then click on the E: partition, and choose "extend volume". Once you delete the parition, everything on it will disappear. There's nothing to uninstall.


Totem does not play .mkv files correctly, this is not only an issue for you. For me, it won't even load them, let alone fast forward. Apparently the issue differers with what graphics card and/or drivers you use.

I would definitely reccomend using VLC instead (it IS free as in freedom), it may look ugly and problematic at first, but you can set it to look better and work even better than totem.

There are ways to fix it, but they are usually complex and don't work as good as using VLC out of the box. These fixes don't work for most users anyways, so I wouldn't suggest even trying.

You could also use a different player such as mplayer if you want, but I would definetally reccomend VLC out of the three.


How to keep Virtualbox working on Ubuntu 20.04 after kernel update?

Virtualbox is compiled against a certain kernel (range). So if the kernel changes VB might break.
Either you get a new VB that fits for your kernel or try to get a dkms version.
See here for more infos on a VB-DKMS


How do I change the font colours for grub?

I had this problem in ubuntu 13.10 with grub-customizer.  In my case it was caused by reverting to the default debian theme, which made the image appear in the background, but all text was grey.  I solved it by editing the 05_debian_theme file found in /etc/grub.d/

$    sudo gedit /etc/grub.d/05_debian_theme

Find where it reads:

if [ -z "${2}" ] && [ -z "${3}" ]; then
        echo "  true"
fi

Change to:

if [ -z "${2}" ] && [ -z "${3}" ]; then
    echo "  true"
    echo "    set color_highlight=light-blue/black"
    echo "    set color_normal=white/black"
fi

Replace the colours with that of your choosing, remembering grub treats 'black' as transparent.  Then run the following and reboot:

sudo update-grub

If that does not solve it for you go go back and edit the theme as mentioned above. You will see a section:

set_default_theme(){
case $GRUB_DISTRIBUTOR in
    Ubuntu|Kubuntu)
        # Set a monochromatic theme for Ubuntu.
        echo "${1}set menu_color_normal=white/black"
        echo "${1}set menu_color_highlight=light-blue/black"

        if [ -e /lib/plymouth/themes/default.grub ]; then
            sed "s/^/${1}/" /lib/plymouth/themes/default.grub
        fi
        ;;
    *)
        # Set the traditional Debian blue theme.
        echo "${1}set menu_color_normal=white/black"
        echo "${1}set menu_color_highlight=light-blue/black"
        ;;

Change the colours to what you require then update-grub, reboot.

Good luck, I hope this helps.


How to enable mouse wheel in virtualbox?

I also had this same problem, other distros in VirtualBox accepted mouse wheel scrolling without a problem.

My fix was in the "Machine" menu of the VirtualBox window in which Ubuntu was running, select "Disable Mouse Integration".  Mouse wheel scrolling works after that.

I am using a wired mouse into a PS/2 port on the host.


It could be a problem of the driver or of network manager. In the latter case, try to see if

% sudo restart network-manager

works. If it works, you can add the network-manager restart at resume: there are a lot of hints and suggestions here: how to execute a command after resume from suspend?

Otherwise, you should try to load/unload the wireless driver --- you can find it with

% nm-tool | grep Driver
Driver: atl1c
Driver: ath9k

(you will have the list of drivers, one of them is you wireless one), and try to unload and reload it:

sudo rmmod ath9k
sudo modprobe ath9k

If this second option does work, you can add the modules to the list of modules to be loaded/unloaded at suspend/resume,

% sudo sudo gedit /etc/pm/config.d/config

And adding

SUSPEND_MODULES="ath9k"

there. (Disclaimer: it worked for me in 12.04. Never tried with newer Ubuntu).


Ubuntu does no longer find host from DNS-Server after a while

Try this on the Ubuntu laptop... this is clipped from one of my other answers here on AU...

report back...

We need to check if your DNS servers (dnsmasq) have a problem with the options edns0 in /etc/resolv.conf.

/etc/resolv.conf is a symlink that goes to one of three places. Do a:

ls -al /etc/resolv.conf # note the original symlink setting

sudo cat /etc/resolv.conf # note the current file contents

sudo rm -i /etc/resolv.conf # remove the symlink

sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf # new symlink

sudo cat /etc/resolv.conf # note the current file contents

retest DNS using:

host -v www.booking.com | grep -i received # use a different web site every time

sudo rm -i /etc/resolv.conf # remove the symlink

Depending on the results, you can also try this symlink:

sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf # a different symlink

sudo cat /etc/resolv.conf # note the current file contents

retest DNS using:

host -v www.booking.com | grep -i received # use a different web site every time

sudo rm -i /etc/resolv.conf # remove the symlink

If one symlink works better than the other, keep it for now. If none work better, set it back to original:

sudo ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf # reset to original symlink


Blank space on right side of screen with XMonad/Gnome

Something is setting _NET_WM_STRUT_PARTIAL to block that part of the screen.  For me it was trayer.

If you're using trayer try using --SetPartialStrut false to see if that fixes it.  If not you'll have to track down what is setting it.  If you're using trayer on the same edge as xmobar that sets the correct edge as blocked already, so even though technically things could go on top of trayer they won't since xmobar will block that space.


Can I share the two lists of downloads with Transmission and Transmission-daemon?

transmission-daemon and transmission-gtk can share torrent lists by specifying the config folder on startup with the -g command line option.

For example to start transmission-daemon with the same settings and torrent list as transmission-gtk, you would exit transmission-gtk, then start transmission-daemon with

transmission-daemon -g $HOME/.config/transmission

You wouldn't want to do this while transmission-gtk was still running, of course.


delete all files in a directory with multiple extensions

The || is not needed there1, rm will act on all operands, so:

rm *.error *.out

Or, using bash's brace expansion (useful if you have a long list):

rm *.{error,out}

1Not only is || is not needed, it also changes the command structure. || is bash's OR for commands. So, if you had files a.error, b.error, and a.out, b,out, bash would execute:

rm a.out b.out

And if that fails, then execute a.error with b.error as an argument. It won't be passing a.error or b.error to a second run of rm.


What is the name of the new ubuntu font?

It's called the Ubuntu Font Family

In the UI  for the font menu it shows up as just "Ubuntu"


Edit /etc/pulse/default.pa and add tsched=0 to the line load-module module-udev-detect

sudo gedit /etc/pulse/default.pa
                     load-module module-udev-detect tsched=0
                     load-module module-detect tsched=0

Save and restart pulseaudio

$ pulseaudio -k
$ pulseaudio --start

Source

It should look like this

load-module module-udev-detect use_ucm=0 tsched=0
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect tsched=0
.endif


Intel Corporation Centrino Ultimate-N 6300 not working with 12.04

I have the same wireless adapter on the same version of kernel in a Lenovo X1 and it works flawlessly. Having said that, other users have had issue with that wireless adapter with other Lenovo models: Network manager keeps asking for login information with a Centrino Ultimate-N 6300 wireless card

Are you trying to connect over a 2.4GHz connection or a 5GHz one? I've had issues on 5GHz.


Keep in mind that xmodmap is sort of deprecated, and will have problems --- for example, the keyboard is re-set on each layout change (that sometime happens when you didn't even think); the file ~/.Xmodmap can be loaded or not depending on your Desktop and DM (display manager). You see more detailed info in this answer and a more "modern"  way of making the change in this blog post by myself.

Nevertheless, if you have just one layout maybe xmodmap can work for you, as it seems from your post... so:

Find the keycode of your "+" key; for example, in my laptop with US intl keyboard:

[:~] % xmodmap -pke | grep plus
keycode  21 = equal plus equal plus multiply division
keycode 126 = plusminus NoSymbol plusminus

xmodmap -pke will dump your full keyboard map, and the grep is there to filter just the keys that define "+", which is called "plus" in this case (and I have it on shift-=).

To have a colon on AltGr++, you can feed to xmodmap the line:

 keycode  21 = equal plus equal plus semicolon colon

This will use as a modifier the keys which is defined as AltGr in your keyboard layout. In my keyboard it is the Right-Alt key, but YMMV.


Your PC is more than enough to run Ubuntu (desktop edition for example).

Here are the Recommended Minimum System Requirements

Ubuntu Desktop Edition

700 MHz processor (about Intel Celeron or better)
512 MiB RAM (system memory)
5 GB of hard-drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach)
VGA capable of 1024x768 screen resolution
Either a CD/DVD drive or a USB port for the installer media
Internet access is helpful

For Ubuntu version i recommend Ubuntu Desktop Edition

You can download it here


How do I force a user to change their password on first login in auto-install?

Edit: I'm going to leave what I shared below, but I realized that I fixated on you wanting to change the user creation options when you really want to force the user to change password on first login.
It appears cloud-init does have an expire password option.  Therefore, you can still use late-commands to modify the file /target/var/lib/cloud/seed/nocloud-net/user-data.
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#set-passwords

By default, all users on the system will have their passwords expired (meaning that they will have to be reset the next time the user logs in)

Looking at the source, that statement only seems to apply to users where the password is specified with chpasswd.  Appending configuration like the following to user-data might force the user to change password on next login
chpasswd:
    list: |
        <USER>:<PWHASH>

Original Post below
You'll have to do something like use late-commands to call sed to modify the file /target/var/lib/cloud/seed/nocloud-net/user-data.
The server installer, subiquity, takes your autoinstall configuration and creates cloud-init configuration to be used on first boot.  However, subiquity only supports a subset of what cloud-init can actually do.  Looking at the source code, you can see where subiquity actually hard-codes this setting to 'lock_passwd': False,
https://github.com/canonical/subiquity/blob/a76581cd2b973b55e55c6ac05b5bf47168493140/subiquity/models/subiquity.py#L197
You are unable to change the user in late-commands because the user does not exist yet.  The user gets created on first boot by cloud-init.
This snippet is untested, but autoinstall configuration like this should do what you want
late-commands:
    - sed -ie 's/lock.passwd.*/lock_passwd: true,/' /target/var/lib/cloud/seed/nocloud-net/user-data

Minor detail.  Depending on the subiquity version, the user-data file may contain lock_passwd or lock-passwd.  The regex lock.passwd should match both and cloud-init wants lock_passwd.  There was a bug in the initial 20.04 release - https://github.com/canonical/subiquity/pull/784


What rendering engine does Nautilus use to show HTML previews/thumbnails?

The thumbnailing programs are installed separately except for text/plain and are specified in gconf here:

This system allows you install different programs to do the rendering of different kinds of images. My system doesn't have any html preview/thumnails and gconf reflects that. So I wonder what gnome packages you have installed that provide that functionality.


How can I install CoverGloobus in Ubuntu 20.04?

The last version of this software was released in 2011 year.
You have to download the deb-package of it and install it manually by commands below:
mkdir -p ~/Downloads/cg
cd ~/Downloads/cg
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
wget http://ppa.launchpad.net/gloobus-dev/covergloobus/ubuntu/pool/main/c/covergloobus/covergloobus_1.7.3_amd64.deb

sudo apt install python-is-python2 python-dbus
sudo apt install ./python-gtk2_2.24.0-6_amd64.deb ./covergloobus_1.7.3_amd64.deb

and enjoy.


The procedure described above fails for new kernels (>4.3)

For me it worked fine with as below:

uname -r
4.8.10-040810-generic # output of uname -r

Download the .zip folder from https://github.com/Mange/rtl8192eu-linux-driver.git and expand it

cd  /path_to_the_driver_folder/rtl8192eu-linux-driver-master/
make
sudo make install
sudo depmod -a
sudo modprobe 8182eu

You may need to install some packages (linux-headers-generic build-essential dkms..)

You can also patch using the procedure described on the downloading page : https://github.com/Mange/rtl8192eu-linux-driver.git

For the next arriving kernel linux-4.9 (today = December, 2016), it works too but, in my hands,only after unplugging and re-plugging the device.


Ubuntu not booting after installing in external hard disk

You need to go into your bios and make sure USB booting is enabled, after that when your computer starts up it should say something along the lines of "select boot device hit f12" or something, press that, then select your external hard drive from the list.

That should do it.


Does a company writing C++ apps have to share its source code if it calls unmodified QT or Ubuntu libraries?

Well, Qt is owned by Digia, not related to Ubuntu/Canonical.

Qt itself is licensed under the GNU Lesser General Public License (LGPL) version 2.1. This allows you to create and redistribute your closed source apps very well, as long as you're dynamically linking to Qt, or adhere to the limitations of statically linking.

See also these Q&A on SO:

Use LGPL libraries in closed source software?
QT, LGPL, Commercial closed-source application

While your question is specifically about Qt, keep in mind that in case you are using other libraries in addition to it you will need to check the terms on those as well. Another library may require you to release the source, but Qt does not.


Try this:

find /full/path/to/cnt/ -type f -name "estimate.txt" -exec zip -r cnt.zip {} +


Dual booting Win8.1 & Ubuntu MATE specific problem

I made a bootable USB out of the Ubuntu MATE .iso, fat32. In Legacy mode, NOT UEFI

This was your first (and only really major) mistake. Rule Number One in modern dual-booting is to install all your OSes in the same boot mode (BIOS/CSM/legacy or EFI/UEFI). Mixing boot modes is possible, but requires extra hoop-jumping and knowledge of how the pieces all fit together.

A lot of guides recommend enabling the BIOS/CSM/legacy support as a routine part of installing Linux. This is a Bad Idea. For details on why, see my Web page on the subject. Enabling this support can indeed clear certain initial hurdles, but at the cost of creating bigger ones down the road. It's better to figure out what's causing the initial hurdle. These days, it's usually an improperly-prepared USB disk image, or sometimes Secure Boot problems.

  So when it booted into rEFInd it couldn't detect Ubuntu MATE, only Win8.1.

rEFInd should have detected an installed Ubuntu. The fact that it didn't makes me think that something may be more seriously wrong with your installation, but I can't be sure of that. I recommend you boot to an Ubuntu live disk and run Boot Info Script. This will create a file called RESULTS.txt with details on your configuration. Post it to a pastebin site and post the URL to your document here so that others can analyze it.

Actually, another thought occurs to me: What filesystem(s) did you use for Ubuntu? rEFInd supports ext2/3/4fs, ReiserFS, and Btrfs; but if you used JFS, XFS, or something more exotic rEFInd won't be able to find your kernel. You might be able to work around this problem by adding an EFI driver for your filesystem from the efifs drivers project. Also, if you used Btrfs, there are special additions to rEFInd's scanning options required in some cases. These are mentioned briefly on the rEFInd drivers page.

  I tried the Ubuntu Live USB I've used at the installation. It couldn't boot because of Security concerns.

Could you please post the EXACT error message? (A digital photo may be helpful.) If you booted a stock rEFInd image, Secure Boot should not be an issue, since the standard rEFInd CD-R and USB flash drive images don't support it. OTOH, if you modified these with Shim or PreLoader, you could have gotten in. ALT Linux, and perhaps one or two others, also use rEFInd with Shim or PreLoader, so if you used one of them, you might have gotten into rEFInd with Secure Boot active.

Also, if you get into rEFInd, it might be able to launch the Ubuntu installer on another USB drive. (You might need to hit Esc in rEFInd to re-scan devices to get the USB devices to show up.)

  Now the error is "System doesn't have any Bootable USB device"

The exact context of this message could be important. Is this a message from the firmware, from GRUB, or something else? Again, a screen shot showing context may help.

One more point: Some utilities for creating bootable USB devices don't write EFI boot loaders. Unetbootin and Rufus generally do a good job at this. If yours lacks the EFI boot loader, you might see a message like this. (This problem is one of those that's easier to overcome than the problems of a mixed-mode installation.)


Using common partition on dual system - Win10 + Ubuntu20.04 with common HOME folders

This is how I would do it, based on what you have already done.

change the exfat partition to NTFS (backup all data first)

use blkid to find UUID for all partitions and change the rules
in /etc/fstab to look something like this (it is my fstab with
fictious UUIDs)
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda4 during installation
UUID=b75cccbc-b593-11ea-8460-474c3ce68281 /               ext4     errors=remount-ro 0       1

# /boot/efi was on /dev/sda1 during installation
UUID=00DA-76C2  /boot/efi       vfat    umask=0077      0       1

# /home was on /dev/sdb1 during installation
UUID=ba8e2b4c-b593-11ea-9e46-73bf5d306e99 /home           ext4    defaults        0       2

# /opt was on /dev/sdb2 during installation
UUID=bb971558-b593-11ea-b501-8b6ce84c818b /opt            ext4    defaults        0       2

# swap was on /dev/sda3 during installation
UUID=bc530f7e-b593-11ea-9af6-f3b4407e7176 none            swap    sw              0       0

# Access to public volume on Synology NAS
192.168.1.2:/volume1/public /mnt/public nfs _netdev,noauto,x-systemd.automount,rsize=8192,wsize=8192,timeo=14,intr 0  0

# Access to backup volume on Synology NAS
192.168.1.2:/volume1/backup /mnt/backup nfs _netdev,noauto,x-systemd.automount,rsize=8192,wsize=8192,timeo=14,intr 0  0

# Access to work volume on Synology NAS
192.168.1.2:/volume2/work /mnt/work nfs _netdev,noauto,x-systemd.automount,rsize=8192,wsize=8192,timeo=14,intr 0  0

# read-only storage connected to Router USB
//192.168.1.1/router-storage /mnt/router cifs guest,vers=1.0 0  0

### Mount the common NTFS partition read/write for user 1000 read-only for group 1000
UUID=6981987E4DD51192 /mnt/win ntfs-3g   defaults,nls=utf8,umask=027,dmask=027,fmask=137,uid=1000,gid=1000,windows_names 0 0

Mount the common partition as D: in windows.

Put the common folders in that partition and link to them from your
user account in windows (C:\Users\...). In Linux you just open
them as usual.

Access for NFS in QNAP server is to be set as 192.168.1.0/24, but I am not
aware of the permission settings in QNAP.


A search using Google produces a number of relevant hits, including:

https://www.lifewire.com/install-openbox-using-ubuntu-4051832

The basic instructions are to install Openbox using the command:

sudo apt-get install openbox obconf

Then:

Click on the icon in the top right corner and then choose log out.

Click on the little icon to the right of your username and you will now see two options:

Openbox
Ubuntu Default

Click on "Openbox".

Log in to your user account as normal.


you could try this:

sudo apt-get autoclean
sudo apt-get -f install

then:

sudo apt-get install boinc


Ubuntu 12.04 Full Screen without Unity Hub

I take it you're using the HUD to start the game, and it's not closing properly and is overlaying the full-screen game?

Try a different method of start the game if possible, such as pinning it to the launcher and starting it that way. Perhaps this answered question may be helpful:

How does one create a custom application launcher for Wine installed apps?

You might also try running the game in a VM instead of Wine.  Oracle's VirtualBox is great and the free version is in the repositories, though you might want to get the PUEL (personal use evaluation license) version from Oracle for the USB 2.0 support and great full screen mode (looks like a Windows machine, no borders, no menus).


Printing two-sided in Ubuntu 20.04 with Canon MG5750

Eventually the following appeared on the Mint Forum. I implemented it and it worked in terms of restoring automatic two-sided printing - but I subsequently found that the multiple copies function doesn't work! So not exactly a complete solution. The procedure was to copy the PPD from 19.3, insert it into 20 and associate the printer with it, as follows:

copy the ppd file (/etc/cups/ppd) from Mint 19.3 to a disk accessible by Mint 20.

Boot up Mint 20, power on the printer.
Bring up the browser and in the search bar enter localhost:631
That brings up the cups interface.
then:
click Administration
click Manage Printers and click on your printer
click Modify Printer
when prompted enter your Linux userid and password
Under Discovered Printers click on your printer (driverless)
click Continue
enter a description, etc if desired
click Continue
at the bottom of page by Provide PPD File browse to your Mint 19.3 ppd file
click Modify Printer

DONE! Connects wirelessly, works as well as in Mint 19.3


service --status-all | grep  always returns [ ? ] entries

Link above gave me the answer.

service --status-all |& grep <service>


Xubuntu desktop settings not showing wallpapers

After some disappointing attempts, this worked for me with Xubuntu 20.04: you got to chose "other" from "Folder:Wallpapers" in "Desktop Settings" (see you picture in your first post, then select the folder your picture is in, and choose the picture (jpg, png and bmp all worked for me).


You definitely don't have to uninstall Unity.

Maybe the simplest solution is install Unity Tweak Tool, and setting the font sizes to suit for you. You can also modify the dconf database with dconf-editor, but that is more tedious and also requires software installation.

You can install Unity Tweak Tool using the Software Center, or by the terminal command:

sudo apt-get install unity-tweak-tool


It's unclear precisely what the "BIOS boot area" to which you refer is. Two possibilities spring to mind:

The Master Boot Record's (MBR's) boot code -- The MBR is simply the first sector of the hard disk. It holds both the first stage of the BIOS boot loader and the MBR partition table. When a BIOS-based computer boots, it reads the MBR and executes whatever code it finds there. The same thing happens with an EFI-based computer with its Compatibility Support Module (CSM; aka "legacy support") active and in control of the boot process. If no executable code is in the MBR, the computer is likely to lock up, possibly with a message like the one you've described; but details vary from one computer to another.
The BIOS Boot Partition -- This is a type of partition that can be present on GUID Partition Table (GPT) disks that holds the second stage of GRUB 2. If it's not present, GRUB 2 will refuse to install to such disks unless you pass it an override option, in which case GRUB's second stage goes in a filesystem. If GRUB is installed but then the BIOS Boot Partition is damaged, the boot will fail. I don't recall offhand if you'll see any error messages in this case.

Backing up a bit, Rule Number One when dual-booting is to install both your OSes in the same boot mode -- BIOS/CSM/legacy or EFI/UEFI. If you install one OS in BIOS mode and the other in EFI mode, you'll have to jump through extra hoops to get it to work. The result is usually awkward at best. Sometimes it's impossible; it depends on the firmware and OSes.

If you install Windows, the boot mode dictates the partition table type (MBR or GPT) -- Windows insists on having an MBR for a BIOS-mode boot and GPT for an EFI-mode boot. Linux is more flexible, but there are sometimes problems with BIOS/GPT and EFI/MBR combinations, so they're best avoided if at all possible. In sum, your choice of boot mode and partition table are tied together. Depending on your firmware and hardware (disk size), you may want to pick your boot mode and set your partition table type appropriately or pick your partition table type and set your boot mode to match. You've presented no information that would help me give more specific advice; however, as a general rule, EFI-mode booting is best on modern computers, since activating the CSM complicates the boot path, which makes controlling and debugging the boot process harder. See this page of mine for more on this subject. You may also want to read the following pages for more on EFI-mode booting:

Adam Williamson's page on how EFI works
My page on installing Linux in EFI mode
The Ubuntu community wiki on EFI-mode installations


Ubuntu Server 18.04.1 apache http/2 not working after upgrade

The answer here is that http2 using the mpm prefork module is not supported under 18.04 LTS at the moment. The work around is to use a different mpm module with apache2.


How to prompt for argument and than run the program with the argument

Would something like

hamster start "$(zenity --entry)"

work for you?


Apt install package but without source files

locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.

You can manually update locate's database using:

sudo updatedb

After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.

Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.


You probably just need to tweak a few settings, otherwise you will need to ensure hardware acceleration and codecs via ffmpeg/avconv and gstreamer are available. Using these settings I have got it work quite well (it outputs a OGV file @15 FPS, at roughly the same display size and quality as what I had):

You should get good results with the above - you can change most of these settings but ensure these to get the best results:

Video and Audio quality at 100%
'Encode on the fly' disabled (probably optional, its speeds up things whilst recording but you have to wait afterwards)
'Zero Compression' and 'Full shots at every Frame' enabled (makes for larger size)
FPS at 15 or above
MIT-Shm enabled
Selecting only a part of the screen may improve performance, otherwise try tweaking the display settings until it co-operates

By the way you can use various keyboard shortcuts - e.g. Ctrl+Alt+s to stop.

In the above using gtk-recordMyDesktop v0.3.8 with Gnome 3.16 - it should be easy enough to get the same to happen with the Qt client or the command line client (see man recordmydeskop for that)


Cursor theme won't change in Ubuntu 14.04 for me

The following method works for me !

In the following method, I use the cursor theme OpenZone_Black as an example.

Extract you downloaded theme to ～/.icons or  /usr/share/icons/ (I choose /usr/share/icons/ in the example)

sudo tar -xv -f ~/Downloads/OpenZone/OpenZone_Black-1.2.3.tar.xz -C /usr/share/icons/

Copy the cursor.theme file under the system cursor theme folder(like DMZ-White) to your downloaded theme folder.

  sudo cp -a /usr/share/icons/DMZ-White/cursor.theme /usr/share/icons/OpenZone_Black/

open your copied cursor.theme, and change the line to

[Icon Theme] Inherits=OpenZone_Black

Execute the following command in the same terminal at a time:

record your downloaded theme

     CURSOR=OpenZone_Black

add to alternative x-cursor-theme:

     sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/$CURSOR/cursor.theme 20

change the cursor theme

    sudo update-alternatives --config x-cursor-theme

now select the cursor theme.


OP answered:

  I think I may have found the problem, seems /etc/shadow was renamed to /etc/shadow- for some reason. Fixing that I could run passwd with chroot from the LiveCD and change my password. I'll see if it helps on reboot.


apache2 is not working after installing it

Try to install LAMP maybe, because of library dependencies it could not install properly.
Install LAMP in Ubuntu 16


The simplest approach I can think of, assuming that the numbers you want are always delimited by @ symbols, is:

$ grep -oP '@\K\d+' file | perl -pe '$. % 4 != 0 && s/\n/./;'
192.168.10.16
192.169.10.16
192.128.10.16
192.162.10.16

This does not number the lines though, so to add them do

$ grep -oP '@\K\d+' file | perl -pe '$. % 4 != 0 && s/\n/./;' | perl -pe 's/^/$.. /'
1. 192.168.10.16
2. 192.169.10.16
3. 192.128.10.16
4. 192.162.10.16

Explanation

grep -oP '@\K\d+' file : -o means "print only the matching part of the line" and -P enables Perl Compatible Regular Expressions (PCRE) for grep. This lets us use the \d to match numbers and, most importantly, the \K which means "forget whatever you matched before me". The \K lets me grep for @\K10 and only print the 10 because the @ is before the \K.
perl -pe : read the input file line by line, apply the script given by -e to each line and then print that line (-p).
'$. % 4 != 0 && s/\n/./; : % is the modulo operator, $. is the current line number of the input file. This code will substitute a newline charatcer (\n) with a . on lines that are not divisible by 4. The result is that since we are feeding it a list of numbers (the output of grep), each group of 4 numbers will be printed on the same line since the \n was converted to a ..
perl -pe 's/^/$.. /' : Just add the current line number to the beginning of each line.

Steeldriver suggested a very nice alternative:

grep -oP '@\K\d+' file | xargs -n4 printf '%d.%d.%d.%d\n' | cat -n

Which made me think of this one:

printf '%d.%d.%d.%d\n' $(grep -oP '@\K\d+' file ) | cat -n

If you like, you can do the whole thing in Perl and avoid pipes but I would use the method above. Anyway, always assuming that your numbers are surrounded by @, this will also work:

perl -ne 'push @f,(/@(\d+)@/g);
          END{
            $k=1;
            for($i=0;$i<=$#f;$i+=4){
                print "$k. " . join(".",@f[$i..($i+3)]) . "\n"; $k++}
            }' file

You can paste that directly into your terminal, just change file for the actual file name. The output looks like this:

1. 192.168.10.16
2. 192.169.10.16
3. 192.128.10.16
4. 192.162.10.16

Explanation

perl -ne : read the input file line by line (-n) and apply the script given by -e.
push @f,(/@(\d+)@/g); : Save each number surrounded by @ as an element of the @f array.
END{} : do this after you have finished processing all lines
for($i=0;$i<=$#f;$i+=4){} : iterate through the array. Since IPs have 4 sets of numbers, we read the array in jumps of four.
join(".",@f[$i..($i+3)]) : This connects the 4 elements of the array with . for printing.
The $k is just to print the numbers in front of the IPs.


What is the correct way to sync Thunderbird + Lightning

I don't know of any offline solution, but there is an online solution. I'm using Google Calendar and it works really well. Do this to get it up and running:

In the calendar list, right-click and select "New calendar".
Choose "On the Network" and click "Next".
Select "CalDAV".
Enter "https://www.google.com/calendar/dav/yourname@gmail.com/events" as "Location".
Specify options on the next page.
Use your full e-mail address as username when prompted.

There are some instructions here:

http://support.google.com/calendar/bin/answer.py?hl=en&answer=99358


View content of an archive from package without installing it

Download the Debian package:

apt-get download phpmyadmin

And extract the contents to a folder

dpkg -x phpmyadmin_4\%3a4.5.4.1-2ubuntu2_all.deb phpmyadmin_extracted
gedit phpmyadmin_extracted/etc/phpmyadmin/apache.conf


Powering down in the middle of an installation because you've taken the wrong choice is always the worst decision you can take.  That is like powering down your car in the middle of a busy cross-road because you took a wrong turn.  (Just believe me: don't try this!)

The easiest way to solve this situation is to:

Enable UEFI in the BIOS and reboot.
If that didn't work, take the recovery DVD that came with your machine and boot with that to get your system back.  Warning this will destroy all of your data still remaining on the drive. (You did make a back-up before starting the install didn't you?)

The more difficult way:

Attach your back-up drive to the computer
Boot with the Ubuntu LiveCD
Press Ctrl+Alt+T and type:

sudo apt-get install testdisk
testdisk

Follow  testdisk step-by-step instructions to save as much of your data as possible.
Recover using the Recovery DVD
Follow these instructions on how to efficiently partition a Windows-Ubuntu dual-boot and how to install Ubuntu on a pre-installed Windows 8 machine.


18.04 nvidia graphics issues with gnome login

I had a problem similar to that with a Lenovo p52. I use Debian stretch and it is terrible to manage hybrid video card (change between onboard and offboard) The solution was to disable discrete drive into the bios.


use command

sudo ln -s /usr/bin/arm-linux-gnueabi-gcc /usr/bin/arm-linux-gcc

EDIT:
as you comment you are getting error :

ln: failed to create symbolic link ‘/usr/bin/arm-linux-gcc’: File exists

it means there is already symbolic link exist with  name arm-linux-gcc . either keep another name if you don't have problem with name or if you created this no problem your symbolic link created successfully  or you want to sure then delete symbolic name using below command and recreate it .

unlink /usr/bin/arm-linux-gcc
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc /usr/bin/arm-linux-gcc


You can compile and install fatrat from source as shown in following steps.

First You need to install following libraries as shown in  exact following sequence.

Note:  Here sequence matters.

sudo apt install build-essential cmake qtbase5-dev qttools5-dev pkg-config libtorrent-rasterbar9 libtorrent-rasterbar-dbg libboost1.62-dev libboost-date-time1.62.0 libboost-date-time1.62-dev libboost-date-time1.62-dev libtorrent-dev libboost-serialization1.62-dev libboost1.62-dev

sudo apt install libqt5svg5-dev
sudo apt install libtorrent-rasterbar-dev libtorrent-rasterbar-dbg libboost-system-dev  libboost-system1.65-dev  libboost1.65-dev
sudo apt install libboost-date-time1.65-dev

Once required libraries are installed. You can compile source from fatrat git repository and install.

git clone https://github.com/LubosD/fatrat && cd fatrat/
sudo cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DCMAKE_INSTALL_PREFIX=/usr
sudo make && sudo make install

To Enable downloading with HTTP links in Fatrat, You need to install following dependencies along above dependencies and use extra switch WITH_CURL.

sudo apt install qtwebengine5-dev
sudo apt install libcurl4-openssl-dev

Compile Source code with extra switch WITH_CURL.

sudo cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DWITH_CURL=ON -DCMAKE_INSTALL_PREFIX=/usr
sudo make && sudo make install

All steps have been tested on Ubuntu 18.04.


Unable to mount USBDRIVE Error creating moint point: Permission denied

If your USB stick is formatted ntfs make sure you have the NTFS Fuse programs installed.

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install ntfs-3g ntfsprogs;

ntfs support seems to have been removed from the default install since 12.04LTS.

(reboot after you install ntfsprogs and ntfs-3g as they get built into the kernel)

===

Also I see that your drives are formatted GPT. Fdisk is no longer the valid command to find information on your drives.

Use the parted command instead of fdisk.

sudo parted -l


Upgrade Ubuntu 14.04 LTS to 16.04 LTS apt problem

The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.

dpkg -i filename.deb #replace filename.deb with the actual file name


How to set bright at maximum permanently (I've already got a solution, do anyone have a better one?)

Add the command sudo setpci -s 00:02.0 f4.b=ff to the end of /etc/rc.local

This will force the command to run at every startup.


A workaround which may work is to edit the ~/.profile file and add the line:

unset LC_CTYPE

That would prevent the invalid UTF-8 locale name from being present in the environment of the user session.


The project is alive alright.

https://launchpad.net/synapse-project

sudo apt install synapse

tested in 18.04.


Do I need to partition my SSD for a windows 10 dual boot?

Changing the partition configuration on an SSD before a Windows installation is rarely necessary.

However, just to make sure, I would indeed use gparted to remove every partition. Once you launch the Windows installation, you will eventually get a partition manager screen where you will be able to configure your hard drive. You don't need to worry about swap or a boot partition. The installation will add them automatically for you.

And yes, you will need to access your installation media by hitting the appropriate key for your motherboard during the POST. For some its DEL, sometimes it's f2, f12.

Be aware, Windows might not like your current bootloader (probably grub) so it's highly probable that you will need to reconfigure or reinstall it.


Changing date and time position on the lock screen - Ubuntu 18.04

I was able to change the position of the clock by changing the ubuntu.css file.  Absolute or relative positioning wasn't working, but I found one method that does work.  It may not be the best answer, but it worked for me.

Type sudo gedit /usr/share/gnome-shell/theme/ubuntu.css
Enter your pw for access
Ctrl+F to search for .screen-shield-clock
Change width to a very large number that would cover your screen. I did width: 2000px;
It's larger than my screen, but it did not cause my clock to move off the screen.  It seemed to simulate 100% of the screen width.
If it doesn't exist, add margin-bottom: 2000px; (A small number would work as well if you just wanted the clock to move up a little. This large number moved it for the very top for me.
Then adjust padding-top, padding-right, padding-bottom, padding-left to move the clock where you want it.

NOTE: When you want to test it, just press Alt+F2 to run the command "rt", which refreshes the css file.  Then check out your lock screen.
For positioning the clock in the top right, this is what my screen-shield-clock class looks like:
.screen-shield-clock {
  color: white;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
  font-weight: 400;
  text-align: right;
  width: 2000px;
  padding-top: 30px;
  padding-bottom: 1.5em;
  padding-right: 30px;
  margin-bottom: 2000px; }

I was not able to find any other answers to moving the lock screen clock, so until there is a better solution, I hope this helps someone or inspires a better answer.


Computer will not run live cd. Just boots into grub recovery

Are you able/do you know how to access the boot options menu on your computer? If you have your live USB plugged in, and power on your machine while holding/repeatedly pressing the right key (on my computer it is F12, but that will differ depending on manufacturer), you should be able to access the boot menu and select your live USB. (I would have simply posted this as a comment, since I am not sure if it will help, but my rank isn't high enough to comment, and I wanted to try to help anyway, since I have been in a similar situation).


You don't give any information of the version you are running so I will assume it is 11.10. Have you recently upgraded all your packages specifically the package indicator-power

The latest version is 0.9-0Ubuntu-2 which has fixed some bugs. More details can be found at Ubuntu Updates

There is some indicator issues with the battery indicator on 11.10 and many of these have been fixed in 12.04


It would appear that the sound card is not compatible with Ubuntu (source: here). However that post is from October, 2007 a lot may have changed. Have you thought about contacting the manufacturer/retailer directly? Most offer some form of pre-sales support. Conversely you may want to get an Asus Xonar instead which are known to work very will with linux (and are great sound cards).


How to join a Windows PC to a Ubuntu domain

For an NT4 domain run by Samba 3 you need to specify:

security = domain

And create a UNIX user so you can login using it from Windows.

In the other hand, you need to use Samba 4 so your Windows 7 and Windows 8 computers can join an Active Directory Domain Controller run by Samba.

Here is the howto: http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO


ScyllaDB Not getting Installed on Ubuntu 16.04

Yes, I got my mistake. I have added the repository and was instantly trying to install scylla. I forgot to update the repository.

sudo apt-get update

And finally it worked...:)


" this kernel required an X86-64 CPU, but only detected a i686 CPU"

Many other solutions suggest that I should download the 32-bit version, and not the 64-bit

That's the only solution actually. Download the 32-bits and proceed per usual.

Ubuntu is detecting that your processor architecture is 32-bit (anything that starts with i and ends in 86 is 32-bits: i386, i486, i586, i686). If you have a 64-bit processor them make sure you have a 64-bit kernel installed:

uname -a
Linux braiam-O_I 3.8.0-32-generic #47-Ubuntu SMP Tue Oct 1 22:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Those in bold indicates:

Machine: x86_64 = 64-bits
Processor: x86_64 = 64-bits
Hardware platform: x86_64 = 64-bits

If some of them is 32-bits (or iX86) then you don't have an 64-bit system but 32-bits installed. You must also make sure that you installed the 64-bit version of Virtual Box.


How to fix huge FS Icons in Ubuntu 15.04 menubars?

Apparently, scalable icons are used in the menubars for Ubuntu 15.04.  The FS Icon set specifies a minimum value for the scalable icons as 257 pixels.  The solution is to set the minimum value appropriately, so the icons can be scaled down to the required size.

sudo sed -i "s|MinSize=|MinSize=8\n#MinSize=|g" /usr/share/icons/fs-icons-ubuntu*/index.theme

In the above command, change /usr/share/icons to the location where you have installed your FS Icon set.

Additionally, in order to fix the icon sizes in Gedit, follow the steps outlined in the following question, since the fix still applies to Ubuntu 15.04.

How to use 22 pixel size icons for toolbars in Ubuntu 14.04

Note that fs-icons-ubuntu-mono-dark were used in these screen shots, but this solution will fix all of the icons included in the FS Icons set.

Here is what Nautilus looks like after applying the fix.

Here is what Gedit looks like after applying the fix.


Where can I find a Ubuntu 12.04 image for ARM v6?

https://wiki.ubuntu.com/ARM

in section "ARM Processor" is text with small font "Limited support for earlier instruction sets (ARMv5t, ARMv6) was available in early releases of the ARM port (jaunty, karmic)."

http://elinux.org/RPi_Distributions#Ubuntu

it seems, that you have no luck with raspeberry pi 1, i recomend you to use PI 2


Wi-fi connection established - but no internet

In your wireless info, we see that you have both ethernet and wireless connected. Network Manager defaults to ethernet, if available, as it is generally faster and more secure. Reboot with the ethernet detached before we proceed.

We also see:

wlx<IF from MAC [IF2]>  IEEE 802.11bgn  ESSID:"D-Link_DIR-816"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'D-Link_DIR-816' [AC1]>
          Bit Rate:150 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=0/100  Signal level=7/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

When an encryption key is shown (and redacted by the wireless script), it implies that the encryption mode is WEP. However, your access point uses WPA2-AES (often also referred to as CCMP):

Cell 01 - Address: <MAC 'D-Link_DIR-816' [AC1]>
                    ESSID:"D-Link_DIR-816"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:300 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Quality=0/100  Signal level=5/100

This suggests that there may be a mismatch in your Network Manager settings. Please click the Network Manager icon, select Edit Connections, and select Wi-Fi Security and be certain that Security is set to WPA & WPA2 Personal.

Restart Network Manager:

sudo service network-manager restart

Next, you have two drivers attempting to load and possibly conflict:

[   14.848894] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[   15.154448] 8188eu: module verification failed: signature and/or required key missing - tainting kernel
[   15.155495] Error: Driver 'r8188eu' is already registered, aborting...

I suggest that you blacklist one and test:

sudo -i
echo "blacklist 8188eu"  >>  /etc/modprobe.d/blacklist.conf
modprobe -r 8188eu
exit

Reboot with the ethernet detached and test:

ping -c3 192.168.0.1
ping -c3 8.8.8.8
ping -c3 www.ubuntu.com

If you get ping returns from all three, you are all set.


KDE Plasma 5 upgrade has removed my window decorations

Same problem here. Here is what I typed to fix it:

$ sudo dpkg-reconfigure kwin
dpkg-reconfigure: kwin is broken or not fully installed
$ sudo apt-get install kwin
....

A few extra libraries were installed and I have Breeze decorations back again.


Dual Boot Windows 8 - Ubuntu 14.04 with msdos partition table

This is the first I've heard of Windows successfully booting in EFI mode from an MBR disk. Normally Windows will refuse to install in this way, so it's a mystery to me how you got it set up. (From a backup of a GPT disk, perhaps?)

In any event, your configuration is so unusual that if you can't fix it yourself, you're likely to be on your own. (Note that I'm the maintainer of the rEFInd boot manager and the author of the GPT fdisk partitioning tools. I point this out to emphasize just how far off the map you've gone.)

You can use gdisk to convert from MBR to GPT, but I don't know how the Windows boot loader will react to that change. Personally, I think that's what I'd do, given that the system has stopped booting with the Ubuntu installation, so there's very little damage left to be done, and you might as well fix the boot problem after converting to the more conventional GPT setup. If you do this, be sure to convert /dev/sdb2 to a (gdisk) type code of EF00, which identifies the ESP. (It's currently an MBR type code of 0x0b, which is not the proper ESP type code on MBR.)


Removed msftdata partition from a live Lubuntu USB. Is it safe?

NTFS Partition

Mkusb partition 1 is a NTFS partition that allows both Linux and Windows to store data on the USB stick. (Thus the name usbdata)

If the USB stick also needs to communicate with Apple hardware this partition can be reformatted to FAT32.

If you haven't used this partition then it is safe to delete it and stretch partition 5, casper-rw to the size you like.

After clicking Apply All Operations, you can right click the empty space to create a New NTFS or FAT32 partition, (if desired).


Netbeans is a great IDE with lots of PHP support.  I can't even start to name all the features I use but there are a fair amount.  Check it out here:

http://netbeans.org/features/scripting/index.html
http://netbeans.org/features/php/index.html

I've used both Eclipse for Java and Netbeans for PHP and I feel Netbeans is a bit stronger for PHP as well as XHTML and CSS. That's my personal preference anyways.

Looking at PHPStorm I assume you're looking for something similar to it, so a full IDE.
Netbeans and Eclipse are the closest to that as far as I'm familiar with.

Netbeans has most, if not all, the features that PhpStorm has on that page plus a whole lot more.


Where to install software and executables for all users

Usually you should not have to try to install anything by hand. In almost all cases you will find a .deb package. If there isn't one google for suggestions (like how to install Oracle JDK in Ubuntu). If this is your own software, check out the Ubuntu Packaging Guide for help on how to properly put stuff into Ubuntu.

If you must do it anyway, put the binary in /opt/myapp and link the executable with ln -s /opt/myapp/myappbinary /usr/local/bin/myappbinary. If you want to know more on the topic type man hier in a terminal. The difference between /usr/bin and /usr/local/bin is explained there. In any case both paths are in the $PATH environment variable. That means any binary you put there will be executable by anyone just giving the name of the binary (and not the full path). So using the above example you can run your program with myappbinary instead of having to give the full path /opt/myapp/myappbinary.


What files should be on an Ubuntu installation DVD?

Boot from the DVD that contains the Ubuntu 18.04 .iso image (ubuntu-18.04-desktop-amd64.iso) burned on it with a CD/DVD burner. For more information about how to burn an Ubuntu installation DVD on Ubuntu read How to burn an Ubuntu ISO image on a DVD on Ubuntu?.

contents of the Ubuntu 18.04 .iso image in Archive Manager

Ubuntu 10.04 CD from Canonical


How do I view packages that I have installed

From the Ubuntu Software Center :

Go to the Installed Tab:

You can also view all the software that you installed from the software  Center by going to the History Tab:


Web sites see my firefox as a mobile browser

That particular site does the same for me in default Firefox on Ubuntu 10.10.

The problem is with particular websites, not with Ubuntu. It's possible they are somehow deciding you are probably using Android or something similar.

I'd suggest contacting the website owner.

Alternatively you could install the user agent switcher Firefox add-on to pretend you are using a different browser/operating system and fool the website.


How to move windows between workspaces using the mouse?

You can always right-click the title bar of a window and select one of the following options.
Move to Workspace Right

This will move the window to the workspace on the right.
Move to Workspace Left

This will move it to the workspace on the left. In my case, it is down due to Unity's workspace setup.
In Unity (from 11.04 to 17.04)
Select "Move to Another Workspace"...
...and select the workspace you want the window to switch to

This will move it to the selected workspace.
Invoking the Expose mode

Clicking on the Workspace Switcher icon in the launcher

Hitting Super + S

Now you only have to drag the window to the desired workspace.


Bumblebee daemon dont start on Ubuntu 13.04 with T530

Try to run the following command in terminal:

sudo service bumblebeed restart.

It should start the bumblebee daemon if it has not already been started. After that, try to run the optirun command again.


"Could not apply the stored configuration for monitors" ERROR

Just hit the ESC key when the system boots. If there are multiple errors. Keep doing that till they all vanish.


Ubuntu 19.10 on VirtualBox icon overlapping

Yep, the VMSVGA is the cause (default graphics controller on VirtualBox 6.0), tried switching to VBoxSVGA and it stops glitching. 18.04 has no problem with any 3 of those graphics controllers.

Source


Transmission "downloading 0 from 0 peers"

I'd suggest that you change torrent.

From how you describe the problem, to me it seems that none of the peers you can connect to have the whole 100% file.

You can check it via right click > Properties > Nodes and order them by percentage, like in this picture


The three files you have there are each meant for different uses.

/etc/php/5.6/cli/php.ini is for the CLI PHP program, which you found by running php on the terminal.

/etc/php/5.6/cgi/php.ini is for the php-cgi system which isn't specifically used in this setup.

/etc/php/5.6/apache2/php.ini is for the PHP plugin used by Apache.  This is the one you need to edit for changes to be applied for your Apache setup which utilizes the in-built PHP module to Apache.

/etc/php/5.6/fpm/php.ini is for the php5-fpm processor, which is a fastcgi-compatible 'wrapper' for PHP processing (such as to hand off from NGINX to php5-fpm) and runs as a standalone process on the system (unlike the Apache PHP plugin)

  For versions of Ubuntu lower than 16.04, /etc/php/5.6/,/etc/php/7.0/,/etc/php/7.1/, and so on, are replaced by /etc/php5/ and so on. Otherwise, these paths remain accurate.  Adapt this accordingly for your environment, replacing the 5.6 or number with the actual version folder that exists on your environment.


Based on David Foerster's answer, I moved forward.  I was able to successfully migrate the RAID volume.  One detail that complicated the move was that I had the RAID array as part of the LVM Group.  So once I had the new system re-built, the RAID array was recognized, but I was unable to mount any of the LVMs.

I ended up having to use vgexport/vgimport to export and import the volume group.  It is a good thing I was installing to a new OS Disk, meaning I still had my old OS disk, which allowed me to revert back and properly export LVMs.  The procedure I followed is here on tldp.org(except this is missing the deactivation and reactivation of logical volumes).

My original configuration was:

2x3TB Disks in Linux RAID1 with a single Ext4 partition for file storage data (no OS).
3TB RAID array added as the sole device within volume:  /dev/NASRaid1/NAS_LVM
/dev/NASRaid1/NAS_LVM mounted to filesystem as /nfs

Steps taken to export and import the volume were:

Unmount filesystem(s):  unmount /nfs
(I also had an export mirror for a Samba share that I had to un-mount as well)
Deactivate logical volume(s):  lvchange -an /dev/NASRaid1/NAS_LVM
Deactivate volume group:  vgchange -an NASRaid1
Export the volume group:  vgexport NASRaid1
Add RAID Array to new system and boot up.  Running pvscan lists the exported volume group(s).
Import the volume group:  vgimport NASRaid1
Activate the volume group:  vgchange -ay NASRaid1
Activate the volume(s):  lvchange -ay /dev/NASRaid1/NAS_LVM
Mount the filesystem(s):  mkdir -p /nfs; mount /dev/NASRaid1/NAS_LVM /nfs

Worked like a charm.


Move USB Stick Booted from to Another USB Port after Boot

I also have a PC that cannot boot from USB3. What I did was installed the Grub and /Boot to a USB2 Stick and then the rest of Ubuntu to an USB3 stick. By boot I press the F12 key for choosing to boot from the USB2 stick and from the boot menu there choosing any other installed system including Ubuntu. I sure hope this helps.


Plasma 5.8 from backports: can't type into authentication dialogues!

Workaround 1:

Go to Application Launcher (Start Menu) -> Applications -> Settings -> Set Keyboard Input Method. Then, a message will come up: 'Current configuration for the input method: ...'.
Select OK. Then, a new message will come up: 'Do you explicitly select the user configuration? ...'.
Select Yes. Then, a list will come up.
Select 'default' - 'use cjkv mode set by /etc/default/im-config'. Then, a new message will come up: 'Setting the user configuration /home/user/.xinputrc to xim. ...'.
Select OK.
Restart KDE session (log-out and then log-in to KDE).

Workaround 2:

Go to Application Launcher (Start Menu) -> Applications -> Settings -> Set IBus Preferences. Then, a message will come up: 'Keyboard Input Methods (IBus Daemon) is not running. Do you wish to start it?'
Select Yes. Then, a new message will come up: 'IBus has been started! ...'.
Select OK.

If workaround-2 works for you, then, you will have to repeat it, in every KDE session (after every log-in to KDE). So, workaround-2 is not permanent.


You can use an application called touchpad-indicator to enable aqnd disable the touchpad on laptops where t he function key has stopped working. Open a terminal (Ctrl + Alt+ T) and type the following commands:

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator

Then run the program by opening up the unity dash and searching for "touchpad". You can then enable and disable the touchpad from the icon in your notification area or set a keyboard shortcut to enable and disable the touchpad:

Hope that helps!


When you download the file, you can choose "Open with: 'choose'", where you have to select the executable file. It is in /usr/bin/transmission-gtk.
In the File Dialog, I think you have to click on "Filesystem" to get to the root folder (/)


There should be no need to set DISPLAY manually:

On the client check for ForwardX11 yes in ~/.ssh/config or use ssh -x.
On the server X11Forwarding yes must specified in /etc/ssh/sshd_config
The xauth program must be installed on the server side.

References:
How to forward X over SSH to run graphics applications remotely?


Those warnings are directed to the stderr stream, as opposed to the standard out file descriptor.  You can silence the stderr output by adding 2>/dev/null to the end of your command.


HP Deskjet 3055a recognised on the network but not printing 14.04 LTS

I suggest you delete any previous configurations. Then set up the printer manually using the Internet Printing Protocol (ipp). I suggest you use the URI of:

ipp://192.168.1.107:631/lpr

Click 'Apply' and follow the process to select HP and then Deskjet 3055a. Save and print a test page.


how to change kde plasma country flags icon?

Finally i found the answer. The correct path to replace new icon is /usr/share/kf5/locale/countries/ir/.


Everything freezes when enabling monitor mode

I think it maybe due to network manager fighting for the  device ,  you need to set interface to  non managed mode
Edited : First part un-necessary

Type in sudo /etc/NetworkManager/NetworkManager.conf and find the option managed=true , change it to managed=false
restart network manager using systemctl restart NetworkManager or reboot pc

Note: You will need to  manually configure your network ip address , try using nmcli for that (from memory)


How can I switch between Unity and GNOME (or recovery console) from serial-console

You will probably need to restart the display manager:

# sudo restart lightdm

You can also change virtual terminals using chvt, so if you're on the recovery console (VT1) and X is running on VT7 then the following might help:

# chvt 7


ATI Radeon HD 3200 very slow performance

As I also have found out (4850 here), you can't via any method install fglrx-legacy on stock ubuntu 12.10, even if you use catalyst 12.6 which supports our cards, because the x server that 12.10 uses (1.13) is not supported by catalyst 12.6 or older.

However, this is somewhat of a solution, that I can confirm works on my machine:
http://www.ubuntuvibes.com/2012/10/how-to-install-amd-catalyst-legacy.html

Just follow that (well, uninstall any fglrx you have installed now first), and you should have a better experience.

I should note, you will be downgrading your x server to version 1.12, and these packages are not supported by ubuntu, but this is the closest to a "solution" as can possibly exist at this time.


Then modified /etc/fstab to tell the box to boot the CSR .iso upon startup.

No, that doesn't boot it, it just tells the OS to mount to .iso image on /mnt/tmp.

If the image runs on KVM, you should look into running it with qemu. Note that nested virtualization is not supported by most cloud computing environments, so you may be limited to software emulation.


How to install VLC from the Ubuntu Software Center

As a workaround you could open Terminal and write: sudo apt-get install vlc and enter your password.


Maverick is no longer supported. Remove references to maverick repositories from /etc/apt/sources.list and from files in /etc/apt/sources.list.d/. Make sure that you still have references to quantal. After editing these files, run sudo apt-get update.


How to download, modify, build and install a Debian source package?

There's basically two ways to do it, the first one is the classic form, you'll get the source with:

Classic

 $ apt-get source package

Then you'll be able to modify it:

 $ cd package
 $ vim some_file

Rebuild it:

$ sudo apt-get build-dep package
$ dch -i (which will open your editor to edit the changefile, here's where you can increment the package version)

$ debuild -us -uc -b

And install it:

$ sudo dpkg -i ../package.deb

New Ubuntu Approach

The new way (the Ubuntu way) is by using bzr branches, you'll get the code by using:

$ bzr branch lp:ubuntu/package #which will download the latest ubuntu package (the precise one)

$ bzr branch lp:ubuntu/oneiric/package #to get the package in oneiric

You can also get the code using:

$ pull-lp-source package #lp-source is part of the ubuntu-dev-tools pkg

pull-lp-source used to be called just lp-source in older versions.

Then you'll be able to edit it:

$ cd package
$ vim some_file

Rebuild it:

$ dch -i
$ debcommit
$ bzr bd -- -b -us -uc

And install it:

$ sudo dpkg -i ../package.deb

I recommend that you check the Ubuntu packaging guide out to know the details.

Also you might enconter problems if the package depends of others


Check if maybe those cameras export a Samba (CIFS) mount. If they do, it should be easy to simply mount them on your Ubuntu machine and play the videos from there with vlc or whatever video player you like best (IMHO vlc is the best).


How to install Windows 8 next to Ubuntu?

You shouldn’t have any issues, the issues occur when you have to dual boot an EXISTING Windows 8 OS and older Ubuntu versions. But if you are using 15.04 and you are installing Windows 8 after that there really should not be any issues or special procedures that you have to follow. You just may want to make a Ubuntu Livecd/flashdive and a boot repair cd/usb to have as a failsafe to fix any booting issues after installs.


Ubuntu 18.04 network adapter lost settings

I had a similar issue: /etc/network/interfaces lost my ens160.
So I added the following to /etc/network/interfaces:

auto ens160
   iface ens160 inet dhcp

I also lost the info in /etc/netplan/01-network-admin.yaml and added:

ethernets:
  ens160:
     dhcp:  true

Once I got that all setup, I was able to restart with...

systemctl restart networking

...and the interface came back up.


Got "Dropbox access is not authorized. Error message: v1_retired" in KDE Cloud Storage Manager - what to do?

Seems to be expected behavior, because of API v1 shutdown:

As previously announced, API v1 is being retired on Thursday, September 28th, 2017.
On this date, API v1 endpoints will return a 400 error with this message:
{“error”: “v1_retired”}. This means any integrations or applications still relying on API v1 endpoints may stop working.

So I reported bug 1762408 to LaunchPad.


How to crop a multi-page (image/scanned) pdf file (which won't crop with pdfcrop)?

You could try briss. It's pretty simple, but does the job. It's a GUI app though.

Download the zip file and extract to a folder of your choice and start it:

java -jar briss-0.9.jar

To install it permanently and system-wide and be able to start it from anywhere with just briss, you would unpack the download in /usr/local/lib/, then create an executable file /usr/local/bin/briss that contains:

#!/bin/sh
java -jar /usr/local/lib/briss-0.9/briss-0.9.jar


Does Unity generally perform better with proprietary Nvidia drivers?

Generally it is a smoother experience (depending on which Nvidia card you have) although the Nouveau driver is definitely improving.

Have you/are you willing to try unity-2d?  It should run much more smoothly for you


Change color of Applet context menu font or background

I found a fix so I thought I'd share it here in case someone stumbles upon this with the same issue.

I installed gtk-theme-config and changed the options under "Custom menu colors" to:

Menu background: dark grey
Meun text: white

http://i.imgur.com/2dX9n09.jpg

sudo add-apt-repository ppa:shimmerproject/ppa
sudo apt-get update
sudo apt-get install gtk-theme-config


To resolve Avahi hostnames, other computers should have libnss-mdns installed.

Another option, if you are the network administrator is to distribute a private DNS address by DHCP (I your computers are configured by DHCP). For a small network, dnsmasq is good combined package (DNS+DHCP). It allows you to serve simply your /etc/hosts to the network.


"Device Communication error (5012)" - HP printer

This is what I did to solve it.

Installed fresh install from Ubuntu 17.10:
sudo do-release-upgrade -d

Removed all references (so far I knew to find them) from /etc/cups
basically sudo-ed and cleaned the entire folder out.

auto-removed hplip-gui
sudo apt remove --auto-remove hplip-gui

Somewhere here I was asked to partially update Ubuntu, which afterwards showed that it became a development version of 18.04. Unfortunately I'm not sure if that was induced or just happened, and also don't know it that matters or how to find out.

auto-removed hplip
sudo apt remove --auto-remove hplip

Downloaded hplip-3.17.11 from the HP website.

Installed hplip-3.17.11 following the installation notes from HP website.

Paid special attention to the installation notes at the beginning of the installation and followed them as such.
8a. Software & Updates: Made sure it was on main-server.
8b. Locked the CD-ROM by:
eject -i 1

Installed hplip-3.17.11
cd Desktop
sudo sh hplip-3.17.11.run

There were no dependency problems at all!

Installed printer during install via GUI.

The printer seems to be properly set -up, no communication error 5012,
via wifi, just still not found by xsane.
Update: I get an unsupported platform warning when running hp-doctor
and an HPLIP error: Unable to communicate with device (code=12)


RabbitVCS integrates Git into Nautilus. It is available for Ubuntu from a PPA.

See this answer: https://askubuntu.com/a/14529/42348

Maybe this helps you. I have not tried to up to now.


I recently got a 128GB SanDisk USB Fit flash drive for the exact same purpose. I gave 3GB to swap and the rest went to root. Even though my laptop, comes with 8GB my ram usage is sitting at about 3GB right now but this is most likely because I'm running Google Chrome with several tabs open. I would definitely recommend a minimum of 2GB of swap for your setup though.


BeagleBoard xM with ubuntu 12.04 and opencv slow with face detection

Run fewer services - do service --status-all, (or ps -ef) and, for each running service:

Determine what the service does - search Ubuntu manpages here, and decide if it is needed for your use of the system. For example, apache2 is probably not needed (YMMV)
For each service you decide you don't need, you can stop it one time via sudo service servicename stop. If your system still works, consider stopping the service permanently, which begins with finding out how and where the service is started with grep -l servicename /etc/init/* /etc/init.d/* /etc/rc.local

Use top (and man top) to find out what is competing for your resources.

Read  info coreutils 'nice invocation', man nice, man renice to see how to run processes with higher priority (less niceness).

Find less resource-intensive ways of performing your task.


I (stupidly) left my laptop logged in, can I find out what was done while I wasn't there?

The stat command will show you the latest time a file was accessed. The find command can tell you which files were accessed in a certain time span. For instance:

find ~ -amin -210 -amin +60

will list all files under your $HOME that have been accessed between 60 and 210 minutes ago. Use -cmin to locate files which have been modified. That should get you started. However you may be better off concentrating on your coursework.


Make a symlink. Assuming you want the shortcut in the same directory, open a terminal, cd to the directory where jade.snippets lives and:

ln -s jade.snippets pug.snippets

Now if you have a program that looks for pug.snippets it will find jade.snippets. If you call a text editor to write to pug.snippets (eg nano pug.snippets), you will actually be editing jade.snippets.

Your symlink looks something like:

$ ls -l
lrwxrwxrwx 1 you you 10 Aug 7 pug.snippets -> jade.snippets

N.B. If you delete the symlink, the original file will not be affected, but if you delete the original file or move it, the symlink will be broken - it's just a name and location and text string pointing to the location of the regular file.


Can I install Ubuntu on a system that does not currently have an operating system?

Simple answer yes.

Obviously you'll need some way to download the iso image and burn it to CD/DVD or stick it on a  memory stick.


Nvidia - The EDID for CNDLCD (DFP-1) contradicts itself

It sounds like the EDID information being returned by your TV monitor is invalid. You should check the resolutions listed in its manual.

You should be able to define modes as listed in your monitor's manual. Put these in an /etc/X11/xorg.conf file and also add Option "UseEDID" "False"

A vertical refresh rate of 50Hz does seem slow; I'd particularly double check the bit frequency being specified by the monitor's EDID.


Downside of unlimited core size? Where do core files go?

Unlimited core dumps are not advisable in most situations, but are technically fine. A core dump only has "all the memory" the current process has. So at most it can only be as big as your ram + swap. Hopefully you have more free space then that.

In real life they should be "small-ish" compared to total ram + swap.

The file "should" end up in "the current directory". For upstart tasks that don't chdir that's usually /. If they do change directory then your on your own to hunt them down. You can however hard code a path for them.

You should be able to should be able to check /proc/sys/kernel/core_pattern for the "pattern". If you set the pattern to something like echo "/var/log/core" > /proc/sys/kernel/core_pattern then all your cores should end up in /var/log


The Ubuntu disc images (.ISO files) are meant to be burned to an external media, like a DVD or USB drive, not as a recovery image on a hard drive. The Ubuntu disc image is installation/testing media for Ubuntu, and is not meant to be burned to a recovery partition on a hard drive.

If you're trying to install Ubuntu, then burn the ISO image to a DVD with the following steps:

Insert the blank DVD
Start the Disk Utility application
Go to File --> Open Disk Image, then locate the ISO file on your hard drive
There will be an item representing the ISO image in the volumes list. Select the ISO image
Click Burn and follow the on screen instructions

Alternatively, if you prefer to use a USB drive as the installation media, the steps are a little more complicated, but are described in detail on Ubuntu's website here.


With credits to https://stackoverflow.com/questions/10220531/how-to-set-system-wide-umask, edit the file /etc/login.defs and set your desired umask value. By default, the line reads

UMASK       022

This is because Ubuntu uses PAM ((Pluggable Authentication Modules for Linux) to set the umask. PAM is a system that provides support for dynamic authentication.

Nothing else at the system level can override the settings applied through PAM. However, users always can set their own umask value if they wish.


Nvidia Optimus on 20.04: switching to Intel GPU works on Ubuntu Mate, but not on Ubuntu Gnome

I have an old Alienware 11Mx3 with Optimus on Nvidia 310. It is running awesome on Nvidia 345.21. I can switch smoothly back and forth... My trick is to install opting out of "third party drivers and ...". That gives me a closed-driver clean installation.

From there and after logging in, I update, upgrade and without rebooting perform the installation of the nvidia-driver-435. After rebooting, it all works.

It all works out nice and believe me I had lost all hope for Optimus. Before, my Alienware was collecting dust in its bag... now it goes with me everywhere. I am running Ubuntu Budgie 20.04 LTS and it's buttery smooth in Intel & Nvidia mode...


How will it be used? By Windows PCs? Or Linux users on the Ubuntu system? There is a lot of information about samba online. Check out the Quick Start Guide.


To use gtk2 or gtk3 apps you don't need to install anything. But, if you want to develop (or even just compile) apps this is what you're looking for:

sudo apt-get install libgtk-3-dev


how to find hard drive brand name or model?

Ubuntu comes with UDisks2 library, which provides udisks daemon and couple command-line tools to query disk information and otherwise manipulate the drives. In particular, udisksctl status command is useful if you want to find out the information without root privileges locally.

$ udisksctl  status
MODEL                     REVISION  SERIAL               DEVICE
--------------------------------------------------------------------------
CHN 25SATA01M 030         P0527A    30CG09180078         sda
Radeon R7                 1.01      A22MD061520000172    sdb

Udisk2 provides D-Bus interface, so if you ever want to use that in your own scripts or applications - it's possible. An example of that would be my own  disk usage indicator.

Another way is via udevadm management utility for udev subsystem.

$ udevadm info --query=all --name=/dev/sda1 | grep 'ID_MODEL='
E: ID_MODEL=CHN_25SATA01M_030

Alternative and indirect way is to identify the filesystem stored on the drive by UUID:

$ lsblk -o NAME,UUID
NAME   UUID
sda
└─sda1 8e73e463-fef8-4119-b826-00e74eb4192c
sdb
└─sdb1 86df21bf-d95f-435c-9292-273bdbcba056

$ sudo blkid /dev/sda1
[sudo] password for user:
/dev/sda1: UUID="8e73e463-fef8-4119-b826-00e74eb4192c" TYPE="ext4" PARTUUID="73e878a1-01"

Other methods that contain such info:

sudo parted -l
cat /sys/block/sda/device/model


How to remove GNOME shell leftover from unity desktop?

i got something but i don't know if it's gone to work or not so follow me

First =>

open your terminal and type the following command

  sudo apt-get purge ubuntu-gnome-desktop

  sudo apt-get remove gnome-desktop

  sudo apt-get autoremove

  unity --replace

  sudo apt-get install --reinstall ubuntu-desktop

restart your computer and replay if it's work or not

another solution :

Uninstall just ubuntu-gnome-desktop

  sudo apt-get remove ubuntu-gnome-desktop

  sudo apt-get remove gnome-shell

This will remove just the ubuntu-gnome-desktop package itself.

Uninstall ubuntu-gnome-desktop and it's dependencies

  sudo apt-get remove --auto-remove ubuntu-gnome-desktop

This will remove the ubuntu-gnome-desktop package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for ubuntu-gnome-desktop then this will work.

Caution! Purged config/data can not be restored by reinstalling the package.

  sudo apt-get purge ubuntu-gnome-desktop

Or similarly, like this ubuntu-gnome-desktop

  sudo apt-get purge --auto-remove ubuntu-gnome-desktop

Then run:

  sudo apt-get autoremove

to remove extra packages and dependencies no longer needed on your system.

You might (or might not, depending on if gdm was removed already) need to use these commands to change your login screen back to Unity's default (which is lightDM) run

  sudo dpkg-reconfigure gdm

Hit enter at the prompt and then select lightdm from the options. After that you can remove gdm with

  sudo apt-get remove gdm

Finally run:

  sudo apt-get install ubuntu-desktop

  sudo apt-get install unity

INFO HERE And HERE


Packages (like postfix) may install or generate configuration files (files that usually go in the /etc folder). During this process, there may be options that can be changed by the user. On installation, you are usually asked to set these options. In the case of postfix, it involves what type of server you're running, the hostname, and allowed IP addresses (among other things).

If you wanted to change those options afterwards, though, you can use dpkg-reconfigure which only goes through the configuration files phase of the package, where you can change those options.

Note that not all packages have user-configurable options, so even if a package installs a configuration file in /etc, dpkg-reconfigure might not do anything.


Try the following command on the terminal windows (CTRL+ALT+T)

export LANG=es_ES.ISO-8859-1
export LANGUAGE=es_ES:en
export LC_CTYPE=es_ES.ISO-8859-1
export LC_NUMERIC=es_ES.ISO-8859-1
export LC_TIME=es_ES.ISO-8859-1
export LC_COLLATE=es_ES.ISO-8859-1
export LC_MONETARY=es_ES.ISO-8859-1
export LC_MESSAGES=es_ES.ISO-8859-1
export LC_PAPER=es_ES.ISO-8859-1
export LC_NAME=es_ES.ISO-8859-1
export LC_ADDRESS=es_ES.ISO-8859-1
export LC_TELEPHONE=es_ES.ISO-8859-1
export LC_MEASUREMENT=es_ES.ISO-8859-1
export LC_IDENTIFICATION=es_ES.ISO-8859-1
export LC_ALL=

sudo update-locale LANG=es_ES.ISO-8859-1


Startup commands with zsh as default shell?

I don't believe you have to worry about this, if this is a before-GUI-loads script, or before-logins-are-accepted script that needs to run, as long as you define what it is in the beginning of the script file.

If this is going into rc.local then I don't believe you need to be concerned about Bash vs. ZSH.  However, if this is going to load for each login shell, then you do partly need to be concerned about whether ZSH runs it or some other shell language runs it.


Why is Nautilus listing so slow when showing thumbnails?

Perhaps you can try turning off thumbnail rendering as a workaround: in Nautilus go to Edit>Preferences>Preview, and try turning a few of those options off.

I asked a similar question in the Inkscape user forum, and got this answer:

AFAIK the library used by Nautilus to render the preview thumbnails for SVG files (librsvg) supports fewer SVG features than Inkscape, and chokes on certain filter effects and linked images (IIRC of type 'jpeg' or 'tiff'), and possibly other items too.
See also: Bug #305546 in librsvg (Ubuntu): “Nautilus crashing/freezing when opening folder with svg file”.
Nothing Inkscape can do about that-> needs to be addressed in Nautilus (don't freeze) and librsvg (handle failures to render certain SVG files more graciously).

The bug report is here: https://bugs.launchpad.net/ubuntu/+source/librsvg/+bug/305546. Does that sound familiar?


Problem in installing security updates and recommended updates using update manager

Looks like there was a problem with your package manager, there is a description of all the steps to solve this on launchpad.net.

Follow those and you should have a working system.


How to increase left click area in Ubuntu 17.10?

I don't know how to do exactly what you're asking, but what I ended up doing is (trying to) disable the middle button on my trackpad entirely: Disabling middle mouse button

I just made a script which runs xinput set-button-map $id 1 0 3 where $id is an id displayed by xinput list for the trackpad devices.  The three numbers assign button identifiers for the left, middle and right physical buttons.  (So you could disable right button by changing 3 to 0, reverse them with 3 2 1, etc.)  I have yet to find any instructions on doing this in a config file somewhere.  Ideally this would be in the Mouse control panel for Ubuntu or at the very least in gnome-tweak-tool or something.

Oddly this disables middle clicking in firefox (the chief annoyance -- closing tabs and opening links in new tabs by accident) but still pastes in terminals.  So not sure yet if this really works or if terminal and other applications are using some other event to interpret as paste.   I will probably also go vote on any Firefox feature requests to add configuration options to disable tab closing and other middle-click actions.


How do you fix file permissions for root directory?

here is a basic idea I hope you are looking for. I think most file system have permission of 755 for folders and 644 for files except for /bin which has executable files with root as owner.


How do I increase the space in Filesystem Root partition?

Make sure that you have a good backup of your important Ubuntu files, as this procedure can corrupt or lose data.

Keep these things in mind:

always start the entire procedure with issuing a swapoff on any mounted swap partitions, and end the entire procedure with issuing a swapon on that same swap partition
a move is done by pointing the mouse pointer at the center of a partition and dragging it left/right with the hand cursor
a resize is done by dragging the left/right side of a partition to the left/right with the directional arrow cursor
if any partition can't be moved/resized graphically, you may have to manually enter the specific required numeric data (don't do this unless I instruct you to)
you begin any move/resize by right-clicking on the partition in the lower pane of the main window, and selecting the desired action from the popup menu, then finishing that action in the new move/resize window

Do the following...

Copy any last minute "few important images and documents" from sda6 to sda3 (as we'll delete sda6 (Elementary OS) later)

Note: if the procedure doesn't work exactly as I outline, STOP immediately and DO NOT continue.

boot to a Ubuntu Live DVD/USB
start gparted
delete /dev/sda6 partition (this will remove Elementary OS)
resize the right side of /dev/sda8 /dev/sda7 and add ~40G to /dev/sda8 /dev/sda7

this leaves about 20G unallocated, which will get added to /dev/sda6 later

move /dev/sda8 /dev/sda7 partition all the way to the right
resize the right side /dev/sda7 /dev/sda6 all the way to the right

this adds about 20G to the /

click the Apply icon
reboot # reboot the computer
sudo update-grub # update GRUB since the /dev/sda6 deletion

Update #1:

After deleting /dev/sda6, gparted has renumbered partitions, and then /dev/sda7 became /dev/sda6, and /dev/sda8 became /dev/sda7. Follow the same instructions, substituting the new partition numbers.

Update #2:

Boot to Ubuntu Live DVD/USB again. Start terminal and type:

sudo fsck -f /dev/sda6
sudo fsck -f /dev/sda7
give me a new screenshot of gparted

Update #3:

sudo umount /dev/sda2 # unmount this partition

sudo ntfsfix -d /dev/sda2 # try to fix ntfs partition

Update #4:

If you don't have Users and Groups application already installed, install it this way...

sudo apt-get update

sudo apt-get install gnome-system-tools

Show me the advanced settings for your account. Upload a screenshot to imgur.com and give me the URL.

Create a new Administrative user named "Administrator". Log out of your current user and test the login for Administrator account.

Upload a copy of /etc/fstab to paste.ubuntu.com and give me the URL.


Random striped lines on my screen (Intel 82Q35 GPU)

Looks like bug #1393205 -
Intel q35 bug on Ubuntu 14.04 (Screen Artifacts) which is fixed by upgrading to a later kernel (3.19 or later). Make sure you have latest drivers installed as well (sudo apt-get update && sudo apt-get dist-upgrade).


escaping Function keys for terminal applications

The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.

This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop

I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.


Get super (windows) key working again on Kubuntu 18.04

Just figured out. Setting the shortcut to Alt+F1 for the application menu automatically enables the super key as a shortcut for it.


How do I set a static DNS nameserver address on Ubuntu Server?

1: Resolvconf writes its dynamic resolv.conf file at /run/resolvconf/resolv.conf. /etc/resolv.conf is a symbolic link to the latter location. If you want to use a static resolv.conf file, simply replace the /etc/resolv.conf symbolic link with a file. This is currently supported but not recommended.

2: As I understand it, the affected machine is running Ubuntu Server edition. In that case it configures interfaces using the ifup program whose configuration file is /etc/network/interfaces. For interfaces configured via the dhcp method, ifup (normally) uses dhclient from the isc-dhcp-client package. Dhclient receives nameserver information from the DHCP server and its hook script /etc/dhcp/dhclient-enter-hooks.d/resolvconf sends this information to resolvconf which puts it into resolv.conf.

One thing you can do is edit /etc/resolvconf/interface-order such that eth0.dhcp comes before eth0.dhclient. (I assume that the relevant interface is eth0.) If you have the default interface-order you can, for example, just add a line eth0.dhcp before the line eth*.

--- interface-order_ORIG    2012-11-06 10:12:47.630529145 +0100
+++ interface-order 2012-11-06 10:13:16.410529800 +0100
@@ -9,6 +9,7 @@
 hso*
 em+([0-9])?(_+([0-9]))*
 p+([0-9])p+([0-9])?(_+([0-9]))*
+eth0.dhcp
 eth*
 ath*
 wlan*

Then add a dns-nameservers line to the iface eth0 stanza in /etc/network/interfaces with the correct nameserver address.

iface eth0 inet dhcp
    dns-nameservers 1.2.3.4

Because eth0.dhcp comes before eth0.dhclient, the correct nameserver address will be included in resolv.conf before the incorrect one.

Another way to override the unwanted behavior of including the DHCP-server-provided nameserver address is to edit the dhclient hook script. E.g., you can add a line like the following (where 1.2.3.4 is a nameserver address you would like to discard).

--- resolvconf_ORIG 2012-03-29 22:37:14.000000000 +0200
+++ resolvconf  2012-11-05 20:53:33.312681077 +0100
@@ -54,6 +54,7 @@
            fi
            shopt -s nocasematch
            for nameserver in $new_dhcp6_name_servers ; do
+               [ "$nameserver" = "1.2.3.4" ] && continue

Yet another possibility (a slightly crude one, since it's completely static) is to add a nameserver option to /etc/resolvconf/resolv.conf.d/head.

3: Setting DNS nameserver addresses has gotten more complicated because machines are becoming mobile, are getting more and more interfaces and static configuration is gradually being replaced by autoconfiguration.


How do I fix this key signing issue with NeuroScience Debian?

you could also just fetch the key from the neurodebian website directly... see http://neuro.debian.net/faq.html  "What means “The following signatures couldn’t be verified...”?"


(EAI 2)Name or service not known: AH00549: Failed to resolve server name for xxx.xxx.xxx.xxx (check DNS)

Looks like apache cannot determine you hosts "name" from your local DNS server, it uses the IP address of your server (192.168.1.12) to do a reverse lookup to get the name.  If your DNS server doesn't respond then you get this warning.
The apache config file does allow you to set the server name to a hardcoded value.  The config files are well commented and the ServerName option is near to the top.  mine is in /etc/apache2/apache2.conf in the section Global Configuration.


Desktop Display shows as laptop and resolution mismatch with monitor

my.friend.
first login by recovery mode or nomodeset ( is best ) .
nomodeset :
after see grub press shift key or e key . find quiet splash and write nomodeset , after or befor quiet splash . dont forget space between. press f10 or ctrl+x to login .
after login you first install linux-source and linux-header :

sudo apt-get install linux-headers

sudo apt-get install linux-source .

after it install good driver to fix . test it from additional driver .


ApacheOpenOffice won't allow me to save to flash drive or network

Go up all the way (to /)

Open media/<USERNAME>/<DEVICENAME> then save it.

The same applies to Libre Office


The hard way (if nothing else works): There should be a little hole in front of the drive. Just big enough for a needle. If you take a paperclip and unfold it you can press it in that hole - but keep straight. And the DVD should pop out.


constantly receives an error about flashplugin-installer

sudo rm /var/lib/update-notifier/user.d/data-downloads-failed

fixed on 14.04


Which file managers support Dropbox status icons?

To get Dropbox icons on Caja file manager (fork of Nautilus) you have to install caja-dropbox package:

sudo add-apt-repository multiverse
sudo apt-get install caja-dropbox

Then logout (or reboot) and login back.
As the result you will get icons in Caja and Dropbox icon on GNOME or MATE panel.
See screenshot below from Ubuntu MATE:

To get Dropbox icons on Nautilus you have to install nautilus-dropbox package:

sudo add-apt-repository multiverse
sudo apt-get install nautilus-dropbox

Then logout (or reboot) and login back.
As the result you will get icons in Nautilus and Dropbox icon on GNOME panel.
See screenshot below from GNOME FlashBack session:


Is there a way to configure Inkscape to use whole numbers in the interface rather than decimals for common properties?

You can try to configure Inkscape for saving no decimals whatsoever.

File > Inkscape Preferences > SVG Output
Numeric precision > set to 0


You're right, you'll have to follow the process to request a Backport:

  Backports must be approved by the Ubuntu Backporters team, but anybody
  can request a backport. As backports require testing before they can
  be approved, the backports team recommends that requesters of
  backports also test them when possible.

  Backports are requested by filing a bug against the appropriate
  backports project, as listed here. The Ubuntu Backporters team
  recommends using the requestbackport tool in the ubuntu-dev-tools
  package to file backport requests. This tool is aware of many
  conventions for backports and can walk you through most of the
  verification steps.

The detailed process is well explained here.


ubuntu doesn't boot after installing quadro drivers

sorry, I found out shortly after posting, thanks to this answer:
https://askubuntu.com/a/352099/16726

enter recovery mode (keep left shift pressed, after BIOS is loaded, or ctrl+alt+F1 from black screen and sudo su)
apt-get remove --purge nvidia*
shutdown -r now


I just went to Ubuntu Software Center, and installed Pdfshuffler.

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

sudo apt-get update && sudo apt-get upgrade

and try installing again fro USC.  Also try

sudo apt-get install pdfshuffler

And see if it works, and let me know.