Seagate 1tb external hard drive not working

So...

sudo lsblk -o name,mountpoint,label,size,fstype;sudo parted -l

Output -

NAME   MOUNTPOINT                  LABEL   SIZE FSTYPE
sda                                      465.8G
├─sda1 /boot/efi                           512M vfat
├─sda2 /                                 461.4G ext4
└─sda3 [SWAP]                              3.9G swap
sdb                                      931.5G
└─sdb1 /media/dee/128496546C7DF0E8       931.5G ntfs
sr0                                       1024M
Model: ATA TOSHIBA MQ01ABF0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  538MB  537MB   fat32                 boot
 2      538MB   496GB  495GB   ext4
 3      496GB   500GB  4182MB  linux-swap(v1)

Model: Seagate BUP Slim SL (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1000GB  1000GB  primary  ntfs         boot

It's working! In boot up I went to the recovery mode, I didn't really know what I was doing but updated grub and clean disk and when I rebooted it worked! Weird... anyway, thanks everyone. If anyone can offer any explanation of this, be interested to hear it.


WiFi module 8812AU not working with kernel version >= 4.4.0-28-generic

This package can be fixed by editing the dkms.conf files...

sudo -H gedit /usr/src/rtl8812au-4.3.8.12175.20140902+dfsg/dkms.conf

Then change line 4 from MAKE="'make' all" to MAKE="'make' all KVER=${kernelver}"

Save and exit the editor then do the same with:

sudo -H gedit /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/dkms.conf

As a similar problem was reported on Ubuntu Forums and my edits have worked for the last kernel update I got.

For your current kernel you should be able to:
dkms build rtl8812au/4.3.8.12175.20140902+dfsg -k $(uname -r)
dkms install rtl8812au/4.3.8.12175.20140902+dfsg -k $(uname -r)
Reboot


Same laptop and same problem here. It's a known issue in Raring and it's fixed in the package xserver-xorg-video-nouveau - version 1:1.0.8-0ubuntu1 (see comment #47 in the issue I linked). Unfortunately, the fix was included in Saucy (13.10), not in Raring (which uses 1:1.0.7). If you do upgrade to Saucy, the problem should be gone.


Can't click wifi connect button after upgrade to 15.04 from 14.10

I would like to add, that I was having the same issue and the resolution was checking "no CA certificate required" for a WPA2 Enterprise connection


How to reorder operating systems in GRUB?

The easiest way to customize the entries in GRUB's boot menu is to use the tool grub-customizer.

Install it using these commands:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Then you can run grub-customizer. In the List configuration tab you can easily rename and reorder all available entries.

More information about grub-customizer can be found at How do I customize the GRUB 2 menu?.


Why do free and lshw show different RAM sizes?

In both cases, the difference is probably the amount of system RAM that's shared to the built-in graphics adapter.  There is also some amount of RAM taken by the OS that doesn't show (it's usually a small amount, and varies depending on a number of factors, including kernel version and compiled-in drivers).  This RAM isn't shown by free because it's not available for the OS to use at any time, but lshw is examining the hardware information, not the BIOS/OS reported RAM figures.


Using burg to dualboot ubuntu 11.04 and fedora 15 from usb?

hmmm.... burg or grub2?  if you use burg then replace all the update-grub with update-burg.

keep your fedora 15 usb flash plugged in and mounted when you do a sudo update-grub from your hd ubuntu.  then don't update-grub when your flash drive isn't plugged in.

another way is to just boot from your usb flash using your bios options.  some bios uses F8 to choose which device to boot from.  Different bios use different keys, but once you learn which key to press, you can quickly boot into your usb flash drive when you want to boot from it.


Will installing ATIs drivers fix the choppiness of my ATi Mobility Radeon HD 4250?

You can remove the proprietary drivers on the same screen that you have installed them (under "Additional Drivers), just select the ones you are using now and click on 'deactivate' if you installed them using the "Aditional Drivers" application.

If you used the drivers downloaded from the ATI website there should be a /usr/share/fglrx/ati-uninstall.sh file, run it with sudo sh /usr/share/fglrx/ati-uninstall.sh and that should remove the ATI downloaded drivers.

About what driver to use, well, any of those will have the same effects, the choppiness comes from using compiz with 3d effects, that's not well handled either by Nvidia or ATI drivers (in most cases that is).

My advise is to use the fglrx driver but instead of the unity3d desktop use the unity2d desktop as default. After all do you really need to have special effects when your watching a movie? Does the 3d desktop make you feel better about yourself? Is it worth the choppiness? No, not really... Use the unity2d, its faster, does the same things, looks as good and its not choppy at all!


which storage scenario to choose with openstack? Ceph cluster, or SAN

Most OpenStack clusters out there have Ceph-backed storage along the lines of your original plan -- see the Foundation's user survey.

Using the SAN to back Ceph makes little sense: Ceph is designed to use cheap off-the-shelf servers with replication across them for resiliency (no RAID), while a SAN is designed to be reliable, replicates data across drives in RAID, and comes with a price tag to match. Laying one on top of the other is a strange match, and you lose the economics of using cheap servers for next-gen Ceph storage alongside your next-gen compute from OpenStack.

If you want (or have to) use the SAN in your design, I would go with your second option: use the SAN to serve Swift, and use a stand-alone Ceph cluster to serve block to Cinder, Glance and Nova.


Issues with metadata converting mp3->ogg

The userfriendly program soundconverter (Gnome Sound Converter) retains at least artist, title, album, comment and year(*) when converting to ogg.

The command line program sox retains at least artist, title, album and year(*), but apparently not comment.

sox xxx.mp3 xxx.ogg

(*) some programs may disagree if year is release time tag or recording time tag.


Scripts in /etc/pm/config.d|power.d|sleep.d are ignored under systemd. Instead a systemd "unit" (service) must be created and enabled.

To restart networking after the system resumes from sleep I created the file /lib/systemd/system/root-resume.service:

[Unit]
Description=Local system resume actions
After=suspend.target

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service

[Install]
WantedBy=suspend.target

Then I activated the service with sudo systemctl enable root-resume.service. Enabling the service creates a symbolic link for the file in /etc/systemd/system/suspend.target.wants/

Contrary to man systemd-sleep service files placed in /lib/systemd/system-sleep/ are ignored.


14.04.3 Login screen loop Graphic card failure

This answer worked for me!!
Did
chown username:username .Xauthority
and
sudo chmod a+wt /tmp

Unity issue seems to be resolved as well.


After some trial and error I figured out that the name property of my package.json file and the snap name I wanted to push to (violin-player) didn't match and therefore the .snap file was built incorrectly.

So changing

{
  "name": "violin",
  ...

to

{
  "name": "violin-player",
  ...

in my package.json file did the trick and pushing was successful.


Where are the root folder names coming from?

They're documented in the Filesystem Hierarchy Standard. You'll find short descriptions for each under the "Directory structure" heading in the Wikipedia article.


Restoring BackInTime snapshot to new computer - copy config and change host name hasn't worked

Copy&Paste from my answer on Launchpad:

Please use current BackInTime version from our PPA. I added a 'restore config' function in there. If BIT doesn't find a config it will ask if you would like to restore it. Than you just need to choose the snapshot from which you would like to restore and hit enter. Also the Auto Host/User/ProfileID setting is gone as this confuses everyone in your situation.

To use our PPA run:

sudo add-apt-repository ppa:bit-team/stable
sudo apt-get update
sudo apt-get upgrade

If you still can't see your snapshots, make sure the snapshot path is correct. Maybe your external drive is mounted in a different place than on your old machine!?

Disclaimer: I'm member of the BackInTime Dev-Team


Let's solve the problem. :-)

Before doing anything check the system requirements for Ubuntu x64. You can't upgrade directly to 64 bit from 32.

The safest and cleanest procedure is to do a backup of your personal data and, after that, a new installation of Ubuntu over the existing one. It will not harm or wear out your computer but be aware that the 64 bit versions are in some cases less stable and have different packages and (obviously) different bugs.

If you want to run a server there is Ubuntu Server, which is done specifically for that.

Follow my instructions to install Ubuntu 64 bit without losing your current software configuration:

In a terminal execute sudo dpkg --get-selections > ~/softwarelist.
Install the x64 Ubuntu over the existing one. If asked to preserve Home, say yes.
Execute sudo dpkg --set-selections < ~/softwarelist.
Execute sudo apt-get -f install. You will have some errors, but all should be fine.
Reboot.

This procedure is valid for the 12.04, it can change with older/newer versions.

Please, press the UP arrow if I'm usefull and mark as best answer if you solve.
Have a nice experience and comment down here for any issue, you'll be helped if possible.


There are some tools, which you can use instead of rm, but nothing can change fact, that files removed are gone. I always use ls before rm to check if all files should be removed.
Before using

rm ~/.cache/*

I will type:

ls ~/.cache/*


AWS EC2 Ubuntu 16.04.7 LTS Upgrade problems

I think the key point is E:Unable to correct problems, you have held broken packages---what is the output if you run apt-get -f install (no other arguments).
If you get no output, what is the output of apt-mark showhold? If there is any output from this second command, try to apt-mark unhold each package and then run apt-get update then apt-get dist-upgrade.


How can I make xrandr customization permanent?

Modify /etc/lightdm/lightdm.conf to add the following options:

display-setup-script > calls your mycustomloginvideo.sh before the login screen appears
session-setup-script > calls your mycustomdesktopvideo.sh before the user desktop session starts

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
# for your login screen, e.g. LightDM (Ubuntu 11.10) or GDM (11.04 or earlier)
display-setup-script=/usr/share/mycustomloginvideo.sh
# for your desktop session
session-setup-script=/usr/share/mycustomdesktopvideo.sh

You may have "arandr" GUI tool generate the above sh script, picking parameters from your current session's X configuration.

Make sure that your shell script is executable:

chmod a+x /usr/share/mycustom*video.sh

and you can test that it works (i.e. that you don't have any typos or configuration errors in your xrandr command) just by running it in a terminal:

/usr/share/mycustomdesktopvideo.sh

If the login script doesn't work for any reason, your machine might not complete the boot process to the login screen. If the desktop script fails, you might not get a desktop after logging in. If you are setting an external monitor, these scripts will fail when you disconnect it, and X session will not start.


You can download and install the Ubuntu Restricted Extras directly from the Ubuntu Software Center which provides support for most video and audio formats (mp3,avi,mpeg,Java Flash, TrueType,Codecs).


run:

sudo apt-get install emacs24

enter your password (as you type it, there's no feedback, I'm sure you remember ;)), press enter.

when its done

emacs your_filename.ext

should work just fine


Failing to install MongoDB on ubuntu 18.04

I did almost the exact same thing (mongodb on Ubuntu 18.04, following the Digital Ocean instructions), and it worked fine for me.
Try using apt instead of apt-get, and try installing mongodb and not mongodb-org:

apt update ; apt install mongodb

Which for me created the mongodb.service and NOT mongod.service (note the lack of "b" in the second).

techops$ systemctl status mongodb.service
* mongodb.service - An object/document-oriented database
   Loaded: loaded (/lib/systemd/system/mongodb.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-02-15 11:48:32 EST; 5h 9min ago
     Docs: man:mongod(1)
 Main PID: 4136 (mongod)
    Tasks: 23 (limit: 4665)
   CGroup: /system.slice/mongodb.service
           `-4136 /usr/bin/mongod --unixSocketPrefix=/run/mongodb --config /etc/mongodb.conf

Feb 15 11:48:32 techops systemd[1]: Started An object/document-oriented database.

Note that the service is called mongodb even though the executable is mongod.


Right click in network manager
click on "edit connections" then go to mobile broadband
Select existing connection, click on Edit
Now goto mobile broadband tab. Provide user name [user name is - internet@internet.mtsindia.in ] and password [password is - mts] if not given already.
Now try to connect, if same problem ouccures try the following
Next go to "PPP settings tab" , in authentication click in "configure methods". Check only "CHAPS"
Compression: Be sure the following are ticked: Allow BSD data compression, Allow Deflate data compression and Use TCP header compression

If the above settings doesn't work, try with other authentication method.

Alternatively you can use wvdial. Please comment here if the above method doesn't work. Accept this as an answer if it worked.


How To Install Openstack on Physical Servers

I was having the same problem, trying to install openstack using 5 servers.

It looks like a minimum of 6 servers are required to perform the installation (1 for MAAS, 1 for Juju, and 4 for the openstack cluster). You'll also need dedicated block devices on nodes meant to host Ceph storage. I've got this explanation from here.

I find this setup to be suboptimal because two of my servers are "wasted" running MAAS and Juju (instead of running business workload under Openstack). My small setup doesn't require to dedicate two full servers for this.

I managed to make additional progress by manually moving unallocated juju units onto additional LXD containers manually created on the existing servers. For this I used commands such as these (on the MAAS server) :

juju add-machine lxd:2 # this creates an additional LXD container on server #3
# output : created container 2/lxd/4
juju add-unit openstack-dashboard --to 2/lxd/4

Repeat the above for other unallocated units. This worked, but my setup was blocked on missing additional block devices for Ceph.

I ended up doing the following, for openstack deployment to succeed :

install MAAS and Juju on VMs, so that I can use all physical servers for Openstack
set up hardware and storage layout in MAAS when commissioning hosts to leave an unused /dev/sdb for Ceph to use.


Is this hardware configuration Ubuntu 10.04 compatible?

Nothing on that list of hardware should bring you problems running Ubuntu on.

Besides the rest of the hardware that should really not mater much, the graphics card is well supported in the latest nVidia drivers and the P67 chipset / Intel CPU are supported and should run without problems in any recent Linux distro.

Since the motherboard is running UEFI instead of a normal BIOS you probably will need to install the system with the alternate CD.

I am not sure how the support for UEFI motherboard's is in 11.10 but in 11.04 you needed a few extra tricks to make your system boot normally.

Its a UEFI problem, not the chipset. If your not comfortable with that point look for a motherboard that runs a more standart BIOS.


KeePassX "Unable to open the database. Wrong key or database file is corrupt."

I had the same error. This answer on GitHub was the solution for me:

  You always need to use ALL keys you used for creating the database. When you create a database with password and key file, you need to use both to unlock it. Make sure the corresponding checkboxes are ticked on the unlock screen.


How to setup a systemd service with root access?

I have solved the problem.

This bug is not caused by root permission, but rather the escpos module are not install correctly under root user. After I reinstall the escpos by sudo pip3 install python-escpos all codes work accordingly and is able to print the text.


Unable to mount 1.0 GB volume: Device /dev/sdb is already mounted at `/media/usb0'

You need to see the root cause of the problem.
You have probably installed the app usbmount, which will have broken the USB automounting functionality built into the system. If you have, uninstall usbmount and you will probably find that your problem goes away. The app usbmount is designed for GUI-less systems - mostly servers. Don't try to use it with desktop installations. You will run into exactly these problems.

sudo apt-get remove usbmount


Apologies, I am not a Fluxbox guru.  If I were in your situation though, I would read these links and re-approach the issue: Link 1, Link 2.

Link 1 gives the command to "Restart the Xsession":

sudo /etc/init.d/gdm restart

But, logging out does the same (which you've tried).  If you can install the software, then you can also uninstall it, possibly like this:

sudo apt-get remove fluxbox

or
sudo apt-get purge fluxbox

"Ctrl-Alt-t" is another hotkey to get to the Terminal.  Good luck.

EDIT
Try installing Nautilus:

sudo apt-get install nautilus


IPAD connectivity problem with ubuntu 14.04 hotspot

The default Ubuntu hotspot is not recognised by Android devices and probably not by the IPAD too. So, try installing ap-hotspot in Ubuntu. Open terminal and type the following,

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot

For 14.04, you need to uninstall the buggy hostapd

sudo apt-get remove hostapd

Then install the needed version - for 64 bit systems:

cd /tmp
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
sudo dpkg -i hostapd*.deb
sudo apt-mark hold hostapd

and for 32 bit systems:

cd /tmp
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
sudo dpkg -i hostapd*.deb
sudo apt-mark hold hostapd

Now ap-hotspot is installed.

To configure, type

sudo ap-hotspot configure

Enter the appropriate interfaces, the hotspot name and password.
To start the hotspot, type
    sudo ap-hotspot start

and to stop,

sudo ap-hotspot stop

Hope it helped!


change to Ubuntu Server or stay with Ubuntu

One way to remove a large amount of the desktop-type stuff that you have installed is to apt-get remove ubuntu-desktop.  That should pull out virtually every gui app and library you have installed.  Call it option 1.5.


How to set MANPATH without overriding defaults?

If you simply set MANPATH, it overrides the default and you lose access to the standard man pages. For example, man ls works before setting MANPATH, but does not work afterwards.

To append a search directory without overriding the default, prefix a colon to MANPATH like this:

export MANPATH=":/path/to/custom/man"

Adding the colon gives you access to both the standard system man pages and the custom pages referenced in the MANPATH variable.

This answer brought to you by manpath(1):

  If  $MANPATH  is  set,  manpath displays its value rather than
  determining it on the fly.  If $MANPATH is prefixed by a colon, then
  the value of the  variable  is  appended  to  the  list determined
  from the content of the configuration files.  If the colon comes at
  the end of the value in the variable, then the determined list is
  appended to the content of  the  variable. If  the  value  of  the
  variable  contains  a double colon (::), then the determined list is
  inserted in the middle of the value, between the two colons.


How do you log in when you first start the new install?

First you select your username, and then once you've typed in your password, you hit enter and you get logged in.

I agree with your sentiments though on the login, that is a seriously flawed design with the new login.


It turns out the following email works.  The thing I needed to do that I wasn't which wasn't apparent is that I needed to add the directory where the printers were installed to my path.

http://lists.kde.org/?l=kdevelop&m=125326438617051&w=2

(gdb) p data1
$1 = std::vector of length 8, capacity 8 = {"This is line",
  "second item", "text 2 ",
  "over 3", "lines", "", "", "last line."}


How do I get a sound played at startup on XFCE4?

Try

cvlc music.mp3

cvlc is the command-line interface of VLC media player


Install the Gnome Shell extension "No Annoyance" to get rid of this behavior, and have your launched window focused automatically.
• You can install the extension using the software center or using the terminal command:
sudo apt install gnome-shell-extension-no-annoyance

• You then need to enable the extension. To that aim, either install Extensions (gnome-shell-extension-prefs), or Tweaks (gnome-tweaks). Both tools allow to enable or disable Gnome Shell extensions.


Is it possible to write protect a flash drive?

I like your question!. But I dont think there is a direct way for it.
I suggest a workaround.

You could create 2 partitions- the first one fat32 (for windows) and the second one ext2 (for you). As windows only recognises one partition per flash drive, it wont recognise your ext2 partition and hence wont format it.

So if anybody plugs in your Usb in windows your data wont be deleted.

Also I think ext2 or ext3 is better for flash drives rather than ext4.

You could create these two partitions using Gparted.

However making more than 1 partition is not very well supported so use it with care and only when you need to.

And as suggested, always make backups!


How can I quit when connected via telnet?

$ telnet askubuntu.com 80
Trying 151.101.1.69...
Connected to askubuntu.com.
Escape character is '^]'.

That last line is the clue. Control+] busts you back to the main telnet prompt. From there you can run quit  or Control+D to exit.

That said, throwing a load of rubbish at the Ask Ubuntu server (like a pile of ^Cs, followed by Return) does still see the server respond (by closing the connection).

$ telnet askubuntu.com 80
Trying 151.101.129.69...
Connected to askubuntu.com.
Escape character is '^]'.
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C

Connection closed by foreign host.

What you're describing makes it sound like that isn't the case. If that's really the situation, I'd load another terminal and killall telnet (assuming no other sessions you want to preserve), or just close the terminal emulator you'd been running this in and make a new one.


Press F9, go to Bookmarks in the side menu on the left, click on the bookmark name or right press and choose Rename Bookmark. Also described  here.


Ubuntu 20.04 Dark mode isn't making the GNOME menus dark

The Display settings allowing to set a dark theme only sets the theme used by applications. The shell uses its own theme. You have to also change that to make the appearance of the shell dark. OMGBuntu devoted an article on how to change the entire user interface to dark.
In short:

Install the package gnome-shell-extensions. This contains some official extensions, including the User themes extension. You can install with the command sudo apt install gnome-shell-extensions or find the "User Themes" extension in "Software".

Make sure you have GNOME Tweaks installed.

In GNOME Tweaks, on the Extensions tab, enable the extension "User themes".

Quit GNOME Tweaks and restart it: now, you will be able to change the Shell theme on the "Appearance" tab.


How many partitions will I be able to create?

Yes,you only need one primary partition to install Lubuntu.Rest all partition you can create during the installation process according to your requirement.But make sure you have sufficient large primary partition in which you are planning to install.If you need any more details specific to your problem,share a screenshot of your disk management.


Problems installing Samba on a fresh Ubuntu 18.04 LTS install

I can't imagine why, but your sources.list is missing the main repo.

The first uncommented line

deb http://us.archive.ubuntu.com/ubuntu/ bionic restricted

should read

deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

Somehow you have removed this important repo from your sources.  It appears to be gone from all the other lines as well.  (I note that it appears in the commented out lines).

Here is a stock sources.list

# deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner


How to upload a image to DeviantArt directly from GIMP?

Source

...now whenever you create a picture or a graphic, you can upload them directly to your Deviantart account within those applications!.

Open your Terminal and enter the below command to install the all new Deviantart stash plugins for Gimp/Inkscape in Ubuntu 11.04 (should work for 10.10 and 10.04, etc as well).

     sudo add-apt-repository ppa:doctormo/deviantart-plugins
     sudo apt-get update
     sudo apt-get install gimp-plugin-dastash inkscape-extension-dastash

Once installed, you should be able to find them via (in Gimp): "Image" -> "Publish to" -> "deviantArt Stash".


How can I force samba to create all new files in a share to be 070

The parameter obey pam restrictions = yes overrules your samba settings.
See as an example ...

Set umask, set permissions, and set ACL, but SAMBA isn't using those?
Samba group write file permissions not set

And the manual ...

smb.conf PAM Configuration
There is an option in smb.conf called obey pam restrictions. The following is from the online help for this option in SWAT:
When Samba is configured to enable PAM support (i.e., --with-pam), this parameter will control whether or not Samba should obey PAM's account and session management directives. The default behavior is to use PAM for clear-text authentication only and to ignore any account or session management. Samba always ignores PAM for authentication in the case of encrypt passwords = yes. The reason is that PAM modules cannot support the challenge/response authentication mechanism needed in the presence of SMB password encryption.

 Default: obey pam restrictions = no


"Render mathematics" is inactive in Inkscape

My inkscape version was installed using snap, so I replaced it with an apt install:
Remove the snap install :
sudo snap remove inkscape
Then install inkscape version 1.0 or higher :
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape

Be sure to include the path to latex in your .bashrc file, and run inkscape from the command line : when you run inkscape from the Dock, it's harder to control the value of the PATH system variable.


Got it. I added
CONFIG += link_pkgconfig
DEFINES += LINK_LIBUDEV
PKGCONFIG += libudev to my .pro file and it worked


How to manage USB powering for sleep mode?

Not a solution, but kind of a move forward.

By installing powertop and changing its' tunables I've managed to reason keyboard powering for a sleep mode - now it wakes the system up on key press.


Is there a way or an option to File Roller (now GNOME Archive Manager) to use a single window session?

It seems this isn't possible in File roller, but as an alternative (like you asked) you can use xarchiver .

To install it, click on this button:

It will not open a new window, rather it will open a new tab in the existing window. Here is a screenshot of the xarchiver:


How to do a clean install of ubuntu on a GPT disk while keeping the partition table?

If the disk has no existing partitions, the installer might be creating a fresh and new partition table; but it should not do that if the disk has existing partitions and if you tell the installer to use the (badly named) "something else" setup option, which requires you to set up your partitions manually. Thus, you might consider setting up your partitions ahead of time and using the "something else" option to assign them mount points and filesystem types.


nmcli: How to get the "last used" connection

The con object has both a TIMESTAMP (seconds since epoch) and a TIMESTAMP-REAL field; probably the former is easiest to work with. For example, you could output the NAME and TIMESTAMP and then sort and tail the result. In terse mode, the fields are colon-separated by default, so you will need to set sort's field separator accordingly e.g.

nmcli -t -f NAME,TIMESTAMP con list | sort -t: -nk2 | tail -n1

If you want just the connection name, either cut or awk it using the same separator

nmcli -t -f NAME,TIMESTAMP con list | sort -t: -nk2 | tail -n1 | cut -d: -f1

or

nmcli -t -f NAME,TIMESTAMP con list | sort -t: -nk2 | tail -n1 | awk -F: '{print $1}'


Is there any way to facilitate switching windows in Ubuntu?

You seem to have a lot of questions here, but they all fit one central theme: Unity.  Old versions of Ubuntu (>2 years old) used Gnome 2 as their window manager (the thing that draws the desktop, sits both on top of and under compiz, ...).  When Gnome.org decided to move to Gnome Shell, the Ubuntu community decided that it was not yet stable enough to support.  In addition, canonical had been working on their own window manager (unity) for a while.  Unity does not work well with compiz.  In fact, the overall goal across WMs seems to be to phase out compiz as it duplicates a lot of features already present in the WM.

If you would like the old desktop back, install MATE, log out, and log back in with MATE.  This is the continuance of gnome 2, which is probably what you have been using.

You could also install Gnome 3 and boot in Gnome (fallback mode) to acheive roughly the same functionality.


Problem in launching MATLAB - will only run as root

chmod is just change mode so that you can update your read/write/delete permissions. chown is like a main-gate or encapsulation. Even though, you had

chmod a+rwx <your .matlab folder>/-R

it doesn't launch matlab because you can't reach inside unless you take ownership of that .matlab folder. So,

change the shell as a root, and take ownership as below:

root@upg:~# chown username:groupname <your_matlab_folder>

Ownership is giving system to access (chown is your answer here). Giving read/write/delete actions is using chmod.


It's not a bug, that's a scrollbar, if you wrote a long command on terminal. You'll see the actual form of the scrollbar. The scrollbar length will be shorter every time you enter command that will generate long text, says apt-get update (if you have many PPAs).

I doubt you want to remove scrollbar, but there is way to disable/removing them on terminal. Its quite easy:

Open terminal.
Go to Edit > Profile Preferences.
Navigate to Scrolling tab.
Uncheck "Show Scrollbar".

Now the scrollbar is gone.


Cannot remove a repository that complains it has no public key

Try modifying the sources.list file directly and either remove or comment out (probably the better solution). The sources file should be located at /etc/apt/sources.list.

See also the Official Ubuntu documentation on package repository configuration.


OpenShot is pretty easy. Just open OpenShot, add your videos, and drag them around on the timeline until they are where you want them.

https://www.openshot.org/

Install it in the usual manner:

sudo apt install openshot


Automatic Ubuntu server installation not working - error with booting from usb drive

Turn your ISO into a hybrid ISO, so the installation will see your usb as a hdd/cd-rom.

$ apt-get install syslinux
$ isohybrid path/to/image.iso

$ lsblk
sde                                     8:64   1   7.4G  0 disk
└─sde1                                  8:65   1   7.4G  0 part  /media/usbdrive

If it's been automounted, as is the case above, unmount it first:

$ umount /media/usbdrive

Use dd to write the ISO image to the disk path. That's /dev/sde NOT /dev/sde1:

$ dd if=path/to/image.iso of=/dev/sde

Source: https://www.turnkeylinux.org/blog/iso2usb


No sound after upgrade to 18.10, only a dummy device is shown

Try

sudo apt purge timidity-daemon

and

reboot


Is there a way to stop and restart a Juju deployment?

The short answers are, "no" and "no".

The shutdown command has always made me a little nervous, because of the finality of these terminations. The default AMI's used are for EBS instances, so you can at least snapshot all the instances before the shutdown, but I don't think there's an easy way to then start new instances with these EBS volumes just yet. I do think that it would be useful to have the ability to stop / start services or the whole deployment.

We've talked about having various options for saving and restoring the data before/after shutdown, which is related to your question. I'd suggest renewing this discussion on the Juju mailing list, which is more appropriate for development discussions:

https://lists.ubuntu.com/mailman/listinfo/juju


It depands on your webserver software. There are several approches. If you are using apache one way would be the use of mod_rewrite. I personally prefer the use of directory aliases. You can find all ISP site configurations files in /etc/httpd/conf/sites-available.

Also take a look at https://httpd.apache.org/docs/2.4/urlmapping.html


Dual monitor connected to hdmi port not detecting on Dell Vostro 3750

Select Applications->System Tools->System Settings->Displays

It should show you two Monitors and one laptop.

Click on Laptop and Select Off. Select Other two Monitors and select On. Click Apply.

http://s24.postimg.org/p1w3tyo5h/Screenshot_from_2013_04_28_09_36_06.png


Can't login after update 14.04 Secure Boot

Well..I've found out the following.

The last update affected to Secure Boot. It made propietary drivers not to work anymore (they are not signed) so one of the things I made through command line was to uninstall them and reinstall XOrg.

sudo apt-get purge "fglrx.*"

sudo apt-get install --reinstall xserver-xorg-core

Probably the resintallation of XOrg affected to the following (I'm not sure)

The owner of the file .Xathority was root and not my user so that was the reason because it was stuck in that part.

I made the following:

sudo chown myusername:myusername .Xauthority

And the system is working again properly.

P.S. Thanks gsekse for trying to help.


As you, I couldn't install postgresql-9.4-postgis2.1 package but, a while after, I could install postgresql-9.3-postgis2.1 with postgis-2.1 and libgal1h (Ubuntu version of gdal). See below images:

The broken dependencies were definitively solved:

As you can see, the postgis extension was efectively created for brasil_estados database.

It is not totally functional. Next time that you open Synaptic, the packages appear as  broken dependencies. It's impossible to upgrade the system with postgresql-9.3-postgis2.1 and postgis-2.1 installed.


Unable to install nsgclient on Ubuntu 20.04

You can get nsgclient18_64 from https://www.citrix.com/downloads/citrix-gateway/earlier-versions/netscaler-gateway-plug-in-VPN_EPA_Clients_Ubuntu_18.html
You can do it via terminal:
curl http://ftp.osuosl.org/pub/ubuntu/pool/main/n/network-manager/libnm-util2_1.10.6-2ubuntu1.4_amd64.deb -sO
sudo dpkg -i libnm-util2_1.10.6-2ubuntu1.4_amd64.deb
curl http://ftp.osuosl.org/pub/ubuntu/pool/main/n/network-manager/libnm-glib4_1.10.6-2ubuntu1.4_amd64.deb -sO
sudo dpkg -i libnm-glib4_1.10.6-2ubuntu1.4_amd64.deb
sudo apt install -y libnl-cli-3-200 libappindicator1 libproxy1-plugin-webkit libdbusmenu-gtk4 libnl-nf-3-200
sudo dpkg -i nsgclient18_64.deb


Wrong permissions found on some files in home directory when doing backup

I just did

sudo chown me:me ~/.lauchpadlib/api.launchpad.net/cache/*

then re ran the backup and it ended without error. I don't know why the newer files were owned by root with 600 permission

Anyway, now I don't get errors grep[ping] -r pattern ~ or using baobab


Ubuntu install on Chromebook using codestarter script stalling at updates

You need to wait longer.  "Installing updates" took almost 2 hours for me.

I got in touch with Codestarter on Twitter. Below is their reply:

  It usually takes 60-90 minutes depending on the speed of your internet connection (it needs to download a ~1GB Ubuntu image.)


How do I get a Netgear WNDA3100V2 working?

You need to change frequency mode to "b/g". Mode "b" works as well. Modes "g" and "b/g/n" is not connecting to network.


This might work: Reset Firefox Profile

Press the Refresh Firefox blue button.


How to merge multiple files of the same format into a single file?

You could  use awk to concatenate the files, skipping the first line of each file unless it's the first line of all the files.

For example, if the files are named part-00000 through part-00199 then

awk 'FNR==1 && NR!=1 {next} {print}' part-{00000..00199}


What should I upload for submitting a proprietary app to USC?

You can upload source code or compiled binary to software center . But it will take lot of time to appear in the software center. If you want to release your app quickly, create a debian source package and upload it


How add users to OpenVPN on Ubuntu Server 16.04

Once OpenVPN installed, check from status about "Authenticate users with:" .If it shows "pam" then login to server and use command sudo adduser userid ,
Eg:
openvpnas@openvpnas2:~$ sudo adduser test1
Adding user test1' ...
Adding new grouptest1' (1007) ...
Adding new user test1' (1007) with grouptest1' ...
Creating home directory /home/test1' ...
Copying files from/etc/skel' ...
Enter new UNIX password:
Enter the password and it is added.You can confirm adding of user by using below comand:
sudo -su userid
Otherwise if status is local , then adding and deleting user can be managed from User permission in webUI.


I answered this for a different issue here, but it will also solve your problem. In short, remove notification-daemon and install xfce4-notifyd. It won't require you to clear the notifications.


Samsung 305u notebook touchpad not working in Ubuntu 13.10

I tried following commands in my Dell Inspiron laptop.

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps

This only works for current session.
To make this solution permanent, create a file
    /etc/modprobe.d/psmouse.conf and add:

options psmouse proto=imps


Why are missing the frequency options on cpufreq-utils indicator?

If you've got a newer Intel Processor it's because Ubuntu uses a new cpufreq driver called P-State. There are only two governors available for this driver, which are Performance and Powersave.

There are no frequencies listed because you can't actually clock the processor to a specific frequency with newer Core processors. Even if you set it to a specific frequency with the old ACPI cpufreq driver the CPU itself it what sets the frequency on this hardware based on voltage and temperature values.

If you really want to disable this and go back to ACPI cpufeq (older, slower) you need to edit your GRUB config like in this link, only adding intel_pstate=disable instead of intel_pstate=enable.

Run
gksu gedit /etc/default/grub

and change the line that says GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=disable".

Press Ctrl + X and then Y to save.

then run sudo update-grub and reboot the machine to see the change take effect.


What's the file extension for packages we install?

Installation packages have an extension .deb in Ubuntu. You can install a deb package with

sudo dpkg -i <package_filename.deb>

In that case you have to know where your package is. Easier way is to use

sudo apt-get install <package_name>

In that case Ubuntu makes sure it downloads and installs the package from a verified source. It also installs other packages that are required in order for the installed package to work.

The third option is to download some other kind of software (usually source package) in a tar.gz or similar package. You have to unzip it and then look for some README or INSTALL file where instructions for the installation are written. These instructions usually involve compiling

automake
./configure
make

and installing

sudo make install

This is just an example. Manual installations differ from package to package.

Regarding extensions. Executable files do not have to have an extension as in Windows. The file permissions tell whether a file is executable or not. Try "ls -l". If there are x's in the permissions then it is executable unless it is a directory. In that case x means you can change to this directory.


Sounds like you're looking for the time builtin:

$ help time
time: time [-p] pipeline
    Report time consumed by pipeline's execution.

    Execute PIPELINE and print a summary of the real time, user CPU time,
    and system CPU time spent executing PIPELINE when it terminates.

    Options:
      -p    print the timing summary in the portable Posix format

    The value of the TIMEFORMAT variable is used as the output format.

    Exit Status:
    The return status is the return status of PIPELINE.

It will print a report of the time taken by a command. For example:

$ time sleep 3

real    0m3.027s
user    0m0.000s
sys     0m0.000s

The "real" field is the actual time that passes, the same value you would have measured with a watch. So, you can simply do:

time telnet towel.blinkenlights.nl >> starWarz


Install Xubuntu to SD card via USB memory stick

Yes. This can be done provided you proceed with caution. The grub bootloader doesn't have to be installed on the same drive as your Windows installation.  I do similar things with USB sticks often. If your BIOS supports booting from SDcard it's a standard installation, if not, there's a tutorial on how to do exactly what you have in mind here.


The regular Ubuntu 16.04 includes Nautilus

You can add Dropbox to Nautilus
You are using Dropbox and are asking if Ubuntu 16.04 includes Nautilus, which it does. You might be interested to learn that you can add Dropbox to Nautilus


Do I need to disconnect an external hard drive before installing Ubuntu?

It is not necessary, but I would suggest to unplug it for safety. This way, you are sure to not format it by mistake.


No sound in Ubuntu 14.10 on Asus laptop - dual boot

Try to just close the computer (so that it goes to sleep) and open it up again, seems to solve the problem for many, includning me. havent seen a good answer to why it works yet..

I have the same issue on a Dell Latitude E7440


Just installed 14.04 in place of XP, no Wireless connections showing in Network manager

Try running Additional Drivers and see if an option comes up for your Broadcom wireless driver. Failing that try holding Fn and tapping F9 as this should toggle the wireless on and off (watch for an LED status change) See page 87 of the manual you'll note that the wifi is an option that may or may not be installed. If not you may need to acquire a USB wifi adaptor


Can't reach certain web site/server via DNS, only with ip

DNS at the workstation was sabotaged with:

130.238.39.248  ws1.bmc.uu.se

in /etc/hosts.


If you don't have aptitude run:

sudo apt install aptitude

then:

aptitude why apache2

This will list packages. If you find any packages preceded by "i" and not "i A", that's why you have apache2.


Screen flickering Ubuntu 16.04 Intel graphics 620

I had been experiencing the same problem with my Dell Vostro 5370 and Ubuntu 16.04 LTS.

This is how I solved it:

Go to "Software & Updates" application
Under "Additional Drivers" tab, you should find "Intel Corporation: Unknown" section.
Choose "Do not use the device"

Because DKMS will "pollute" your kernel until you purge the kernel using apt-get. The way I did is:

reboot to an older working kernel (to choose different kernel in boot menu, you might want to check out How to get to the GRUB menu at boot-time?)
use $ dpkg -l | grep linux-image to check what kernel you have installed
use similar commands to # apt-get purge linux-image-4.4.0-73-generic linux-image-extra-4.4.0-73-generic to purge linux completely
install latest kernel back by version if you wish: # apt-get install linux-image-extra-4.4.0-116-generic
Reboot your computer and good luck!

If you are not so lucky that you have a functional kernel, you would probably either work under the flicker screen or use the old console without GUI.


Wireless Earphones Poor sound Quality in Ubuntu 20.04 LTS

sudo nano /lib/systemd/system/bluetooth.service
Change
ExecStart=/usr/lib/bluetooth/bluetoothd
to
ExecStart=/usr/lib/bluetooth/bluetoothd --plugin=a2dp
sudo systemctl daemon-reload


How to schedule python script in a folder using crontab

Short answer - yes, you have to make it either

/home/john/.virtualenvs/investFundamentals/bin/python /path/to/script/scrapStockList.py

or use  #!/usr/bin/env python and make each file executable with chmod +x /path/to/scrapStockList.py. Use of virtualenv suggests you may be running Python version other than system default, so probably first option is more suitable for your case.

To quote related post by Gilles:

  Cron's default path is implementation-dependent, so check your man page

When you call python script.py, the interpreter looks for script.py in current working directory. So your commands fail because Python interpreter in your question starts out in the working directory which is other than where your scripts are located.


Security risk in everyday use of an admin account (not root)?

An account that can sudo is technically as able as the root account (assuming a default sudoers configuration behaviour) but there is still quite a big difference between root and an account that can sudo:

Accidentally omitting a single character won't destroy Ubuntu. Probably. Consider trying to delete ~/bin but actually running rm against /bin. If you aren't root, there's less risk.
sudo requires a password, giving you those milliseconds to work out any mistakes. It also means that other applications don't have the ability to do rooty things on your behalf.

This is why we recommend people not use the root account for everyday work.

Insulating yourself with another intermediary "admin" account (and running as a user without sudo access) is just another layer. It should also probably be a different password.

It's extra fuss though and (per your question conditions) if something can sniff out your first password, they can probably get the second just as easily. If you never ever made mistakes, and never use these strong passwords anywhere else (not guessable or crackable), this solution is probably no more secure. If somebody wants root they'll boot into recovery, chroot, or use a wrench.

There is also a school of thought that points out that [for non-enterprise desktop users] nothing you value is protected from your user. All your documents, photos, web browsing history, etc is owned and accessible by you or something running as you. Just as you can run something that logs all your keystrokes, views your webcam, listens on your microphone, etc.

Simply put, malware doesn't need root to ruin somebody's life, or to spy on you.


Landscape Based Management of Public Cloud

You can just try it out for yourself.

The easiest way is to sign up for a trial at https://landscape.canonical.com. It doesn't have the cloud installer option, but you can see all the rest and register machines to it.

If you want to deploy Landscape locally and install your own OpenStack cloud, follow the instructions at http://www.ubuntu.com/download/cloud/install-ubuntu-openstack


In a bug report on this issue one commenter says that a workaround for another bug fixed the clock freezing problem for him. The workaround delays the startup of gnome-panel for three seconds. (Strange, eh?)

Here is the workaround:

Create a script called delayed-gnome-panel.sh in your home directory and mark it as executable.
Edit the script to look like this:

#! /bin/bash
sleep 3 && gnome-panel &
exit

Then edit /usr/share/applications/gnome-panel.desktop so that exec=bash /home/<user>/delayed-gnome-panel.sh.


New to Ubunutu, problem installing VMware

Execute this commands to start installation of VMWare:

$ chmod +x /home/icarus/Downloads/VMware-Workstation-Full-12.0.0-2985596.x85_64.bundle
$ sh /home/icarus/Downloads/VMware-Workstation-Full-12.0.0-2985596.x85_64.bundle

Answering you question in comment: ls is

DESCRIPTION
       List  information  about  the FILEs (the current directory by default).
       Sort entries alphabetically if none of -cftuvSUX nor --sort  is  speci‐
       fied.

If you want to know more about some commands use manuals. To access manuals use man command. For example man ls or man chmod. To exit from man pages press q.


If you install a program from source or from a tarball as you did with java, the package management system doesn't know that it's installed. This is why it's giving you an error.

The best way to install Oracle Java in Ubuntu, in my experience is using the WebUpd8 PPa. You can find how to add it in this link. But to summarize:

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

As a bonus this will keep your java version updated.


Why is my Laptop shutting down when playing The Sims 3?

Your computer is most likely shutting down unexpectedly because either the kernel or BIOS thinks it's in imminent danger, usually due to overheating issues.  There may be a faulty driver, or perhaps you have a broken fan but don't notice the heat buildup unless you tax the system by running Wine.  There could be another sort of cooling problem as well, such as a lack of (or too much) thermal paste.

While Wine's the proximate cause here, this isn't really Wine's fault - it's exposing a deeper problem in the system.


How can I delete a mail account in Thunderbird?

Go to menu: Edit, Account Settings...
Select account name on the left
Either make any changes here (on the right) or Remove Account from the drop-down menu opened by clicking the Account Actions button at the bottom left


Remove all the stock php packages

List installed php packages with dpkg -l | grep php| awk '{print $2}' |tr "\n" " " then remove unneeded packages with sudo aptitude purge your_packages_here or if you want to directly remove them all use :

sudo apt-get purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`

Add the PPA

sudo add-apt-repository ppa:ondrej/php

If you get add-apt-repository: command not found run the following command first :

sudo apt-get install software-properties-common

Install your PHP Version

sudo apt-get update
sudo apt-get install php5.6

You can install php5.6 modules too for example

sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml

Verify your version

If you have installed php5.6-cli

sudo php -v

If you don't have php5.6-cli, put this on a .php file

<?php
      //outputs php configuration info
      phpinfo();
?>


I would assume your network setting should likely be 192.168.0.0 as the beginning of your address range given your network mask of 255.255.255.0. So that setting may be off.

That being said, if you use:
sudo ifconfig eth0 192.168.0.231 netmask 255.255.255.0

Where eth0 is your desired network adapter.

And follow with the command:
sudo route add default gw 192.168.0.1 eth0

That should create the correct settings. You may need to get rid of or alter the setting in your /etc/network/interfaces file to make 192.168.0.44 say 192.168.0.0.

Also, take care doing this remotely as you may lose connectivity changing network settings over the network. I've done it. :(


Why does "echo EHC1 > /proc/acpi/wakeup" change Enabled to Disabled

Like the other files at /proc/ the file /proc/acpi/wakeup is not a real file but an interface to some kernel functions.

If you write something into it, the value you wrote isn't stored in a file but a kernel functions is called and does something with the value.

If you read from it another kernel function is called that creates some output that appears as the content of that file.


What is a desktop environment, session and shell?

DESKTOP_SESSION is not a command, it's a variable. You can do echo $DESKTOP_SESSION to see what the value is, just like with XDG_CURRENT_DESKTOP:

$ echo $DESKTOP_SESSION
gnome
$ echo $XDG_DESKTOP_SESSION

$ echo $XDG_CURRENT_DESKTOP
GNOME

(I'm using GNOME Shell. Yes, I did not get any output for XDG_DESKTOP_SESSION. This is a known bug.)

This output is not irrelevant:

$ echo $XDG_CURRENT_DESKTOP
Unity

It is the most relevant bit of information you have, that you are running the Unity shell.

To install Gnome Shell:

sudo apt-get install gnome-shell

See the third of the reference links for screenshots for selecting Gnome Shell.
The interface, the part that you interact with, is called a shell. The Bourne shell and other classic shells are command line shells. Gnome Shell, Unity, etc. are graphical shells.
The default Desktop Environment for Ubuntu is GNOME 3, with the Unity shell and other modifications. Because the base is GNOME, you'll see some output which is true for GNOME Shell as well, for the various tests.
Usually, none. The answer to this is very complicated and application-dependent. Have a look at the fifth linked question.

As for the browser error, if it persists after you start using Gnome Shell, see the FAQ.

Also see:

What is the relationship between Unity, Gnome, Gnome 3, Compiz, Metacity, and LightDM?
What kinds of desktop environments and shells are available?
How do I install and use the latest version of GNOME?
What is the default desktop environment for Ubuntu 13.10?
When installing packages (particularly those with graphical UIs) how do you determine which is fitting for your distribution?


Enabling and disabling sshd at boot via systemd

sshd service is originally written as ssh.service and sshd.service is set as alias name. Check out the last line of following output.

arryph@localhost:~$ systemctl cat sshd.service
# /lib/systemd/system/ssh.service
[Unit]
Description=OpenBSD Secure Shell server
After=network.target auditd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run

[Service]
EnvironmentFile=-/etc/default/ssh
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
Type=notify

[Install]
WantedBy=multi-user.target
Alias=sshd.service

Because of this, when ssh.service is enabled, we can refer it as sshd.service. But when you disabled sshd.service and rebooted, ssh.service is no longer loaded and because of this you can't refer it as sshd.service in that condition. You have to refer is as ssh.service instead. so if you run sudo systemctl enable ssh.service, it will enable ssh.service (aliased as sshd.service) successfully.


How can I specify the language to be used by Tesseract when using OCRFeeder

You need to setup the engine command line on OCR Feeder settings. It should look like:

-l lang_id $IMAGE $FILE; cat $FILE.txt

Where lang_id is the id as shown on the correspondin language package name.


Python matplotlib - ImportError: No module named functools_lru_cache

try this I had same problem this morning

sudo apt-get install python-matplotlib

I also am using python3.7
a little later after I installed a few modules. I ran.

pip3 install matplotlib

I can now import matplotlib.


Why don't dconf-editor and dconf list show the same directory structure?

The command-line tool dconf seems to show only those settings which are actually set in the database (so they are different from the default), whereas dconf-editor shows all possible settings. You will notice that the button "Set to Default" in dconf-editor is greyed out for those settings which are not shown by dconf.


Is Ubuntu for Phones a pure Linux device?

Yes, Ubuntu for Phones will be a pure Linux-based OS, like the desktop version of Ubuntu. Ubuntu for Phones does not use Java layer to run applications. But it does use the slightly modified version of the Linux kernel, written by the Android team.


I seem to have installed two OS by mistake

You didn't install two OSs.

Ubuntu Gnome comes with two desktop options, the classic version being faster.

If you have an old machine, it is recommended you try the lighter versions Xubuntu or Lubuntu instead of Ubuntu Gnome.


Can you try this (with an uppercased U) ?
printf "\U1f5e0" or echo -e "\U1f5e0"
This should work depending on your bash locale ( LANG=en_US.UTF-8 or LANG=fr_FR.UTF-8 ) which can be set in your .bashrc configuration file or your script.
Here is what the man bash page says :
        Words of the form $'string' are treated specially.  The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard.  Backslash escape se‐
       quences, if present, are decoded as follows:
              \a     alert (bell)
              \b     backspace
              \e
              \E     an escape character
              \f     form feed
              \n     new line
              \r     carriage return
              \t     horizontal tab
              \v     vertical tab
              \\     backslash
              \'     single quote
              \"     double quote
              \?     question mark
              \nnn   the eight-bit character whose value is the octal value nnn (one to three octal digits)
              \xHH   the eight-bit character whose value is the hexadecimal value HH (one or two hex digits)
              \uHHHH the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHH (one to four hex digits)
              \UHHHHHHHH
                     the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHHHHHH (one to eight hex digits)
              \cx    a control-x character

       The expanded result is single-quoted, as if the dollar sign had not been present.

       A double-quoted string preceded by a dollar sign ($"string") will cause the string to be translated according to the current locale.  If the current locale is C or POSIX, the dollar
       sign is ignored.  If the string is translated and replaced, the replacement is double-quoted.


Froze windows in Ubuntu 16.04 with Unity Tweak Tool

From your description the user password doesn't work, the GUI user interface doesn't work and it isn't even possible to login in a text-only console. This could be caused by a hardware problem instead of a software problem. If so, reinstalling Ubuntu won't fix anything, but it is still best to try a software solution first.

You may be able to install and access the Unity Tweak Tool application (unity-tweak-tool) after logging in to a Guest session. Every time you click on an icon in the Unity Tweak Tool interface it changes to a new screen that has a Restore defaults button at the bottom of the screen. There are 20 icons in the Unity Tweak Tool, so you can restore all the defaults by clicking the Restore defaults button for each of the 20 icons.

How do I reset a lost administrative password? tells how to reset the user password so that you can login in a text-only console.

How to switch to a command-line console tells how to switch to a text-only virtual console that doesn't have any windows. You can reinstall Unity Tweak Tool from the console with the command: sudo apt-get install unity-tweak-tool. You can also skip reinstalling the Unity Tweak Tool because maybe it won't work if the Unity Tweak Tool interface is frozen, and instead reinstall the entire Ubuntu desktop:

sudo apt purge ubuntu-desktop
sudo apt install ubuntu-desktop
sudo reboot


This will run xmodmap -e "keycode 133 = Caps_Lock" command everytime launch Ubuntu (StartUp)

Open your startup application by run following command :

gnome-session-properties
Select "add" button :

Fill "command" section with xmodmap -e "keycode 133 = Caps_Lock" command

UPDATE

Chrome has it own shortcut that can you use if you lazy to use mouse. In your case you want go to previous page, forward page, refresh using keyboard.

Refresh --> Ctrl + R or F5

Previous Page --> Alt + ←

Forward Page --> Alt + →

See also Chrome Keyboard Shortcut, and feel free to upvote this answer :D

UPDATE 2

For disable/enable/assign chrome shortcut you have to install shortcut manager. There are plenty tutorial which teach you how to use shortcut manager :

ShortCut manager : Assign hotkeys to various browser actions
How to create custom shortcut in chrome


Is there a command for the "Workspace Switcher"?

There isn't a command for absolutely everything. But in this case, "Workspace switcher" can be triggered with a keyboard shortcut (super+s) which can also be sent using a tool called "xdotool", via the command line.

So install xdotool:

sudo apt-get install xdotool

And then you can trigger the Workspace Switcher from a terminal using:

xdotool key super+s


Is it really possible to intrude a fully ENCRYPTED Hard Drive? (Encrypted since installation of ubuntu 18.04 OS)

so let me know is it possible (for hackers) to invade and get access over the files and data of my hard drive (every hard drive is encrypted during installation itself)

Yes. Disk encryption protects data at rest. It's of no use if an attacker gains access, e.g. via malware or security issues in software. It's also only as good as the master key.

  is there any other way in Linux to master encrypt (encrypt entire hard drive) for non-OS partitions and drives?

Sure. Truecrypt/Veracrypt, dm-crypt and luks are all different ways of doing this. But as far as I'm aware all are rather secure.


Use

sudo apt-get autoremove automake
sudo apt-get install automake

This should get you to version 1.14.1, that is the result for my system 14.04.


"Search for files on this computer" application is missing

Try;

apt-get install gnome-search-tool

This is a general purpose, gui-based, file searching application for Ubuntu, also available from the Ubuntu Software Centre.


How to have the system run a bash script to remap keys after login?

Add a command to run this script in ~/.profile file. It’ll run as user every time you log in.

If you want to execute some command every time you open new tty(for example every time you open new terminal) you can add command to ~/.bashrc file.


To deploy Landscape server i would use Quickstart. It is super simple

https://help.landscape.canonical.com/

sudo add-apt-repository -u ppa:landscape/17.03
sudo apt-get install landscape-server-quickstart

I have just deployed that on 16.04 LTS and it works fine. I also run
sudo apt-get update; sudo apt-get upgrade -y

From my history on new Ubuntu server:

sudo apt-get update; sudo apt-get upgrade -y
sudo add-apt-repository -u ppa:landscape/17.03
sudo apt-get update
sudo apt-get install landscape-server-quickstart

Hope this will help
Thansk


How to install a Brother MFC-5890CN scanner/printer

Ubuntu 12.04 is no longer supported but here is an answer for 16.04: How to get a Brother DCP-350C scanner working?.

To summarize the answer, first go to the Brother Printer/Scanner website. Then select your printer model:

Select the right product (Printer/Scanner). In the printer icon for MFC-J410W, click the link Not your product? and a selection page appears:

The screen below is for the MFC350 printer/scanner which has a sub-menu for "DCP 3 Series" which leads to a specific model:

My printer is the fourth icon in the panel, which being 3 icons wide is immediately below yours. I'll select that and it has a sub-menu for "DCP 7 Series" which after clicking presents:

I'll click on DCP-7065DN. You would have already selected DCP-350C on the previous screenshot.

After selecting the printer model, you are asked for your OS. It defaults to Linux and ".rpm". The default is ".rpm" which stands for Red Hat or Arch Linux or something like that. Change the distro to ".deb" which stands for Debian which is really Ubuntu.

Above is a summary of the link. Click on the link for the full tutorial.


Unfortunately, this has been a problem for a while. It is safer to use eject instead of safely remove hardware until this is fixed (if ever).


Can I upgrade to 17.10 maintaining old kernel?

Ubuntu 17.10 can be run on the 4.10 kernel.

I do not believe auto-removal of old kernels has been implemented.
After the upgrade, you should have both kernels installed.
Use advanced options in the grub menu, and choose the 4.10 kernel to boot.
Then, remove the new kernel installed.

If the 4.10 kernel is removed you can use the command line to reinstall it and the amdgpu-pro driver.
Download the packages before upgrading so they are handy

NOTE: don't forget the header packages


Can't install Ubuntu 12.10 because it can't connect to internet

It seems that your wireless adapter is not supported out of the box. Install your system using a wired connection, after that you can (let's hope) install the drivers for your wireless card.

Note: we can help just if you post the hardware details of your PC.


How to install Teamviewer in Ubuntu 14.10?

You can install teamviewer via Ubuntu Software Center or you can use terminal to install teamviewer using this command.

sudo apt-get install teamviewer

and its full functionality free version of teamviewer as you see on windows.


The easiest way to go will probably be to use boot-repair, download it from:

http://sourceforge.net/projects/boot-repair-cd/files/

Burn the iso on a cd or create a live usb with unetbootin, available on:

http://unetbootin.sourceforge.net/

Boot your system from cd or usb and startup boot-repair. Use recommended repairs.


A few building blocks for accomplishing this:

You could set up a private repository (or multiple ones) with reprepro, discipline how this repository is updated, and use it as the sole apt-source for your servers.

apt takes packagename=version arguments, and will install the exact version requested. So called "pinning" is another way to enforce this.

Once you can specify exact versions, there are multiple ways of ensuring your end goal - eg by parsing the versions installed on a "master" system on a given date from dpkg -l (do not get confused by the versions being truncated in plain terminal output, they won't be if piped or redirected to a file).

Also, make sure you do not start from a position where anything on the target system is NEWER than what you want - this tends to invite all sorts of friction with dependencies and postinst/preinst scripts.

Do not get discouraged by the "Most current versions or you're a loser" crowd - these people tend to be competent enough to know why most current versions have security benefits, but do not yet understand things like QA processes or risk management.


You can install Ubuntu as a single system. It must not be hard. Use a 64-bit Ubuntu release. Boot from liveCD, start gparted and create partitions you need.

If you disable EFI, it won't affect performance, but the system may boot a little bit slower.

EFI partition should be not less that 50 MB and formatted to fat32. In most cases there is no need to make it larger than 200-300 MB. I use 100 MB size and never had any problems.

But there are issues discussed in the net, that some EFI's deal incorrectly with partitions smaller than 512 MiB. So to be 100% safe you can create a 550MiB EFI partition.

Also 32 GB swap is an overkill for 8 GB RAM. I suggest making swap not more than 4 GB. In 99% it will not be needed at all. Hibernation is also not useful for this amount of RAM. System will boot as fast as thaw.

When you install Ubuntu just set EFI partition as EFI boot, or /boot/efi, I do not remember the exact name in the installer. But you will easily find it from a drop down menu.

Everything else should be as before, like installing without UEFI.

You get this error, because you formatted EFI partition to ext4, not to fat32.

You can install Windows 8 later, but you will need to re-install grub after that. Boot repair is a nice utility for that.


How to remove clock from panel in gnome-shell?

It is possible by creating an extension.

mkdir -p ~/.local/share/gnome-shell/extensions/Disable_Clock@ocelot
cd  ~/.local/share/gnome-shell/extensions/Disable_Clock@ocelot

Make a metadata.json file.

gedit metadata.json

Cut following code, and Paste into the editor ,and Save.

{"shell-version": ["3.2"], "uuid": "Disable_Clock@ocelot", "name": "Disable Clock", "description": "Disable Clock from the top of panel"}

Make an extension.js file.

gedit extension.js

Cut following code, and Paste into the editor ,and Save.

const St = imports.gi.St;
const Main = imports.ui.main;

function init(meta) {
}

function enable() {
    Main.panel._centerBox.remove_actor(Main.panel._dateMenu.actor);
}

function disable() {
    Main.panel._centerBox.add_actor(Main.panel._dateMenu.actor);
}

Restart gnome-shell and Turn on "Disable Clock" extension by gnome-tweak-tool


Get ok message when installing deb with apt in terminal (from context menu or click)

This answer addresses the issue of installing a .deb file using apt install via a service menu in Kubuntu 18.04.

First, we download a small .deb, gcolor2 which is not in the bionic repos, using the link provided by N0rbert here.

~/Downloads $ wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcolor2/gcolor2_0.4-2.1ubuntu1_amd64.deb

Next, based on the service menu .desktop file in the question and comments by muru, the following service menu .desktop file, ~/.local/share/kservices5/ServiceMenus/install-deb.desktop was constructed:

[Desktop Entry]
Actions=install-deb
Icon=dialog-information
MimeType=application/vnd.debian.binary-package
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
X-KDE-Priority=TopLevel

[Desktop Action install-deb]
Name=install-deb
Exec=konsole --hold -e bash -ic 'sudo apt install %f && notify-send --expire-time=50000 "DONE"'

From now on, if one right-clicks on a .deb file in Dolphin, the context menu offers "install-deb" as one of the options. Selecting "install-deb" will open up konsole and run sudo apt install %f, where %f in this case, refers to the gcolor .deb downloaded via wget.

This is what konsole's output looks like:

[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gcolor2' instead of '/home/dkb/Downloads/gcolor2_0.4-2.1ubuntu1_amd64.deb'
The following NEW packages will be installed:
  gcolor2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/25.4 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Get:1 /home/dkb/Downloads/gcolor2_0.4-2.1ubuntu1_amd64.deb gcolor2 amd64 0.4-2.1ubuntu1 [25.4 kB]
Selecting previously unselected package gcolor2.
(Reading database ... 257481 files and directories currently installed.)
Preparing to unpack .../gcolor2_0.4-2.1ubuntu1_amd64.deb ...
Unpacking gcolor2 (0.4-2.1ubuntu1) ...
Setting up gcolor2 (0.4-2.1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Once the install is complete, konsole will have "Finished" in its titlebar but will remain open until it is closed via the window manager. Additionally, because of the notify-send bit, a notification will be visible for the number of milliseconds specified. (I don't know why but --urgency=critical doesn't make the notification persist.)

kdialog --passivepopup "whatever text string" seems better suited for this purpose than notify-send.


How to find full path for device file of usb camera connected?

Really this answer will consist of two parts:

mounting as storage
mounting over PTP

mounting as storage
It's just same as any other USB  it will be mounted under the directory /media
mounting as PTP
To mount as PTP you probably need a package called gphotofs
sudo apt-get install gphotofs

When you connect over PTP, gphotofs will be responsible for mounting  the digital camera which is normally done the ~/.gvfs
You can open directly the mounting point by issue this in file manager location bar  gphoto2://[usb:XXX]/
Also note that using gphotofs you can specify moutning point you want to use yourself:
mounting
   gphotofs <mountpoint>

unmounting
   fusermount -u <mountpoint>


You are using an unofficial unsupported version of gnome-shell from Gnome 3.5 from the "ricotz" PPA. File a bug with the PPA maintainer.


See this answer: Minecraft with OpenJDK 7, I get "the trustAnchors parameter must be non-empty"

Short version:

sudo update-ca-certificates -f


Trying to patch k10 optimized zen kernel, getting invalid option

Check the command usage is correct! Is the option "-march" available with the version of the patch command you are running ?

Generally used as follows:

patch -p1 <  [/path/to/patch/file]

https://www.kernel.org/doc/Documentation/applying-patches.txt


Whatsapp on Ubuntu 15.10 desktop *without having access to a smartphone*

TL;DR: Run it on Android x86 in VirtualBox with limited resources allocated to it, and hook that up with the web app or desktop client to have a desktop interface.

Whatsapp's official desktop client for Windows doesn't help us, even if we were to run it under Wine. That's because it works exacty like their web app. It needs constant connection to a smartphone client in order to work.

Therefore, the best way to do this is to somehow run the actual Android app on your desktop. It doesn't need the SIM card to be in the same device. You just register with an SMS once, and you are good.

The first way I thought of doing this was through Google Chrome, which can run many Android apps through some tweaks. Unfortunately, the result of that seems to be the opposite problem from the one you're having with Pidgin!

  App can receive msgs, but not reply.

Therefore, the last resort I can think of is to install Android x86 or Remix OS in VirtualBox and install Whatsapp from an APK there. You'll be able to activate it through receiving an SMS to your cellphone.

It's also possible to do this through an emulator like Genymotion, but I think that's gonna emulate ARM architecture, so I'm pretty sure it will be much more resource hungry and/or slow compared to the x86 hypervisors.

I've heard that Whatsapp will require Google Play Services, but I think that's included in at least Android x86, and if not, it's pretty easy to install in both Android x86 and Remix OS.

Don't like the touch interface of the Android app? Well, since you now have a working Android client, you can now use Whatsapp Web or even the native Windows application through Wine. The tricky part is that in order to activate it, the Android x86/Remix OS hypervisor has to scan a QR code which will be displayed in your browser/Whatsapp desktop client. This can be done, though. There are many ways.

If you have a USB or Bluetooth camera, you can try to activate it in VirtualBox as a webcam. You then simply scan the QR-code from Ubuntu.
If you only have an internal Webcam in your computer, you have to print the QR code and scan it, or take a screenshot of it and display it on another screen, or have fun with two physical mirrors.
It would also be possible to root your Android VM and just feed the QR-code image to a camera emulator, but I'm not exactly sure how to do that. I asked a question about it on Android SE.
Or, if you have access to an Android device with a camera once, you can use Titanium Backup to transfer your Whatsapp sign-in to that Android device just for the sake of scanning the QR-code. (Make sure the "keep me signed in" box is ticked"). And make sure the original Whatsapp still works afterwards. Otherwise, use Titanium to transfer your sign-in back.

If you succeed in this, you can use Whatsapp Web in your browser on Ubuntu or the desktop app under Wine as long as the VM is running. One of the benefits of this is that you can severely limit the resources allocated to the VM. It's only gonna run one single, lightweight app, and you don't care if the Android GUI gets a bit sluggish. Of course, don't limit it so much that the app or VM crashes or starts processing content too slowly.

Off-topic comment: This approach should also work on Windows, OS X, Solaris, other Linuxes, etc. Basically any system that can run VirtualBox, something similar or any Android emulator.


How to install gcc4.4.7 in the ubuntu15.10?

Getting g++-4.4, gcc-4.4 with Ubuntu15.10 : Add one line to /etc/apt/sources.list , like : sudo gedit /etc/apt/sources.list

Text to be added, (with my example URL) :

deb http://dk.archive.ubuntu.com/ubuntu/ trusty main universe

... Then run sudo apt-get update && sudo apt-get install g++-4.4
 ... and you have : /usr/bin/{ gcc-4.4, g++-4.4 }.

Other Ubuntu extra gcc versions https://drive.google.com/drive/folders/1xVEATaYAwqvseBzYxKDzJoZ4-Hc_XOJm?usp=sharing


If you are running Ubuntu, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.
EDIT: But you can do it via this (amd64) or this (i386) depends on your architecture. On this website you can search any package you want.


Giving a Hard Drive Executable permissions for Steam

This error seems to be related to the permissions of the folder your disk is mounted to, for me it was mounted by the user AFTER log in, by changing it to log in at boot (moving the mount point to /mnt from /media), it was mounted as root and the error was gone.

Open the dash and find the disks app, open it, click on the hard drive with your games on it and then, on the right the little cogs and mount options and make it look like this

Now just open steam and then, from the drop down menus, go to >> Steam >> Settings, choose downloads on the left then click STEAM LIBRARY FOLDERS button.

You should see a box listing only your steam install directory, click ADD NEW LIBRARY FOLDER and point it to the location of your folder.

Now your new drive is added and it will look, something like, this

Now your Steam should ask you where you installed games at the time of installation.


Commandline email to internal web mail server

If your log uses syslog or rsyslogd, you could use "remote logging", and skip all the emails. Install the rsyslog-doc package, and look at file:///usr/share/doc/rsyslog-doc/html/rsyslog_reliable_forwarding.html


My laptop won't boot after fresh-install

Using an Ubuntu Live CD/USB, open terminal and type:

sudo fdisk -l

You'll see something like this:

Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Identificador do disco: 0x7402e25b
Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1        4649    37343061    7  HPFS ou NTFS
/dev/sda2            4650        5683     8305605   83  Linux`

Mount the linux partition (change /dev/sda2 according to your partition)

sudo mount /dev/sda2 /mnt

Reinstall GRUB 2:

sudo grub-install --root-directory=/mnt /dev/sda

Reboot your PC


Upgrade to Firefox 9 crazy dependencies?

Upgrades on Kubuntu might have a lot of dependencies .Firefox needs only some of them of them

Such as the xul-ext-ubufox. But it is probably because you havent updated in a while.


since some time, GTK-3 theme CSS files are precompiled into a binary format (*.gresource) and installed as a bundle. There is a helper program called gresource to deal with these files

usually, it is installed alongside with the library GLib
thus it should be in the package libglib2.0-bin
and since this package is usually already installed, you'll find it in your /usr/bin and get more documentation by invoking man gresource

In short

to list the contents of a *.gresource file:
 gresource list gtk.gresource

to extract a specific resource from it:
 gresource extract gtk.gresource /org/gnome/adwaita/gtk-main.css

Basically, this allows you to get the contents of the original Theme extracted. You could make a conventional Theme (with discrete CSS files) from the extracted resources. The key point to note for this is that you have to change the entry point in the top level gtk-3.0/gtk.css file within your theme. In binary themes, you'll find there a URL reference
@import url("resource:///org/gnome/THEMENAME/gtk-main.css");

You need to change this reference to point to your locally installed files
@import url("gtk-main.css");

If you want to compile a new binary bundle from a theme you edited in discrete CSS files, see this Blog post from 2012 by Satyajit Sahoo


Installing NVIDIA GeForce GTX 560 on Ubuntu 13.04

I had the same problem, tried every answer i could found on the net and it didn't work.

if you are in this case :

on startup your bios is visible only with your nvidia card
ubuntu is visible only with the motherboard screen outpout

the reason seems to be the bad detection of device with modern bios (new motherboard, and relative old video card).

Try doing the following : first follow the indications there : http://ubuntuguide.net/how-to-install-nvidia-graphics-driver-in-ubuntu-10-10-maverick-meerkat
ie :

do the install of nvidia-current as suggested everywhere
make sure you have a xorg.conf file in /etc/X11/
once you are back on your problem with black screen etc, the idea is to have a terminal open from now. if you have it go to next step, otherwise try : connect your monitor to the motherboard outpout, reboot, go to the grub (double shift on startup after the bios), select the option advanced option for ubuntu, connect internet and go root console.
edit the xorg.conf file : sudo nano /etc/X11/xorg.conf
and once there : what did change everything is to add the line

BusID          "PCI:01:00:0"

in the section "Device", in my case that give this code :

Section "Device"
  Identifier     "Device0"
  Driver         "nvidia"
  VendorName     "NVIDIA Corporation"
  BusID          "PCI:01:00:0"
EndSection

save (ctrl+x), connect your monitor to the nvidia card and reboot, in my case, this solved the problem.


It's out--everyone can go get it now!

http://releases.ubuntu.com/19.10/

Specifically, as of 2019-10-17 at 14:39 (UTC), all the files for Ubuntu 19.10 became available at that location. Soon afterward, http://releases.ubuntu.com/ was updated so it no longer referred to 19.10 as a beta.

Although the download page at ubuntu.com has not yet been updated to show it, it has been released, and the main website will likely be updated soon.


I used so far the following command:

tar -cvf - /home/your_username/ | split -b 2000m -d -a 3 - /media/backup.tar

As you said you have 12 GB to copy you should have 12 GB of free space on this usb-stick/drive.

To copy the files back to its orig place you just move them back to your home/username folder. Therefore you type in a console that you open in your /home/your_username folder:

cat /media/backup.tar.* | tar -xvf -

terms:

your_username = your username
media = Your path to your usb stick.

You could also copy to your win partiton. But I am not really a friend of that cuz even your win might get damaged somehow. But if you still prefer that you will have to mount your win partition first (if not done already) and then write the files there. (just adjust the commands accordingly)

But I have to admit I never mounted my NTFS partition in Ubuntu. But it should be somehow like the following:

sudo mkdir /media/win123
sudo mount -t ntfs -o umask=007,gid=1000,uid=1000,nls=utf8 /dev/your_ntfs_part /media/win123

after you copied:

sudo umount /media/win123

But I am not a Linux -> NTFS expert. Might be you need NTFS-3G. So best thing will be putting your backup on a normal VFAT32 drive.

I hope I did nothing forget. But as others might read it here they are welcome to comment on it.

BUT I have never tried that out of recovery mode. So wait until you have your CD at hand. But if it works in recovery just report back here please cuz others might need that info once as well.

Good luck!


Unity is already being ported to opensuse ;)

The next unity version is also gonna be using gtk3, so yes it's posible


Accessing my Windows D:Drive, using Ubuntu 16

This answer assumes that the drives on your laptop are not damaged

Boot the computer using the live USB and select Try Ubuntu.

Click the file drawer icon on the left side of the screen.  You will see a window similar to this.

On the left of the new window you will need to locate the drive where your windows files are located.  On this example screen there is a drive called "322 GB Volume".  Depending on how your laptop is set up, there may be several choices.

Click on the volume(s) of interest to mount them.  Their contents will be displayed in the window.  Find the files you wish to save.

Plug in the USB drive you wish to save the data to.  If it does not automount, mount it by clicking on it in the left column as well.

Copy (drag, or select and copy) the files you wish to keep to the USB storage device.


Usually I use quickly release or quickly submitubuntu.  The latter makes it install in /opt/extras.ubuntu.com which is required for post-release submission for the software center through http://myapps.developer.ubuntu.com

$ quickly help ubuntu-application release
Usage: quickly release [--ppa <ppa | group/ppa>] [release-version] [comments]

Posts a release of your project to a PPA on launchpad so that
users can install the application on their system.

Before running 'quickly release', you should: create your account
and a project page on http://launchpad.net.
You also have to add a PPA to your launchpad account.

Name, email, and version will be automatically changed in setup.py and
bzr will tag the current source with the new version number.

If not specified, the new version number will be 'YEAR.MONTH[.RELEASE]'.

For example, the third release in July 2010 would be versioned 10.07.2.

You may want to make sure that the description and long description in
setup.py are up to date before releasing.

You can optionally run 'quickly package' and test your package to make
sure it installs as expected.


It's not a problem specific to a few users, tab casting isn't currently supported with Linux. I guess they are still working out the kinks or something. The only workaround that I've found to work is to just use a windows VM, just make sure to set your network settings in whatever VM you use to bridged, else it won't detect the chromecast.


Unable to login to account in ubuntu 18.04 vmware workstation 15, after update

The issue is with Wayland. While Ubuntu defaults to an X11 session, for some reason they left it enabled for GDM.

You can certainly replace GDM with LightDM, but an easier option would be to:

sudo nano /etc/gdm3/custom.conf

Then change the line:

#WaylandEnable=false

to

WaylandEnable=false

Press Ctrl+O and then Ctrl+X and reboot. If you don't wish to reboot you can do

sudo systemctl restart gdm

Which will restart your windows session (this assumes ssh into the box to fix as above).


Scan from scanner and directly print to another printer (2 devices)

The answer I believe is in this site:

http://ubuntuforums.org/showthread.php?t=1726874

basically on the server you will have a directory that you place the PDF files in after they are scanned, and on a regular basis using cron, they will be printed.

How often you set the cron job to run will determine how long after the file is placed in the folder it takes to print.  I hope this helps

Chris


There currently isn't any support including attached images in signatures, but there is an open bug requesting this and it's something that we would like to add support for in the future.

I would be surprised if using a external URL or a data URLs for the image source (i.e. , or ) don't work, however. If not, please file a bug and we'll look into it.

(Edited to clarify the difference between external and attached)


WiFi keeps dropping out but stills says I'm connected

Restarting Network Manager Service

This is pretty self explanatory workaround, I suppose. In terminal do
sudo service network-manager restart;
 Alternatively, try sudo /etc/init.d/networking restart

Altering module settings

Common solution that works for many cases is altering your module ( aka driver ) settings.
In your instance, you have rtl8723be module for RTL8723BE PCIe card ( which is under lspci in your pastebin output ). Use modinfo rtl8723be what parameters there are for this driver, and you should find ips, fwlps, msi.

Now, you could either alter these parameters using modprobe  command as shown here , or you could permanently change settings by creating a rtl8723be.conf file in /etc/modprobe.d folder. For instane, in command line do sudo gedit /etc/modbrobe.d/rtl8723be.conf , enter your password, and add something like this to the file:

options rtl8192se fwlps=0 ips=0 swenc=1

Save, close, reboot.

Side notes:  1) gedit is a graphical text editor. There are plenty of command line editors. I personally prefer nano or vim. 2) I've never personally changed parameters during runtime with modprobe as in the link, so I do not know if it should or not work during runtime. 3) there is a way of viewing the module parameters during run time with systool -v -m modnamehere , which is part of sysfsutils package; you can install that with sudo apt-get install sysfsutils.

Reinserting module

Another common workaround is reinserting the module at runtime. For instance, with rtl8192se wifi card , my connection would drop, indicator would say I'm disconnected, and when I'd select my wifi to reconnect, it would just hang there "configuring" until the connection timed out. Reinserting the module helped 90 % of the time. I've put all commands into a script:

# !/bin/bash
# Description: Simple script to reload r8192e_pci module for wireless card
# refer to  https://askubuntu.com/questions/286380/wireless-card-problem-rtl8192se-autodisconnects-after-a-few-minutes-in-13-04
echo deloading wifi module...
sudo rmmod -v r8192e_pci
echo reloading wifi module...
sudo modprobe -v r8192e_pci

You can replace the r8192e_pci with your rtl8723be, save in a file, for instance mod-reload.sh , change permissions with chmod +x mod-reload.sh , and then execute it with ./mod-reload.sh . See if that helps.

Altering kernel parameters

In addition to my dropping connection that I've experienced with rtl8192se, I've also had interesting sound glitch/stutter in every audio-producing program, from firefox to smplayer. What helped alleviate the issue somewhat was changing the kernel boot parameters.
Namely, here's what I've changed in /etc/default/grub file:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noapictimer clocksource=jiffies"

Again, you can edit that part in grub file with sudo gedit /etc/default/grub command

Side note: depending on your hardware you might use different kernel parameter there. Refer here for more explanation and here for parameters.

Check the connections
Often we forget that network cards are actually hardware, and sometimes fiddling with options isn't going to solve a physical problem. If you can easily access the network card "under the hood", check if the two antenna  wires that go to it are connected nice and tight, maybe try swapping wires in places.

Upgrade to newer kernel
Modules come with kernels, and with each new release they may get improved. Check out this article on upgrading to kernel 3.18.2.

Get different hardware ?

Bad hardware may be just bad, and no amount of fiddling with it will help. Look up ubuntu recommended network cards, and maybe get one of those. Personally, I went back to my good old RTL8187SE, which is actually recommended, and put aside


Error mounting NTFS partition in Ubuntu 16.04.1

For some reason, Windows has decided to put hibernation data in drives where it doesn't seem to store any, even after a full shut down in some cases. Ubuntu won't mount these as a safety feature, to prevent loss of hibernated data.

However, like I said before, Windows doesn't always actually have hibernation data on the partition you want to mount. You might also just not care about the hibernation data and you really need to get to your Windows partition.

That's where ntfsfix comes in. It removes the hibernation data and allows Ubuntu to mount the partition. Run:

sudo ntfsfix /dev/sdXY

(where X is the drive letter and Y is the partition number)
on an NTFS partition. It will do its magic and leave you with a mountable NTFS drive.


Recent Ubuntu update prevents MySQL root access

I eventually figured out the error was the write access level for the my.cnf file for MySQL. Changing this to 644 and restarting MySQL fixed it up.


Installed Metasploit but it's not working!

They broke it for modern versions of ruby in commit 149c3ecc63bfe8bb261b47ccc783cd9f728692e5. My understanding is it has to do with changes to how ruby handles its path and loading requires.

A quick and dirty hack until they fix it upstream:

diff --git a/msfconsole b/msfconsole
index 9dee479..c3769bb 100755
--- a/msfconsole
+++ b/msfconsole
@@ -20,7 +20,8 @@ require 'pathname'
 #

 # @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
-require Pathname.new(__FILE__).expand_path.parent.join('config', 'boot')
+#require Pathname.new(__FILE__).expand_path.parent.join('config', 'boot')
+require_relative 'config/boot'
 require 'metasploit/framework/command/console'

 Metasploit::Framework::Command::Console.start


How do I open "apt" links in Firefox (in Lubuntu)?

Point the select application to:

/usr/bin/apturl

This sould solve the problem.

Don't forget to check "Remember".


I am not sure whether my window 7 exists after ubuntu installation

Judging by this, you completely removed Windows 7 and replaced the entire system with Ubuntu.

Drive: sda _____________________________________________________________________
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   483,512,319   483,510,272  83 Linux
/dev/sda2         483,514,366   500,117,503    16,603,138   5 Extended
/dev/sda5         483,514,368   500,117,503    16,603,136  82 Linux swap / Solaris

✂----== snip ==----

=================== blkid:
/dev/sda1: UUID="e32ba978-5c81-4a46-90bb-8a0d3da07fb2" TYPE="ext4" PARTUUID="3e4743ee-01"
/dev/sda5: UUID="53dfa072-a4d1-4147-959b-7704c899a0fe" TYPE="swap" PARTUUID="3e4743ee-05"
/dev/sdb1: LABEL="UUI" UUID="3278BBD178BB91D9" TYPE="ntfs"

1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

If you actually had a Windows installation on this drive, you would have a partition on /dev/sda listed as NTFS.

There is no (feasable or guaranteed) way to get Windows back -- it's gone. If you really need Windows, I suggest getting out your backup.


How to give more RAM to wine Applications

RAM:
I don't think there is much you can do as wine takes what it needs. As it is 32bit the upper limit is 4Gb. Then there is a 2Gb (sometimes 3Gb) limit for RAM per application.

Video RAM (VRAM):
You can allow more VRAM by editing the wine registy:

wine regedit
go to:
HKEY_CURRENT_USER → Software → Wine → Direct3D → VideoMemorySize
and set the value to a higher one. The default seems to be 64Mb.
If you see no such key, create it (right-click on Direct3D, select New then String Value and name it VideoMemorySize).

More registry information:  useful registry keys from wiki.winehq.org.

This detailed memory management page from the wine developer notes might give more clues but it is quite technical.


Booting system without full network configuration, how to reverse?

To undo it you can remove the lines that the guide had you add to the /etc/network/interfaces file, and restart the network manager.

However, it sounds like you're not getting an IP address. I don't know how you'd plug directly into a satellite, but if you're plugging into a router (which is plugged into a satellite) I suggest rebooting it and waiting a few minutes (and then restarting your pc or network manager) to see if it helps.