Classification and search software for linking relevant content on local machine to curriculum

If they already have contents in Computer , the only Solution i can Suggest is , Set up A Local Web Server , with Index page Containing all the links linked to data on Computer.

So for different Courses , Different such pages defining such Content can be achieved.

I personally don't think there is any such Graphical software solution ready made in Ubuntu , you can try developing such through Quickly. You can develop through IDE's, if you want.

EDIT : Try EDUBUNTU , it is already pre-equipped with learning and teaching softwares.

  Edubuntu is a grassroots movement, we aim to get Ubuntu into schools,
  homes and communities and make it easy for users to install and
  maintain their systems.

  We are students, teachers, parents and hackers who believe that
  learning and knowledge should be available to everyone who wants to
  improve themselves and the world around them.

  Our Goals

  Our aim is to put together a system that contains all the best free
  software available in education and make it easy to install and
  maintain.


Ubuntu studio desktop doesn't render properly

I got the same problem a while ago, you just gotta set the resolution lower for a bit, so it will render alright, then go to "Settings > window manager tweaks > compositor" and disable it, you'll have less cool effects in your system but it will work with your native resolution. I hope this helped you!


NVIDIA X Server Settings lost on every reboot

Create a xorg.conf file by:

sudo nvidia-xconfig

Look for the Section "Device" part in the xorg.conf file
And add this line inside the section:

Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3322"

Save and reboot your machine.

PS. If you add more parameters, add ; after 0x3322


Steam won't start on Kubuntu 16.10, libGL swrast error

Running this command appears to have fixed it:

find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete

as per this answer and also this one.


You cant' generally change the video cards on a laptop.You can on a desktop. Have a look at e.g http://www.tomshardware.co.uk/forum/295930-15-dell-studio-1558-upgrade-graphics-card

There are ways to connect a graphics card EXTERNALLY to a laptop e.g. http://www.techradar.com/news/computing-components/graphics-cards/how-to-make-an-external-laptop-graphics-adaptor-915616


I had this problem also.
I think it was because I was trying to install it on 32-bit Bodhi 4.5.0. Once I switched to the 64-bit Bodhi 4.5.0 I was able to install zulu-8 with no problem.


Click on the cog well on the top right corner of your screen and choose Startup Applications..., click on Add and on the name field write Skype, on the command field write skype.

Log off and back in and skype should be loaded.


nVidia 9800 GTX+ X11 fails to initialize. no unity or lightdm

Disable the onboard video and go back to using the Nvidia card and boot to a command line.

Then:

Move your nvidia settings:

mv ~/.nvidia-settings-rc ~/.nvidia-settings-rc.bak

Move your xorg.conf:

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Remove the driver completely:

sudo apt-get remove --purge nvidia-current

Reboot, then reinstall the driver:

sudo apt-get install nvidia-current

Reboot again and have the driver generate a default config:

sudo nvidia-xconfig

Reboot a final time and you should have a working X session. You can now log in and reconfigure your setup (set resolution, setup dual monitors or whatever else you need to do).


First of all you should remember to verify ssh key finger prints when connecting to a remote computer for the first time, to avoid MITM attacks.

Having said that, first making a backup, and then removing all previous ssh known hosts is a matter of doing this on your local computer :

cp -av ~/.ssh/known_hosts ~/.ssh/known_hosts-old
rm ~/.ssh/known_hosts

The known_hosts file will be created again after you completely initiated the first new ssh session.


Ok, so i've figured it out and i reckon that should close this topic. for anyone interested or for future reference, that error that i experienced was solved as follows-

Basically, Docky wasn't starting again because despite shutting it down form the Unity launcher, its process was still active, so by shutting it down with the system monitor tool, the process was terminated once in for all and that allowed me to run Docky again.


Can't get VMware-tools to work (copy&paste and shared folders)

Because VMware is proprietary software, it may be hard to get a good answer here.

But I have a suggestion, can you use VirtualBox?

I built a VM of Windows with it, and installed their version of tools, and found it quite simple.  Thiers comes as an ISO file that you mount after your VM is up, and run on the VM.  it might be worth a try.

Other than that this question is better posed on a VMWare forum, because I don't think the problem is with Linux.

Chris


"Booting in insecure mode" - how to reset MOK Management

I had to run sudo mokutil --disable-verification in order to stop the message from appearing at boot. It makes total sense now.


All of the problems vanished after installing kernel version 5.0. Now my system is very responsive just like it was when I had Ubuntu 19.04.
I tried installing the latest  kernel and I got less lags than untouched Ubuntu 19.10 but the system was super fine with 5.0. I felt a more stable experience with Version 5.0 than in any other latest kernels.

Update : issue little gone with kernel 5.5.6


Keyboard layout changes when I unplug and re-plug external keyboard

The problem seems to be that system-wide settings are not saved. In combination with the keyboard layout being reset to the system-wide setting when it is re-plugged, that reset my layout every time. So what helped me was a simple

sudo dpkg-reconfigure keyboard-configuration

which allowed me to set the system-wide keyboard layout. The UI Xubuntu provides did not help there for some reason.


Ubuntu touch compiling: missing msm_ion.h

I had similar issue and I solved it by adding the path to the kernel headers to common.mk (hardware/qcom/display/msm8226/common.mk in your case):
common_includes += path_goes_here


How do I get my Apple Wireless Keyboard and Magic Mouse to work on Ubuntu 14.04?

Probably you only need to pair it using bluetooth settings in Ubuntu and then press Fn + F6 twice in order to toggle numlock, as described in Ubuntu's community help wiki. That's a typical issue when using Apple keyboard.

Take a look at the mentioned wiki page, as it describes how to properly configure this keyboard.


Installing bc is trivial:

sudo apt-get install bc

As for extensions, man bc says:

DIFFERENCES
   This version of bc was implemented from the POSIX P1003.2/D11 draft and
   contains several differences and extensions relative to the  draft  and
   traditional  implementations.

Indeed, the manpage is full of things marked 'extension'.

The maths extensions are applied using the -l option:

-l, --mathlib
      Define the standard math library.

Thus:

$ bc <<<'c(10)'
Runtime error (func=(main), adr=6): Function c not defined.
$ bc -l <<<'c(10)'
-.83907152907645245225


APT - Install packages incl. recommended without an explicit one

To make a package unavailable for installation, upgrading or uninstallation, you can use the command:

sudo apt-mark hold <package>

To make a package available for update

sudo apt-mark unhold <package>


Suspend problems Dell XPS 15 - Ubuntu 13.04

Looks like it's the "rapid start" feature that causes problems, it tries to wake up and shut down the computer after a few hours, but it fails in Ubuntu and makes it eat up the battery.

You can disable it in the bios (F12, setup) to fix this, and it should work great - on 13.10.


Is there a way to share a folder with a mailing-list like a google-group?

No, there is no way to do this currently.

While you can send the invitation mail to a mailing list, the invitation will be accepted by the first individual Ubuntu One account that "uses" it.

That means the rest of the mailing list users will have an invitation that doesn't work. So, you should send invitations to each individual email that you want invited.

On the other hand, a "mass invitation" tool would be a nice application of our 3rd party APIs :-D

More information about them at https://one.ubuntu.com/developer/


How can I move between workspaces in GNOME the same way as in XFCE/Xubuntu?

Actually yes! BUT, only if you are running compiz.

First you need compizconfig-settings-manager (get it from software center).
Once you have it installed, you can find it in the preferences menu (system>preferences).

You will be met with a screen like this:.

Now, the plugins you want to edit are either Desktop wall, or Rotate Cube. Which one you use depends on the workspace switcher that you have.

In either plugin's configuration dialogue (click once to access it), there is the option to switch on pointer movement.

If you don't want to use either of this virtual desktop managment plugins, you can also switch viewports with the viewport switcher plugin.
To do this, click on the last tab, which contains mouse based options. The two options you want are the second and third last buttons. Click on them, and they will bring up a dialogue like:

This one. You need to check enabled (usually these options are not enabled), and then you can choose to switch based on a corner of your screen.

As far as I understand you cannot do this with Metacity as your window manager. However, you don't need to have all the bling enabled with compiz either. Once you have the settings manager you can disable all the useless plugins you don't need.

Hope that helps! If you don't understand something, you can leave me a comment and I'll try to explain better.


I realised that I installed 32 bit, I have a 64 bit processor. I Installed 64 bit Ubuntu 12.04 and so far it's running perfectly, thank y'all for your help.


GNU GRUB problem after ubuntu 16.04 update

Same here. I ended up fixing it using recovery CD to repair grub related stuff. You can take look at this one https://help.ubuntu.com/community/Boot-Repair


Will my Steam play be available on Linux?

Although Steam is available and officially supported for Ubuntu, not all of the games sold there are. Visit the store page of the games you want to keep playing and look out for the system requirements:

If it has a Linux tab, then you should be fine. Else, your game will most likely not run on Ubuntu, at the most with Wine, but don't have too high expectations.

If the game is Linux compatible, your game progress etc. will still be available, as Steam stores that on its servers.

Only with screenshots you have to watch out. After you quit a Steam game and you took screenshots, you are prompted to upload them. If you don't, they'll only stay locally.


kubuntu 13.04 - run applications minimized at startup

You can try to achive that with KWin Rules Window Matching.

Example Calibre application.

1) Make sure to disable the "splash screen on startup" in calibre

Open Calibre and go to Preferences > Look and Feel > Main Interface

Uncheck "Show splash screen on startup" , then click and "Apply"

2) Go to System Settings > Window Behavior > Window Rules

3) Creating the rule.

Click in "New" a new window cames up and fill the Description. eg: Calibre.
Click in "Detect Window Properties", the cursor will be a "Cross" and with the cross click in the Calibre Window.

A new window will appear (With the calibre window information), check "Secondary class name" then OK.

Go to the Size & Position tab and check Minimized , Apply Initially and Yes.

Click OK then Apply

4) Add Calibre to startup.

Go to System Settings > Startup and Shutdown > Autostart then click in Add Program

Search for Calibre in the Office Category, then click OK, then Click OK again in the Properties for calibre.desktop window

Finally you can Logout and Login or Restart you computer to test "Calibre minimized at startup".

It should look like this:

Calibre will start minimized in the Task Manager.

NOTE: Please change the rule for matching anything according to your needs. This is just an example.

Hope it helps.


What's the best speech recognition software for Ubuntu?

Check out Google2Ubuntu.

  "The aim of this project is to let you use the Google speech
  recognition API to control your linux computer."

It comes with a pretty nifty interface, which you can use to define your own commands, etc. Here's a demo.


How do I sync contacts on my iPhone to Ubuntu-One?

From http://voices.canonical.com/ubuntuone/2011/05/09/some-changes-to-contacts-2/

  As of June 1, 2011 the current Ubuntu One contacts sync for mobile will no longer be active. We’re stopping support for our current service so we can focus our energy on launching a much better service sooner than we could otherwise.


Canon MF8580Cdw won't print on Ubuntu 16.04

I found the answer: I had to install Skype to get the printer to work! The only difference between the laptop that could print and the one that didn't was Skype. Seems like this 64 bit Canon driver needs some 32 bit or QT stuff to work. Canon should add whatever it is to their packages. As soon as Skype, which is a 32 bit application) was installed with it's enormous amount of dependencies the printer works again. I am not knowledgeable enough to be able to find out exactly which part of Skype's dependencies makes the printer work, but maybe someone else can?


Problem With onBoard Wireless Network Card in Lenovo Laptop Ubuntu 15.10v

Try the Answer posted by varunendra

The smarter way to save the security key, along with other settings is to do it via Network Manager settings (nm-applet menu > "Edit Connections" > "Wireless" tab > double-click your connection > "Security" tab). That is the frontend to handle those key files.
Assuming something might have broken in Network Manager installation while upgrading, you may try to completely purge it, then re-install it. To download the packages in advance (since you'll lost internet connection >as soon as you purge it

sudo apt-get install -d --reinstall network-manager network-manager-gnome

Then to purge it
sudo apt-get purge network-manager-gnome network-manager

To reinstall it (I suggest a reboot in-between) from the downloaded packages, simply

sudo apt-get install network-manager-gnome


How to expand the OS backwards by backing up all the configs and programs and all?

In gparted, you can move existing partitions without data loss. However, the process can take a long time.

Delete sdb4. Click "Apply".
Move sdb5 into the space freed by sdb4. Click "Apply". That will be a slow process.
You could now resize sdb5 to fill the free space at the back

An alternative approach could be to leave your sdb5 where it is, i.e., leave your system files there. Then you could reformat sdb4 into a file format that supports linux file permissions, most obviously ext4, and use that as a partition for data storage (e.g. Pictures, Movies, etc.).
Another option is to turn sdb4 into a separate home, but as your root partition, at 36 GB, is rather large for the system only, you can easily leave your user configuration data there.
To make this a seamless experience for the end users, you can replace the relevant storage folders of the users by symlinks to the actual folders on sdb4. From the perspective of the user, this works exactly the same way as a physical folder.


12.04 LTS 64 bit - Login Screen - Broken Pipe / No Graphical Interface

Since your in the command line try typing startx. If that doesn't work try sudo apt-get install ubuntu-desktop. Hope this helps!


Contact the Ubuntu Forums Council

https: https://wiki.ubuntu.com/ForumCouncil

  Contact The few ways to contact the Forums Council:

  Post to the Resolution Center if you have a problem on the forums.
  E-Mail: ubuntu-forums-council@lists.ubuntu.com


If I run Ubuntu with Xorg display, docky works fine.


Which properties define "auto mount" directory names?

For any FAT the label apply:

/media/user/label

For NTFS the serial:

/media/user/serial

For ext2/3/4 the UUID:

/media/user/UUID

Others (HSF+, XFS, ZFS, etc. etc.) use any unique identifier if they use any or label if they don't have.
Network filesystem (SMB, NFS, etc.) use the name of the resource:

//server/resource

becomes:

/media/user/resource

  created a single ext4 partition, labeled it "backup", like I did when initially preparing that disk.

In this case, the media was mounted using the UUID. You can unmount the drive and make gvfs "forget" the name of the filesystem it used previously using the "Disk" utility or assign manually a mountpoint.


I'd love for someone to come up with some more numbers on this, here's my little analysis:

There are around 100 bugs tagged "regression-release", that are of "High" importance. A further three are marked "critical", two of those affect a bunch of specific ThinkPad models.

Have a look at the regression tracker, note only the ones that are tagged "regression-release".

There are quite a lot of them, of course, but then the average bug affects only a few users (now that's a number I'd like to know). Note that pretty much all of the 'serious' bugs have to do with some specific piece of hardware, and thus wouldn't affect "well supported" hardware platforms.
Take the time to sort this list by importance and read some of the descriptions. To me at least, many of them appear very minor, or affect only a small set of users. But I can't be the judge of that.

The likelihood of a normal user experiencing a release upgrade regression is almost impossible to estimate. The hardware platforms vary immensely.

Note the affected packages, this will give you an indication as to the likelihood of a regression affecting your specific configuration. You'll notice many of them are filed against 'linux', and most of those are driver issues.

In my experience, everything works perfectly all the time. See how worthless that information is. ;-)

I fear that's all I've got. It's really not a problem that is discussed much, which is why I have to doubt it exists at all. People usually only investigate such things in detail, create comprehensive statistical analysis, if many users are affected; due to the way Canonical and the community test before they release, this appears to be rare.


Go to power management settings on Windows and turn off fast start-up
That should do the trick for you
Windows basically keeps the drives in a suspended state and to prevent data loss Ubuntu cannot mount it with rw permissions.


No, you can safely delete the folders. However, folders with a lock on them can't be deleted by moving to trash.

Fire up a terminal, and enter the following to become root:

sudo nautilus

and then repeat your search and delete the thunderbird files.

UPDATE

Prior to 13.04 , try gksu instead of sudo.


I found it.

You need to edit the scrip that they talk about her to mimic right clicking, not middle clicking. Here are the steps.

Install mouseemu:

sudo apt-get install mouseemu

edit the /etc/default/mouseemu file:

sudo nano /etc/default/mouseemu

Then add this to the file:

RIGHT_CLICK="-right 125 272"      # Left Apple Key (LEFTMETA) + click

Do everything else the same as the forum post.

I hope this helps folks.

Reference: Ubuntu Forums: i can't right click


18.04 Ubuntu Budgie: How do I add a link to the Applications menu in plank?

To add applications to Start Menu in Ubuntu / Lubuntu / Budgie, you have to create a Launcher in the /usr/share/applications/ folder as follows:

sudo gedit /usr/share/applications/<launcher_name>.desktop

Then edit these entries accordingly. You can also copy additional entries from existing launcher in the Category where you want the launcher to appear.

[Desktop Entry]
Type=Application
Icon=<path to icon>
Name=<name to appear in menu>
Comment=<tooltip>
Categories=<menu categories>
Exec=<path to executable>
Path=<set working directory if necessary>
StartupNotify=true
Terminal=false

Add Launcher to the Dock in Budgie: Drag&Drop the launcher from the Menu into the Dock.


General linux question: What is the best way to add another distro to a dual booting system?

Back up everything just to be sure.
Shrink your partitions to free some unpartitioned space on the drive.  This can be done from an Ubuntu Live CD using "gparted".  In your case you should be able to just shrink the larger partition.
Run the installer for the other distro.  When asked where you would like to install, choose the unpartitioned space.  This may involve setting up new partitions manually. When the installer asks if you want to install Grub to the master boot record of your drive, tell it not to (if you are given that option).  It should reboot, but into your existing boot manager.
Boot into your existing Linux install (Ubuntu).  Run sudo update-grub and Grub should detect the new OS as another secondary OS and add it to the Grub menu.
Reboot and the new OS should be in the Grub menu.


As far as I understand, this isn't possible with /etc/hosts, but I could be wrong

You understood that correctly.

DNS (and /etc/hosts is part of the DNS resolver) resolves hosts.
It does not do anything with URLs.

In 86.75.3.09 www.example.com/dir/* is not the name of a computer/host, so it should throw an error or ignore the line.

This is normal DNS operation and this is just how it works.

Confusingly HTTP is an odd duck. the HTTP protocol does look at server names and directories. The host will use DNS to resolve the IP, and then sent a datagram which includes the URL. This is why you can have different rules for different directories when you play with proxies (or even multiple website domains on a single IP).

But as written before. HTTP is the odd duck here. And first it will need to resolve the IP via DNS.

I pondered posting this as a comment since it does not really help you with the problem, other then understanding where things go wrong. Sadly comments do not allow a lot of formatting. :(


12.04 after latest update, no unity, no top bar, only wallpaper. Can you help?

It's happens to me.
First of all, tell me your video card. (I have a nvidia 520M(laptop) with optimus technology)
Second, test if you can go into ubuntu 2D(when you start session, before type your password, select in the rigth icon of ubuntu, ubuntu 2D)
If you can, you are in my same problem that I had a some time ago.

If you have a laptop with nvidia card with optimus technology, install bumblebee(search in google), and all will works =)

If not is your case, please comment me and I try to help you.


you probably need to replace old buggy kernel module with your newly compiled one and make system aware of it

Try the following:

lsmod | grep rtl8188ee - see if the module is loaded
sudo modprobe -rv rtl8188ee - unload old module
cd ~/path/to/compiled/module -
sudo cp rtl8188ee.ko /lib/modules/$(uname -r)/kernel/drivers/- copy new module to current kernel lib directory so you dont accidentally delete it in your home folder
sudo modprobe -v rtl8188ee- enable module again.
This should suffice since the module is in default kernel lib directory, however I recommend issuing sudo update-initramfs -u at last.
Reboot and see if this helps

Hope this helps

Update:
Just noticed the last comment that you solved it yourself. Anyways I'll just leave this answer in case at can help anyone else


you have to run unity-2d-panel command . this will just give you the unity panel on the top.If you add this to startup then automatically it will run at startup everytime and you can add it with session and startup .

hope that helps.


Ctrl-Alt-T stopped working after installing GNOME Shell on Ubuntu 18.04

Go to Settings -> Devices -> Keyboard, then add  Ctrl + Alt + T if it does not exist.


How can I activate a custom keyboard layout

Reading a similar question (Adding custom keyboard layout to Xubuntu 13.10), this page showed me the answer: I have to edit the evdev.xml and base.xml files in /usr/share/X11/xkb/rules, adding a variant snippet, too.

This is nicely described there. Just one more caveat: Use setxkbmap '<file>(<yourvariant>)' (for the example in the question: setxkbmap 'us(usintde)') to test your layout and to make sure that you can log in again.

Sorry for this duplicate. I read many similarly named questions and answers which only treated the symbols/xy files and old versions of the unity settings. I found this one too late.


Virtual Box hangs when restarting after completing the installation of 12.04?

I tried doing the same procedure this evening and ran into the same issue. I fixed it by doing the following:

When it hangs, power off the virtual machine (I waited a bit, but I don't think it's necessary).
Go into your System Settings, and remove the .iso file from the Storage->Controller settings. I set mine back to Host Drive 'D:'.
Start the virtual machine back up. It should now boot into Ubuntu with your configured settings.

I'm using VirtualBox 4.3.6 and Ubuntu 12.04 LTS.


Which application controls the power management?

Many of the individual applications that you previously saw in the system settings you saw in Natty (11.04) have now been gathered together under the banner of the gnome-control-center

Thus to launch the Power Manager from the command line you need to run

gnome-control-center power

The way I found this was to run gnome-control-center - double click on the setting you want and then type ps -ef | grep gnome-control-center to see what the process is being run e.g.

ps -ef | grep gnome-control-center
dad       2158  1592  0 21:07 ?        00:00:00 gnome-control-center power


I have no idea what is causing this glitch, but you should try the latest version of Blender instead of the outdated version in Ubuntu’s repositories.

Download it from the Official Blender website.

Maybe this is a bug related to the version of Blender, not to your system; in this case, using a more recent version should fix it.


I can only answer how 3-D playback of movie files is achieved on my system.
I use  LG 2780D passive 3D monitor connected by HDMI to a Geforce 520T.

2 methods

Method 1, not strictly done via Ubuntu, but by the monitor itself.
Play the 3d movie with any media player that plays fullscreen.I use VLC.
Just Use the monitor remote to select 3-D mode according to source.(Side by Side or Top,Bottom etc). Advantage of this method is the quality of the source. Disadvantage is having to switching the monitor back and forth when viewing 3-D  and using the desktop in 2-D.

Method 2 - Use a player that can deliver interleaved 3-D, only one I know of for now is Youtube (in Firefox), using youtube videos.
Using Youtube as source, change the 3-D method to interlaced.
You can now watch 3-D either in the youtube window or expand youtube to fullscreen.
Advantage - no switching modes with the monitor.Disadvantage the variant quality of the source and you are limited to youtube clips.

In general you want to use 1080p for the source movies as the resolution is reduced to view 3-D (using passive).

So for movies at least, no special development/driver is required, just a 3-D capable player.


Dual booting windows and Ubuntu. Windows 7 wont load!

there are no windows partitions, I think You erase windows partitions during ubuntu installations.
How did You install dual boot with windows?


Plymouth splash screen different boot than shutdown

You have to Press Alt + f2 and paste

gksu update-initramfs -c -k all


No release file for eoan on old-releases.ubuntu.com

As of about 7:15 am CST (UTC-6) on 2020-12-14, the Release file exists on http://old-releases.ubuntu.com/ubuntu/dists/eoan/.


The output  of ssh root@192.168.0.2 "tcpdump -s 0 -U -n -w - -i eth0 > /tmp/pipies/cap_fw command is redirected to the named pipe (/tmp/pipies/cap_fw). Thus, you will not see absolutely nothing in terminal when the process begin. So, it's a normal behavior.

Therefore, let like this the current open terminal to send signals to the pipe and open a new terminal or a new tab in terminal and go to the step 3 from your tutorial. When you will start wireshark -k -i /tmp/pipes/cap_fw in second (tab) terminal, you will be asked for password in first (tab) terminal. So, enter your password to continue.

Look also at the image from your tutorial to understand better.

See also: Using Named Pipes (FIFOs) with Bash


Can't get new software on ubuntu software centre

This seems to occur because packages installed have dependencies that may conflict with dependencies of packages that you are trying to install.  I had this and on the forums I had searched suggest a stepwise attempt to correct problem, each more aggressive than the one before, moving on to the next step if it fails to resolve issues....

Step 1)

sudo apt-get update
sudo apt-get upgrade

This may fail

Step 2)

sudo apt-get -f install

This may fail too.

Step 3)

sudo apt-get remove --purge  libstdc++-4.8-dev-arm64-cross

this will try to remove offending package but will generally create another message e.g.

   ..
   The following packages have unmet dependencies.
   dkms : Depends: gcc but it is not going to be installed
   g++-multilib : Depends: g++ (>= 4:4.8.2-1ubuntu6) but it is not going to be installed

just repeat the above command adding things that have unmet dependencies i.e.

sudo apt-get remove libstdc++-4.8-dev-arm64-cross dkms  g++-multilib

and keep going until the removal succeeds.  You can then do a upgrade and update as step 1, and reinstall things you need.


How to not minimize the particular windows on Show Desktop?

ccsm->general->general setting-> Hide skip taskbar info(3rd from top). Uncheck it. That is what is use in case of gkrellm.


Run "sudo service udev reload" without root priviledges

From the man page: sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.

So, this is the proper way to restart a service:

sudo service udev reload

if you do not want to do it by hand, you can always add an entry in crontab to execute the command at time intervals


Note: Your Ubuntu version is out of support. So, you won't be able to install any new software from the official Ubuntu repositories. You have to use whatever command is already present in your system.

There may be hidden files or directories (their names starting with .) on your file system hierarchy that take too much disk space.
To search for the largest 20 directories or files starting from the root (/) directory, you can use the following command:
 sudo du -am / 2>/dev/null | sort -nr | head -n 20

Adjust the parameter 20 according to your needs.


Is there a resource which lists Ubuntu Security Notices?

I don't know if there's a one-to-one correspondence, but you can use the Ubuntu CVE trackers, maintained by the Ubuntu Security team. For example, the tracker for software in main is http://people.canonical.com/~ubuntu-security/cve/main.html:


How do I preserve the programs I install and changes I make to a LiveUSB session?

Try this article https://wiki.ubuntu.com/LiveUsbPendrivePersistent/


Find files and pack them using a shell script

Assuming your find command works the way you want you just need to change your bash syntax a bit. Also your tar command is extracting -x.

files=$(find ./ -type f -size +$1c)
#fix names in case there are spaces. Insert \ to escape spaces
goodNames="${files// /\\ }"
tar -czf bigfiles.tar.gz $goodNames


If it automatically loads after logging in, clicking the four squares icon widget and choosing "Quit", or disabling it through Settings -> Universal Access -> Typing -> Typing Assistant should both yield the preferred result.

If it loads prior to logging in - mostly when returning from Suspension or Hibernation (or if the problem persists), use the following path:

Open onBoard through Settings -> Universal Access -> Typing
Click the button showing either 123 or multiple horizontal lines.
Click the settings button.
This opens OnBoard Preferences (comments on the command to skip the above lines would be nice, it's just the only way I know for sure)
General tab -> Desktop Integration section -> untick Show when unlocking the screen

This should disable it globally for the launch/wake screen.
If this fails, the Universal Access icon should be somewhere on the launch screen as a widget as well. Changing the settings there should achieve a global result as well.


Ubuntu 16.04 - Can't run software update or apt-get-update

Your GPG key for opensuse repository has expired.

If you don't need this source, comment the source entries with this command:

sudo sed -i '/opensuse/ s/^/#/' /etc/apt/sources.list.d/*.list

And run this command for delete expired key:

sudo apt-key del 1496576244

Then run this command for update repositories:

sudo apt update


You can write the installer image to a hd and boot from it.  If you edit the kernel command line options on the boot menu and add toram then it will load entirely into ram and leave the disk unmounted so you can reformat and install the system there.
Assuming /dev/sdb is the drive you want to use ( wipe out ):
sudo dd if=ubuntu.iso of=/dev/sdb


Since you started screen with screen -S R, you initially started with a shell inside the screen session, probably bash. So, you could take advantage of bash's job management by pressing Ctrl+Z to suspend the R process, and then resume it later with fg:

[1] 7221
[1] 7222
[1] 7223
[1] 7224
^Z
[1]+  Stopped                 R

$ fg
[1] 7225


How to get intel graphics drivers for 14.04?

There are no proprietary drivers for Intel (which is the reason you use another interface for installing the nvidia drivers - they're provided as binary blobs. In case you want to have more up-to-date drivers for your intel graphics card, you can add this ppa:

https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/x-updates

but I would not recommend it since it could lead to instabilities.

See also: How do I find a proprietary driver for the Intel graphics card I have?


As you are getting the following error message:

  gpasswd: group'fuse' does not exist in /etc/group

This indicates that there is no such group, yet!
Please test if there is and subsequently alleviate the problem as described below:

check if there is a fuse group with:

cat /etc/group | grep 'fuse'

If there is it would look like:

fuse:x:1001:

If there isn't, add one like this:

sudo groupadd fuse

At this point you can add yourself to the group with:

sudo usermod -a -G fuse your_username


The right /etc/sudoers configuration to prevent prompting for password is:

myusername ALL = NOPASSWD: /home/scriptname, /sbin/modprobe lib80211, /sbin/insmod /home/pitto/Drivers/broadcom/wl.ko


Right-click acts too fast - No Fix Yet, Any Workaround?

Facing the same problem after upgrading from 11.10 to 12.04. Workaround it not to release the right click button immediately -release on the menu item of our choice.


How do I produce xHE-AAC Audio files under Ubuntu?

For many years no Open Source xHE-AAC encoder existed for Linux but that has all changed in early 2020 with the initial release of Christian R. Helmrich's exhale. This builds easily under Ubuntu, I have tested under 20.04 where only a few steps are required:
Building exhale...
Use the following steps in sequence, copying each command and pasting into a Terminal window (Note: If you have a 32bit installation you will need: BUILD32=1) :
sudo apt-get install build-essential
mkdir $HOME/Desktop/exhale_build && cd $HOME/Desktop/exhale_build
wget https://gitlab.com/ecodis/exhale/-/archive/v1.1.3/exhale-v1.1.3.tar.gz
tar xvf exhale-v1.1.3.tar.gz && cd exhale-v1.1.3
make BUILD32=0 release
sudo cp -v bin/exhale /usr/local/bin

And this has successfully installed our xHE-AAC encoder; test your installation as follows:
andrew@ilium~$ exhale | head -n 6

  ---------------------------------------------------------------------
 | exhale - ecodis extended high-efficiency and low-complexity encoder |
 |                                                                     |
 | version 1.1.3 (x64, built on Mar  3 2021) - written by C.R.Helmrich |
  ---------------------------------------------------------------------
andrew@ilium~$

And now for a few usage tips:
Using exhale...
To test exhale I would strongly advise the use of a 'standard' wav file; this can be downloaded and extracted as follows:
cd $HOME/Desktop
wget http://samples.mplayerhq.hu/A-codecs/lossless/luckynight.wav.bz2
bunzip2 -v luckynight.wav.bz2

And now this files can easily be encoded to xHE-AAC using a selected preset bit-rate mode from 1 - 10 with 1 being about 64kbit/s and 10 being about 192kbit/s. The following encodes to about 96kbit/s:
exhale 3 luckynight.wav luckynight_USAC.m4a

Congratulations, you have produced an xHE-AAC file under Ubuntu!
Notes...

exhale Wiki :: Frequently Asked Questions (FAQ): Some useful questions and answers in particular a table showing the relationship between bit-rate mode and resulting kbit/s.
Topic: exhale - Open Source xHE-AAC encoder: The Hydrogen Audio home for exhale. Importantly the developer posts here and is available for feedback.
FFmpeg Ticket: Support USAC / xHE-AAC: The crucial ticket to get a decoder available in avcodec and thence in MPlayer, mpv, vlc etc.
What about playback??: Best playback for Linux users at the moment is to use Wine and the latest release of Foobar 2000. You will also need to install version 1.7 or later of the fdk-aac packet decoder found here...


Need fix for TP-LINK TL-WN781ND 150Mbps Wireless PCI Express Network Nic

Your network card seems to be having an auto-negotiation issue or a cabling/port problem.

As the diagnostics in the comments don't improve the speed beyond 100MBit half duplex (50Mbps), please add the following commands to your /etc/network/interfaces:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
post-up ethtool --change eth1 speed 100 duplex half autoneg off

and that should provide a very stable workaround to your problem as these will survive a reboot whereas the ethtool --change eth1 speed 100 duplex half autoneg off just on the command-line does not.  So stable, in fact, that we can call it a "solution"...  ;-)


What is the new syntax for `nmcli show` and `nmcli modify`?

You have it the other way around. These options were recently introduced, not recently removed. nmcli on Ubuntu 16.04 does have these options:

$ nmcli --version
nmcli tool, version 1.2.2
$ nmcli con --help
Usage: nmcli connection { COMMAND | help }

COMMAND := { show | up | down | add | modify | edit | delete | monitor | reload | load }

  show [--active] [--order <order spec>]
  show [--active] [id | uuid | path | apath] <ID> ...

  up [[id | uuid | path] <ID>] [ifname <ifname>] [ap <BSSID>] [passwd-file <file with passwords>]

  down [id | uuid | path | apath] <ID> ...

  add COMMON_OPTIONS TYPE_SPECIFIC_OPTIONS SLAVE_OPTIONS IP_OPTIONS [-- ([+|-]<setting>.<property> <value>)+]

  modify [--temporary] [id | uuid | path] <ID> ([+|-]<setting>.<property> <value>)+

  clone [--temporary] [id | uuid | path ] <ID> <new name>
  ...

nmcli on 14.04 (0.9.8.8) doesn't have these options, because they were introduced in a later version.


I'd just reinstall the package...

sudo mv /var/lib/dpkg/info/openjdk-6-jre-headless.postinst /var/lib/dpkg/info/openjdk-6-jre-headless.postinst.bad
sudo apt-get --reinstall install openjdk-6-jre-headless


Check /etc/ntopng.conf

I had same issue, I update the -i parameter with the server interfaces.
start the service.


Ubuntu has full support for RTL languages like Hebrew. If you installed Ubuntu and chose a Hebrew keyboard layout then you can switch from English to Hebrew and back using the Alt+Shift keys.

If you can't, make sure you have Hebrew keyboard layout by opening Keyboard Layout and adding the RTL language:

You can then choose what keyboard combination will be used to switch between languages by clicking the Options... buttong and setting like the below:


g++ and boost linker error after upgrade

The solution involved changing the order of linkage, as per the man page.  The thing is that it used to work fine with an older version of g++...

$ make
g++ -I/usr/include/boost -MM ./YYY.cc ./main.cc ./myClass.cc > buildfiles.d
g++ -ansi -O2 -Wall -I/usr/include/boost   -c -o main.o main.cc
g++ -ansi -O2 -Wall -I/usr/include/boost   -c -o myClass.o myClass.cc
g++ -o prog -ansi -O2 -Wall -I/usr/include/boost  ./YYY.o ./main.o ./myClass.o -lstdc++ -L/usr/lib -lboost_program_options -lboost_thread


How do I get back files after "mv * .*"?

Your files are not hidden, you have moved all files (and directories if any) one directory up.
This happens because mv * .* won't work as you think it will. The command mv will only move one file to one file (rename) or move one or multiple files to a directory. It won't move multiple files to multiple files with some smart renaming.

What happened?
Let's assume we have one directory and 3 files in our directory:
dir1
file1
file2
file3

Some Shells (e.g. bash, dash, ...) will expand your command to:
mv dir1 file1 file2 file3 . ..

Your expanded command fits the second form of the SYNOPSIS you find at man mv:

mv [OPTION]... SOURCE... DIRECTORY

Note the . and ..:

. is the current directory,
.. is one directory up.

The command means: move dir1, file1, file2 and file3 and . to ..; It will also essentially give an error, something like:
mv: cannot move '.' to '../.'

But given you have write permission in that directory, all other files have been moved. You can find your files in .. (= one directory up). However, files with same name have been overwritten and you won't know which files was in which directory before.

If you had a subdirectory .hidden-dir, it would have expanded to:
mv dir1 file1 file2 file3 . .. .hidden-dir

Then, all files would have been moved to .hidden-dir. However, this seems not the case for you, because the you would have seen .hidden-dir in your ls -la output.

How to fix
Run:
mv ../dir1 ../file1 ../file2 ../file3 .

However, you need to know the names.

What you should have used
mmv '*' '.#1'

or
rename 's/^/./' *


There is a tool that scans the harddisk for typical headers of the file type you are looking for:

TestDisk, which is closely related to photorec.

You could also look for known words in the document on the harddisk; But you can not be sure that words occur as normal text in the file, you would need to search for them as individual words, in the right order.

I think it makes much more sense to do this search on the files that were found by testdisk.


Ubuntu SSH & HTTPS Connection Issues after OS update

Found a solution here: https://askubuntu.com/a/312183/527841

My router MTU was set to 1500. After changing the MTU to 1476, everything was great again.


It's just like Steam says: the drive has to have executable permissions. You can edit your fstab file or use the disk utility to handle that for you. Examples can be found in previous questions asked here.


I had Win 7 and now i want to access data on my D:\ and E:\ drive after complete Ubuntu installation?

It's most likely that you failed to read the instructions, and have destroyed the partitions and formatting of your previously existing volumes, effectively erasing the entire hard disk and all its contents.

If that's the case, the only possible chance of recovering any data that was stored in those volumes is "forensic file recovery" software; given your track record, probably best used by a professional (or at least someone with experience).  Paying for data recovery will likely cost between $100 and $200 (early 2015) for the attempt with no guarantee of recovering anything, and odds are good that a computer store asked to perform this task will take your money and fail completely.  A data recovery specialist, on the other hand, has pretty decent odds of recovering at least some of the data from the old volumes, but may charge several times the above figures and still won't guarantee results -- and the attempt is likely to take a week or more regardless of results.

There's a slight possibility (depending on the options you selected during installation) that Ubuntu installed in unallocated space or shrank a partition to make free space for itself; seeing only a single "ext4" volume would be what's expected for that, and Ubuntu can install in a rather small workspace (I have Kubuntu running in a 20 GB partition with separate data volume, and a couple other machines with other Linux distros running in as little as 12 GB for OS, programs, and user data).  I'd recommend getting someone local to you with experience on Linux of some flavor to evaluate your system before you attempt to do anything else with it.


Can magic lamp effect be enabled on Ubuntu 18.04 GNOME?

You can use this extension: https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect
Here you can see the extension in action: https://youtu.be/DKicPyYI04w


The bug reporting process prevents me from reporting my bug

To report the pulseaudio crash, open page https://bugs.launchpad.net/ubuntu/+source/pulseaudio with a web browser, click "Report a bug" and follow the directions.

To report the problem of the USB sound device being detected at boot but not at a later time, do the same but with the udev package: https://bugs.launchpad.net/ubuntu/+source/udev.

If it turns out that another package is responsible for the malfunction then the report can always be reassigned.


Searching ppa for recent versions of git and cmake

Yes, https://launchpad.net/~git-core/+archive/ppa is the correct place for the git stable PPA.

As for cmake, I'm not sure there's an official PPA for that... but if you have a look at the bottom of this link, you'll see some PPA's that do exist for it: https://launchpad.net/ubuntu/+source/cmake


Unable to get login screen on Ubuntu 17.10

Unstalling gdm, which refused to work, and installing lightdm instead worked.


Ubuntu 20.04, no user found in settings menu as well unlock button not found

First, close settings, then fire up a terminal.

Enter the following commands and then it should work:

sudo service accounts-daemon start
sudo systemctl enable accounts-daemon.service


How to list folders horizontally , like iOS, in Unity launch bar

I've written a little app that is very similar to folders on a Mac dock called Drawers: http://launchpad.net/drawers

You can put just about anything in a drawer by drag and drop. You can even nest drawers inside one another. See below for a screenshot.

To install, run the following in a terminal:

sudo add-apt-repository ppa:ian-berke/ppa-drawers
sudo apt-get update
sudo apt-get install drawers

Then create your first drawer by opening the dash and typing Drawers.


Ubuntu upgrade of Firefox 9 in Ubuntu 11.10

It has been in proposed for a few days now, so unless someone discovers any problems with it, you can expect it soon. I guess sometime during the week.


Booted into recovery mode via grub and the sound worked as expected. Then I booted normally and the sound worked.


I dual boot Ubuntu 14.04 and Windows 7. If I upgrade Windows 7 to Windows 10 Technical Preview, will that overwrite my Ubuntu partition?

From Reddit:

  When I installed it, it didn't overwrite my Ubuntu partition but it
  destroyed the GRUB bootloader and made Ubuntu unusable. You may want
  to use a diffrent hard drive just to be safe.

  Windows tends to like overwriting the MBR. If it does, to fix it just
  grab a boot-repair image. That'll rewrite your MBR so it invokes Grub
  again. https://help.ubuntu.com/community/Boot-Repair

Source


low-graphics mode after update to 13.10 and reinstallation of nvidia drivers

For me this is what worked:

When I got stuck at the low-graphic mode window,  pressed CTRL+ALT+F1 to go to a terminal mode input
Log-in with user name and password
remove bumblebee:

sudo apt-get --purge remove bumblebee

reboot:

sudo reboot

Reference:
http://ubuntuforums.org/showthread.php?t=2197861


How can I configure Ubuntu/GNOME to accomodate my keyboard/mouse habits from Windows?

The first question involves code changes to gnome, as far as I know there is no way to change this behaviour without code changes. you might want to report a bug.

The second question is a problem with Eclipse/Java.


How do I subscribe to RSS feeds in Firefox with Google Reader?

Some audio and video feeds are not the normal "RSS" feeds, so you need to add quite a bit of configuration to Firefox to get it working.

Enter about:config into the address bar of Firefox, That will bring up this screen:

Click on I'll be careful, I promise!
Next you need to enter in a lot of new strings, so first search for browser.content, that should bring up values like this:

Look for the biggest number of browser.contentHandlers.types.#.* # being a number, * the text following. In my case the largest one was 5 when I began, and the values at the bottom that are bold are the ones added.
Next you need to add several lines by -> Right Click -> New -> String

Make The Following addidions substituting the numbers with the next highest numbers that you had from step #2 most likely this will be 6 & 7 but it may be different.

**Preference Name**                               **Value**

browser.contentHandlers.types.6.title        Google
browser.contentHandlers.types.6.type         application/vnd.mozilla.maybe.audio.feed
browser.contentHandlers.types.6.uri          http://fusion.google.com/add?feedurl=%s
browser.contentHandlers.types.7.title        Google
browser.contentHandlers.types.7.type         application/vnd.mozilla.maybe.video.feed
browser.contentHandlers.types.7.uri          http://fusion.google.com/add?feedurl=%s

browser.audioFeeds.handlers.webservice       http://fusion.google.com/add?feedurl=%s
browser.videoFeeds.handlers.webservice       http://fusion.google.com/add?feedurl=%s

Source of code from http://forums.mozillazine.org/viewtopic.php?f=38&t=2083697

After making those additions to about:config, Restart Firefox then try a audio or video feed that you want to add using Google Reader. Which should now be a drop down option on these feeds where previously only "Live Bookmarks" was present.

Lastly you can now change the default by going to -> Edit -> Preferences -> Applications

And change the Defaults for "Podcast" and "Video Podcast" to Use Google.


Location of the URLs of the open tabs of Chromium browser in Ubuntu

We can find which are Chromium's directories within user's home directory in this way:

find $HOME -type d -name *mium -exec echo {} \;

The result should be:

/home/<user>/.config/chromium
/home/<user>/.cache/chromium

Within the directory /home/<user>/.config/chromium/Default we can find couple of files that could be useful:

$ ls -1t $HOME/.config/chromium/Default | grep -i 'tabs\|sess'

Current Tabs
Current Session
Session Storage
Last Tabs
Last Session

The problem is that, unlike Firefox's log files Chromium's log files are not in readable format and it is hard to separate the tab's history from the current URLs.

However, within my Current Session I have two open tabs:

https://askubuntu.com/questions/970546/location-of-url-of-opened-tabs-of-google-chromium-in-ubuntu - that I've opened by a bookmark.
https://www.facebook.com/ - that  I've opened by a bookmark, but then I've to login and then clicked to the FB logo.

I was able to achieve correct result by this ugly command:

$ cat -e $HOME/.config/chromium/Default/'Current Session' | sed -e 's/\^@/\n/g' -e '/_\/chrome/d' | grep -Po '(http|https)://\K.*' | sort -u

askubuntu.com/questions/970546/location-of-url-of-opened-tabs-of-google-chromium-in-ubuntu
www.facebook.com/?ref=logo

But when I open another tab and browse inside for a while the output of the above command become more fuzzy:

$ cat -e $HOME/.config/chromium/Default/'Current Session' | sed -e 's/\^@/\n/g' -e '/_\/chrome/d' | grep -Po '(http|https)://\K.*' | sort -u

askubuntu.com/questions/970546/location-of-url-of-opened-tabs-of-google-chromium-in-ubuntu
spidersport.com/forum/
spidersport.com/forum/index.php?sid=59f48a87db485e3a321aedbf7de68e6a
spidersport.com/forum/login.php
spidersport.com/forum/login.php?sid=59f48a87db485e3a321aedbf7de68e6a
www.facebook.com/
www.facebook.com/login.php?login_attempt=1&lwv=111
www.facebook.com/?ref=logo
www.spidersport.com/

Yes, the result is correct, because URLs of my open tabs are listed within, but there are also presented URLs from the browsing history.


You can fix the MBR with the Windows 8 cd, but this will usurp grub and Ubuntu.

It is possible that windows has the boot information in another drive.

Try booting from the windows 8 cd, and finding where the BCD file is supposed to be.
from the repair console:
    bcdedit /enum all

This will show all of the boot information that windows needs. If this is on a different partition then grub is pointing it to, it will give this error.


The problem

The subtitles filter requires libass as a dependency, but your build is missing --enable-libass.

Solution

You will have to compile ffmpeg with libass support, or download a build from the FFmpeg Download page (under the "Linux Static Builds" section).


What's a good back-up strategy for 1 desktop PC?

1. I don't have a computer!

Indeed!  The forgotten masses of Ubuntu!  Well, not forgotten here...  ;-)

The others might wonder, but you and I know: You might not have the big bucks to buy your own computer, but you've got your own personal computer safely tucked away on your USB stick/pen drive/SD Card/external HDD or even just simply your phone/tablet...

And you're safe, right?  Backup???  You don't need one!  It's all safely tucked away in your purse, in your drawer or in your pocket.

But what if you lose it? Or it gets stolen? Or you sit down comfortably and it slips out and you flush it and only realize it a split second after you've pushed the button...

If you have a USB stick/pen drive/SD Card/external HDD ("USB stick" from now on) you're already saving up for a new one, right? Bigger!
If you have a phone/tablet ("Phone" from now on) you're also saving up for a bigger/better version.

What to back up: Everything.

USB stick: Save a little more.  You have the MLC version already!  Buy an SLC: they're 2-3 times more expensive for the same size then the MLC ones, but they're 4 to 8 times faster and they last much longer, so see it as an investment for the future.
Phone:  You have an MLC too don't you?  Don't bother about an SLC: The newer phone you're saving for will use its internal memory to cache the bad performance of the MLC! Just don't buy the cheapest "Crap Inc. Hyper! Mega! Micro! SD! Card" but a good brand. With an SD-jacket so that when you do get your hands on a PC, it's easy to back up your phone. Ask about warranty.

If you can't afford to back up everything, take the data that is irreplaceable: photos of your family, your current school/uni work, that stuff.  And know that you shouldn't tinker too much getting your Ubuntu just right: it's expendable.  That photo with that beautiful smile isn't.

Where to back up / Where to store it:  Your old one!

Both USB Stick and..
Your Phone should be backed up to the old one.  Don't worry that it's slow and outdated...  It's something you can fall back on when something really nasty happens.

And store it in a safe place: not in the same room and not in the same house if possible. (Brother/sister/cousin/niece around the corner is fine)

When to back up:

How much can you afford to lose?  A week? A month?  Do the data every week. (Please!)  The system: every month.


Consequences of Uninstall & Re-installing Ubuntu on Windows 8 via Virtual Box

You can have two Ubuntu 15.04 virtual machines if you wish.You do not have to uninstall VirtualBox.

I would suggest that you install another Ubuntu 16.04 virtual machine (latest Ubuntu version) and copy files from old Ubuntu virtual machine to new Ubuntu virtual machine. After you copy files from old Ubuntu 15.04 virtual machine and you have all setup up on new virtual machine, you can safely delete old Ubuntu 15.04 virtual machine.

You can copy files from one virtual machine to other using:

virtualbox shared folders on both virtual machines, follow this
link and this link
use USB stick - mount on old virtual machine using Devices > USB >
[USB Stick], copy files, eject device, mount on new virtual machine
Devices > USB > [USB Stick] and copy files


Check your keyboard shortcuts are set right, and try manually remapping those commands.  All the unity keyboard shortcuts are customizable, under system settings > keyboard > shortcuts.

I'm not at my computer so I don't remember for sure if that's the location, but if not, just Google it's location.

If all that doesn't work still, you can reinstall unity with:

sudo apt-get install --reinstall unity

Can't format my text, I'm on the mobile site
Hope that helps.


I saw this link Here
Looks like it is a duplicate answer.  Looks harmless according to the author.  Maybe install proprietary drivers?


Can ZFS be setup for redundancy of my entire OS (Ubuntu 16) and data?

First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.

That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.

As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.


Ubuntu 16.04 hangs on "Starting Show Plymouth Boot Screen…"

startup from live cd.

enter to sudo mode

mount your /dev/sdaX to /mnt
mount /{dev proc sys} to /mnt/{dev proc sys}
mount /dev/sd1 (boot part) to /mnt/boot
chroot /mnt
vi /mnt/etc/default/grub

mark with # param DEFAULT_HIDDEN_TIMEOUT=0

save it

grub-update

init 6 ( boot from your hard)

on grub menu press E

find 'splash quiet' and remove them
Ctrl+X - to continue load system

after search in google man for fix this trouble (how to set GRUB_CMDLINE_LINUX_DEFAULT= for your config)


How to install graphics and sound driver again?

This is a generalist way of doing things because you neglected to include hardware information, so this is a catch-all answer.

Sound Troubleshooting

ATI Driver info

Nvidia Driver info

User Documentation

You will almost certainly need to boot to recovery mode to install the drivers. To be honest, it may be easier to back up your data and do a fresh install.


Try removing the full package (texlive-full). There might be some residuals from dependencies. Good luck.

  sudo apt-get purge --autoremove texlive-full

This might help fix the broken packages:

sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo dpkg --configure -a

Something to consider if the above didn't work:

sudo apt-get purge texlive*
sudo rm -rf /usr/local/texlive/* and rm -rf ~/.texlive*
sudo rm -rf /usr/local/share/texmf
sudo rm -rf /var/lib/texmf
sudo rm -rf /etc/texmf
sudo apt-get remove tex-common --purge
rm -rf ~/.texlive

find -L /usr/local/bin/ -lname /usr/local/texlive/*/bin/* | xargs rm


Manual step

Step 1.

Backup default theme on /usr/share/gnome-shell/theme to default-theme

Step 2.

Paste your new gnome shell theme folder into /usr/share/gnome-shell/

(Normally theme creator will rename that folder as gnome-shell)

Rename new gnome-shell folder to theme.

Step 3.

Press Alt+F2+r and hit Enter button.


Linux Safety/Security : Is Linux safe if its source code is open?

It is safe because it is open source, not despite the fact. Think about this -- algorithms used for things like password encryption are well-known. This way, the community as a whole can examine the algorithm and confirm its security.

Of course there are many topics on which people can become very opinionated with regard to security. So the answer you get might depend on who you ask.

  If it is opensource system that all people can make change in kernel.

People can contribute and submit patches, but there are still checks and balances and a core developer team that reviews and tests code before it's checked in. A person assigned to review a submitted patch is typically an expert in the niche that the code affects.

There are a lot of distributions out there, too. If a change is made to Ubuntu, that is not necessarily mean that other distros adopt the same changes. I recommend looking into the open source process in general and learning more about typical workflows.


One USB device, two serial interfaces: how to?

The solution requires you to load of a kernel module, namely drivers/usb/serial/option.ko and to ask udev to apply some changes as soon as the device gets recognized (switch to the second configuration and enable the serial driver for the specific device). So:

Have the option.ko module loaded at boot
Create a brand new udev rule like this very one:

SUBSYSTEMS=="usb", ATTRS{product}=="Septentrio USB Device", ATTR{bConfigurationValue}="2", PROGRAM+="/bin/bash -c \"/bin/echo $VENDOR $PRODUCT > /sys/bus/usb-serial/drivers/option1/new_id\""


How do I find the package that provides a file?

You can use dpkg command to find out which installed package owns a file:
From man dpkg:

-S, --search filename-search-pattern...
                  Search for a filename from installed packages.

Example:
$ dpkg -S /bin/ls
coreutils: /bin/ls

You can either search with a full path or with just the filename.
If you wish to search for files not yet installed on your computer, you can use the Ubuntu Packages Search
or apt-file as described in a different answer.


I'm looking for source code,headers and modules for kernel 4.4.0-19041-Microsoft used on the WSL 1

You won't.

WSL 1 was based on Microsoft's Linux-compatible kernel interface, a compatibility translation layer with no Linux kernel code.

WSL 2 was redesigned with a Linux kernel running in a lightweight VM environment, but you found that already.


xbacklight produces "no outputs have backlight property", and brightness buttons dont work

I had a similar problem so I made this script.

clone this repo and paste the script into the /bin directory. then make the script executable by using the following script.

sudo chmod +x /bin/backlight.sh

here is the repository for the script:

git clone https://github.com/el-beth/backlight.sh.git

in your case, change the third line of the script from:

BRIGHTNESS_DIRECTORY=$(cd /sys/class/backlight/* && pwd);

to

BRIGHTNESS_DIRECTORY=$(cd /sys/class/backlight/intel-backlight && pwd);

for more info read the README.md file in the cloned backlight.sh directory.


Error during installing postgers 12 in Ubuntu 19.10

In the /etc/apt/sources.list.d/pgdg file, change bionic to eoan.

use:

deb http://apt.postgresql.org/pub/repos/apt/ eoan-pgdg main

instead of:

deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main


How to mount second 2TB HDD on running server?

You don't specify how you intend to use this disk. Additional data or /home? Or part of a RAID? (steeldriver asks a good question).

IF you wish to just use it for additional storage...

If the 2nd hard disk is truly empty, (it's already got a gpt partition table) you'll need to create a partition on it before trying to mount it. Start gparted from the dash. Wait for it to interrogate your disks. Select sdb (which should be your 2nd hard disk). Confirm that there are no existing partitions. Create a NEW partition in EXT4, and name it. Then right-click on the newly created partition and select MOUNT. That should get it going quickly. Then learn how to add it to your /etc/fstab file.


printer error Check the DevicePath of /etc/ccpd.conf

The error

Check the DevicePath of /etc/ccpd.conf

comes from missing 32-bit libxml2 library. Install this library to get rid of this error. That's probably not the last action to do to get your CAPT printer running, but at least the config file would be read.

On Ubuntu 18.04 x64 i used this command to install 32bit libxml2.so

sudo apt-get install libxml2:i386

There may be some other libraries missing also. To check this, run ldd on /usr/bin/capt* executables, for instance, ldd /usr/bin/captmon2. Check the list of libraries for not found marks and find a way to install them.


How to limit a process to use X memory and T time?

Ulimit works from the shell (which actually calls the ulimit system call).

In DOMjudge the restrictions are set using the program runguard. If you want to know more details, see the source code, or ask on the DOMjudge mailinglist


I appear to have missed a more obvious configuration folder to delete. The problem was solved by deleting /home/[USERNAME]/.config/menus

rm -r /home/[USERNAME]/.config/menus


Reduce download size and time when updating package repositories

You can at a minimum set up a caching server so you don't have to download .debs twice, or copy them by hand.

Best way to cache apt downloads on a LAN?


Switch profile in Konsole from command line?

From Changing Konsole colors in KDE using the shell the solution is quite simple but cover color

konsoleprofile colors=WhiteOnBlack
# or
konsoleprofile colors=GreenOnBlack

Where the value come from menu Settings > Edit Current Profile… > select Appearance tab.

Tmux

You need to wrap the command in the passthrough escape sequence inside tmux session, otherwise it won't do anything:

printf '\033Ptmux;\033\033]50;konsoleprofile colors=GreenOnBlack\007\033\\'

Here is are tiny helpers I put in my ~/.zshrc:

# Konsole color changing
theme-night() {
  switch-term-color "colors=TomorrowNightBlue"
}
theme-light() {
  switch-term-color "colors=Tomorrow"
}
switch-term-color() {
  arg="${1:-colors=Tomorrow}"
  if [[ -z "$TMUX" ]]
  then
    konsoleprofile "$arg"
  else
    printf '\033Ptmux;\033\033]50;%s\007\033\\' "$arg"
  fi
}

Credits

Thanks to nicm on #tmux channel.
my gist on Github: https://gist.github.com/edouard-lopez/9973056


How to update ubuntu's python with latest version from source?

We apply some patches in Debian/Ubuntu's python, that make it behave a little differently to upstream Python. You can't replace your system python2.7 package with something else, without breaking all other python modules or applying these patches. (I'm particularly thinking of the distutils-install-layout patch).

The easiest answer is: don't.

Next option: Compile it by hand and install it in /usr/local. It won't replace your system python, but you'll be able to use it. This is the best supported way of achieving what you want.

Finally, if this really is something you want to do. Grab the current python2.7 source package, update it to use the new upstream version that you want to use (this will probably require massaging the patches a little). Build. Install. I'm intentionally not going into details here, because it's not going to be that simple :)


How to automatically update Atom editor?

TL;DR If you do not want to use the PPA, you can use a script to download and automatically install via cron.

Create a new file atom-auto-update

sudo nano /usr/local/bin/atom-auto-update

Add the following lines

#!/bin/bash
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest
wget -q $(awk -F '[<>]' '/href=".*atom-amd64.deb/ {match($0,"href=\"(.*.deb)\"",a); print "https://github.com/" a[1]} ' /tmp/latest) -O /tmp/atom-amd64.deb
dpkg -i /tmp/atom-amd64.deb

Save the file and make it executable

sudo chmod +x /usr/local/bin/atom-auto-update

Test the script

sudo atom-auto-update

Create a cronjob for the script

sudo crontab -e

Add this line

e.g.: at 10 am every week

0 10 * * 1 /usr/local/bin/atom-auto-update

e.g.: at 10 am every day

0 10 * * * /usr/local/bin/atom-auto-update

Explanation

wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest

Download the site with the latest version information
wget -q $(awk -F '[<>]' '/href=".*atom-amd64.deb/ {match($0,"href=\"(.*.deb)\"",a); print "https://github.com/" a[1]} ' /tmp/latest) -O /tmp/atom-amd64.deb

… awk -F '[<>]' '/href=".*atom-amd64.deb/ {match($0,"href=\"(.*.deb)\"",a); print "https://github.com/" a[1]} ' /tmp/latest …

Extract the download link
wget -q $( … ) -O /tmp/atom-amd64.deb

Download the DEB file

dpkg -i /tmp/atom-amd64.deb

Install the DEB file


How do I partition an empty SSD in Ubuntu during installation?

Installing an OS can be messy, make sure any files that you want to keep (even though it is on a different drive) have been backed up.
I am guessing that you are going to use the BIOS to select boot drive and OS for right now. This will work as long as there is only one OS installed to a drive. Once you install two or more OS to a single drive then there will be some issues - read entire post.
Short answer:
Create two equal partitions. Assign the first partition as ext4 and mount point /
When you don't create any other partitions and mount points, everything gets dumped into one.
Long answer:
Boot Ubuntu and start the install. When you get to the partitioning options, select "Something Else". Select/highlight the new 512gb SSD and click on "New partition table". There will be a warning about "removing partitions...", click "Continue". That will create a new device under your drive called "free space". Select/highlight "free space" and click the "+" button.
Size (half of whatever number shown) in MB
Type for the new partition = primary
Location for the new partition = beginning of the space
Mount point = /

"Device for boot loader installation" should be the drive that Linux was installed to. This should always be the drive itself (example: /dev/sda) not a partition (example: /dev/sda1).
That is it, select "Install Now" and confirm that is what you really want.
When you are ready to install Windows:
Boot up the windows installer. Select "Custom install" and when it asks "Where do you want to install windows" select/click on "Drive # Unallocated space". Continue installing windows until complete. At this point MS Windows has removed grub and therefore cannot boot into ubuntu/linux now. To reinstall grub, boot up using ubuntu installer, select "Try Ubuntu" to get to the desktop version of ubuntu. Connect to the internet and install boot-repair.
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

When boot-repair opens, select "Recommended repair". You will see a prompt to upload log to pastebin", that is up to you. Restart computer and Grub will be back. Windows installs several partitions and either Microsoft option would be fine.
A more common method:
Typically Windows is installed and then Linux is installed. Keep reading if you would like to learn more about that.
Microsoft Windows does NOT "see" ubuntu/ Linux, so Windows must be installed first otherwise ubuntu/linux and its boot will be overwritten.
You don't have to follow this order, but it will save a lot of time and avoid fixing boot partitions.

Install a clean install of Windows to the new SSD or clone the
existing Windows from the old drive to the new one.
Boot up ubuntu or any Linux OS, and then proceed with installation.
When it comes time for partitions, choose a single one "Install Ubuntu alongside...".


The method shown here should work:

First make sure that your data is backed up, and that you have a fast internet connection.

First Update:

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

Open 'Software Updater':

Press 'Upgrade':

It should then prompt this - Start the Upgrade...

...wait a while...

and reboot.

If prompted to remove 'obsolete' packages, you can do as you like. Note that with some you may have difficulty installing them, as they may only be available for 13.04 raring and not 13.10 saucy


Whats the best distribution Linux to use in a USB Persistent?

Based on the information you supply there is no "best".

"wine" is the same on any Ubuntu version so not usable for comparison.
"booting from usb" is a generic BIOS option, depends on a correctly burned installer but that is about it.

"wine" is a hassle on a normal installation. It will perform even worse on a live session. I would avoid it at any cost anyways and opt for "steam" if you want to show a gaming experience. Or even stick with the gaming section. Mind that gaming requires a well working system. A live session is not the best setup for it.

If you want people to experience the power of Ubuntu I would argue you should use Ubuntu (Unity), kUbuntu (KDE), Ubuntu Mate. The other versions are intended for lower end systems so do not give a full experience. In general they drop graphics, animations and use applications that have a lower power consumption.

It would be better to use a notebook and not a live session.


Unity

Open a terminal and install compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

Start the application ccsm, open the category Accessibility and enable the helper that you need.


Unable to hibernate. Does Swap file needs reallocation? Ubuntu 18.04

You need to disable swap before you resize it. It can be done by

sudo swapoff

command.


Picture tab is missing after I deleted the Pictures folder

Open a terminal (Ctrl+Alt+T), and type in the following:

gedit ~/.config/user-dirs.dirs

This will open the file user-dirs.dirs in a text editor. Look for the variable XDG_PICTURES_DIR and make it point to your Pictures folder. So for example, if you've recreated the Pictures folder in the same place it used to be (which is in the Home folder) then you should edit that line to look like this:

XDG_PICTURES_DIR="$HOME/Pictures"

Note: it's case sensitive. So if your folder is "pictures", the directory would be $HOME/pictures.

Save the file and close the window. Close Nautilus (the file manager) if you have it open, and reopen it. You should see your Pictures folder in the links on the left, and you should also see the icon of the folder change to its default one.


Adding the /dev/null ignores the standard messages generated. It is only sending a message if there was an error.

Modified cron job
    * * * * * cd /home/user/dir && git pull > /dev/null


Remove XFCE Start-Up/Loading/Boot Screen While Keeping XFCE

The boot splash was changed to "Xubuntu" instead of "Ubuntu" because the following packages were installed together with Xubuntu meta package:

plymouth-theme-xubuntu-logo 16.04.2
plymouth-theme-xubuntu-text 16.04.2

These packages are dependencies of xubuntu-artwork package, which is in turn, one of the dependencies of xubuntu-desktop meta package. You can also check this by running apt-cache rdepends <PACKAGE> to check reverse dependencies for particular package.

Removing "Xubuntu" boot splash

To permanently remove the boot splash, run the following command.

sudo apt-get purge plymouth-theme-xubuntu*

This command will select both packages above by using an asterisk * as wildcard, which is convenient to remove multiple packages with similar prefix naming.

Finally, reboot to see changes.

Alternative commands

You can also do the same by specifying the package names.

sudo apt-get purge plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text

With recent versions of APT, the command can be as short as below.

sudo apt purge plymouth-theme-xubuntu*

Regardless of any command above, no further configuration is needed. APT will run relevant commands and reconfigure the boot splash automatically for you.


How can I create a bootable USB from an ISO image?

If you've an ISO file of the Windows installation disc you can simply use dd:

sudo dd if=/path/to/disc.iso of=/dev/sdb

Or if you've a real disc:

sudo dd if=/dev/cdrom of=/dev/sdb

Replace /dev/cdrom by the device path to your CD-ROM drive (if you've only one this is usually /dev/cdrom).

You should replace /dev/sdb by your USB drive's device path (which seems to be /dev/sdd in your question).

This will copy the ISO or disc bit for bit to your USB drive.


Why is "sudo touch >" needed before installing certain packages?

I would need to know where you got that information or what site says to run that in order to install but I would guess the following:

Since sudo touch simply creates a file this might mean that the app that needs to install would do a boolean check on the file. If the file exists then it continues doing the install or any other process. If not, it stops with maybe a warning.
If the app can not create the file by itself (Either for security reasons or permissions), then it might need your help in creating the file first in order to be able to edit the file later on.

Now, going directly to the Google Talk Plugin, it is my understanding that having the file /etc/default/google-talkplugin means to the google plugin that it should NOT add the google plugin repository, saving you from either a future update that may be broken for some apps, or letting you update the plugin manually every time an update appears.

This means that when you install the Google Audio/Video chat plugin, it automatically adds it's repository to Ubuntu. In the case you do not want the plugin to add the repository, then simply execute the line in question:

sudo touch /etc/default/google-talkplugin

I personally never add that file, I like having some stuff automatically fetch and updated.


I'm not sure why you want or need to remove the old skype to install the new one, but anyway the problem you have here is nothing to do with skype. Your virtualbox installation is in some way broken, and that is breaking the packaging system.

You need to fix the virtualbox problem first. If you aren't using virtualbox the easiest thing is to remove it:

$ sudo apt-get remove virtualbox

Otherwise try forcing a reinstall to re-run the post install scripts:

$ sudo apt-get update
$ sudo apt-get install --reinstall virtualbox

That should hopefully clean virtualbox.

After that you can remove skype if needed in the way you were trying before.


Hold down and keep pressing the shift key during the boot process and your machine should boot into the Grub menu.


Is it possible to un-eject a kindle via CLI?

The answer turned out to be one quick man eject away:

eject -t /dev/sdb

-t   With this option the drive is given a CD-ROM tray close command.
     Not all devices support this command.


If you use Compiz, Chromium's title bar can be hidden by not decorating it.

To do this, go to CompizConfig Settings Manager, scroll down to the "Effects" section and click "Window Decorations". On the "Decoration windows" field, replace any with !class=Chromium-browser.

modified from this guide.


Generally this is caused by how you are creating your layout. It sounds like you are using a fixed layout (as your top-level layout) which will make it much more difficult to do.

The best thing to do is to create a fluid layout by starting your layout with a GtkBox within your GtkWindow. Much like this:

This will make your layout fluid and allow for your text to become centered within your window. If you have to remain with a fixed layout, you'll have to attempt to center the label problematically.

If you are using a GridLayout, I believe you'll need to turn on "Horizontal Expand" on the label to get it to fill the unused cell space. However, its been awhile, so don't hold me to that.


Problem with dpkg-preconfigure, how to correct?

First, remove Teamviewer with:

sudo dpkg -r teamviewer7

Then run

sudo apt-get update && sudo apt-get -f install


Unable to get dual boot grub menu when I connect to a external monitor

I too had the same issue. And I was able to correct this by holding the shift key when the computer was booting. Hope you find it helpful.


Running desktop shortcut just opens it in text editor

To do this correctly in the Gnome Shell desktop environment (i.e., the desktop environment of standard Ubuntu), place your .desktop file in either .local/share/applications or in /usr/share/applications. That way, the laucher will appear in the Applications Overview, and can, if desired, be pinned to the Dock/Dash for easy access.

.desktop files in the first mentionned directory will be available for the current user only. Place them in /usr/share/applications (of course, only a user with root permissions can do that) for system wide access.

Alternatively, to run the launcher from the desktop, you need to make it executable and mark it as trusted. I am not sure whether that still works in Ubuntu 19.10, where a Gnome-shell extension is used to provide desktop icons instead of the file manager providing these.


How to install wifi drivers on Mac book air?

It requires some manual activities.
Try this http://pavelmanushin.blogspot.ru/2014/04/ubuntu-12.html


Fresh installation Ubuntu installation failure - Unable to install GRUB on dell server m610 with raid controller h200

Infra used for Installation :
1)Dell M610 Server with Perc H200 SAS Raid Controller
2)I was Using Raid 1
3) OS Media Was: Ubuntu 15.10 for i386

Solution :
1) I have deleted the Raid 1 & used Disk
2) OS media used: Ubuntu 15.10 AMD64


Unable to change preferences in Acroread v9.4.2

It seems it can be done, if you know how to use the keyboard. It's just the mouse that does not work in the Preferences window. For those who don't, you use tab to move between the sections, spacebar to select or deselect the checkboxes, and press enter a couple of times with the OK button selected.

Hope this helps.


G++ compilation error "cc1plus" not found

You need to run sudo apt-get install --reinstall g++-4.6. Just reinstalling the g++ package won't work, as it's a meta-package which simply depends on the versioned packages instead.


Ryzen 7 2700x installing Ubuntu with no integrated graphics shows no signal

I did this with nomodeset:

hold down the Shift key when booting starts.
You will then get a console mode menu.
Scroll to Install Ubuntu
Press e to edit that line.
Move to the end of the line. Delete the text that says quiet splash
and then enter nomodeset instead, ensuring there is a space between
the new option and any other option.
Press F10 to boot.

After the Ubuntu installation, Ubuntu will reboot. Press Esc key to enter command prompt. Choose Ubuntu. Press e to edit commands and once again delete the text that says quiet splash and then enter nomodeset instead and boot by pressing F10. In Ubuntu go to the "Software and Updates" and download nVidia proprietary drivers.


Scripts in crontab don't get executed at all

The normal user-PATH isn't used, when running crontab.

Either you use the full path to touch (/usr/bin/touch), or you set the PATH in the crontab file itself, if you need it multiple times.


What's a good way to mock a remote HTTPS API for unit testing my QML app?

If all the logic for talking to the remote API and parsing the results, is in C++ as a component plug-in, you can use the googlemock library, packaged as google-mock in Ubuntu, to create unit tests that mock expected results and data. However, if the API on the server changes, your code may still fail, even though the tests would pass, as you are only testing some known expected results.

Another option is to introduce an environment variable in y our code, so that you may point the base URL to a different location, such as localhost:12345, and implement a mock HTTP server in Python or another language, which gets run on a random high port, which you can point the tests at. This makes running the tests a little more complicated, as you need to get the random port from the server script, and pass it on to the tests in some way. You can run this test on plain HTTP, or create a CA cert and server cert, which are included in the test suite, and add some way to ensure the networking library can load the CA into the certificate chain to validate the local HTTPS connection. However, this is all very complicated and doesn't give you any more useful results than simpler unit tests with fake data.

Beyond that, you can only talk to an actual server, with an actual valid certificate. Ideally, the remote service will providing a staging/test server for doing such testing against, and you can introduce an environment variable or similar in your code, to point it at the staging/test server, instead of the live server.


How to list all files in a specific directory that starts with 'sh' including inode number in one line

You can use

find /etc -name 'sh*' -printf '%i %f\n'

or (if you don't need to descend into subdirectories)

stat -c '%i %n' /etc/sh*

or even

ls -1i /etc/sh*

From man ls:

   -i, --inode
          print the index number of each file


How can I fix my partition table? (two grubs)

Ok, after a lot of research and help from the G+ community (special thanks to Sanja Bonic!) I figured out what to do.

Basically, the sda1 partition was the EFI partition, and every drive from newer PCs, like those that come with Windows 8, has to have one (I'm leaning towards saying only one). So I kept using that as my EFI partition.

I'll use a lot of stuff from this website, one you should refer to if you find yourself in a similar situation.

Anyway: I live-booted Xubuntu into my system (like he says in the website, you have to boot it as a UEFI system). Then you chroot into your own system (in my case, the new one; the sda5 in the gparted image). To do that, execute these commands:

sudo mount /dev/sda2 /mnt

(replace sda2 with your system partition)

sudo mount /dev/sda1 /mnt/boot/efi

(replace sda1 with your EFI partition)
(notice your system might not have a "efi" folder inside boot; I created one with 'sudo mkdir /mnt/boot/efi' and things worked out fine!)

for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done

sudo cp /etc/resolv.conf /mnt/etc/

(This one makes the network available after chrooting)

modprobe efivars

sudo chroot /mnt

Now since I was in Xubuntu (Ubuntu-based system) I had to do an 'apt-get' command:

apt-get install --reinstall grub-efi-amd64

Now we're going to undo the chrooting and all the mounting.

Type Ctrl+D

And then these commands:

for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done
sudo umount /mnt/boot/efi
sudo umount /mnt
sudo reboot

... And that's it!


How do I export a chart in an image format from LibreOffice Calc?

I'm not completely sure I follow the question, so my answer is three-fold, and will hopefully hit the mark:

to print a chart 'as is' in libreoffice, simply select it by clicking on it, and go 'file > print' but choose "selected cells" in the 'range and copies' section.
it appears that you can't 'export' the chart directly as an image from calc, but you can paste it into libreoffice draw, and then save it as an image.
or you can just fall back on taking a screen shot, and printing it from gimp, or shotwell, etc.


How to disable Windows + S shortcut in Unity

Install CompizConfig Settings Manager
(CCSM).

sudo apt-get install compizconfig-settings-manager

Click on the Ubuntu Button (in the top-left corner) and search for CompizConfig Settings Manager and open it.
There scroll down to Desktop section and look for Expo and click it. Click on the Expo key's key-binding and uncheck Enable. That will disable the expo feature. You could also alternatively assign a different key-binding to it.


boot0ss: error // Just after installing Ubuntu 20.04 and rebooting

Following @ChanganAuto advice I just went to BIOS and restore everything to default values. Then I made sure the boot mode is UEFI. Finally, I also checked the booting drives order, to make sure the desired drive is in the first place.
Probably was just something misconfigured. Wasn't necessary to reinstall ubuntu.
If you have same problem and reseting BIOS doesn't solve it, just follow Changan's comment, probably it's helpful to you.


Cannot install libapache2-mod-php5 because of unmet dependencies

The libapache2-mod-php5 Ubuntu package (which you're trying to install) expects the Ubuntu versions of the other PHP packages (e.g. php5-common). However, the ones you installed are those ~dotdeb ones (where did you get them?) and you seem to also have disabled the Ubuntu repositories (as otherwise I think libapache2-mod-php5 would try to downgrade all the packages to the versions that work with it).

You have two options:

Do NOT install those ~dotdeb packages, and install the stock Ubuntu versions instead (again, unsure where you got those ~dotdeb and why you need them; this is for you to decide, really).
Install libapache2-mod-php5 from the same place where you got the ~dotdeb packages, that version should work well with them.

Maybe the issue is that your vagrant box was prebuilt and already includes those ~dotdeb, in which case I would really suggest you get another one that's built with official Ubuntu packages, this will be easier for you to work with.


If you've just installed MySQL from software center, It won't be shown in the menu as usual with other softwares !
Its like the packages and plugins !
So if you need the MySQL clients, Then try using this tip:
(I don't know if this works or not But try this)

Steps

Open up the Terminal emulator by Pressing Ctrl+Alt+T together. Or from menu
Follow the steps

First of all we need to install MySQL (Just do this even if you've done it before.If you have, Then you won't have to wait for it to download.If you haven't it will be downloaded)

Type this code to install MySQL Client

sudo apt-get install mysql-client

And press enter...
You will see the results...
After that, type this code and press enter,

sudo apt-get update

This will update the current repositories of all packages installed !
And I hope this works !
It seems to be worked in this question : How to install MySQL client on UBUNTU 10.04


After upgrading to ubuntu 20.04 Lockscreen not working

I was having EXACTLY the same problem. It turns out I have several display managers installed, and I was using lightdm instead of gdm3.

You can confirm you are using lightdm if this command works:

$ dm-tool lock

(But even if that doesn't work you may be using another display manager.)

I got the screen blanking to work properly by configuring gdm3.

Open a terminal and issue this command:

$ sudo dpkg-reconfigure gdm3

Select gdm3 in the list on the terminal, then reboot your system.


Ubuntu GNOME 16.10/17.04 issue with creating hot-spot using Network Manager

I hope this article can help with your problem.

How to Overcome Ubuntu 17.04 Failed to Make Wifi Hotspot

If Hotspot is on then turn it off first. Go to System Settings > Network

Turn off Hotspot by clicking ON so it becomes OFF

Click Stop Hotspot
Click All Settings > Software and Updates

Make sure the settings shown are checked.

Click the Close button and let Ubuntu 17.04 update after entering the password. Wait for it to finish. Click Reload.
Press Ctrl+Alt+T to start the Terminal application.
Type the following command in Terminal:

sudo apt install hostapd dnsmasq

Go back to the Network window and click Use as Hotspot then click Turn On.

Hotspot is ON with the name HP-EliteBook-2760p (on my computer)
In order for Android devices to be able to connect to this Hotspot, there is still one more step, namely:

Click Edit Connections

Select Hotspot then click Edit

Change Mode to Hotspot (provided Ad-hoc)

Click Save

Click Enable Wi-Fi to disable your Wi-Fi

Click again Enable Wi-Fi to enable Wi-Fi

And…. Alhamdulillah ... now Hotspot on Ubuntu 17.04 can function normally. Android devices can also connect.


How do I show the side bar (incl. available hard drives) when I open the file explorer Nautilus?

Press F9 to show/hide the left-hand sidebar.


Ubunu 20.04 How do I make python code executeable by double-click and show output in a new window?

Obviously that doesn't really work out of the box - I've tried and failed:

Set #!/usr/bin/env python as first line in your script
use chmod +x to make it executable

When I clicked on the file in the file manager, it still asked me what to to with it. So I went to the

~/.local/share/applications/

folder and created a desktop file, e.g. "MyProg.desktop" (the ending .desktop is mandatory)
It contains those lines:

[Desktop Entry]
Type=Application
Name=Merge
Exec=/home/user/your/path/to/file.py %f
Categories=Other;
MimeType=text/x-qml
Terminal=false

Note: the %f will give you the change to pass a file to your python script, which gets the data in the sys.argv argument.
The "MimeType" is just an example and may be omitted

Now you have a full fledged "Program", you could use. It behaves like any other program, you've installed.


How to add pull down menu into current window in Gnome

This is not possible in Gnome Shell and its default applications (Evince, Files, ...) by design. Practically any other desktop environment still supports the use of a classical pull down menu's and will offer utilities where these menus are embedded in the current window. So indeed, you will need to move to another desktop environment if this is important to you.

If you want to stay close to Gnome, you may want to try Cinnamon or Mate. Both provide versions of the file manager. document viewer, etc. that are essentially based on (sometimes former versions of) the corresponding gnome tools, but maintain the classical pull down menu.


Merge one folder onto another but keep diff (non-existing) files

That's the default behavior of cp. So all you need to do is a regular recursive cp:

cp -r Folder-A/* Folder-B/

To demonstrate:

$ tree
.
├── Folder-A
│   ├── File-1
│   ├── File-2
│   ├── File-4
│   ├── Folder-A-1
│   │   ├── File-5
│   │   └── File-6
│   └── Folder-A-2
│       └── File-7
└── Folder-B
    ├── File-1
    ├── File-2
    ├── File-3
    └── Folder-A-1
        └── File-5

$ cp -r Folder-A/* Folder-B
$ tree
.
├── Folder-A
│   ├── File-1
│   ├── File-2
│   ├── File-4
│   ├── Folder-A-1
│   │   ├── File-5
│   │   └── File-6
│   └── Folder-A-2
│       └── File-7
└── Folder-B
    ├── File-1
    ├── File-2
    ├── File-3
    ├── File-4
    ├── Folder-A-1
    │   ├── File-5
    │   └── File-6
    └── Folder-A-2
        └── File-7


how to create partitions in ubuntu after installing

You should use gparted for that, it's just like diskmgmt yet more powerful utility for disk partitioning.

BTW can you explain your situation with more details, you might not know English well because it's pretty hard to understand what you've written. I believe you're trying to dual boot Windows 10 & Ubuntu. Follow this guide.


Try to check running service.
You can use bum

sudo apt-get install bum

sudo bum

and look for un-needed service you can stop.


Ubuntu 16.04 is not detecting monitor connected via HDMI cable

Ubuntu 16.04 was a pain to get any Nvidia drivers working. Next week Ubuntu 20.04 is being released and I'd recommend Ubuntu 18.04 or 20.04.

Considering you have a decent and newer Nvidia card. This site helped me get Nvidia working a few years ago. Do all your updates and upgrades first. Maybe even do-release-upgrade and move up to 18.04.

I recommend proprietary drivers for Nvidia cards, skip the open source.

https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/

Unable to install Nvidia drivers on Ubuntu 18.04.1

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux

Found this based on lshw output from: lshw -C display shows UNCLAIMED for GT840M graphics card

Secure Boot does not let the nvidia module load.

Disable Secure boot in BIOS and it should be solved.

You can see this question for more information.


I did this:

sudo apt-get purge python3-aptdaemon.pkcompat
sudo apt-get update
sudo apt-get upgrade
reboot

# after reboot
sudo do-release-upgrade

The package python3-apt-daemon.pkcompat had no dependencies remaining. The upgrade then proceeded normally.


How to install Brave Web Browser for ubuntu 18.04?

If the official way doesn't work, open Terminal (ctrl+alt+t) and run-

sudo snap install brave

It'll install the community maintained unofficial version.


juju openstack bootstrap authentication failed

The endpoint seems to me wrong. It should be your keystone (identity service in O~S), not your horizon which is only a frontend.
Try openstack endpoint list and check the correct identity endpoint and the try to use that in your configuration.

Let me know if useful.


Ubuntu 20.04 loses tweaked settings after plugging in docking station

Try downgrading gnome shell version (worked for me)
sudo apt install gnome-shell=3.36.1-5ubuntu1 gnome-shell-common=3.36.1-5ubuntu1

To avoid future upgrades to gnome shell
echo "gnome-shell hold" | sudo dpkg --set-selections

Similar issue is reported here


Using scanner of Canon Pixma MG3052 with sane

It seems that the Pixma MG3051/MG3052 does not support the BJNP protocol. The port 8612 used by BJNP appears closed. I think it might work with the sane-pixma driver if connected by USB cable, but I don't think there is support for scanning over network with sane.

Indeed Canon's own scangearmp2 works over network if you use version 3.40 or newer. I took a capture and the protocol seems quite simple http-based one, called CHMP (Canon HTTP Management Protocol). In case anyone is interested, the capture is here.


uninstalling/reinstalling wifi Drivers in ubuntu

This wireless device "QCA9377 802.11ac Wireless Network Adapte" is supported by Linux kernel and does not require any drivers.
Problems with your wireless device may be caused by a kernel bug, a hardware problem, or other reasons.
If this happened on Windows too, it means that most likely it is a hardware issue.
You can reload the in-try driver by running:
sudo modprobe -r ath10k_pci
sudo modprobe ath10k_pci


How do I boot directly to tty1 in ubuntu?

Find GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub (with a sudo nano /etc/default/grub and change it to ...

GRUB_CMDLINE_LINUX_DEFAULT="text"

and update grub with ...

sudo update-grub

Tell systemd to not load the desktop with ...

sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target

And the initial boot will end up on a tty. By default it will be tty1. You can still go to the desktop by using the command startx on commandline.

  I should also be able to switch to the graphical desktop using ctrl +alt+f7 in case I need it.

You will need to issue the sudo systemctl start lightdm command before using control+alt+f7. Probably impossible to get around that: if a desktop is loaded during boot it will take precedence.


Must i cut some duplicate entry from System settings >> Software and Updates >> Other Software from the list?

You have only one duplicate entry: teejee2008 source code.

It is disabled, so it doesn't really matters if you delete it or not.

Others are not duplicate.