12.04 LTS Boot failure I recently updated from Ubuntu 11.10 to 12.04 LTS.  Everything was going good with 11.10, but after the upgrade my system hangs up on boot.  When I power down and re-boot, I get the options list for boot choices.  I select the equivalent of boot with repair.  The script goes on screen as it attempts to boot.  When I see:

  [  48.616020]: [Hardware Error]: CPU:0YMC4 - STATUS ( - |UE|-|8CC|

That's all she wrote.

I have an AMD Turion64 processor that was working fine with the previous OS.  I'm guessing that 12.04 LTS doesn't like it?  Anyway, is there a fix or can I do a rollback?  Or am I re-installing.

Lost & Confused

If you would like a link to getting a non pae verison of Ubuntu 12.04 David Henningson has very kindly developed one and put it on Launchpad

Launchpad

with a link to an iso here:

http://people.canonical.com/~diwic/12.04-nonpae/ubuntu-12.04-desktop-i386-nonpae.iso

As he says though

  I've only tested the new iso by booting it, as I had no spare partitions on the relevant machine to test installing it as well. Please test installing from it.

And as with the previous one, this is unofficial, made by someone who is not an LiveCD expert (but by someone who just happens to have one of these computers), and I promise no support....

I have downloaded it and it worked a treat on my old (ish) Lenovo t42

However I do note that you have a 6 bit pc so this may not be optimal but will help for now

may relate to:

Wubi install on AMD64 - won't boot to Ubuntu 12.04 LTS

".. Turian64 won't run the PAE kernel. There's a non PAE version of 12.04 out there. Use it. .."

Note: Person who posted this has not substantiated or clarified their comment.


Ubuntu 13.10 gets stuck on boot I have updated (via the Software Updater) Ubuntu 13.04 to Ubuntu 13.10.
After it had finished the installation, the system required a reboot.
When I reboot and load Ubuntu it will get stuck on the logo. I managed to boot into the recovery (both console and graphics mode) but I can't figure out how to repair it.

I have tried a sudo update-grub, but nothing different happened. I have also tried sudo apt-get install gnome, but the same result...

I am using a dual-boot Win7 + Ubuntu.

I have same problem, it seems it's a bug in Ubuntu 13.10. I recommend you trying these:

sudo add-apt-repository ppa:gnome3-team/gnome3-next
sudo add-apt-repository ppa:gnome3-team/gnome3-staging

Then do:

sudo apt-get update
sudo apt-get install gdm gnome-panel

also try "chkdsk /f" from windows.

if it doesn't work reinstall Ubuntu 13.10
it mostly happens when u boot into windows.


Keyboard locks in IntelliJ IDEA on Ubuntu 14.04 Could you help me with hell of a weird issue?
I use Intellij IDEA 13 on Ubuntu 14.04, and from time to time my keyboard completely (yep, completely, it's not about shortcuts) locks in IDEA. I still can do anything I want in IDEA with my mouse, also I can use the keyboard everywhere else except IDEA. And it can be fixed only by restarting IDEA so far.

Can anybody give a hint, please?

There is a an open issue in jetbrains youtrack for intellij idea that recommend two solutions:

Keyboard input may be unlocked by restarting IBus daemon from a console:

ibus-daemon -rd

IBus can be disabled for IDEA by unsetting env. variable XMODIFIERS, but ability to input national characters in IDEA will be lost:

XMODIFIERS="" idea.sh

I have used the second one and fixed my problem.

I've tried this out and its working so far but I'll update if it freezes up again. I've seen a suggestion on youtrack that suggests to turn off iBus which seems to interfere particularly because of it's use of the ctrl + space shortcut to change language settings. You can do that by going to:

language support > keyboard input method system > none

**** UPDATE *****

After running it for a while this technique still didn't work as I kept freezing. I guess for now I'll stick to the following workaround to restart ibus which is a bit inconvenient but what can you do.

go into terminal

type:

ibus-daemon -rd


How do I stop icons appearing on the desktop in a particular area? When I download something to my desktop, or insert a CD or flash drive, the icon appears on my desktop. When I have conky running, the icon sometimes appears in the top right corner, underneath conky; where I can't see it.

How do I stop this happening?

My .conkyrc is pasted below. I didn't write it all myself, so I'm not entirely sure what I need to change, or what parts are relevant for this particular question...

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat shows number of connections from your computer and application/PID making it. Kill spyware!
#
# -- Pengo
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer right

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 20

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color orange}CPU ${hr 2}$color
${freq}MHz   Load: ${loadavg}   Temp: ${acpitemp}
$cpubar
${cpugraph 000000 ffffff}

NAME ${goto 150}PID ${goto 200}CPU% ${goto 250}MEM%
${top name 1} ${goto 150}${top pid 1} ${goto 200}${top cpu 1} ${goto 250}${top mem 1}
${top name 2} ${goto 150}${top pid 2} ${goto 200}${top cpu 2} ${goto 250}${top mem 2}
${top name 3} ${goto 150}${top pid 3} ${goto 200}${top cpu 3} ${goto 250}${top mem 3}
${top name 4} ${goto 150}${top pid 4} ${goto 200}${top cpu 4} ${goto 250}${top mem 4}

${color orange}MEMORY / DISK ${hr 2}$color
RAM:   $memperc%   ${membar 6}$color
Swap:  $swapperc%   ${swapbar 6}$color

Home:  ${fs_free_perc /home}%   ${fs_bar 6 /}$color
Free Space: ${fs_free /home}

${color orange}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}

${color orange}WIRELESS (${addr wlan0}) ${hr 2}$color
Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0
25,140 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}

Conky solutions have been offered, but perhaps these aren't the best way of approaching it. What I really want is to stop icons even appearing in that part of the desktop window: that is, I want to make part of the desktop real estate "off-limits" to new icons appearing on the desktop.

You can get what you want if you change these two lines as shown:

 own_window_type panel

 own_window_transparent no

And you add these two:

 own_window_argb_visual yes

 own_window_argb_value 0

Explanation:

own_window_argb_visual yes enables true transparency (own_window_transparent yes means just pseudo-transparency, which just 'clones' background... we have to set this latter to no, that's why we need to edit the second line above)

own_window_argb_value 0 sets 'alpha' to 0 (totally transparent). It can be set up to 255 (totally opaque)

own_window_argb_visual yes won't work with override and that's why it's necesary to change own_window_type to panel

For me it worked flawlesly. The only drawback is that you can see the icon but you can't click it, as it is, still, under conky's window; however, you can select this icon clicking and dragging the mouse -a windowed selection-.... after that, you can bring up context menu with the keyboard or simply press enter to 'open' the media you just inserted.

Read Conky faqs at this link: http://conky.sourceforge.net/faq.html

Specifically these two questions:

Conky won't stop flickering
Why does Conky make my icons disappear?


Automatic Reboot After Power Failure I want a machine that loses power to automatically reboot when power is available. I've looked around and haven't found a solution that works for 11.04.

Purportedly at one point you could do:

echo 'server_mode=1' > /proc/pmu/options

However,  my install doesn't have a /proc/pmu folder. I assume this is still possible, where is the setting available?

EDIT:

If this isn't possible from the OS, is there a way to script these sorts of changes to BIOS or is this something that requires physical access to the machine on boot to manually edit the settings?.

That's not something you can control in your operating system. That's what the BIOS is for.
In most BIOS setups there'll be an option like After power loss with possible values like Power off and Reboot.

You would need a Uninterruptible Power Supply - Soft shutdown with an auto boot.

You might want to look here : http://www.apcupsd.com/ for a recommendation.


How to perform a detailed and quick 3D performance test I am wondering how to quickly test performance of my 3D graphics. Since glxgears is not benchmark what should I use. Also glxgears sometimes stuck at 60FPS, you cannot even compare before/after driver update (e.g. adding xorg-edgers PPA). Even glxgears doesn't really work out of box.

One possibility is screensavers, but you can't see FPS. I am also not willing to install 600MB nexuiz, specially if I am running on Live-CD. Other 3D games are also very big... Unigine tests are too demanding for opensource drivers (problems with too low OpenGL and probably texture compression (S3TC...)). I would also like to test OpenGL 2.x extentions.

How to quickly test your 3D performance?

Ubuntu since 11.04 comes with benchmarks glmark2 and glmark2-es2 which are quite good to perform simple benchmark (with shader) and are very light for download.

glmark2 is actively developed by Linaro group. With each new release, new and more demanding benchmarks are coming. https://launchpad.net/glmark2

Benchmark also runs well on devices (ARM, OpenGL-ES2 based), so it's good (hardware) cross platform comparison. glmark2-es2 running on OMAP4/powervr Pandaboard http://www.youtube.com/watch?v=G5jg9D1lH5Y

The Uningine bechmarck is now on https://benchmark.unigine.com/


Wireless is disabled by hardware switch ,lenovo b460 santos@santos:~$ rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
santos@santos:~$

*-network DISABLED
description: Wireless interface
product: BCM4313 802.11b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth2
version: 01
serial: ac:81:12:22:cb:38
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=5.100.82.38 latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:f2500000-f2503fff

any solution ?

I had a similar problem with my Lenovo Z570. There are two potential issues going on... One is related to hardware, the other software.

For the software end of things, your laptop is most likely suffering from "Multiple WiFi Personalities". Basically, the way I understand it, Ubuntu is not clear on which wifi drivers should be loaded based on incompatibilities with the hardware (this is just how I understand it... I could be wrong =).

The simple & temporary test is to blacklist "acer-wmi" (from terminal):

sudo rmmod -f acer-wmi
sudo rfkill unblock all
rfkill list all

if that stets all of your blocks to "no", you are in business... simply edit your /etc/modprobe.d/blacklist.conf file to blacklist that item and you are good to go.

sudo gedit /etc/modprobe.d/blacklist.conf

When the editor opens, add blacklist acer-wmi as a new line at the end of the file. Save and Exit. then type in the following just to double check things:

rfkill list all

If you still see any "Hard blocked: yes" entries at this point, you have one of three things going on. Either your physical wifi switch is in the off position (if you have one... my z570 has it on the front bezel), your software switch is off (Fn+F5 on my z570) or you may need to simply reset your Bios.

For me it took resetting my Bios to fix it. Simply restart your laptop and press F2 at boot up. Once in the Bios, press F9 to reset the Bios, followed by F10 to save and exit. Test your wifi now. If it's working, you can now head back to your bios and get things setup the way you like them again.

It took a TON of digging and trial and error until I finally got this working. I hope you don't have the same perils!

move hard disk above ubuntu in boot order in BIOS (restart, hit f2)

source lenovo s205


There is no public key available for the following key IDs 1397BC53640DB551 When I run the command:

sudo apt-get update

I got this following warning:

There is no public key available for the following key IDs: 1397BC53640DB551

This is the only warning I got and I do not get any Error.

How I can fix it and what the key 1397BC53640DB551 is all about?

I resolved running:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551

The command above download the missing key using the hexadecimal numbers given in the error (1397BC53640DB551) with apt-key. After running apt-key to download the missing PUBKEY, any packages from that repositories will be considered trusted.

It seems to be a known problem in chromium that is being worked on (check here). They are working to remove SHA1 encryption (link).

Another possible workarounds that have been posted on reddit

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Looking at this, seems that Google now has two keys, and the old one will probably be discontinued along with SHA1.

Correct command line is:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551


Nvidia Drivers Install problem I have some trouble with my Nvidia drivers to install.
When I choose the right/latest driver and install it after a reboot it crashes and says Nvidia-detection crash.
The same is although when I download the latest nvidia driver form the website and install it. So I have big trouble wo get it run. I only didn't get errors/crashes when I use the open source drivers.
I would be happy to get some help with this issue.
I'm having a GeForce RTX 2070 max Q.
I'm Using Ubuntu Budgie 20.4.

Not sure if this is related, but i enabled a settings "Only enable on windows operating systems" on the GPU in BIOS.
If I disabled that setting in BIOS ubuntu 20.02 crashes right after startup.


Mouse wheel jumpy on scrolling I have a small issue that's really annoying me and wondering if there is a possible fix for it.

im using the latest distro of Ubuntu 10.10 and when scrolling up and down pages, especially in google chrome (also within folders etc) the page flickers up and down as I scroll.

There is no issue with the mouse itself as it works fine in other operating systems, but in ubuntu 10.10 it just lacks smoothness as well as it being jumpy.

To describe exactly how it just imagine that the page has 20 scroll jumps, you would normally scroll the mouse wheel once and it would go exactly one step down the page, but if I scroll about 5 clicks, it will jump back and forth.

Hope you can understand and can help me resolve this pain in the ...

Above solutions didn't work for me however...

The fix for me for this (I had the problme for months!) was kinda surreal and like most folks I didn't believe it until I did it:

Turns out some MS mice have a scrollwheel bug.

  Try unplugging the USB cable / dongle then plug back in.

That's it!

Now my mouse moves normally (one line at a time, not half a screen!)

This worked even though I use a 4-port screen/keyboard/mouse KVM box ! Yeah!

I've got pretty much the same problem. When scrolling the wheel very very slowly, it works okay, exactly five lines at the time in gedit. When rolling faster, it jumps forth forth back forth back at random with the effect that you often are at pretty much the same place after scrolling the wheel one turn. In Windows, it works perfect without a driver. It's a Thrust mobile BT mouse.
I've got a wild guess what's the problem.
First off, this is a wheel with discrete positions on the wheel. This means that the wheel will go fast faster fast faster fast faster when scrolling fast, because the discrete positions function as a break.
I suggest that the hardware inside the mouse is not good enough to distinguish between back and forth and fast faster fast faster. I know the inner workings of an electronic mouse and it support such an explanation.
When two lights shines through spokes in a photo optic receiver and the latter can only know more or less light and from this have to decide what direction the wheel goes, it can be hard enough to write software for this job when the wheel is turning at the same speed. The explanation why it's not a problem even in Windows generic driver is that MS has had the same problem with their own poor made mouses.
Solution
Write a mode in the driver in which it will turn into when detecting fast changes between back and forth at the mouse wheel. In this mode the driver will discriminate opposite direction from the last one, lets say, in a ring buffer with five last elements.


How can I pause/resume an apt-get update process in a terminal? My Internet gets paused sometimes because of change in the 3g signal strength and I've to restart the whole apt-get update process again! Each update consumes 13-15 mb and every mb costs here!! Can I do something to pause the update so that I can resume it after I connect my Internet again!
p.s - I know that I can resume downloads of apps/upgrade

Looking at the recommendations for using Ctrl+C, I think it'd be better to try Ctrl+Z to suspend the process in the background when/if the network drops.  You might be able to use fg to resume once your connectivity returns.  (I don't know how robust apt-get is in this scenario, though.)

Another possibility would be using axel and the apt-fast script.   It is advertised as speeding up downloads by doing parallel downloads, but it also seems to be good about keeping track of what's already been downloaded, presumably because it has to track the file pieces as it downloads in parallel chunks.

Here's the original thread from Ubuntuforum.

I dont like terminal. Neither know whether it is possible using terminal or not. But there is a bad way of doing what you have asked. For this you need "Synaptic Package Manager". If you don’t have this then first install it. Now if you have it then, open it; Click on "Mark All Upgrades". This will bring up all the upgradable (updatable) packages. Now start downloading packages until your connection is lost. If the connection is lost, Synaptic will complain about it and stop upgrading. No worries, close synaptic package manager. (Do not open Software centre or use apt-get through command line until up-gradation is finished.)

Now after reconnecting, start synaptic again. And again click on "Mark all Upgrades" and start updating. This time you will see, only those packages which were failed to download, are getting downloaded and others are skipped.

This is not a good solution, but it works. If synaptic or software center complain about some kind of "Lock" then go to /var/cache/apt/archives and delete the "lock" file and you will be good to go :)


How to get mysql initial root password? After installing mysql using sudo apt-get install mysql-server, no question was asked to me to fill a specific password for root account. Logically, it means password is empty. It is confirmed when I have a look in the /var/log/mysql/error.log where I can find this information =>

2019-04-28T20:31:35.761063Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.

But now, when I connect to PHPAdmin with root login and empty password, I have a message:

#1698 - Access denied for user 'root'@'localhost'

with a few more details:

mysqli_real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)

How do I solve this issue?

With Ubuntu 18.04 and mysql-5.7, the default method for a mysql root login has changed,
now you have to be the superuser (either by doing sudo mysql -u root or by calling a root shell sudo bash first). Since you are already authenticated as the root user, no password is needed any longer.

See also this question and its answers.

You can change the password and set a new root password by doing this :

sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
mysql -u root

FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';

skip-grant-tables option enables anyone to connect without a password and with all privileges


How do I install the Cisco Anyconnect VPN client? I installed Cisco AnyConnect for Ubuntu(64) 12.04, but it failed. It can be installed on Ubuntu 10.10(64).

The error log

Installing Cisco AnyConnect VPN Client ...
Extracting installation files to /tmp/vpn.teuSIr/vpninst096243274.tgz...
Unarchiving installation files to /tmp/vpn.teuSIr...
Starting the VPN agent...
/opt/cisco/vpn/bin/vpnagentd: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

When I meet that,

locate libxml2.so.2
/usr/lib/x86_64-linux-gnu/libxml2.so.2
/usr/lib/x86_64-linux-gnu/libxml2.so.2.7.8

So I create symbol link libxml2.so.2 in /user/lib and after I do:

Installing Cisco AnyConnect VPN Client ...
Extracting installation files to /tmp/vpn.5cz4FV/vpninst001442979.tgz...
Unarchiving installation files to /tmp/vpn.5cz4FV...
Starting the VPN agent...
/opt/cisco/vpn/bin/vpnagentd: error while loading shared libraries: libxml2.so.2: wrong ELF class: ELFCLASS64

I ensure that there exist lib32 runtime lib on my device.

How can I fix this?

If you don't need the "official" Cisco AnyConnect VPN software, I highly recommend installing the "network-manager-openconnect-gnome" package in the Ubuntu Repository. It uses OpenConnect which is an open source client for AnyConnect.
Anyhow, that package allows for you to configure and manager your AnyConnect VPN connections through the normal network manager.

I have been using that to connect to my work VPN for the past few months and it has been working great!

You can find the package in the Ubuntu Software Center or Synaptic by searching for "OpenConnect."
If you wish to install it via the command-line, you can do so with: sudo apt-get install network-manager-openconnect-gnome

This adds an option to Network Connections. When you choose to add a connection, there'll be a new option under VPN Connections to add a "Cisco AnyConnect Compatible VPN (openconnect)". You can then connect to the VPN through the networks applet (in the system tray).

I have encountered similar issue earlier. I observed that vpnagentd does not load because of libatk1 and vpnui does not load because of libxml2. Installing the 32bit versions of these libraries resolves the issues. You should install ia32-libs to resolve the issue using

sudo apt-get install ia32-libs

This should resolve the issue for you on Ubuntu 64bit versions. I have tried it on 11.10 and 12.04.


When will fglrx be fully supported by Ubuntu 12.10? The title pretty much speaks for itself. I want to know when I will be able to install fglrx from the Ubuntu repositories and for it to work correctly? It seems to work fine on 12.04 but not 12.10 yet.

Guess you are having the same problem I have. You can follow the bug on launchpad to see how the progress is.

Until it's fixed you can use the fglrx legacy driver. It's unofficial but it works fine for me. It added some fixed to the driver so it will work with the 3.5 kernel. Sadly it downgrades the XServer from 1.13 to 1.12.4.

If you want to try it, there is a ppa for it. You can install it from the terminal with.

sudo add-apt-repository ppa:makson96/fglrx
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fglrx-legacy

The AMD Beta drivers released on 2012-12-03 may help for 12.10, as long as you're running single monitor.

Read this for more details


WebEx on Ubuntu 18.04 I am trying to get WebEx to work on Ubuntu 18.04. I have followed these steps, and now I can kick off WebEx and see participants. I can even see a shared screen, but I cannot share my own screen (or app).

Any idea what is missing?

Edit:
As of the last 2-3 weeks I have WebEx working under Wayland. I'll be honest, I didn't do anything special, but I assume that the upgrade of certain drivers in Ubuntu made the difference.
Screen sharing works partially: In WebEx you have the option to share your entire screen, or to share an app. Sharing the entire screen shows a black screen for all other participants, but sharing an app shows the actual app-window nicely displayed for the participants. I have now run several WebEx sessions from my Ubuntu 18.04 successfully (under Wayland).

Given that I'm in an academic environment and our institution uses WebEx, I've keeped at this problem and think I've solved it in an incredibly easy way.

My system
 - System76 galp3-pro (GalagoPro); Intel Core i7-8565U; Mesa Intel UHD Graphics 620 (WHL GT2); 32 GB RAM
 - Running Ubuntu 18.04.4 LTS AMD64 (not Pop_OS)
 - Running the latest Intel Video Drivers from GIT (https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers)
 - Using XServer-Xorg for the session, not Wayland
 - Using UNITY 7 as window manager (from the UNITY Maintainers PPA)

Steps to get WebEx working:

Using Firefox 74.0; download USER-AGENT SWITCHER (https://mybrowseraddon.com/useragent-switcher.html) from the FF Add-Ons
Using the UAS; choose "Windows 10" as the Operating System and "Chrome" as the browser.
Navigate to WebEx Test Meeting and join a test meeting.  The WebEx website should permit the automagic downloading of the Chrome Plug-In and you should now be able to use WebEx as a native Windows10/Chrome user would.  Native microphone, sound, webcam worked.

I know it wasn't WAYLAND, but I hope this helps!

I had the same issue after upgrading to Ubuntu 18.04. It seems that not only the user of Wayland prevented from sharing my screen via Webex, but also IcedTea/OpenJDK as the Java Web Start for CiscoWebexServlet. Switching to X11 desktop environment and to OracleJDK finally solved the problem for me. Please note that i am still using Java 8 so the issue with IcedTea/OpenJDK may not occur with later version.


How does one register an IP without DCHP? Scenario: I have a Linux computer in AP mode and for whatever reason, I do not have a DCHP server installed. Now, I connect a couple laptops to said AP. How do I tell the AP (computer) that the new devices belong to such-and-such IP address?

DHCP is a method for automatically register machines in a local DNS server. If you are running Linux on the laptops as well, assign an IP address to each of the machines by editing the hosts  file.

sudo vim /etc/hosts
add the following line, change the IP address accordingly.
192.168.1.2 laptop1

Or, use NetBIOS Name Service for Windows and multicast DNS for Mac.


Is it possible to print to a Brother MFC-490CW that is conected to a LAN I have a Brother MFC-490CW printer that is connected to my LAN (wireless) and on which I can print with fine from Windows. From Ubuntu however, it does not seem to be possible. I downloaded and installed cups and lpd drivers from the Brother site and installed them. I get a Brother printer that says it is connected via USB. If I search for a network printer, my printer is shown. If I select it and select the correct driver, I can submit test pages. These pages are however not printed.

What could be wrong. Should it really be that much harder then it is on Windows?

I had exactly the same problem brother using the CUPS and LPR drivers and trying to install them through the UBUNTU printer install interface.  I also tried the CUPS webpage trick with no success.  After several days and methods of trying to get it to work, I finally had success using the brother installer package located here:

http://welcome.solutions.brother.com/bsc/public/us/us/en/dlf/dlf/000000/006800/dlf006893.html?reg=us&c=us&lang=en&prod=mfc490cw_all&type2=91&os=128&flang=4&dlid=dlf006893

You have to use some terminal commands when using this method, but there are only about 7 or 8 of them and the instructions right below the installer package download link are pretty clear.  It wasn't as bad as I thought.  Once I saw all of the dependent packages the Brother installer downloaded to support the installation, I realized there was no way I was going to make this work using the typical Youtube simple install methods.

Hope this helps you or someone else who had the same difficulties I did.


Install Citra-Emulator Ubuntu 17.04 I'm trying to install Citra Emulator. I downloaded and extracted it (tar.xz) and it gives me an "executable (application/x-executable)". When I try to run it, nothing happens. I've also tried running it from terminal with

./citra

I`m running Ubuntu 17.04, let me know if any more information is needed.

Any help is appreciated

Make sure the executable has the correct permissions. If not, run chmod +x ./citra and chmod 776 or similar. Then, try to execute it with ./citra or sh ./citra.

If this doesn't work, try looking if it has some missing dependencies with:

ldd ./citra

For the error mentioned:

Try looking at: libsdl2-2-0-so-0-cannot-open-shared-object-file

Or

sdl2-not-being-loaded-correctly-by-jedi-academy-openjk

I am on Ubuntu 18.04 and I can confirm https://citra-emu.org/wiki/building-for-ubuntu-16.04/ is working for me.

However, before step 2, I had to do the following:

sudo rm /usr/lib/x86_64-linux-gnu/libEGL.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0 /usr/lib/x86_64-linux-gnu/libEGL.so
sudo rm /usr/lib/x86_64-linux-gnu/libGL.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0 /usr/lib/x86_64-linux-gnu/libGL.so


ssh permission denied(public key) I have just installed VirtualBox and Vagrant on my coputer and initialized a ubuntu/bento-16.04 box. I have added a new user beside vagrant user and I have generated and copied the public key on the server in a file named authorized_keys. I also disbaled the possibility to authenticate with a paswword.

The problem is that i can connect to the server only if a provide to the ssh command the full path to my private key (located on the C drive of my computer), under -i flag.

If a try to connect just with ssh -p 2222 lucian@localhost i got this message:
permission denied(public key)

Is there any way i cann connect  by ssh without providing the full path to the private key located on my computer?

My impression is that the server does not know about the location of the private key.

I red the earlier threads related to this issue but i can figure out what am I suppose to do to make the ssh-agent provide to the server the private key automatically.

Thanks!

Without editing files, you can use ssh-add yourkeyfile, it won't survive a reboot though.

To configure it as a permanent setting you can create or edit the following file

nano /home/yourusername/.ssh/config

Add the following entry

Host serverIP/FQDN
IdentityFile /home/yourusername/.ssh/yourkeyfile (or other path)

Now every time you connect to that specific host it will use that file.

You can also add the port number and username in the above configuration so that you only need to type ssh remotehostname to connect.

To do that add

 User remote_username
 Port remote_port#

I have solved it by creating a config file stored on the local machine (~/.ssh/config) with the following content

Host myhost
      HostName 192.168.10.10
      User username
      IdentityFile /path/to/identity file
      IdentitiesOnly yes

where

myhost is any name you choose to use together with ssh command for
connecting to the server
HostName is the IP address set in the Vagrantfile for private network
user is the name of the new user created at the server level
IdentityFile is the path to the private key stored locally (public key being stored on the server in the authorized_keys file)

After that i can connect to the server from vagrant simply with the command ssh myhost.


How can I create a zip archive of a whole directory via terminal without hidden files? I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be  any hidden folders / files. If files in a hidden folder are not hidden, they should also not be included.

I know that I can create a zip archive of a directory like this:

zip -r zipfile.zip directory

I also know that I can exclude files with the -x option, so I thought this might work:

zip -r zipfile.zip directory -x .*

It didn't work. All hidden directories were still in the zip-file.

First of all if you don't have installed zip install it first as follows:

sudo apt-get install zip

Then for simply creating a zip file:

zip -r compressed_filename.zip foldername

If you want to exclude hidden files:

find /folder_path -path '*/.*' -prune -o -type f -print | zip ~/compressed_filename.zip -@

Excluding Files from a Zip Archive
(taken from http://osxdaily.com/2013/04/30/how-to-exclude-files-from-a-zip-archive/)

  The basics of file exclusion when creating a zip archive are centered
  around the -x flag, which is used to exclude files from the archive
  that match a specific name or pattern. At it’s most basic, it will
  look like this:

zip archive.zip files -x "ExcludeMe"

  Meaning you could exclude a single file, say it’s named “Nothanks.jpg”

zip archive.zip images/ -x "Nothanks.jpg"

  Let’s cover a few specific examples where this is useful.

  Exclude .DS_Store Files from Zip Archives

  This will prevent the typically invisible Mac metadata .DS_Store
  files from being included in a zip archive, which are bundled in by
  default:

zip -r archivename.zip archivedirectory -x "*.DS_Store"

  If the directory includes subdirectories however, you’ll want to use
  another variation of that command to exclude the the ds_store files
  from subdirectories as well:

zip -r archive.zip directory -x "*/\.DS_Store"

  Note: not all shells require the quotations for this command to work
  properly, but in the bash shell (the default for OS X) you will need
  to use the quotes for excluding with wildcards and patterns.

  Exclude Specific File Types from a Zip Archive

  With wildcards, you can also exclude all files of a certain type by
  focusing on the extension. For example, this command will zip an
  entire directory, minus any .jpg files:

zip -r archive.zip directory -x "*.jpg"

  That could be modified for any specific file extension or pattern
  matched in a file name.

  Exclude the .git or .svn Directory from a Zip Archive

  Zip a directory, minus .git and it’s contents:

zip -r zipdir.zip directorytozip -x "*.git*"

  Zip a folder, without including the .svn directory:

zip -r zipped.zip directory -x "*.svn*"

  Exclude All Hidden Files from a Zip Archive

  Since patterns and wildcards can be used, you could also exclude any
  or all invisible files and folders that are made so by being prefixed
  with a period, whether it’s a directory like .svn or an individual
  file like .bash_profile or .htaccess.

zip -r archivename.zip directorytozip -x "*.*"

  Or to exclude all invisible files from all subdirectories:

zip -r archive.zip directory -x "*/\.*"

Without hidden folders and files in directory:
zip -r zipfile.zip directory/*

directory:
|── .git
│
├── src
│   └── Work.file
├── .test
│   └── .file
└── test.file

$ zip -r zipfile.zip directory/*
adding: directory/src/ (stored 0%)
adding: directory/src/Work.file (stored 0%)
adding: directory/test.file (stored 0%)


How to boot to a terminal from a black screen and flashing cursor after updating the NVIDA graphics driver I'm running Ubuntu 14.04 LTS and updated my graphics card to Nvidia Quadro K4200 in order to get stereo capability. It worked with the recommended Ubuntu driver (nvidia-352), although I struggled to get stereo working, so I installed the latest Nvidia driver (361.42).  To do this, I got a terminal with

  Alt-Ctrl-F1

stopped X with

  sudo service lightdm stop

and then ran the install script from NVIDIA.  When I restarted X with

  sudo service lightdm start

I got a black screen with a blinking cursor in the top left of the screen and Alt-Ctrl-F[1-6] did not give a terminal login.  My only option is a hard shutdown (holding down the start button) and when I reboot it returns to the black screen.

I saw this post which looks the closest to my problem that I found, with a solution that requires Alt-Ctrl-F1 which isn't giving me a terminal login option. Any suggestions are very much appreciated.

Two thoughts:  For low level logins, like you're doing, frequently the ENTER key must be pressed to get a login prompt.

Just because the graphics are crazy, doesn't mean that the daemons like sshd didn't come up properly.

Have you checked /var/log/Xorg.0.log for errors?

Or when you stop X, try startx rather than restarting the service.


exclude certain files in ls I would like to run ls and exclude certain files in the output.

When I run the following command, I get all files with each on one line:

$ ls -1
file1
file2
file3
temp

I would like to run this command in a way so it shows

$ ls -1 <insert magic here> temp
file1
file2
file3

ls -I <filename>

-I = Ignore the filename, i.e., don't list the specified file.

To ignore more than one file add an -I before each filename.

ls -I file1 -I file2

To ignore files by their name extensions do the following, for example.

ls -I "*.jpg" -I "*.svg"

I think that this produces the output you're looking for:

ls -1 !(temp)

Apparently, you need shopt -s extglob for that to work
(I have it enabled, so I guess some time in the distant past I found it useful and enabled it).

I guess you could also use grep to filter the output:

ls -1 | grep -v '^temp$'

Using a pipe and filters provides a lot more flexibility, and skills that are transferable to other commands/situations, though you might not be interested in that for this specific case.


Ubuntu does not boot alongside windows 8 (toshiba satellite p855) I installed ubuntu 16.04 alongside windows 8. Secure boot disabled, CSM boot mode in order to boot from usb. After booting from usb several times, i can not even get access to ubuntu. Windows does not recognize usb or usb installer. I fixed this problem by changing usb installer whenever got stuck.

Ubuntu installed fine on partition dev/sda9. I tried grub2win to boot, but it fails. For ubuntu black screen appears. Windows boots normally.

Also tried boot repair without success.

Main problem is that Ubuntu does not boot. Due to usb installer issue and dummy toshiba UEFI system I have limited access to ubuntu with usb drive only.

I appreciate your help in advance

Maybe your windows is constantly setting up secure boot because you are not using the windows-in-built feature that lets you access the BIOS.
I strongly recommend you to enable LEGACY support in your laptop if you want to try another linux distros or just install ubuntu, you can enable it in your BIOS settings too.

To access BIOS go to your windows 8, swipe left of the screen and go to

Change your Settings >> Update and Backup  >> Backup >> Advanced startup >> Fix problems >> Advanced Settings >> BIOS/UEFI Config.

Then acces the BIOS and disable the secure boot, another thing is that Windows in EFI mode is the lord of the computer, and the only way to boot a pendrive is:

In BIOS changing the order of boot
Access to the pendrive/CD using an alternate key

the alternate key to boot device is not the same for each laptop, you can try with F1-F12 and is only available when the manufacturer logo appears, you can boot Ubuntu with this key too so is very important to know what key is, In my laptop is F12.

that will solve your problem...

If you want to use GRUB as your default bootloader, boot a live session with ubuntu in EFI/UEFI mode, open a terminal then type this.

sudo grub-install /dev/sda


How to uninstall Facebook Messenger from Ubuntu 14.04? Recently I installed Facebook Messenger in my Ubuntu 14.04 and then I noticed that it is no longer supported in Ubuntu. So I tried to uninstall it. When I checked Software Center I can't find an entry for Facebook Messenger there.

The following are the commands I used to install Facebook Messenger:

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

So how can I uninstall Facebook Messenger ?

Remove the package "fbmessenger" from the Software Center or run:

sudo apt-get remove fbmessenger


Single server, multiple users, each with his own virtual machine Our school system has a low budget to update our computers, so I've thought maybe I could buy only one server (a powerful one) and hookup 30 students to one server.

On the server should be 30 Ubuntu virtual machines, each controlled by a different keyboard and mouse + individual monitor.

I've looked over the internet but couldn't find no simple solution, some say you can't some say you could if blablabla on Windows, but I want to run it on Ubuntu.

Could someone point to some docs or solutions if you know,
we would greatly appreciate it.

A good solution is to use LTSP (Linux Terminal Server Project), here is a quick definition from Wikipedia:

  Linux Terminal Server Project (LTSP) is a free and open source
  terminal server for Linux that allows many people to simultaneously
  use the same computer. Applications run on the server with a terminal
  known as a thin client (also known as an X terminal) handling input
  and output. Generally, terminals are low-powered, lack a hard disk and
  are quieter than desktop computers because they do not have any moving
  parts.

Briefly, LTSP allows clients to use the resources of a more powerful server computer. The client computer needs a keyboard, mouse, monitor and a network card.

You will find many tutorials in the red, here are some to get started:

UbuntuLTSPLTSPQuickInstall

How To Install LTSP – Ubuntu 11.04

I've seen it running windows xp back in 2007-2008..I was at basic computer class.they used 1 desktop and connected 2 mouse and 2 keyboars with 2 monitors.each user would have its own hardwares..however it was connected to 1 pc together and was running xp together...I don't know how but i have used the very own pc,and both of them have the same files.i mean i used a video to play on several monitors together..


connect two bluetooth devices at once I have a bluetooth speaker and a bluetooth mouse..

When I connect the mouse the speaker will start stuttering.  Is this normal?  How should I debug this?  Please advise and I will update this with more information.

Running 14.04 with 4.2 wily kernel.

UPDATE 1 :

03:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev bb)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4070]
        Kernel driver in use: iwlwifi

We could change the default value of the bluetooth coexistence parameter to see if conditions improve

echo "options iwlwifi bt_coex_active=N" | sudo tee /etc/modprobe.d/iwlbt.conf

Reboot and test

If it happens to cause more problems than it solves it can be removed with
sudo rm /etc/modprobe.d/iwlbt.conf
With another reboot


Dual boot Windows 7 UEFI Raid with Ubuntu 14.04 Grub2 Problem I used the intel Raid 0 to raid SSD #1 and #2 on raid 0 for video editing work, everything was good.I installed windows 7 64bit on an asus x79 deluxe motherboard on these raid 0 two ssds using UEFI+gpt, all went good.

I then installed 64 bit Ubuntu 14.04 LTS on a third non raid ssd # 3 with manual partitioning and I got gpt and UEFI on that and everything is almost all good. I can browse and see the windows raid windows partition but grub2 does not see list windows uefi.

In UEFI BIOS I can select UEFI Windows boot manager or UEFI Ubuntu boot manager and each will boot respectively from their own boot manager.  However I want to add the UEFI Windows boot manger to grub2 so I can select the OS from GRUB2 and not have to go into bios to choose OS.

How can I do this?  I tried boot repair but it seems to screw things up to the point of reinstall. I wonder is there is a way to manually add the windows boot loader to grub2 and daisy chain UEFI Windows boot manager?

Cheers,
Martin

In theory, it should probably be working, although your use of RAID on Windows might have thrown a monkey wrench into it. I can think of a number of possible solutions. The first is to edit /etc/grub.d/40_custom and create an entry resembling the following:

menuentry "Windows 7" {
    insmod part_gpt
    insmod chain
    set root='(hd0,gpt1)'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

You may need to change (hd0,gpt1) to identify the EFI System Partition (ESP) where the Windows boot loader is stored. With this done, type sudo update-grub to add the manual entry to GRUB.

A second option is to run Boot Repair, which often does a better job of identifying strange GRUB setups than do the stock Ubuntu GRUB scripts. The danger is that Boot Repair occasionally makes matters worse, particularly with exotic setups. If you run Boot Repair, be sure to save the URL that it gives you. If it doesn't work, you can post that URL back here to give us more detailed information about your setup.

Finally, you could try my rEFInd boot manager. If you do this, I recommend you start with the USB flash drive or CD-R version; you can try these without making changes to your disk setup or boot loader options list, so the risk factor is very low. If you can boot both Ubuntu and Windows from the rEFInd external medium, install the raw Debian package or PPA in Ubuntu.

You can try these options in any order you like.

I have successfully installed Ubuntu 14.04 on the machine which has Windows 7 installed on two raid solid-state drives that are formatted with gpt and use UEFI. Ubuntu is actually installed on the third non-raid solid-state drive. The following steps describe the situation. I installed it on a motherboard which is the Asus X79 Deluxe. There are two more raid drives, each consisting of two regular hard drives that are formatted under Windows to be used for storage of data.

The first step is to turn off fast boot and enable raid controller to be entered using ctrl+I command by adjusting the UEFI setting to force display and turn off fast boot as well as secure boot. Then I entered their Intel raid BIOS and also used -ctrl+M for the other controller to make my RAID partitions. Then used Windows 7 DVD installed it onto the RAID partition. Everything under Windows works well after install.

In the second step I booted the Ubuntu 14.04 live CD using UEFI boot and then once booted into the CD I did the install of / and swap. I also made first partition of the Windows as the boot loader destination, that is why there is an extra partition in the first set. The installation went fine but then on reboot grub2 does not show up and the only way to boot into the two operating systems is by selecting where to boot from in the UEFI bios. I then went and installed boot-repair which must be installed on the newly installed Ubuntu system, with the option of secure boot turned off and follow the instructions. I tried using the boot-repair cd and installing it on the live CD ubuntu boot and the boot-repair launches but wants to convert everything to MBR instead this enabled me to get the Grub2 to show up without the capability to select Windows when booting from the Linux solid-state drive.

I finally added option one from above and it allowed me to put the Windows boot manager into the grub2 so now everything works as it should.

It took quite a few reinstalls and messing about to finally get to that stage. But in the end I have a system exactly the way I need it to be.


How to/Can I dual boot Ubuntu on my system So I have a Windows 8.1 64bit system, that uses BIOS instead of UEFI, when I mounted Ubuntu 12.04 to my thumb drive and tried to boot from a device in the advanced startup options I noticed there was no "boot using device" option. So the question is how would I go about dual booting Ubuntu 12.04 and Windows 8.1?

You have to change the priorities of bootable devices in your bios. Your Usb port should be indicated there, so bring it to the top of the list so your usb drive is detected first


Grub rescue please help Like a dummy I deleted the Ubuntu partition on my hdd and restarted my computer. Now when it boots up I get

Error: no such partition
Grub rescue>

I don't have a asus repair disk nor a Ubuntu disk
I'm using my iPhone as I don't have anything else. Am I screwed or is there a fix?

i think it was a dual boot, if it was win 7,  you will have to borrow a windows installation disk and boot from it,
then you have to go to the repair option and then the command prompt,  there u will have to type "bootrec.exe"

it will fix your boot sector and thus, it will enable to boot win 7.

http://support.microsoft.com/kb/927392

You're pretty boned. Right now, you just have an (almost) empty hard drive or partition.

Since it's pretty much blank, reinstalling shouldn't be too tough.

So, I recommend to re-install Ubuntu using Ubuntu Live CD or creating a Ubuntu USB disk. Of course, you should select the same old partition from which your Ubuntu get deleted. This will restore (reinstall) Ubuntu and at the same time, You Windows system will be again bootable (Because, at the final stage of Ubuntu installation, it will look for other OSs in the disk)


Sony VAIO keyboard only responding after suspending the device/restarting the X-Server As the title says, the built in keyboard on my Sony VAIO SVE1712V1EB does not respond after booting. Neither it does in GRUB.

However when I suspend the computer / restart the X-Server, the keyboard is recognized and works fine.

I am using Ubuntu 14.04 and I have set the bootmode of UEFI to legacy.

What do I have to do to get the Keyboard working immediately after booting?

I had the same problem and it was solved with installation of new drivers for touchpad.
Download this archive (from Ubuntu's bug reporting page).
Open a terminal, and follow these steps (after step 4, you will have no mouse at all):

cd ~/Downloads
sudo dkms ldtarball psmouse-elantech-x551c.tar.gz
sudo dkms install -m psmouse -v elantech-x551c
sudo rmmod psmouse
sudo modprobe psmouse

Solution details can be found here - http://www.evilcodingmonkey.com/2014/01/23/ubuntu-activate-multi-touch-on-elantech/


an error occurred while mounting /boot/efi I'm a new Ubuntu user.

I have UEFI system and after few tries I succeeded to install (via usb), the latest version of ubuntu.

Now when I'm trying to boot from grub i get this message:

an error occurred while mounting /boot/efi

what can i do?

Type the following commands:

grep efi /etc/fstab
sudo blkid | grep fat

The first command will return information on the EFI System Partition (ESP), as recorded in your /etc/fstab file, which controls automatically-mounted partitions. The second command returns information on all FAT partitions on your computer. The ESP is supposed to be a FAT partition, so you should see some correlations. For instance, here's what I get when I issue these commands on one of my systems:

$ grep efi /etc/fstab
# /boot/efi was on /dev/sda2 during installation
UUID=502D-EB63  /boot/efi       vfat    defaults        0       1
$ sudo blkid | grep fat
/dev/sda2: SEC_TYPE="msdos" LABEL="ESP_FAT16" UUID="502D-EB63" TYPE="vfat"

Note that some systems might return information on two or more FAT partitions from blkid. In such cases, you'll need to figure out which one is your ESP by examining the partition table with gdisk, parted, GParted, or some other partitioning tool. There may be other complications, too, on some systems.

From here, you can look for problems. Pay particular attention to the UUID= values in both outputs. If they don't match, that's the source of the problem. If this is the case, editing /etc/fstab so that it refers to the ESP by its correct filesystem "UUID" (really just a serial number for FAT) should get things working.

Another possible problem won't show up as a discrepancy in the analysis you've just performed, since it's a matter of a filesystem needing repair. You can do this with the dosfsck utility:

sudo dosfsck /dev/sda2

You must pass it the device filename associated with the ESP -- /dev/sda2 in this example, as revealed by the blkid output. After making this repair, the problem should go away, with the caveat that very serious filesystem damage may require more drastic measures, such as backing up the ESP, creating a fresh FAT filesystem on the partition, restoring the data, and adjusting /etc/fstab to use the new "UUID" value.

One more point along these lines: If you're dual-booting with Windows 8, it includes a "fast startup" feature that is basically just a suspend-to-disk feature. Sharing partitions between Windows and Linux with this feature active is almost certain to lead to problems, and I've heard of the ESP being affected by this. Thus, if you're dual-booting with Windows 8, you should disable the fast startup feature. This page describes how to do this in detail.

I was completely lazy and booted a Ubuntu live disk..... once the disk loaded up a desktop, I ran gparted.. I saw that my boot partition /dev/sda1  ext4 with a mount point / had a uuid that looked like a hardware uuid 5465465406546506540d546sd54f66 something like that. (that was a clue to me that.. this was the damaged portion when i had to hard boot when my machine locked up).. I right clicked on said partition made sure it was unmounted and selected check.... thus gparted checked and repaired the partition..... restarted and everything loaded up great... I'm sure it wont work for all cases but it worked for me


How to enable mute and volume buttons on HP Elitebook 8460p? I have a HP Elitebook 8460p, which works mostly perfectly with Ubuntu, except for a few quirks. One of them is that the mute and volume buttons do not work.

The volume buttons are mapped to FN+F6 and F7.

Since I do not own that laptop, I am unable to confirm this for myself, but it is worth attempting to fix the issue.

Note: To return to your desktop after trying this, you will have to press Alt+F7 or Ctrl+Alt+F7
Also worth noting - your desktop may be located on F8 instead of F7.

Press Ctrl+Alt+F1 and then type these commands, and press the key combos that aren't working for you after issuing each of these commands -

showkey --scancodes
showkey --keycodes

Go back to your desktop check if your volume keys are working.

There's an fn button between the Ctrl button on the bottom left of the keyboard and a windows button on the right. Hold down into the fn button and press f6 or f7 and it'll work


How to install "bought" softwares from the command line? I love doing things the command-line way and need to install some proprietary softwares that are available free of cost but have to be "bought" from the software center:

How do I install such softwares from the command-line?

Install package and assume yes to all queries

sudo apt-get install *package_name* -y


How can I install the ubuntu 12.04 without downloading ubuntu-12.04-wubi-amd64.tar.xz? Everytime when I want to install the ubuntu, it calls me to download the ubuntu-12.04-wubi-amd64.tar.xz! Because of my poor network, it makes me crazy! How can I install the ubuntu 12.04 without downloading ubuntu-12.04-wubi-amd64.tar.xz?

Your best answer is to get the live-DVD.  Please use this to boot and use the 'Try Ubuntu' option to make sure it runs OK on your hardware before attempting to install.  You then have the option of using wubi recommended only if you use Ubuntu only occasionally or installing on a partition.  Either way, make sure you can recover all data and the Windows operating system if something goes wrong.

http://nl.releases.ubuntu.com/12.04/ubuntu-12.04-wubi-amd64.tar.xz

Hey dude Download it from here and save it. And you install ubuntu again then copy this file into you disks directory which is in C : ubuntu/disks.

I hope it will help :)


Server bandwidth monitoring  program having Web interface I am looking around for a simple program that will log how much bandwidth has been used by my server. This should preferably be presented in a web interface.

Information /summary/functionality I'm looking for is:

--Bandwidth statistics per day
--Log file of the last 6 months
--Login enabled access to view

Thanks in advanced

P.S -: Is there a desktop tool for windows that could log into the server and give real-time statistics that comes along with it would also be very useful.

Edit

I'll simply it I think. What is the smallest/simplest program that only logs bandwidth per day/month with just command interface?

EDIT

None seem to be what I want/am looking for.I'm now just looking for a simple program that logs bandwidth used by the whole system every day. preferably into exportable to html.

According to your requirements i can suggest NTOP.
Search for ntop in Synaptic manger or Ubuntu Software centre.After installing you can view and configure it through http://hostname:3000/

ntop focuses on :-

Traffic measurement

Traffic monitoring,

Network optimization and planning,

Detection of network security violations

However, you may have to go through the documentation and Man Pages for optimum usage.

It suffice all your requirements.

P.S :- During web-page configuration it will ask for Username (which is admin) and password( Whatever you typed during installation) .

Sorry to tell but you will have to program such an application according to your needs. You can probably do it with PhpMyAdmin and then wrap it up to show graph and all the fancies that you want. Or if you want then you can use some of the wordpress' code because it contains those fancy stuff.


Is there any calculator with degrees, minutes and seconds calculation? I need a calculator software for calculating DMS (degree, minutes, seconds). Maybe something like this:

I need to use the calculator to calculate somthing like this easily:

87°43′41″ + 120°33′1″

Any suggestion?

How about SageMath? And maybe this thread can be helpful :)


Installing driver for Netgear WNA1100 WiFi Adapter - Ubuntu Server 12.04 I recently purchased the WNA1100 WiFi Adapter for my Ubuntu Server 12.04 Box. Since I'm new to Ubuntu, I'm unable to install the drivers for the WiFi Adapter. I found that the WiFi adapter uses the Atheros AR9271 chipset. I downloaded the htc_9271.fw file from the Linux Wireless site.

How do I install the driver?

You may need both files there; htc_9271.fw and htc_7010.fw. Both are mentioned in:

    modinfo ath9k_htc

Please open at terminal and do:

    cd Desktop   <--or wherever the downloaded files are
    sudo cp htc_9271.fw /lib/firmware
    sudo cp htc_7010.fw /lib/firmware

Now unload and reload the driver:

    sudo modprobe -r ath9k_htc && sudo modprobe ath9k_htc

@Jim Salter
If you check the site you gave you will find that Netgear WNA 1100 is supported:

"WNA1100

Atheros

ath9k_htc

Need only a .deb packet

Download the last version of the http://sourceforge.net/projects/ath9...htc-installer/ and execute the .deb packet. Connect the WiFi adapter"


Run Wubi Ubuntu on Virtualbox I have installed and using Ubuntu with Wubi installer inside Windows7 as a dual partition.

Now I want the same OS image to be loaded using the Virtualbox.

Is this possible?

Alright, this is going to get a little technical.  Plus you're going to need a spare partition or disk.

To start with, backup all your data on both systems.  Accidents happen easily.  Clonezilla is good for making copies of everything such that you can put it all back if you wipe out your disk.

So, find a USB drive, or disk partition with enough space to hold your wubi install.  Then follow the manual instructions at http://ubuntuforums.org/showthread.php?t=1519354 to move your wubi install to that space.  Read carefully and make sure you understand how it all works before trying it.

Once you have your install migrated into the clear, the simplest thing to do is to fire up Clonezilla ( http://clonezilla.org ) and make an image of it.  You want just the Ubuntu install, not the Windows install too.  Then fire up Virtual Box with Clonezilla.  Put the image in a Windows shared folder and configure Virtual Box's network settings so that you can access it.  You should then be able to tell Clonezilla to connect to the share, and restore the image to the virtual machine.

Personally I've only ever done it this way once.  It's a pain, and not worth it.

Easier way:  Do a clean install into Virtual Box, then fire up your wubi install.  Log out of the graphical shell and hit ctrl+alt+F1 to get a terminal prompt.  Log in to the terminal and cd to /home.  make a tarball of the user home folders with tar, and save it to your windows system, which will be mounted under /host.  (There are plenty of good sets of instructions on using tar elsewhere, so I'll just say tar --help for the rundown on the options)

I usually do the same thing with the contents of /var/cache/apt to save redownloading updates to the new system.

Then, go back to Windows, fire up Virtual Box, put the tarballs in a shared folder where you can get to them from the VM, and expand the tarballs back out into the directories from whence they came.  That will get all your personal settings and the packages for all the programs you had installed, so you have essentially the same install, only with fewer reboots and much less chance of accidentally nuking your disk.

Yes this is possible. For that you need

iso file that you want to install
Virtual Box Soft

This process is very easy. Go through this link:
Installing Ubuntu in Virtual Box.


Why is Microsoft Word complaining about Libre Office's .odt files being corrupt? Whenever I give someone a .odt file created with LibreOffice and they open it with Microsoft Word, it says that the file is corrupt. Is there a CRLF problem or are the .odt files MS Word makes and the .odt files LibreOffice makes different altogether?

I'm trying to promote using .odt files (there's an xkcd comic on this :P) but it seems as though Microsoft doesn't want that to happen. Is there a way to make sure that my .odt files will not appear corrupt to Microsoft Word?

Microsoft office 2010 does not support ODF 1.2 format, which LibreOffice does. If you change the ODF format used in LibreOffice to 1.0/1.1 you will no longer have this problem.

because Microsoft does not support .odt files.
in Word 2010 does not even open .odt files. at least not on my laptop.
There fore I would just Save it in LibreOffice as .docx file


How to install and run gsconnect I am trying to download gsconnect on my ubuntu 20.04 but the apt download does not show anything in the tray and has no cli command apparently. So I read on a forum the one on the gnome.extensions site works but it's just a zip folder filled with .js files with no instructions I have no idea how to run or install that. No instructions on the site or anywhere on google to be found too besides install gsconnect.

I assume you have downloaded the zip folder in your $HOME/Downloads/ directory.
cd $HOME/Downloads
gnome-extensions install gsconnectandyholmes.github.io.v43.shell-extension.zip

Refresh gnome-shell with Alt+F2 r enter method.
gnome-extensions enable gsconnect@andyholmes.github.io

Again Refresh gnome-shell with Alt+F2 r enter method.

Further, go through this post and concentrate on Installation Instructions. https://askubuntu.com/a/1232696/739431

Make sure you download the plugin for your browser as well
Firefox:
https://addons.mozilla.org/en-US/firefox/addon/gsconnect/
Chromium:
https://chrome.google.com/webstore/detail/gsconnect/jfnifeihccihocjbfcfhicmmgpjicaec


Ubuntu hangs frequently I have an Athlon x2 7750, 2GB RAM and I installed Ubuntu 12.04 LTS on 8Gb moser baer pen drive.

Software I installed are: apache2, php5, mysql-server, mysql-workbench, komodo-edit, anjuta. I also wanted gimp but I stopped.

Problem is Ubuntu stops responding after 3-4 minute and start responding again for 3-4 minutes. and this continues. I'm use Windows 7 and do not know much about Linux, I wanted to install it on my hard disk.

Can community help me on how to get smooth Ubuntu???

its a problem of memory

make sure you have a Swap Partition twice the size of your RAM

how to make swap partition
https://help.ubuntu.com/community/SwapFaq

You installed Ubuntu on a Pen Drive?

Pen drives are not fast or robust enough to run an OS off. That is probably why your Ubuntu keeps hanging every now and then.

You need to install Ubuntu on your Hard Disk or at least on a USB HD (not recommended).

The procedure for doing this is quite standard. You can follow the guide on the official site.

http://www.ubuntu.com/download/help/install-ubuntu-desktop


Package system is broken, multiple errors, dpkg cannot process libc6 This is what Update Manager pops up with:

The following packages have unmet dependencies:

libc6: Depends: libc-bin (= 2.15-0ubuntu10.4) but 2.15-0ubuntu10.4 is installed
       Depends: libgcc1 but it is not installed
       Depends: tzdata but it is not installed

Edit:

sudo apt-get -f install

returns:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
  libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
  liblzma5 libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
Suggested packages:
  debconf-doc debconf-utils whiptail dialog gnome-utils
  libterm-readline-gnu-perl libgtk2-perl libnet-ldap-perl libqtgui4-perl
  libqtcore4-perl apt bzip2 ncompress xz-lzma
The following NEW packages will be installed:
  apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
  libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
  liblzma5 libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/9,304 kB of archives.
After this operation, 29.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.6.3-1ubuntu5_i386.deb containing libgcc1, pre- dependency problem:
 libgcc1 pre-depends on multiarch-support
  multiarch-support is unpacked, but has never been configured.
dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb (-   -unpack):
 pre-dependency problem - not installing libgcc1
Errors were encountered while processing:
 /var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb
E: Internal Error, No file name for libc6
W: Could not perform immediate configuration on 'multiarch-support:i386'. Please see  man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo dpkg --configure -a returns

dpkg: dependency problems prevent configuration of libc6:
 libc6 depends on libgcc1; however:
  Package libgcc1 is not installed.
 libc6 depends on tzdata; however:
  Package tzdata is not installed.
dpkg: error processing libc6 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
 multiarch-support depends on libc6 (>= 2.13-0ubuntu6); however:
  Package libc6 is not configured yet.
dpkg: error processing multiarch-support (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6

When this error shows up:

E: Internal Error, No file name for libc6

According to a bug in launchpad, running these commands will fix it (and it worked for me too):

sudo apt-get update
sudo apt-get clean
sudo apt-get install -fy
sudo dpkg -i /var/cache/apt/archives/*.deb
sudo dpkg --configure -a
sudo apt-get install -fy
sudo apt-get dist-upgrade

more specifically, for me, this command did it:

sudo dpkg --configure -a


How to symlink a device throught udev and always point to the same device? I have the following udev rule for a USB thermal printer that works with serial through usb:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c8a", ATTRS{idProduct}=="3001", SYMLINK+="ttyS99", MODE="0660", GROUP="lp"

output of ls -la:

lrwxrwxrwx 1 root root 7 ago 21 10:50 /dev/ttyS99 -> ttyACM1

but if I power it off and on again, it symlinks to the wrong device:

output of ls -la after powering off and on again:

lrwxrwxrwx 1 root root 15 ago 22 13:28 /dev/ttyS99 -> bus/usb/001/008

How can I make it always point to ttyACM1 ?

Found the answer: I added SUBSYSTEM=="tty" at the start:

SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c8a", ATTRS{idProduct}=="3001", SYMLINK+="ttyS99", MODE="0660", GROUP="lp"

Change SUBSYSTEMS to SUBSYSTEM in the usb rule in your initial ruleset and then it will work.


Dual boot for a windows 8 laptop I'm trying to dual boot my laptop with windows 8 and linux. Can someone supply me with instructions of an easy way to do this?
Thank you.

Start by downloading Ubuntu:

At first, start by downloading the latest version of Ubuntu, be sure to get the right version for you PC, There's two flavors of Ubuntu, the 32-bit one, 64-bit one

64-bit one can allocate all the RAM if it's >4GB, It's also faster compared to 32-bit, however, old processors might not support 64-bit architecture

32-bit flavor can't allocate more than 4GB of ram, so if your computer have more than 4GB of ram, you shouldn't install 32-bit one, otherwise, the system will only work with 4GB of ram, the rest is wasted and not used

one you download your copy, either burn it to a DVD, or use a tool like Universial USB Installer to install it using a USB Flash Drive

 Install Ubuntu:

MAKE SURE YOU HAVE INSTALLED ALREADY WINDOWS 8 BEFORE YOU PROCEED

Now, boot up the Ubuntu DVD/Flash Drive, you'll see a screen like this:

Just wait it for some time to load, then you'll see something like this:

Choose your language from the left, if you want to Try Ubuntu before installing it, then Click Try Ubuntu, and if you want to install Ubuntu straightaway, click Install Ubuntu, and you'll see something like this:

I Highly recommend you to connect your PC to the Internet and choose to install the Updates, This will ensure you have a bug-free PC as possible, click Continue

In your case, You'll have different options, choose Install Ubuntu alongside Windows

Typically, where are you? Just choose your country and click Continue, this is required to set the Time, date, etc.

Choose your keyboard layout click Continue

Add Your name and Your Computer's name, Pick up a username, Choose a Password, Choose login method, and click Continue

Now leave it to complete installing Ubuntu, after it finishes, you'll see something like this:

Just click OK, Eject the DVD, Reboot your computer, and you'll see something like:

Inn my case, i don't have Windows installed, however, you'll have another option to boot-up windows, and from here you can choose Whether to boot Ubuntu or Windows 8, Memtest and other options might become handy later


16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end I am installing Ubuntu 16.04 in an Intel NUC computer with UEFI enabled. I am using an SSD from another computer. During the installation I chose Erase the disk and make a new full install

At the end of the process I see:

grub-efi-amd64-signed failed installation /target/ Ubuntu 16.04

And the system does not boot.

I tried to use boot-repair but apparently it does not solve the problem.

I had exactly the same issue installing 16.04 64 desktop on a new SSD with UEFI enabled using USB install media. Unlike in the question I chose to create my own partitions as I had other disks to mount. I hit this error near the beginning of the package installation.

After a bit of googling I found this page:

https://help.ubuntu.com/community/UEFI#General_principles

which states in the General principles section:

  if there was not any UEFI partition on your HDD, you first will have
  to create it

and points to:

https://help.ubuntu.com/community/UEFI#Creating_an_EFI_System_Partition

Which states:

Mount point: /boot/efi (remark: no need to set this mount point when using the manual partitioning, the Ubuntu installer will detect it automatically)
Size: minimum 100Mib. 200MiB recommended.
Type: FAT32
Other: needs a "boot" flag.

So I reinstalled and when I came to partition my drive, I chose the EFI option from the list that includes filesystems and swap etc and made it 200MB at the start of the disk. I did not get the option to select the filesystem or set the bootable flag.

After this the rest of the install went fine.

This is how the partitions on this disk look after the install:

The same information can be seen by running parted:

$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA Samsung SSD 750 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size    File system     Name  Flags
 2      1049kB  200MB  199MB   fat32                 boot, esp
 3      200MB   242GB  242GB   ext4
 1      242GB   250GB  8000MB  linux-swap(v1)

(parted) q

Note that the partition that was created is an EFI System Partition (ESP) and the disk has a GUID Partition Table (GPT) rather than an MBR partition table.

If you look in /boot/efi or /sys/firmware/efi/ on this disk you should find them populated, likewise running sudo efibootmgr should provide real output, see the link below if you want more information.

More Information

If you wish to know more about how UEFI works then the post UEFI boot: how does that actually work, then? by Adam Williamson is highly recommended.

He describes the situation that causes this error in the article (note that he is a Fedora user but the same applies for Ubuntu):

  Handling EFI system partition if doing manual partitioning

  I can only give authoritative advice for Fedora here, but the gist may
  be useful for other distros / OSes.

  If you allow Fedora to handle partitioning for you when doing a UEFI
  native installation – and you use a GPT-formatted disk, or allow it to
  reformat the disk (by deleting all existing partitions) – it will
  handle the EFI system partition stuff for you.

  If you use custom partitioning, though, it will expect you to provide
  an EFI system partition for the installer to use. If you don’t do
  this, the installer will complain (with a somewhat confusing error
  message) and refuse to let you start the installation.

  So if you’re doing a UEFI native install and using custom
  partitioning, you need to ensure that a partition of the ‘EFI system
  partition’ type is mounted at /boot/efi – this is where Fedora expects
  to find the EFI system partition it’s using. If there is an existing
  EFI system partition on the system, just set its mount point to
  /boot/efi. If there is not an EFI system partition yet, create a
  partition, set its type to EFI system partition, make it at least
  200MB big (500MB is good), and set its mount point to /boot/efi

just for the record
I faced the same issue by installing 16.04 on an Acer tmb117
I erased totally the internal disk using the live usb then rebooted and simply launched installation (standalone, no other system alongside Ubuntu)
connection was turned off.


Installed Teamviewer using a 64-bit system, but I get a dependency error I was trying to install Teamviewer, but I was getting a dependency error. I tried to install the required packages, but with no luck.

I'm getting this error:

Unpacking teamviewer (from teamviewer_linux_x64.deb) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on lib32asound2; however:
  Package lib32asound2 is not installed.
 teamviewer depends on lib32z1; however:
  Package lib32z1 is not installed.
 teamviewer depends on ia32-libs; however:
  Package ia32-libs is not installed.

dpkg: error processing teamviewer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 teamviewer

I tried

sudo apt-get -f install

Getting

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

Package lib32asound2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32asound2' has no installation candidate
E: Package 'ia32-libs' has no installation candidate

I can't even get to the

sudo dpkg -i teamviewer_linux_x64.deb

If I force installation

sudo dpkg --force-depends -i teamviewer_linux_x64.deb

Although it's "Setting up Temviewer" it gives me this:

How can I fix this problem?

The problem is that the teamviewer_linux_x64.deb, the package that was aimed to 64-bit systems, uses a obsolete package that tried to achieve multiarch previously in Debian based systems called ia64-libs. Although, that package scheme changed and now Teamviewer distribute the native build for both i386 and amd64 architecture, as they don't need anymore multiarch.

Simply downloading the appropriated package for Debian/Ubuntu and installing it using your favorite method, should be enough. This package also installs a repository, so it should also automatically upgrade itself when you upgrade your system.

You need to install all dependency libraries for i386 (this might work with 64 too) as described above.
For the missing libpng12 library just go to: https://packages.debian.org/jessie/i386/libpng12-0/download
and install with

sudo dpkg -i ~/Downloads/libpng12-0_1.2.50-2+deb8u3_i386.deb

it has no dependencies which wouldn't be resolved by current environemnt:

dep: libc6 (>= 2.14), zlib1g    (>= 1:1.1.4)


Cannot boot into Ubuntu 13.04-amd64 after install I recently decided to migrate to Ubuntu after issues with working in Windows and Remote Desktop access.

I made a bootable USB flash drive with Ubuntu 13.04-amd64 today and proceeded to install on an empty 250 GB HDD. The install went was worry free, however after rebooting all I get is a black screen with a white cursor flashing.

I looked around the internet and thought maybe GRUB did not install correctly. For reference, my system specifications are below:

Intel i3 2100, Asus P8Z68-V LE, ATi Radeon HD 6850, WD Black 640 + Intel 40 GB SSD (Windows 7), Seagate 1.5 TB (NTFS data), WD 250 GB (Ubuntu)

I tried sudo grub-install --root-directory=/mnt /dev/sdd1 and I get the error

Path /mnt/boot/grub is not readable by GRUB on boot.
Installation is impossible. Aborting

Does anyone have any thoughts?

To re-iterate, Windows 7 was booting completely fine post install so the issue was not NTFS. I managed to fix the issue and everything is working peachy smooth. My solution is detailed below for anyone who has similar EFI booting problems.

Drive were mounted as:

i. SDA: Mint UEFI install flash drive
ii. SDB: Intel SSD used in SRT caching
iv. SDC: 1.5 TB NTFS data drive
v. SDD: 250 GB WD Linux install
vi. SDE: 640 GB WD drive with Windows 7

Steps:

Start UEFI USB install
Delete the EFI partition on SDC
Delete partition table on SDD
Manually create a 200 MB EFI boot partition at sector 0 on SDD
Create 237 GB EXT 4 partition on SDD
Create 13 GB Swap partition on SDD
Install Linux to SDD
Reboot and set UEFI: linuxmint as default in the bios

I am pleased to say everything is working flawlessly now including the proprietary AMD Catalyst drivers, AMD Overdrive, Steam, Skype, Creative THX external sound card, MX518, Sublime Text 2, LaTeX, etc. This is by far the most complete, out-of-the-box install I have ever done. Once I sorted out the booting issues it was even smoother than Windows.

The first part of your problem is that you are running an AMD version of Ubuntu on an Intel system. This will not work at all, Why? becuse of the way AMD makes there prossessors is compleately diffrent for the way Intel makes there prossessors. This isn't MicroCrap they have to talor the kernal to the type of prossesor that you are useing.. the only Intel version of ubuntu 13.04 that I found off of the ubuntu web site is only a 32 bit version. They have not come out with a 64 bit version for Intel yet. You can check it out here. I say yet becuse we are talking about the NEWEST version of Ubuntu that came out 2 - 3 weeks ago.

BTW: UEIF is realy a problem if you have preinstalled windows 8 system not windows 7 ... My Desktop Runs Windows 7 and Ubuntu 13.04 just fine and it has UEIF on the BIOs... IF you buy a PC that has windows 8 preinstalled from the manufacture thats when you will have the bigest problems becuse the activation key to windows 8 is hard coded into the bios.. another resion why micrsoft needs to be shutdown all together.


Boot into Windows after uninstalling Ubuntu (Dual-boot) I had a Windows 7/Ubuntu dual-boot set up on my laptop. I deleted Ubuntu, and when I load up my computer, I am now met with a screen displaying the following:

error: no such partition. grub rescue>

How can I have my computer boot straight into Windows 7 again?

Solved: I created a win7 system repair disc using another machine, and fixed the problem using the bootrec command within command prompt.

The easiest method is to boot up with your Windows 7 disc, choose System Recovery Options and then click Startup Repair. That should generally remove grub from your master boot record and allow you to boot into Windows normally.

The Ubuntu partition is an extended partition. If you are in Ubuntu, C:(os) is mounted in Ubuntu with wine.

You have to boot with Windows rescue-cd and go to command prompt cmd. Use diskpart  more information diskpart/help

Then list disk select disk
     list partition select partition  => set c:os active

Reboot

With easeus partition master you can change extended partition into basic of logical

Install GRUB on Windows if you still have to choose between Ubuntu / Windows during startup.


Why is Ubuntu running slowly on this computer? I'm running ubuntu lucid lynx on the following config:

2GB DDR2 Ram
1.50Ghz Core2Duo
Nvidia 128MB 8400GS GFX Card

Due to some reason the entire operating system feels laggy. The window manager, firefox and rhythmbox and almost all apps feel a bit slow. There is almost a second time lag between the time I press ctrl+T to open a new tab on firefox and the time it actually opens. This site itself renders in frames and the scrolling up and down is a pain.
Rhythmbox takes 1 sec to maximize and minimize and I cant even dream of a changing the workspace.

My question is if Windows 7 is running perfectly on my comp why isnt Ubuntu? I really hope there is a way because I would love to ditch windows and move over to linux full time.

Is there anyone for whom ubuntu works as it should while running a similar config?
Thanks

Prakhar, this is really the hardest kind of question. There are so many things that could make an OS run badly, that it would be impossible to give you a direct answer.

For starters, you could try: cold boot, and as soon as you log in, open GEdit (or any text editor you might use), open /var/log/syslog and copy it on http://paste.ubuntu.com and paste the link for us here. So guys around can try to spot weird things.

It's not fair to compare it to Windows 7. Any OS could do bad when the conditions are innapropriate. I can assure you there are guys around who can't use their computer with any Windows version, but run Linux flawlesly. BTW, I have an older computer (but I'm lucky to have 1GB RAM on it) running both Win7 & Ubuntu 10.10 with no problems. Slowly, but not as slowly as you described for yours.

I'm still guessing it could be some part of your hardware slowing you down (in this case, Win7 probably supports it with no problems). But it's just a wild guess.

Waiting for any logs you could provide us with.

Maybe there is a problem with your ACPI.
y'know, i installed Ubuntu on My computer and my friend's. we have exactly the same hardware on different Motherboards. It didn't installed normally on my pc, i used the 'ACPI Workarounds' option to make it go, but on her PC everything was okay. Ubuntu runs perfectly smooth and fast on her PC, but it's very very slow on mine.

to check this, -if you're using Windows- go to 'Device Manager' and see if there is an item probably named 'Unknown Device'


Sound only in headphones I have no problem with sound when the headphones are connected.
However, I am getting no sound from the laptop speakers.

Any ideas how to overcome this?

(I am running Ubuntu 11.10 on a Asus N82JV.)

I presume you've tried adjusting the output device in the regular "Sound Settings" window?

If that doesn't work, I've always managed to resolve issues by using either alsamixer (you need to run that one in a terminal) or failing that pavucontrol.

And Update of the Bios solved the problem for me.


Dell firmware updates and newer Ubuntu versions I am running 16.04 on my Dell XPS 13 Developer Edition. The laptop came with Ubuntu pre-installed and that's exactly the reason I bought it.

One awesome feature is the Dell firmware updates showing up in the Software center. A simple click and reboot and I my laptop is running the latest and greatest firmware again.

Would I loose this when I manually install, say, 17.04? I would like to play with 17.04 but I am afraid I would need to keep a dual boot around  to get the firmware updates, is that correct?

Dell firmware updates, if I am not wrong, are located in the restricted repository.

If you manually install Ubuntu 17.04, just type in a terminal sudo add-apt-repository restricted. Then, search for Dell firmware updates in GNOME Software center. It will work like Ubuntu 16.04, where you still receive firmware updates, unless Dell really decided to abandon Ubuntu's firmware updates (which in this case, Ubuntu 16.04 will also be affected.)

But the best choice, of course, is to keep your existing Ubuntu 16.04, install 17.04 alongside, so that even if you encounter problems, you can still fallback to 16.04 and ask something here.

Currently running Ubuntu 17.10 on XPS 9350 (which came with Windows) - firmware updates still coming in fine.


Preventing Video Playing lag in Flash Possible Duplicate:
  Why are Flash applications so sluggish in Ubuntu?

I have just installed Ubuntu for a friend. He uses 32 bit. When he views YouTube videos full-screen there is a kind of lag. He is using an ATI 1 GB graphics card. This doesn't happen when he is not in full screen mode. Is there any workaround to prevent this?


Why are swap partitions discouraged on SSD drives, are they harmful? I often read that one should not place swap partitions on a SSD drive, as this may harm the device. Is this true? Can you please explain the reason to me?

Because I otherwise would have thought that placing swap on an SSD is the best choice, as it's much faster than HDDs and therefore swapping RAM contents to the SSD is not as slow as it would be with the HDD...

Flash RAM cells in SSDs have a limited lifespan. Every write (but not read) cycle (or more accurately every erasure) wears a memory cell, and at some point it will stop working.
The amount of erase cycles a cell can survive is highly variable, and flash from modern SSDs will survive many more than flash from SSDs made several years ago. Additionally, the SSD intelligent firmware will ensure evenly distributed erasures between all the cells. In most drives, unused areas will also be available to backup damaged cells and to delay aging.
To have a value we can use to compare the endurance of a SSD, we can use lifespan measures such as the JEDEC published standards. A widely available value for endurance is TBW (TeraBytes Written, or alternatively total bytes written) which is the amount of bytes writeable before the drive fails. Modern SSDs can score as low as 20 TB for a consumer product but can score over 20,000 TB in an enterprise-level SSD.
Having said that, both the lifespan and the use of a SSD for swapping depends on several factors...
Systems with plenty of RAM
On a system with plenty of RAM and few memory consuming applications we will almost never swap. It is merely a safety measure to prevent data loss in case an application ate up all our RAM. In this case, the wearing of a SSD from swapping will not be an issue. However, having this mostly-unused swap partition on a conventional hard drive will not lead to any performance drop, so we can safely put our swap partition (or file) on that significantly cheaper hard drive and use the space on our SSD for something more useful.
Systems with little RAM
Things are different on a system where RAM is sparse and cannot be upgraded. In this case, swapping may indeed occur more often, especially when we run memory-intensive applications. In these systems, a swap partition or file on a SSD may lead to a dramatic performance improvement at the cost of a somewhat shorter SSD lifespan. This decreased lifespan may, however, still not be short enough to warrant concern. In all likelihood, the SSD may be replaced long before it would've died because several times the storage may be available at a fraction of today's prices.
Hibernating our system
Waking from hibernation is indeed very fast from a SSD. If we're lucky and our system survives a hibernation without issues, we can consider using an SSD for that. It will wear the SSD more than just booting from it would, but we may feel it's worth it.
But booting from an SSD may not take much longer than waking from hibernation from an SSD, and it will wear the SSD far less. Personally, I don't hibernate my system at all - I suspend to RAM or quickly boot from my SSD.
The SSD is the only drive we have
We don't really have a choice in this case. We don't want to run without a swap, so we have to put it on the SSD. We may, however, want to have a smaller swap file or partition if we don't plan to hibernate our system at any point.
Note on speed
SSDs are best at quickly accessing and reading many small files and are superior to conventional hard drives for transferring data from sequentially-read small or medium-sized files. A fast conventional hard drive may still perform better than an SSD at writing (and to a lesser extent reading) large audio or video streams or other long unfragmented files. Older SSDs may have their performance decline over time or after they are fairly full.

Jan 2021. I use a small, dedicated enterprise grade SSD as a swap drive. These enterprise drives can be bought for as little as $80 for 240GB right now, and are 3D nand with load leveling and other valuable improvements for swap.
By using the drive only for swap, you pretty much guarantee it won’t affect your expensive terabyte level data drive should it fail, and you still get the performance of SSD. Estimates for very heavy use are about 2 1/2 years.


Installed Lubuntu 16.04 version no audio now I just installed LUbuntu 16.04 onto my laptop, which is a HP Pavilion G6 series, AMD Processor, and it does have an HDMI port. I can't seem to get audio or any sound at all to come out of my laptop. I made sure I updated what I could find and even searched forums for different audio software but none have seemed to work. Some of thoses being Alsamixer/gui,pulse audio, and another one which I can't quite remember. Is there any way that I can get my audio to work?
(UPDATE)
I was able to get it to work,it was the HDMI port and I installed the pulse audio controller. Thank you all for the help!!!

Before anything, make sure your sound is not muted.

ALSA and PulseAudio don't get together well. They are conflicting each other most of the times. Unless ALSA is specifically required by an app or hardware I recommend using only Pulse (it's newer and better).
First, remove alsa completely by opening a Terminal window and typing:

sudo apt-get remove --purge alsa

Secondly install Pulse:

sudo apt-get install pavucontrol

pavucontrol is the graphical interface for Pulse, but it will install Pulse completely (as its dependencies).

And finally, type:

gksu pavucontrol

A Pulse window should come up with many tabs and options. Make sure the inputs and outputs matches your connection (hdmi, usb, headphones, etc), and make sure Pulse is using the correct audio card (on-board, dedicated, external usb/hdmi device, etc). E.g. When connecting laptop to large screens via hdmi, Pulse might detect the hdmi audio card as external output device with specific brand (not necessary the same as vendor brand). If so, you must choose that external card as output to make audio work.

Be aware that Ubuntu doesn't support hdmi hot-plugging! After disconnecting hdmi device, Pulse (or ALSA) will not fall-back to previous settings. You have to change the settings (again) and then restart the Pulse audio service by log out + log in in order to make things work again.

Only this one could work for me (paste all at once):

sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop  linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop  linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

And then a reboot by:

sudo reboot

Details can be found here:
https://help.ubuntu.com/community/SoundTroubleshootingProcedure


Is there an integrated terminal option in file managers such as Nautilus in Ubuntu? Is there a way I have an integrated terminal within a file manager in Ubuntu (like the way terminal opens up with VSCode) so that when I trigger this inbuilt terminal from any folder, it shows the prompt in the same window.

For example: VSCode integrated terminal looks like this:

Now this is achieved by right-clicking and selecting the 'open in Terminal' option, which opens a new window.

This is the standard behavior of dolphin, the stock KDE file manager (which is by itself a sufficient reason to use KDE). However, to use dolphin under Gnome, I think you will also need to install Konsole and it feels a little out of place on Gnome.

An alternative seems to be Nautilusterminal 3. Though, I have not tested this myself, as I am a KDE user. You can install it by:

sudo add-apt-repository ppa:flozz/nautilus-terminal
sudo apt update
sudo apt install nautilus-terminal

Since, as of writing this, no Ubuntu 19.10 version is included in the ppa, you can use pip:

sudo apt install python-pip python-nautilus python-psutil
python2 -m pip install --user nautilus_terminal

The project is hosted here.
A deb package can be found here.

You should see an option to to open a terminal in the Nautilus menu. If not, use 'synaptic' and enter 'nautilus' into the synaptic search bar. Scan the list for the plugins you wish to install.


Alternative to Autokey (text expander program) for more than a year I have been looking for simple and stable text expander application on Ubuntu. There is Autokey, but it doesn't work for many people (there are a few threads here about this). For me (Ubuntu 13.10) it crashes all the time and skippes some characters,...

Is there any alternative (all I need is to automatically replace abbreviation that I type)?

I know there are extensions to browsers but that isn't solution.

It would be great it this would be preinstalled feature of Ubuntu :-)

Thank you in advance for any ideas and suggestions!

Best regards
Jan

Maybe Actionaz (homepage)

It is in the repository.

I finally gave up on autokey and switched to this solution

http://www.linux-magazine.com/Issues/2014/162/Workspace-Text-Expander