Under pidgin
Tool->Preferences->Interface->Set "show system tray icon" to "always"


How to download table from a website using wget/curl?

This will download the json data that fill the table:

curl --data "action=getDrugCompanyDatabaseData" http://www.dgda.gov.bd/administrator/components/com_jcode/source/serverProcessing.php

Or save it to a file

curl --data "action=getDrugCompanyDatabaseData" http://www.dgda.gov.bd/administrator/components/com_jcode/source/serverProcessing.php > output.json


I had been having the same problem for a couple of weeks.  I had not interrupted any updates, the only unusual thing I'd done was un-selected a suggested update (I think it might have been an update to bsdutils, since there as something that looked dodgy about it - some missing information about the proposed update).  After that, each time a software update window appeared, it would contain just the title bar and border.  I could resize it, but it was blank.

I tried the above advice, but dpkg does not support those options.  I suspect the advice was meant to say:
'sudo apt-get update' and 'sudo apt-get upgrade'.

I did that, and it downloaded and update a bunch of stuff.  I also had a reboot pending, but I chose not to do that.

None of the above helped.

I couldn't find the update process easily using ps, but did track it down via the GUI "System Tools" -> "System Monitor" tool.  From that I discovered the equivalent command line:
    /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
If I ran that, it worked normally.

However, I noticed that regardless of whether update-manager was visibly running (either the small blank window the system would occasionally produce, or a normal one if I ran it from the command line), that there was always an "Update-manager" process running.

Thinking that maybe some part of update-manager had somehow gotten "wedged", I selected it and chose "End Process", ignoring the dire warnings.  From that point on, the problem of the small blank Software Updater window vanished.


JUJU and ERROR environment has no access-key or secret-key

When nodes in MaaS are in the commissioning state, they are not available for Juju to use. When the nodes are ready for allocation, they will show in MaaS as the Ready state.

When you bootstrap using Juju, it creates a node that will queue future deploy and relation setting commands to be run at the correct time during the installation of the various services.

The gomaasapi: got error back from server: 409 CONFLICT error is a generic error meaning that Maas encountered and error while trying to fulfill your request. In your case, because all of your machines are in a commissioning state and not a ready state, MaaS has no nodes that Juju can use to set up the bootstrap machine on. Because of that, you get the 409 CONFLICT error.

When nodes are in the commissioning state, they should be booted up, running an image from the MaaS server that prepares them for use. You may want to check that the nodes that are supposedly commissioning are booted up and not stuck at some boot prompt or turned off. If they are running, try connecting a monitor to them and see what you can see.

If they are not running, check and see if you have the power setting set in MaaS correct -- MaaS may not be able to signal the machines to boot (using IPMI, WOL, etc) and therefore the commissioning image is never booted and run and the nodes are stuck in the commisioning state without human intervention. (If this is the case, you can get past this by manually (as in physically if the machines are physical, or by telling VirtualBox to start the VM if that is what you are using) powering on the nodes that are stuck in the commissioning state.)

If you are using virtual machines to test MaaS, let me know and I will update my answer -- there are some quirks to testing MaaS with virtual machines.


Can I use a windows drive as '/home' for the ubuntu install?

/home MUST be mounted on a filesystem that supports permissions so that rules out anything microsoft has (ntfs, fat). The directories in /home/$USER/ you can put on an external disc or another partition and can be NTFS.

I would opt for a seperate partition that you format as NTFS and store your documents there. Leave /home empty of private files and you can keep that at 25 Gb.


Virtualbox upgrade error "Breaks existing package..."

In order to be able to upgrade Virtual Box to a higher major release (e.g. 4.2.x to 4.3.x) we will have to remove the kernel modules and applications of an old version first. This will not affect our virtual machines.

In case you had installed from the Oracle repository you can - after having updated the apt cache - just run the following commands:

sudo apt-get purge virtualbox-4.2
sudo apt-get install virtualbox-4.3

After upgrading we will also have to download and re-install the extension packs in case we need them. Also it is advisable to update the guest additions in our virtual machines.


dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem

I got this just today. Didn't you just interrupted an installation like I did? Just run sudo dpkg --configure -a in your terminal and finish the rest of the installation.


How do I install Ubuntu on a VirtualBox client from an ISO image?

I would venture to say you are overcomplicating things!
You only need to mount the iso in the virtual machine.

Right click on the VM you want to run the .iso in
Click on 'Storage' (On Oracle VM virtualBox, Click on 'Settings' first to get to 'Storage')
Under IDE Controller There should be an icon that shows a CD with a + sign on it, to create a new disc drive as shown highlighted in yellow color in the below snapshot:

A box will come up, click Choose Disk
Choose your .iso

Should boot into the iso like it's in the disc drive.


Kdenlive Error - Could not create the video preview window

I am using Ubuntu 20.04.1 and had installed Kdenlive via snap. When I tried to open kdenlive via terminal the splash indicated that the problem is with pulseaudio. Somehow, kdenlive snap isn't able to detect pulseaudio.
You can try two things to make Kdenlive work:

Make sure that pulseaudio is working
Run Kdenlive via it's appimage

The second solution solved my issue.


A game with wine on full screen is giving me trouble

From Ali's comment below the question:

Open a terminal (press Ctrl+Alt+T).
Set WINEPREFIX if needed by running export WINEPREFIX="/path/to/wine-prefix".
Run winecfg.
Go to the Graphics tab.
Uncheck Allow the window manager to control the windows.
Click OK.


issues with fglrx and catalyst - have there been changes?

Ok, so it turns out that you need to install the latest beta drivers from AMD to get this working if you are running x-org 1.14 or above.

Type

X -version

in a terminal and you will see what version you have. if 1.14 or higher you need to go get the current beta drivers from AMD, which at time of writing is AMD Catalyst™ 13.11 LINUX Beta V9.95 Driver:

http://support.amd.com/en-us/kb-articles/Pages/latest-linux-beta-driver.aspx

Download, install, all will be fine.


How can I mark all packages with installed dependents as "Automatically Installed"?

You could use Aptitude's why command:

for x in $(apt-mark showmanual)
do
  r="$(echo ${x} | sed -e 's/\([+.]\)/[\1]/g')"
  aptitude why ${x} | egrep -q "^i.* (Pre)?Depends +${r}( |$)" && apt-mark auto ${x}
done

Not tested, because it's not something I want to (have to un-)do on my machine.


Ubuntu 12.04.1 LTS (Precise Pangolin)

You can use torrent.

ubuntu-12.04.1-dvd-amd64.iso.torrent
ubuntu-12.04.1-dvd-i386.iso.torrent

Ubuntu Precise Release Image


M555b bluetooth mouse working for 1 Minute

I have tested the following Logitech mice over the last 2 years (This information might give you an idea on how to test the mouse yourself and solve the problem):

T620 Touch
Anywhere MX
M555B

And I can say the following:

T620 Touch - Everything works in Ubuntu. From side scrolling to both buttons. From zooming to double clicking. The distance is the best out of the 4. The only problem is that it does not have a middle button.
Anywhere MX - Excellent mouse. The side buttons, 2 middles buttons and fast scrolling make it the most used one I have. The horrible problem is that it uses the batteries at least 3x faster than any other AND the distance is horrible. Less than a meter. I had to send it back and change it for a new one. After about 4 months the problem started again.
M555B - Excellent mouse and I like fast scroll it has BUT here are the problems you might be facing:

Power problems. The first one I had, I used new batteries (Tested the batteries in the T620 before using them in the M555) and somehow it did not work correctly. A lot of stuttering or simply going off after about a minute. At first I thought it was the Bluetooth (A Kesington 2.0) but it was working great with my Samsung S4. I then tested the M555 with the Samsung S4. It did not work. So I send the mouse back saying it had a bluetooth issue. Got a new one about 2 months later.
Bluetooth issue. It might be a BT issue with the mouse as mentioned above or with the BT of the computer. Test the BT with a phone or another BT device to see which one is the problem.

What I would recommend is that you connect the M555 to a phone or tablet that has BT support. If it works correctly then you know the problem is in the BT of the computer. If it does not, then it is the actual mouse the problem.

If the problem happens to be the BT of the computer then you can check which version of BlueZ you have. If you are in 13.10 it should be the 4.101. In 14.04 I do not know (I hope it will be the 5.17 that appeared yesterday since it will give support to a motherboard I have).

I would suggest compiling the latest BlueZ version and testing it out. The latest at least makes my BT of the computer (Asus Z87 Pro) work.

With this I am saying that Logitech are not very good with all products. Some will have some weird problems others will not. Apart from this, all Bluetooth devices or not working 100% yet (The latest ones). In the case of the M555B for me, I needed to change to another one to fix the problem. Tested on 13.10 right now.

To test what in the world is going on in your case I would first recommend doing the following (Does not matter if you do it before or after connecting the mouse):

tail -f /var/log/syslog

This will constantly display what is happening to the system. So after doing that connect or disconnect the mouse and try to pair it. Repeat at least 2 or 3 times with the working intervals you mentioned (2 or 3 minutes of working time). After you have enough logged information about what happens between connecting and the 2/3 minutes of disconnection, post that on http://paste.ubuntu.com and link it in your question or in a comment. This way we can do a follow up on it.


I don't think this is possible.  The function key itself doesn’t sent a key code, it modifies the code that is sent by the key it's pressed in combination with.  That is, it's implemented by the keyboard, not the OS. There isn't a function-backspace code on most keyboards.

You can check this on your keyboard using the showkey command.  Run showkey as root and try pressing various keys with, and without, the function key.


no network devices available: Xubuntu 18.04 on Lenovo Ideapad Flex 14 IML

I'm indebted to @waltinator for this solution, but I guess it's up to me to post an answer so here goes.

I don't know the ultimate cause but whatever the reason, wireless networking will not work on a Lenovo Ideapad Flex 14 IML (there are likey be others as well) while running Linux kernel version 5.3.0-42. The solution that is working fine for me is simple: don't boot from that kernel. Stick with the 5.3.0-28 kernel you get when you burn the bootable USB stick.

This in turn requires you to edit GRUB (or else intervene manually every time you boot, obviously not a good strategy) and there is more than one way to configure GRUB to accomplish this. I took the simplest way out I could find: first, add these lines to /etc/default/grub

GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved

and run sudo update-grub when you're done.

Then reboot, using the GRUB boot menu item "Advanced options" to select the 5.3.0-28 kernel. (If the boot menu is bypassed, you might have to hold down the Shift key -- or is it Escape? not able to double-check that right now -- during the boot process to make it display.)

I hope this saves someone a few hours of anguish.


Notification box doesn't go away in Xubuntu

Just upgraded to 13.10 myself on the same type of machine (at least an MSI Wind U100), and had the exact same problem. Tried all this acpi_backlight=vendor/acpi_osi=Linux grub stuff that I usually try when dealing with backlight issues but nothing worked.

Then I found another thread with at guy writing about his U100 with backlight issues which he fixed with a BIOS update. I must admit I think it's drastic since it worked fine in 13.04 (so I guess something changed in between kernel 3.8->3.11)... I however didn't want to spend a lot of time on this if it would work so I downloaded the newest BIOS from MSI (1.10G) and used unetbootin to create a FreeDOS USB stick. Booted this (in regular FreeDOS, no EMM386/HIMEM mode), updated BIOS, and badabing everything worked...

So I guess it's worth it if you dare the BIOS update.

This also cleared the notification and rather erratic video issues.


How do I make Ubuntu system invisible to other systems on wireless network?

One thing you can do is block the protocols on your firewall.  The primary protocol is SMB which uses a number of ports: 135, 137, 139, and 445.  Mac computers may pick you up using avahi which runs on port 5353.

If you don't have any Samba component installed you don't need to block the SMB ports.  These are the tools which handle the SMB protocol, and could make you appear a Windows.

A number of packages depend on avahi components, but unless you install and configure the avahi-daemon you shouldn't appear on anyone's Network list.  Without the daemon you shouldn't be announcing your presence.  However, if there is no DHCP server you may end up in zero-conf mode in the 169.254.0.0/16 network block.  This might make you visible.

The normal network discovery tools on the peoples desktops only discover systems which announce their presence.  I think Window is quieter now, but each system used to broadcast their presence and identify every few minutes.

EDIT: Most systems get their address from a DHCP server.  This configures them so that they can communicate with larger networks.  DHCP data will also provide the address of the router to use and additional information.

Some systems are given static IP address configurations.  Servers are usually configured this way, but can get a static IP configuration from DHCP.

The address block 169.254.0.0/16 has been defined for self-configuring autonomous networks.  Basically this allows computers to self-discover an address for themselves.  The avahi protocol allows hosts to register their name in the .local domain.  This functionality is often referred to as zero-conf as no configuration is required.  Windows (and Apple?) use this as a fall-back option if no other configuration works.

The avahi protocol can be used on any address range to announce available services.  Apple calls this functionality Bonjour.  Linux provides the avahi-daemon to announce and/or relay service lists.

EDIT2: I've done some further research with Windows, and haven't got it to show up in my Avahi browse list.  (I don't have plans to run tests on an autonomous network.) This may be because I have DHCP running and Windows didn't fall back, or Windows may not register.  Like WINS (Windows Internet Name Service), Zeroconf (avahi or Bonjour) maintains a list of servers and services which can easily be discovered and displayed by clients.  Without add-on software Windows systems will not discover systems using Zeroconf.

DNS is not designed to provide the server/service discovery offered by either WINS or Zeroconf.  Local networks may allow zone transfers from which some information may be discovered.  Servers without zone discovery only provide name lookup services, but not the discovery services offered by WINS and Zeroconf.  Additionally, DNS information is often statically defined, and may not include hosts configured by DHCP.  DNS servers can be configured for dynamic updates which allows DHCP clients to register their names.  Dynamic updates only provide name to IP address lookups.  Apple systems do use this mechanism to discover servers and services.  (From the documentation I have seen zeroconf is designed to provide discovery for more services than WINS.)

Another mechanism which can be used to discover systems is ARP.  This only allows determining that a host is using an IP address, but not its name.  ARP is not useful for a network neighborhood list.  I do use arpwatch to discover rouge systems connecting to a network.  arpwatch can also discover some configuration problems.


it is integrated in a Fujitzu Lifebook. I deselected all authentication methods (EAP, MSCHAP, MSCHAPv2 and CHAP) and the only one I left selected is PAP. I did an update and a reboot now it is working!

Sorry for disturbing you, I hope this answer can help someone.


Ubuntu 18.04 scrolling jumps when alternating between windows

Apparently this bug also happens, for example, on Visual Studio Code, probably there is something wrong with X11, and it is reported by some users here, here and here. It is mentioned by some users in the first link that an alternative to Xorg is Wayland. What solved my issue was to use Ubuntu with Wayland.


The listed items are all read-only entries in the Call Detail Records(CDR).

Access to these logs is usually done though a database backend, like MySQL. How to gain access to the MySQL backend depends on the usecaes and system design, but MySQL connectors are available for several programming languages.

For a more advanced usecase you might have to look at the other interfaces, like the Asterisk Gateway Interface (AGI) interface.


I uninstalled Compiz and now the Unity panels has disappeared

Unity Panel depends on having Compiz. The following options for Unity are needed:

OpenGL
Composite
Desktop Wall

You could logout and login again but remember to have compiz and those options activated for Unity Panel.

Since Unity Panel NEEDS Desktop Wall to do the hide/show effect, you can not activate the Cube, that is, the Rotating Cube Effect and the Desktop Cube since they disable the Desktop Wall, hence disabling Unity Panel, hence destroying the world (Of Unity) as we know it. Its horrible!

To go to this options just open Dash with SUPER or ALT+F2 and type Compiz Settings.


Please confirm port forwarding which was done is working.

If internal machine is working fine then it will refer local ip of the machine directly to access to machine on the port 22

If external ip couldn't ssh to the machine it could be a problem with port forwarding

Telnet to the your external ip and check whether it connects to your local ip machine.


Can I ssh into my account without invoking .profile?

You can run the followin command:

ssh -t user@host bash --noprofile

where -t option to ssh is to force tty allocation.


Why do I have to use 'exportfs -a' always to mount nfs?

It is essential to exportfs -a after you re-connect the NFS. From man exportfs:

-a     Export or unexport all directories.

That is, when you reboot your machine or connect a new NFS or dis-connect and connect a new filesystem as NFS, you will have to exportfs -a, there is nothing with your NFS.


How to change shortcuts for moving windows to the screen edges?

I just came here looking for this in GNOME 3.14, and you can simply change it in Settings (click in the top right-hand corner, and then the tools icon) by going to Keyboard, then the tab "Shortcuts", on the left-hand side click "Windows" (since we're talking keyboard shortcuts to manage windows) and set them for "View split on left" and "View split on right". Same for "Maximize window".


How do I change sound output from the green audio jack to the blue audio jack?

You may be able to reconfigure things using the HDA Analyzer : http://www.alsa-project.org/main/index.php/HDA_Analyzer ; the interface is a bit raw, but I was able to use this tool to successfully diagnose a fault in the HDA codec drivers.


Keyboard not working after waking from suspend/sleep

I was able to fix the problem by adding usbhid.quirks=0x04D9:0xA0CD:0x20000408 to kernel boot parameters as described here https://unix.stackexchange.com/a/280574/41667.


Another way you can install the vlc via ppa

Open a terminal and run following commands:

sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc


Run the following command:

xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9"

To persist this behavior, edit ~/.Xmodmap and add

pointer = 1 25 3 4 5 6 7 8 9


Perl script to chop input and start a new line after a certain number of instances

Use splice to remove the first 21 elements of the array in a loop:

perl -MJSON -F, -lane '
    $domain = shift @F;
    while (@f = splice @F, 0, 21) {
        print to_json ({
           domain => $domain,
           emails => [ map { { email => $_ } } @f ]
        }, { canonical => 1 });
    }
'


os-prober does not return Windows 10 on another drive

Thanks @oldfred and @CelticWarrior,

Here is what I did at the end:
BIOS setting:
- Boot option: UTFI
- Secure boot: Disabled
- Load Legacy Option Rom: Disabled

I also made new bootable usb with GPT scheme for UEFI. Everything went smooth during installation. Now, when I reboot my computer it asks me to boot to Ubuntu or Windows. Perfect!


Ubuntu 14.04.3 LTS dual boot with Windows 10, Windows 10 not showing in GRUB

Running sudo update-grub will scan your drive for installed operating systems and will add ones it finds to the GRUB boot menu.


How do I get Thunderbird and Ubuntu (WUBI) and Windows to share a profile?

Well, I think you should be able to share whole profile between Windows and Xubuntu.
In order to do that you may do following things:

Move the profile from Thunderbird on Xubuntu to a place that you can easily access both from Windows and Xubuntu. (for instance your Windows system partition). You have to find where you profile is actually stored. The profile folder should be located at:

home/your_username/.thunderbird/xxxxxxxxxx.default

Obviously replace your_username with your username ;)
In place of 'xxxxxxxxxx' you'll see some randomly looking signs. It varies for each profile. Copy the whole folder to place explained before.

Now you have to set access to the moved profile from Xubuntu's Thunderbird. Run thunderbird's profile manager:

thunderbird --profilemanager

Create Profile > Next > Choose folder, and choose folder path to where did you copy your profile.

Now the second part - Windows. Simply open properties of your shortcut to Thunderbird, and in path add following:

-profile "C:\xxxxxxxxx"

Where you have to add path to the previously copied profile.
Whole path should look something like:

"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -profile "C:\xxxxxxxxxxx"

Keep me updated if the solution works and/or any problems occured. Good luck.


How to obtain list of copied files in Nautilus

File paths marked for copying in Nautilus are automatically passed to the clipboard. You should be able to paste the paths in a text editor of your choice without any problem.

If you want to process the files in a terminal window you will have to select Paste Filenames in the right-click context menu.

Another way to pass file paths as arguments from Nautilus is to simply drag and drop the selected items into the terminal. The paths will automatically be quoted and escaped correctly.

As far as scripts are concerned: Utilities like xsel (install with: sudo apt-get install xsel) allow you to programmatically parse clipboard contents, if that's what you are asking for. To get the contents of the clipboard you can use xsel -b, e.g.:

for i in "$(xsel -b)"; do
  echo "$i"
done


Ubuntu 18.04 wired ethernet connection not working

The solution was to select "Remove Connection Profile" in the Networking GUI.  Now everything works fine.


My bluetooth adapter turns off by itself and i can't turn it back on, why?

upgrading Ubuntu to 18.10 fixed my problem


Tctl (T control) is the CPU Temperature.


How to install Ubuntu on the HDD, with Windows 7 ultimate on the SSD

For future readers: wubi is deprecated.  Don't use the solution above...
Both possibilities (Using BIOS boot order/Not using BIOS) have their advantages/disadvantages.
Using BIOS
Advantages

Windows doesn't even know that Ubuntu is there.
Ubuntu gets an entire HDD to itself
Easier to delete Windows once you've used a professional OS.  ;-)

Disadvantages

You have to remember to press the button!  ;-)

No BIOS
Advantages

Just one menu to rule them all...
No need to hit the [F12] or whatever key on boot

Disadvantages

grub2 (the Ubuntu boot loader) incorporates the Windows boot loader into its own menu and boots Windows if you choose to. However, if you ever do a Windows boot repair, grub2 will be gone (Microsoft wants its OS to work and doesn't care about the rest of the world especially Linux) and you'll have to do grub2 repair as well.


Script that runs when voice detected on the mic

There is a way through the verbose output of the arecord:

arecord -D pulse -c 2 -d 0 -f S16_LE -vvv /dev/null

Just need to add xte to do a keypress.


To install flash plugin, run following commad

sudo apt-get install flashplugin-installer

For Chromium. follow, this wiki, if above command dosen't work.

Or, download and install Google chrome


How do I get root access to hard drive from livecd?

IIRC root is root wherever you're logging in from, be that the CD, another installation or whatever.

If you're having issues, on the CD just load a root instance of nautilus (Alt+F2, gksu nautilus) and carry on.

If your filesystem has suffered some damage it might be mounting in read-only mode. If you're trying to move things, this won't work. So for the purposes of your backup only try to copy things.


How do I get my Mblaze USB modem working?

I am using wvdial,so same is the case with me,

You can still use the Software Center, even with the install button disabled. Instead of clicking in the button, move your mouse to the top of the screen so the menu is revealed and choose File->Install

If you want to install synaptic from the command line, in the Software Center, select the Edit menu and then click on software sources. Be sure than universe is selected.
Then open the terminal and type

sudo apt-get update
sudo apt-get install synaptic


Ubuntu with both 32bit and 64bit libcurl

Assuming that the C++ application is something you've linked and installed yourself (eg in /usr/local/...) and Asterisk is from the Ubuntu repositories, they shouldn't interfere with each other anyway.

Asterisk will used the 64-bit shared libraries it would have otherwise, and you compile your own libcurl and link it in with your 32-bit app - whether you do this statically or not, as everything will be under the /usr/local/... hierarchy.

It is possible to have both 64- and 32- bit copies of shared libraries installed in Ubuntu - Ubuntu's ability to do this is called multi-arch.  But I don't think that's really relevant here because you're compiling and linking your own application so you can link with your own local copy of whichever libraries you need to.


Installed ubuntu 14.04 and grub is not showing windows 7

Windows only boots from primary NTFS partitions with the boot flag. Since your install is in sda6 a logical partition, you cannot repair it directly to be bootable. You have to have a primary partition with bootmgr & BCD (and other files not normally shown in Summary repport).

You need to convert sda2 back to NTFS. It also shows some old DOS type boot files, so you must have converted it. But it has your bootmgr & BCD and boot flag, so it must have been your NTFS boot partition.

You may be able to use Disks or Disk Utility to just convert to NTFS or 07 type, but then may need to restore backup PBR or partition boot sector using testdisk. If you reformat be sure to first backup bootmgr, BCD & other Windows boot files.

Best to have a Windows repairCD or flash drive as then you can run those repairs.

And best to have Windows on primary partitions and Linux on the logical partitions. Linux does not care, but Windows really only likes primary NTFS partitions.


Is there any 'flavour' of ubuntu that comes with East Asian language support?

All the flavors have support for CJK languages, even if I think that standard Ubuntu has the most user friendly interface to set it up.

Then there is Ubuntu Kylin which comes with Simplified Chinese by default, but since you want English as system language, that flavor is probably not the most suitable.


How to publish a jar application to Ubuntu Software Center?

Probably you tried to upload file in the click apps tag . Use this link to upload desktop apps


Installing ubuntu with broken laptop monitor. External VGA works, but not until windows loads drivers

Unplug your hdd when you boot up, and just plug it back in once you got ubuntu loading to ram (Do this via the sata cable, rather than the power cable.)


How should I install Git on Ubuntu Touch?

Easiest way I found so far is to just download the armhf build of git from launchpad, extract it on my desktop and copy the contents to my phone. Then I can just run the git binary from where I have it copied to.

The latest armhf builds for git can be found here:

https://launchpad.net/ubuntu/utopic/armhf/git/

Download the deb of one of the builds and extract it (either with file-roller or with dpkg -x). After you extracted the deb, you'll have, among others, a usr/ dir which should contain everything you need to run git.

Upload that dir to your phone, so that its in your home, then just run

/home/phablet/usr/bin/git

and it should work. It'll complain about not finding templates when you do git init, but you can run it with

env GIT_TEMPLATE_DIR=/home/phablet/usr/share/git-core/templates /home/phablet/usr/bin/git init

to fix that problem.

If you don't want to type the full path every time you want to run git, you can set an alias in your .bashrc:

alias git=/home/phablet/usr/bin/git


Multiple Monitors, Multiple Nvidia Cards

Well, that was difficult.  I have a thread on this here and at Mint's forum.  I'm going to update both because I made it work.  I want to save folks a couple weeks of misery.

I'm using Kubuntu LTS, now. It's 12.04.4, the update that came out a few days ago, which uses the Linux 3.2.0-58 kernel.  I'm still using 64-bit.
I'm using the Nvidia 304.116 driver.  I'll elaborate on the install in a few paragraphs.
I'm using Xinerama.
I didn't enable the TV, just because I was getting annoyed that the login window was appearing there, thus meaning I had to turn on the TV to see the login prompt.

Probably the most major thing I learned is from the folks at archlinux.org:

"Warning: As of August 2013, Xinerama is broken when using the proprietary NVIDIA driver from 319 upwards. Users wishing to use Xinerama with the NVIDIA driver should use the NVIDIA 313 driver, which works only with Linux kernels earlier than 3.10."

The kernel in Kubuntu 13.10 is 3.11.  The recommended driver (i.e. what you get when you use "sudo apt-get install nvidia-current") is 319.

Also note, according to Tom's Hardware, Nvidia display drivers have a problem displaying to four monitors with drivers higher than 295.

==============

The actual install was quite simple:

Install Kubuntu 12.04 from the CD.  Reboot into your installed OS (i.e. don't reboot to the live CD).
Install all the Kubuntu updates through Muon Update Manager (hey, it's KDE).  Reboot.
Start up Konsole ("Terminal") and do "sudo apt-get install nvidia-current."  Reboot.
Start up Konsole and do "sudo nvidia-settings."

Here's a fun thing that several folks have reported after the *ubuntu 12.04.4 update: if you hit "Apply" in Nvidia settings control panel app, the program dumps you back to the desktop and doesn't save your changes.

Make all the activations/moves/changes you want to all the screens.  Just remember that you want a separate X screen for each monitor.  When you're happy with all the settings, put a checkmark in the Xinerama box and hit the "Save to X Configuration File" button.  You want to save it as /etc/X11/xorg.conf.
Reboot.

Easy-peasy.  I think that's even fewer steps than setting up multiple monitors on a Windows box.

Now, I'm not exactly a Linux newbie, but I don't know off the top of my head how to check to make 100% sure that I don't have some bit of Nouveau lurking someplace that will cause a problem with some high-graphic game or 3D rendering thing.  All I know is that before I installed the driver, my 9600GT video card's fan would be at 100%.  It's now really quiet.  I also don't see any big spikes in disk activity, so  I don't see any great need to do any Nouveau exorcism.

My xorg.conf file follows.  Looking over it, I see that there are "16" entries for depth/default depth.  Looking at the Nvidia X Server Settings control panel, though, resolution is set to "auto."  Also, if I look at images, they look just fine, so I think it's really doing 24-bit color, like it should.  (Also, FWIW, I have a standard 104-key US keyboard and a Kensington Slimblade trackball.)

============

Section "ServerLayout"
Identifier     "Layout0"
Screen      0  "Screen0" 3600 0
Screen      1  "Screen1" 1680 0
Screen      2  "Screen2" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier     "Keyboard0"
Driver         "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier     "Monitor0"
VendorName     "Unknown"
ModelName      "ViewSonic VX2233wm-1"
HorizSync       24.0 - 82.0
VertRefresh     50.0 - 75.0
Option         "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier     "Monitor1"
VendorName     "Unknown"
ModelName      "LG Electronics IPS231"
HorizSync       30.0 - 83.0
VertRefresh     56.0 - 75.0
Option         "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier     "Monitor2"
VendorName     "Unknown"
ModelName      "ViewSonic VA2226w"
HorizSync       30.0 - 82.0
VertRefresh     50.0 - 75.0
Option         "DPMS"
EndSection

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce GTX 560"
BusID          "PCI:1:0:0"
EndSection

Section "Device"
Identifier     "Device1"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce 9600 GT"
BusID          "PCI:2:0:0"
Screen          0
EndSection

Section "Device"
Identifier     "Device2"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce 9600 GT"
BusID          "PCI:2:0:0"
Screen          1
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    16
Option         "Stereo" "0"
Option         "metamodes" "DVI-I-3: nvidia-auto-select +0+0"
Option         "SLI" "Off"
Option         "MultiGPU" "Off"
Option         "BaseMosaic" "off"
SubSection     "Display"
Depth       16
EndSubSection
EndSection

Section "Screen"
Identifier     "Screen1"
Device         "Device1"
Monitor        "Monitor1"
DefaultDepth    16
Option         "Stereo" "0"
Option         "metamodes" "DVI-I-2: nvidia-auto-select +0+0"
Option         "SLI" "Off"
Option         "MultiGPU" "Off"
Option         "BaseMosaic" "off"
SubSection     "Display"
Depth       16
EndSubSection
EndSection

Section "Screen"
Identifier     "Screen2"
Device         "Device2"
Monitor        "Monitor2"
DefaultDepth    16
Option         "Stereo" "0"
Option         "metamodes" "DVI-I-3: nvidia-auto-select +0+0"
Option         "SLI" "Off"
Option         "MultiGPU" "Off"
Option         "BaseMosaic" "off"
SubSection     "Display"
Depth       16
EndSubSection
EndSection

Section "Extensions"
Option         "Composite" "Disable"
EndSection


You can first press back quote while holding the Alt to emphasise the window in the selector and then press F4 again while holding Alt to close the selected window.

You can not close a window while switching with Alt+Tab because it shows a group of windows, not just one window.


The su command requires you to put in root password.  Root user on Ubuntu in general is locked so no user can login as root thus su is not likely to work.

For sudo -s to work you will have to be part of the admin group on an Ubuntu machine, which apparently you are not.

If you are the only user on the system that is concerning and may be quite involved to fix.  If not I would suggest you talk to the System Administrator or owner of the system to see if you even can get root privileges.


The Gnome Shell extension Multi Monitors Add-On by spin83 is designed to do what you are looking after. Install it using the command sudo apt install gnome-shell-extension-multimonitors then enable it using the "Extensions" tool (not installed by default, install it using sudo apt install gnome-shell-extension-prefs. Alternatively, install it using the Gnome Shell Extensions website.


How to implement a client-server application using CORBA standards?

I believe one of the most popular frameworks to work with CORBA in Linux was Bonobo, but as you can see from the link, it's been deprecated for a while in the Linux desktop in favour of D-Bus, so you might want to start looking into that instead.

Other than that, there are a couple of CORBA on Linux guides on the net, but seem to be quite old:

CORBA, C++ and Linux
Linux DCE, CORBA and DCOM Guide
Alternatives to CORBA
CORBA program development

Note: as I understand it, Bonobo was a wrapper to provide object-like interfaces to CORBA. The CORBA Object Request Broker (ORB) itself was implemented with Orbit. This online reference describes Orbit's implementation of CORBA quite well, albeit it is out of date and written in Spanish.


Try going to System Settings => Display and Monitor => Compositor, and set Tearing Prevention ("vsync") to Full Screen Repaints


It does look like you need to stop / kill the MySQL database first, then update:

[FAIL] Stopping MySQL database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.

I'm not sure what the executable is called, but if it's got "sql" in it's name somewhere then running this should find it's pid (maybe among others):

ps aux | grep -i sql

Then try killing it (kill <pid> or kill -9 <pid> or sudo kill <pid>, etc...) and another ps just in case it's re-spawned.

Then install & it should work...?


How to change ethernet speed & duplex permanently in ubuntu ver. 20.04?

First of all, why do you need to do this? Are you trying to force this limit or are you having problem with your connection? I'm asking it because the answer may be different for each problem.
If you're having problems with your connection, you can open the Network Manager applet (the one near clock that indicates your connection), choose your connection and open the second tab. There you can see a "link negotiation" or "autonegotiation" option (if it's not on this tab, try the others). Normally, if it's turned on, network manager solves the problems related to speed and duplex. That's why I asked if you wanna solve a problem or force speed/duplex settings.
If you need to force that settings (or if "autonegotiate" didn't solve your problem), in the same tab you can see speed and duplex options (if it's not there, unchek "autonegotiation" option). Then you can choose any settings you want (once you network card suport it).


Might find the answer here Error message in upgrading from 14.04 to 16.04 sounds like they're having a similar problem. Error message is the same.


Problem when I changed Fish to default shell

I found this link and it fixed my problem along with what Ziazis originally suggested

Ziazis' suggestion:

sudo chown user:usergroup -R /home/user

Once that was implemented, I stopped getting the

Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied

error, but the PAM authentication error still came up. Some more googlin' and I found this link: http://ubuntuforums.org/showthread.php?t=1702833


To install Ubuntu in VMware:

Download VMware from here and Ubuntu from here.
They have some different version of Workstations. Pick one of each which fits for your computer.
Double click on the VMware software application and run it.
Click Next to install.
Keep pressing Next until you see finishand then click finish.
After that, double click on the Icon which is named VMware Workstation is located on the desktop. Clicking on File --> New --> Virtual Machine…  then choose Typical --> Next.
If you have software in DVD which contained software that you want to create, choose Install disc. Otherwise, Choosing the Installer Disc image file (ISO) software application with extension ISO.
Keep pressing “Next” to continue.
Setting maximum disk size (GB) as 8 and choose the option “Store virtual disk as a single file”, then hit "Next"
Enter username and password in Ubuntu.
Keep pressing "Next" until you see finish then hit Finish
It will automatically reboot , next, it will run an Ubuntu application as well (the one input "Ubuntu.ISO" above step).
The installing screen will appear and run as the picture.
After finish running the installation, restart now

Source


Ubuntu 12.04 launcher doesn't show icons anymore, but they still work

This is an issue I've had on two system installations in recent months that were, to say the least, Frankenstein's monster builds in which I was attempting to put new life into older systems.

On two separate x86 machines, the only flavor of Ubuntu that would both install and play nice with the NVIDIA drivers was Ubuntu 12.04 LTS (i386, obviously).  After a fresh installation of Ubuntu, but prior to activating the NVIDIA driver, icons displayed perfectly fine in the Unity Launcher.  In both machines, the legacy-304 NVIDIA driver was used in tandem with old GeForce 6200 cards (one AGP, one PCI). After activating the NVIDIA driver and restarting the system, all icons in the Unity Launcher would now be invisible.  The icons were still there, functional, and mouse-over displayed which icons were which, but the icons couldn't be seen.

After much hunting and no luck, I found a thread in which a person having the exact same issue (after NVIDIA driver activation, icons vanish but still function) was able to solve it by forcing Ubuntu into 2D, aka, Unity 2D, aka, Unity low-graphics mode.

Here's how to do it:

When Ubuntu first boots and brings up the login screen, there is a small round Ubuntu dash icon located within the login dialogue box directly to the right of your username that will allow you to select the session type.  Click it, and it will give you the options of "Ubuntu" or "Ubuntu 2D".  Select "Ubuntu 2D" and login.

If all goes well, your icons should display.  This might also restore the desktop defaults, so be prepared to redo any personalized touches, such as adding or removing applications from the launcher.  This is a little annoying, but hey, at least you can see the icons again.

One of the systems had auto-login enabled, which bypassed the login screen.  If your system has auto-login enabled, you'll first need to disable it (System Settings --> User Accounts) to see whether or not using an Ubuntu 2D session will fix the invisible icon problem for you.

I can confirm this solution worked on both systems, but I must stress both instances involved fresh installations of Ubuntu 12.04 LTS i386, had NVIDIA GeForce 6200 cards, and required legacy version-304 of NVIDIA's recommended proprietary driver.  Attempting to use Ubuntu 14.04 or 16.04 would always cause a login screen loop (get to the login screen, try to login, desktop fails to load, kicked back to the login screen) after installing the video card drivers on both systems.  I have not attempted to upgrade these two systems to newer versions to see if the "2D Session" fix also prevents the login screen loop in 14.04 and/or 16.04.

If this solution DOES WORK for you, you're happy with Ubuntu 2D (I don't really see much difference in appearance and the slower machine's desktop is now far more responsive), and you want to make Ubuntu default to a 2D session whenever you login, all you need to do is make one small change to /etc/lightdm/lightdm.conf with root privileges.  Open a command line terminal, and enter:

sudo pico /etc/lightdm/lightdm.conf

You can also use nano. Whichever editor floats your boat.  Edit this line:

user-session=ubuntu

to read:

user-session=ubuntu-2d

That's it!  Three little characters.  Save, exit, and restart.  Ubuntu should now start a 2D session by default with all your icons displaying properly whenever the system boots.


I cannot remove authentication to access phpMyAdmin

Reset your MySQL root password by doing the following:

sudo service mysql stop

then start mysql skipping table granting

sudo mysqld --skip-grant-tables &

Login to MySQL as root

mysql -u root mysql

Change your root password

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

Restart mysql

sudo service mysql restart

Try your new  login to phpmyadmin as root with your new password


In gnome-terminal (and in Ubuntu in general) select text means "copy" (or "X selection" if you want to get technical, which is different from "clipboard copy"), which can be pasted via middle mouse click.


For LibNotify, the JSON file that it installs has the incorrect extension ID. Updating the extension ID to the correct one fixes it.

Go to .config/google-chrome/NativeMessagingHosts (for Google Chrome) or .config/chromium/NativeMessagingHosts (for Chromium). Open up the JSON file in the folder, and notice that in the allowed_origins section, it allows the extension ID gphchdpdmccpjmpiilaabhpdfogeiphf. However, the extension ID (at least in my case, but it should be the same for everyone) is actually epckjefillidgmfmclhcbaembhpdeijg.

To fix this, either replace the incorrect extension ID with the correct one, or add a comma and the correct extension ID after it. I personally chose the latter option, and here's what my JSON file looks like:

{
  "name": "com.initiated.chrome_libnotify_notifications",
  "description": "Libnotify Notifications in Chrome",
  "path": path to the location of install.sh,
  "type": "stdio",
  "allowed_origins": [
    "chrome-extension://gphchdpdmccpjmpiilaabhpdfogeiphf/",
    "chrome-extension://epckjefillidgmfmclhcbaembhpdeijg/"
  ]
}

EDIT: That's not the only change that needs to be made. The extension relies on Webkit notifications, which were deprecated and removed in Chrome(ium) and likely other browsers in favor of HTML5 notifications. Therefore, google-chrome/default/Extensions/epckjefillidgmfmclhcbaembhpdeijg/1.0_0/notify_hook.js needs to be updated. I've written a short script for this, but it breaks most of the standard except for displaying the notification. Replace everything in the file with the following (added basic support for sites still using window.webkitNotifications and (hopefully) improved image support) (permissions support added):

OriginalNotification = Notification

Notification = function(title, properties) {
        if (Notification.permission != "granted") {
                if (this.onError) {
                        this.onError();
                }
                return;
        }
        if (!properties.hasOwnProperty("body")) {
                properties["body"] = "";
        }
        if (!properties.hasOwnProperty("icon")) {
                properties["icon"] = "";
        }
        if (properties["icon"]) {
                properties["icon"] = getBaseURL() + properties["icon"];
        }
        document.getElementById('libnotify-notifications-transfer-dom-area').innerText = JSON.stringify({title:title, body:properties["body"], iconUrl:properties["icon"]});
        var event = document.createEvent("UIEvents");
        event.initUIEvent("change", true, true);
        document.getElementById('libnotify-notifications-transfer-dom-area').dispatchEvent(event);
        if (this.onShow) {
                this.onShow();
        }
};

Object.defineProperty(Notification, "permission", {
        get: function() {
                return OriginalNotification.permission;
        },
        set: undefined
});

Notification.requestPermission = function(callback) {
        OriginalNotification.requestPermission(callback);
}

window.webkitNotifications = {}

window.webkitNotifications.checkPermission = function() {
        return 0;
}

window.webkitNotifications.createNotification = function(image, title, body) {
        if (image) {
                image = getBaseURL() + image;
        }
        document.getElementById('libnotify-notifications-transfer-dom-area').innerText = JSON.stringify({title:title, body:body, iconUrl:image});
        var event = document.createEvent("UIEvents");
        event.initUIEvent("change", true, true);
        document.getElementById('libnotify-notifications-transfer-dom-area').dispatchEvent(event);
}

function getBaseURL() {
           return location.protocol + "//" + location.hostname +
                   (location.port && ":" + location.port) + "/";
}


Is there a way to bring up two or more windows (same app or not) when any of the them is switched to through Alt + Tab?

That is exactly where the dynamic workspaces fit in on the standard Ubuntu Desktop with Gnome Shell: visually separating different application, i.e. your two arranged windows from a full screen application.
Just put App2 and App3 on a separate desktop. When you switch to either of them, you will see the two applications as you wanted, just by a regular Alt+Tab switch or a click on the launcher's icon. Problem solved.
And yes, you need to use the workspaces to achieve that. Embrace them.


VACUUM only affects the size of physical backups (pg_basebackup, etc), not logical backups (dumps). You don't need to.

There's no such thing as too much VACUUM. It's harmless. You shouldn't need manual VACUUM though, just make sure autovacuum is enabled and set to run enough.

I strongly advise that you use point-in-time recovery as well as logical backups though. See the manual. There are helper tools like pgbarman and WAL-E for this.


Can't reproduce HEVC (H.265) video without lags (Ubuntu 16.04)

Regarding to this thread, posting number 4: https://forums.geforce.com/default/topic/981372/geforce-basics/which-gpus-support-hevc-a-k-a-h-265-/

  Consumer Grade:
  GeForce Support list (Feature Set "D" or higher only)
  Feature set "D" supports H.264 (up to 4032 × 4048 pixels.)
  Feature Set E,F, and H support H.265 (up to 8192x8192/8k resolution)

compared with the table at https://en.wikipedia.org/wiki/Nvidia_PureVideo

  GT 750M -- GK107 -- VP5 -- D -- March 2012

your graphics card could be the cause.

The fifth generation PureVideo HD

The fifth generation of PureVideo HD, introduced with the GeForce GT 520 (Fermi
(microarchitecture)) and also included in the Nvidia GeForce 600/700 (Kepler
(microarchitecture)) series GPUs has significantly improved performance when
decoding H.264.[11] It is also capable of decoding 2160p 4K Ultra-High
Definition (UHD) resolution videos at 3840 × 2160 pixels (doubling the 1080p
Full High Definition standard in both the vertical and horizontal dimensions)
and, depending on the driver and the used codec, higher resolutions of up to
4032 × 4080 pixels.

The fifth generation PureVideo HD is sometimes called "PureVideo HD 5" or
"VP5", although this is not an official Nvidia designation. This generation of
PureVideo HD corresponds to Nvidia Feature Set D (or "VDPAU Feature Set D").


Sound not working in Ubuntu 14.04LTS after upgrading from 13.10

Could you apply this procedure let us know if you see any error message.
Pulseaudio Log

Don't paste your log file in this site but use this one Paste Bin and share the link.

Sometimes uninstall pulseaudio and resintall it solve the problem

sudo apt-get remove –purge pulseaudio gstreamer* esound*

I put Esound package for be sure unisntalled because it's obsolete and occur bug (never mind). Following a reboot apply:

sudo apt-get install pulseaudio

Add you login in the audio group:

 sudo adduser $USER audio

then reboot

May help.


How to keep skype-wrapper in messaging menu after closing it?

The /usr/share/indicators/messages/applications directory holds a list of text files each containing the path to the desktop launcher of the application the text file is named after.

To add Skype-Wrapper, simply write following command (all one line):

echo "/usr/share/applications/skype-wrapper.desktop" | sudo tee /usr/share/indicators/messages/applications/skype-wrapper

This is, of course, assuming that the Skype-Wrapper launcher is at /usr/share/applications/skype-wrapper.desktop.

Logout, log back in and you are set.


Why does my computer startup again when suspended?

Some computers have "wakeup" events in their BIOS.  For example, my computer (it is not a Asus) has "wakeup from LAN, wakeup from mouse, and wakeup from keyboard".  I have these disabled.

Another computer I have has a "S1" or "S3" setting for a 'sleep' setting in the BIOS.  I have this set as "S3".

Check your bios to see if you have something similar and change some settings.


It sounds like your GNU GRUB boot menu is not placed after the installation of Ubuntu. You can fix this by:

Installing GRUB manually

Insert your LiveUSB and select Try Ubuntu.
Run GParted (Search for it in the Dash menu)
Determine your correct hard drive (where you boot your OSes out of). You can select other hard drives at the upper right of the window.
if you have found the correct hard drive, write down what's shown at the top right of the window. (EG /dev/sda).
Now open up the Terminal (CTRL+ALT+T)
Type in:
sudo grub-install /PATH/TOHDD
This will install the GRUB boot menu loader into the MBR of the first IDE disk (meaning that the GRUB menu will show when you start your pc).
After this operation is done, reboot your system and remove the USB. If you are sent to Ubuntu, you're good to go.

Source: https://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-using-grub_002dinstall.html


Is it possible to install a Swedish font?

The package you are looking for is language-pack-sv

Install via the terminal with:

sudo apt-get install language-pack-sv

or through the Software Center:


Firefox hidden cookies not in cookies.sql?

I suspect that Firefox does not update the cookies.sqlite file directly for data integrity and performance reasons. Rather, it temporary stores the data in cookies.sqlite-journal (Firefox 3.x). Because the session cookies changes frequently, it is reasonable that the cookies are not present in the cookies.sqlite file. When Firefox is closed, the changes to cookies.sqlite are applied.

A workaround is available using a Greasemonkey script.

Install the Greasemonkey add-on.
Restart Firefox. Meanwhile, save the next text as "jsessionid.user.js".

// ==UserScript==
// @name           JSESSIONID to localStorage
// @namespace      lekensteyn@gmail.com
// @description    Saves the JSESSIONID cookie in localStorage
// @include        https://demo.nadex.com/dealing/pd/cfd/security*
// ==/UserScript==
(function() {
    var sessid = document.cookie.match(/JSESSIONID=([^;]+)/);
    if (sessid) {
        var oldSID = localStorage.JSESSIONID;
        if (sessid != oldSID) localStorage.JSESSIONID = sessid[1];
    }
})();

This should retrieve the session cookie right after login and store using HTML5 Storage if the session ID is different than the previously saved one. If you need to make the script save the session ID earlier, you need to modify the @include line to something like https://demo.nadex.com/*. I've noticed that no session ID is sent over HTTP, just HTTPS.
Open the jsessionid.user.js file in Firefox (or drop it into Firefox). You'll be prompted on installing it. Accept it.
In Bash, use something like:

sessid=$(sqlite3 ~/.mozilla/firefox/xxx.xxx/webappsstore.sqlite "SELECT \
 value FROM webappsstore2 WHERE key='JSESSIONID' AND secure='1' \
 AND host LIKE 'moc.xedan.%' LIMIT 1;")

moc.xedan. is a part of the domain in reverse order.

For debugging, you can use the next bookmarklet:

javascript:alert("JSESSIONID=" + localStorage.JSESSIONID);

It'll display null if there is no such ID found. Note that it matters whether you execute it on https://demo.nadex.com or http://demo.nadex.com. This bookmarklet can be pasted in the location bar directly.


How to install Ubuntu 13.04 inside Windows 8 from ISO

Wubi as far as I know has been kicked out of 13.04. If you really want to install Ubuntu, I'd suggest you booting a live usb and install it along your current Windows 8 set up.

On the install screen, just select 'install alongside Windows' and use the slider to choose the size of your ubuntu partition (reckon 20gb will do).

It's an automated process so you don't have to worry about anything as everything will be handled by the installer.

Hope this helps.


Open a terminal and paste this, sudo apt-get install strongswan network-manager-strongswan

now if you go to the network-manager you should see the option to add IPSEC VPN. Hope this helps


It is using eglibc. You might compile glibc yourself, or you could start using Debian sid.


Try To Open The Case And Blow The Dust Or Try To Stress Test It

For Windows Users Install Fan Control

For Mac Users Install Mac's Fan Control

For Ubuntu Users
1. Do The Following Command "sudo sensors-detect"
2. Then "sudo service module-init-tools restart"

> To Configure The Speed
Or Read The Whole Article ----
How to control fan speed?


ubuntu 18.04.1 with Windows 10 dual boot - 'grub-efi-amd64-signed' error hell?

I would boot into the Ubuntu Live without installing and in terminal do one line at a time
sudo mkdir -p /mnt/boot/efi
sudo mount /dev/sda7 /mnt
sudo mount /dev/sda2 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
apt-get update
apt-get install --reinstall grub-efi grub-efi-amd64 grub-efi-amd64-signed
os-prober
update-grub
exit
Then see if you can boot into the install


Wifi drops out constantly after upgrade to xUbuntu 14.10

Change your router from auto or whatever channel it is on to a channel not occupied, the following is from the script and you are one of them on channel 11

Channel occupancy:

  1   APs on   Frequency:2.412 GHz (Channel 1)
  3   APs on   Frequency:2.437 GHz (Channel 6)
  1   APs on   Frequency:2.447 GHz (Channel 8)
  5   APs on   Frequency:2.462 GHz (Channel 11)

The fix you found and the bug are not applicable to your wifi card, an Intel Centrino N135

One thing that could help with 11N speeds is echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf reboot and check results

Try disabling the Ubuntu firewall.

sudo iw reg set DE and reboot and possibly test with TLP disabled, the new results look like you should have a working wifi connection


Dual dual, dual disk, how to recover after linux disk failure

I do assume that a windows update re-wrote the EFI partition
Windows will overwrite the boot sector whenever you install it, upgrade it to a new version, or use tools like bootrec /fixmbr, bootrec /fixboot, or the older fdisk /mbr. source
WARNING: This Only works for EFI
Use a Live Ubuntu USB and choose try live instead of install.
Open GParted to determine the names of the following partitions

The EFI partition. (filesystem: FAT, size: 100MB-500MB)
You Ubuntu partition. (filesystem: ext4, size: ?????)

If you want to use the terminal (which I believe is ALOT easier), open a terminal with CTRL+ALT+T.
type the following
sudo fdisk -l

You should get an output similar to the following: (I will ignore other partitions)
/dev/sda1      2048    206847    204800  100M EFI System <========
/dev/sda3 527517696 554121215  26603520 12.7G Linux filesystem <=======

Device name can also be /dev/nvmen1pXX if you use nvme drives
I will assume that EFI partition is /dev/sda1 and Ubuntu is /dev/sda2
Type the following in a terminal:
Chrooting
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
sudo mount –bind /dev /mnt/dev
sudo mount –bind /dev/pts /mnt/dev/pts
sudo mount –bind /proc /mnt/proc
sudo mount –bind /sys /mnt/sys
sudo chroot /mnt

Fixing Grub
Install GRUB with
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

Generate Grub-config
grub-mkconfig -o /boot/grub/grub.cfg
That should fix grub, you can now exit with exit or Ctl+D and reboot.
Note: you might need to update BIOS boot order
Preventing windows from doing this again
I don't use windows so I can't help, but you SHOULD stop windows from re-writing your EFI partition.


AMD A6 Processor, Radeon HD 8400, Laptop: Ubuntu running slow

AMD releases new Catalyst 14.9 driver with support for Ubuntu 10.14 Utopic

http://www.tuxwatch.com/2014/09/amd-releases-new-catalyst-149-driver.html


Change Samba password from Windows client

Without a domain you can't have a Microsoft Windows client use native windows methods to change passwords on other machines.

However, you could set up a simple web form on the server running samba that they can log in to, for changing their samba password, that just runs smbpasswd.


Trying to install a wireless driver rt3290 receiving two make errors

Check out This post on configuring wpa_supplicant.


3G modem: simultaneous sending SMS and having active Internet connection

Finally, I found the solution.

Huawei E800 couldn't be used. Instead, I used E369. That modem has 3 ports (3 ttyUSB in /dev/). If I use the 1st tty for the Internet and the second for sending/receiving SMS, then the problem disappears. Note that E800 also has 2 ttys, but it doesn't solve the problem.

I think I known how to figure out whether a modem can be used for simultaneous SMS and Internet. Need to send "AT+CMUX=0" to the modem. If it answers that the operation is not supported, then you have to try different modem.

Also I met 1 more problem on Ubuntu 13.04. If I used the ubuntu's NetworkManager to set up Internet connection, then it blocked my modem. So, the modem couldn't be used to send/recv SMS. I found the solution - didn't use NetworkManager. Instead, I set up Internet connection with wvdial. It solved the problem.


How to specify an Environment systemd directive containing =?

I think your problem is due the space in the environment variable's contents. Looking at the examples from the systemd docs, an assignment should be a single string:

  Example:

Environment="ONE=one" 'TWO=two two'
ExecStart=/bin/echo $ONE $TWO ${TWO}

  This will execute /bin/echo with four arguments: one, two, two,
  and two two.

  Example:

Environment=ONE='one' "TWO='two two' too" THREE=
ExecStart=/bin/echo ${ONE} ${TWO} ${THREE}
ExecStart=/bin/echo $ONE $TWO $THREE

  This results in echo being called twice, the first time with arguments
  'one', 'two two' too, , and the second time with arguments
  one, two two, too.

I tested this with the following service (note the quotes around the entire assignment):

[Unit]
Description=My Daemon

[Service]
Environment='CATALINA_OPTS=-Dappserver.home=/var/lib/archiva/apache-tomcat-current -Dappserver.base=/var/lib/archiva/apache-tomcat-current'
ExecStart=/bin/echo ${CATALINA_OPTS}

[Install]
WantedBy=multi-user.target

And got the desired output in journalctl:

Apr 26 08:19:29 laptop echo[28439]: -Dappserver.home=/var/lib/archiva/apache-tomcat-current -Dappserver.base=/var/lib/archiva/apache-tomcat-current

Of course, it would be simpler to use EnvironmentFile instead. Replacing the Environment with the following gave the same desired result:

EnvironmentFile=/tmp/foo

Where /tmp/foo contained (note the lack of quotes):

CATALINA_OPTS=-Dappserver.home=/var/lib/archiva/apache-tomcat-current -Dappserver.base=/var/lib/archiva/apache-tomcat-current


Mount external Hard Drive with /etc/fstab on ubuntu 14.04 problems

The first error you got is because there is no such thing as sec=ntl. The available options are (from man mount.cifs):

  sec=

  Security mode. Allowed values are:

  none - attempt to connection as a null user (no name)
  krb5 - Use Kerberos version 5 authentication
  krb5i - Use Kerberos authentication and forcibly enable packet
     signing
  ntlm - Use NTLM password hashing
  ntlmi - Use NTLM password hashing and force packet signing
  ntlmv2 - Use NTLMv2 password hashing
  ntlmv2i - Use NTLMv2 password hashing and force packet signing
  ntlmssp - Use NTLMv2 password hashing encapsulated in Raw
     NTLMSSP message
  ntlmsspi - Use NTLMv2 password hashing encapsulated in Raw
     NTLMSSP message, and force packet signing

So, the first approach (using the fstab) might work if you use one of the above. Presumably, you wanted sec=ntlm.

As for the 115 error, I found this very nice guide on the Gentoo forums that I suggest you read. Basically, it suggests adding a line like this to your /etc/hosts file (change 192.168.1.12 to the IP of your drive):

192.168.1.12    Seagate-XXXXX

Once that's done, you should be able to use Seagate-XXXXX instead of the IP to connect. The page provides some other troubleshooting tips (including using smbtree to make sure that the share is actually available). I really suggesty you read it.


I solved it by removing Unity PPA.

    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:unity-team/staging
    sudo ppa-purge ppa:unity-2d-team/unity-2d-daily


According to the page you link a person maintains a PPA of xinput-calibrator here.

Follow these instructions to add ppa:tias/xinput-calibrator-ppa to your Software Sources and then xinput_calibrator will be available for you to install.


Unable to locate package libqt4-core and libqt4-gui on Ubuntu 16

I think the packages you are looking for are named libqtcore4 and libqtgui4. Therefore, do

sudo apt update
sudo apt install libqtcore4 libqtgui4


How to install snappy packages in Ubuntu 16.04

I was able to first:

sudo apt install ubuntu-snappy-cli

then you search the repo by:

sudo snap find

but by now the repo is small

to install nmap for example:

sudo snap install nmap

to show all the installed snaps:

sudo snap list

that is it.

Now, the dpkg system will show blank entry, as a proof that nmap is not installed via DPKG:

dpkg -l |grep nmap

the nmap snap binary is installed under:

:~$ which nmap
/snap/bin/nmap

To update a snap:

sudo snap refresh nmap

But I still have to find out why the sudo command wouldn't find the binary of the snap package:

:~$ sudo nmap
sudo: nmap: command not found


What are the upstart events to monitor to attach/detach an EBS volume and an elastic IP at startup/shutdown?

The events are correct if you specifically need to run when cloud-init has finished. You probably will want your script to be done with the keyword task, so that the bits that depend on cloud-init are blocked until your script finishes.

For shutdown

start on runlevel [016]

Will run something as the normal system shutdown is happening.

Note that there's a wealth of information about these things in the upstart cookbook:

http://upstart.ubuntu.com/cookbook/


"A Disk Read Error" while starting Windows after Ubuntu upgrade + Boot Repair

I had the same problem and I fixed it by standing on the Windows 7 loader drive and press E to edit.

My insmod was set to ldm and the set root was set to /ldm/(lotofhexnumbers)/volume1.

So I edit these two lines and press Ctrl+X this will boot but will not save this is just for testing.

insmod part_msdos

set root='(hd0,msdos1)'

If it works for you, boot back in to Ubuntu sudo gedit /boot/grub/grub.cfg.

Look for menuentry the name of your boot profile, edit the lines below and save, reboot and selecting the Windows will boot normally.

insmod part_msdos

set root='(hd0,msdos1)'


Using the "not" operator with find not working as expected

The -name option to find looks only at the individual file name, not the full path to the file. If you want to match on the full path, you need the -path option.

Some examples in a quick test tree I created:

$ find .
.
./b
./a
./lib
./lib/la
./lib/lb

What you are doing with -name (skips lib itself, but doesn't skip files within lib because it is only looking at the individual file names):

$ find . -not -name 'lib*'
.
./b
./a
./lib/la
./lib/lb

What you probably want:

$ find . -not -path './lib*'
.
./b
./a

Note that because -path looks at the full path, I now need to add the initial ./ prefix as well.


How to update someone else's charms in the juju charm store

It's a bit different from normal publication, see this section of the docs:

https://jujucharms.com/docs/latest/authors-charm-store#submitting-a-fix-to-an-existing-charm

It then gets put into a review queue and then the fixes get applied to the charm branch.

However the Octave charms are in someone's personal namespaces, so the more correct way to do it is to fork their charms and then update them.

Then (if you want) you can submit your new octave and octave-controller to the charm store to be the default recommended stack. Then in the future those charms are more amenable to be community maintained instead of someone's personal namespace.


How to revert packages to official release?

Firs you need to remove the skype that is installed from the PPA.

sudo apt-get remove skype

Then should remove the PPA.

sudo add-apt-repository --remove ppa:mc3man/sacy-tests

After this, you need to update the package details by updating.

sudo apt-get update

Then you can install skype from Official repository.

sudo apt-get install skype


If there is only source code, you have to compile it on yourself's.

Download the source code, open a terminal and cd to the download directory. (If it's an archive, extract it first.) Now use the following commands:

./configure
make
make install

If everything goes fine, the program should be installed.

Software Sources is to include other PPA's, not to install the software itself.


Yes, Ubuntu 14.04.1 does offer an OEM-Option.

See this wiki entry for a detailed Instruction:

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


Let's say you copy the sensitive log over to a temporary folder in your home. Then, from that folder, run something like this:

grep -Ev 'sensitive_term' sensitive.log > sanitized.log

Depending on the complexity of the clean-up, you may need to employ regex. man grep should get you started.


AMD Omega drivers don't work with kernel 3.17.6 on Trusty?

AMD only support up to Kernel 3.16. No support for Kernel 3.17 and > yet


Audio codec consuming high battery power

Unfortunately this is a know bug as explained in:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/877560
Here you have a few workarounds (cited from the bug comments):
1. Manually force power save for the audio codec
Before proceeding, in a terminal launch the following:
cat /sys/module/snd_hda_intel/parameters/power_save*

if the result is different from:
1
Y

then try the following commands
echo 1 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
echo Y | sudo tee /sys/module/snd_hda_intel/parameters/power_save_controller
pkill pulseaudio

and then log out and log in again to get pulseaudio restarted.
2. Let the silence fall
If you mute your mic and your speakers, the device will be deactivate. It sounds strange, but it actually works for me.
3. Wait for Raring
According to the bug report, the problem is gone with kernel 3.7, and Raring will probably mount kernel 3.8.


SD over SPI (RTS5227 PCI Express Card Reader)

According to the specifications, SPI mode is mandatory for SD memory and SDIO cards[1]. However, the SD host controllers do not necessarily support this mode [2]:

  ...This mode (SPI) is a subset of the SD Memory Card protocol, designed to communicate with SPI channel, commonly found in Motorola's (and  lately  a  few  other  vendors')  microcontrollers.

I'm still not sure if the RTS5227 PCI Express Card Reader's microcontroller supports mode, but I guess it does not.

[1] https://www.sdcard.org/downloads/pls/pdf/partE1_300.pdf
[2] https://www.sdcard.org/downloads/pls/pdf/part1_410.pdf


Heal selection not working on Gimp 2.10.10 (Ubuntu 19.04)

In my case GIMP 2.10.18 (as of April 2020), steps I have to do are:

Get Executable file. Download resynth-linux.zip from the link here. Then extract, there you just have to copy resynthesizer and resynthesizer_gui file to your plugins folder.
Get the plugin, you can either copy the two files in the downloaded file above which are plugin-heal-selection.py and plugin-heal-transparency.py, or if you want more, you can download then extract from the source git code here, then copy the python files to your gimp plugin folder.
Allow executing file as program. On each python file, right click -> Properties -> Permissions -> Tick "Allow executing file as program". Reference here


As mentioned here in this blog post,
After executing sudo nvidia-xconfig, you need to enable additional drivers.
Execute sudo software-properties-gtk which will open up a window like this

Select the latest driver and then reboot your machine.


Android Ubuntu One client on a Motorola Atrix - pictures not picked up from SD card, only from internal card

We'll have improved support of detecting new media from any location soon. Also, can you check with any file explorer (like AndExplorer) what is the mount point of the storage you're trying to pick up from? It can be something like /mnt/sdcard_ext, /mnt/ext_sd, etc.


How can I remove LINUX/EBURY from Ubuntu 16.04?

The LINUX/EBURY rootkit is easy to spot.

What it does is create a symlink for libkeyutils.so and add the malware to their version of libkeyutils.so.

I found mine in /lib/x86_64-linux-gnu/ and it looks like this:

lrwxrwxrwx 1 root root    18 mrt  5  2015 /lib/x86_64-linux-gnu/libkeyutils.so.1 -> libkeyutils.so.1.5
-rw-r--r-- 1 root root 14256 okt 16  2014 /lib/x86_64-linux-gnu/libkeyutils.so.1.5

This looks good but if you have more than 2 lines there that you are in trouble. The problematic file would be something like libkeyutils.so.1.5.0 and have a size of roughly 32k.

The following files are affected by this rootkit:

audit_log_user_message
audit_log_acct_message
hosts_access
connect
__syslog_chk
write
syslog
popen
hosts_access
crypt
pam_start

And to finish it up. These are the SHA-1 hashes of the infection:

09c8af3be4327c83d4a7124a678bbc81e12a1de4 – Linux/Ebury – Version 1.3.2
2e571993e30742ee04500fbe4a40ee1b14fa64d7 – Linux/Ebury – Version 1.3.4
39ec9e03edb25f1c316822605fe4df7a7b1ad94a – Linux/Ebury – Version 1.3.2
3c5ec2ab2c34ab57cba69bb2dee70c980f26b1bf – Linux/Ebury – Version 1.3.2
471ee431030332dd636b8af24a428556ee72df37 – Linux/Ebury – Version 1.2.1
5d3ec6c11c6b5e241df1cc19aa16d50652d6fac0 – Linux/Ebury – Version 1.3.3
74aa801c89d07fa5a9692f8b41cb8dd07e77e407 – Linux/Ebury – Version 1.3.2
7adb38bf14e6bf0d5b24fa3f3c9abed78c061ad1 – Linux/Ebury – Version 1.3.2
9bb6a2157c6a3df16c8d2ad107f957153cba4236 – Linux/Ebury – Version 1.3.2
9e2af0910676ec2d92a1cad1ab89029bc036f599 – Linux/Ebury – Version 1.3.3
adfcd3e591330b8d84ab2ab1f7814d36e7b7e89f – Linux/Ebury – Version 1.3.2
bf1466936e3bd882b47210c12bf06cb63f7624c0 – Linux/Ebury – Version 1.3.2
d552cbadee27423772a37c59cb830703b757f35e – Linux/Ebury – Version 1.3.3
e14da493d70ea4dd43e772117a61f9dbcff2c41c – Linux/Ebury – Version 1.3.2
f1ada064941f77929c49c8d773cbad9c15eba322 – Linux/Ebury – Version 1.3.2

Based on this link from welivesecurity.com.

-IF- you are infected it is best to format and re-install and restore a backup that does -not- hold the infection. Also since ssh is involved delete your ssh credentials and make some new keys.

You can check if ssh is infected with

ssh -G 2>&1 | grep -e illegal -e unknown > /dev/null && echo "System clean" || echo "System infected"


Stale file handler when mounting CIFS SMB network drive from Fritz router

Eventually I found this page in German:
https://debianforum.de/forum/viewtopic.php?t=176154
The solution is to add the parameter noserverino:
mount -t cifs //fritz.box/fritz.nas/wd -o rw,noserverino,username=user,password=password,workgroup=WORKGROUP

From man mount.cifs:

Client generates inode numbers itself rather than using the actual
ones from the server.

Full mount command in /etc/fstab with a specified user:
//fritz.box/fritz.nas/wd   /home/user/wd    cifs  rw,noserverino,username=user,password=password,uid=user,gid=user,workgroup=WORKGROUP 0 0

Make sure the mount point owner is set:
chown user:user /home/user/wd/


I'd recommend following Wine HQ's Installation Guide.

Summary

Add Wine HQ's Repository

sudo apt-add-repository ppa:ubuntu-wine/ppa

Update the latest information for apt with the new repo

sudo apt-get update

Install Wine

sudo apt-get install wine1.7

Notes

PlayOnLinux is a great way to install multiple Wine-dependent applications efficiently and within their own bottles.


This indicates that the rabbitvcs ppa was incorrectly added to your system and it is blocking your access to all software.

I suggest that you open the software-center, then go to the Edit menu and to software sources. From there you can uncheck any references to the rebbitvcs ppa.

After you do that start a terminal and execute:

sudo apt-get update

Then try to install Ubuntu One again.

If you later want the rabbitvcs ppa back I suggest that you add it again using the instructions from here.


How to disable horizontal scrolling in Ubuntu 18.04 in terminal?

I found the answer to my own question, and so wanted to share what worked for me in case others are stuck. Pilot6's answer to the same question asked for 16.04 works with a little modification for 18.04. The following steps solve the issue:

Install "libinput-tools" (this package name is slightly different from 16.04) and dependencies in terminal by running the following commands:

sudo apt update

sudo apt install libinput-tools

Then enter the following line in terminal

sudo gedit /usr/share/X11/xorg.conf.d/40-libinput.conf

The file will open in text editor. In the touchpad section, just before the line indicating the end of the section, add the following line:

Option "HorizontalScrolling" "False"

Save and close the configuration file and restart. Horizontal scrolling should be disabled.


Execute POL shortcut directly without invoking POL itself

While still having to call POL_Wine I managed to get rid of the X dependency:

After diving into the POL source code (and realizing that most of it is just a bunch of bash code) I came up with the following:

#!/bin/bash

# provide environment variables normally set by playonlinux-bash
PLAYONLINUX="/usr/share/playonlinux"
POL_USER_ROOT="/home/gamer/.PlayOnLinux"
POL_OS="Linux"
export WINEPREFIX="$POL_USER_ROOT/wineprefix/test"
export WINEDEBUG=""

# load POL functions without having to go through playonlinux-bash
source "$PLAYONLINUX/lib/sources"

# mock error reporting to prevent opening of error-windows
POL_Debug_Error()
{
    echo "[POL] $1"
}

POL_Debug_Message()
{
    echo "[POL] $1"
}

# finally start the target executable
cd "$WINEPREFIX/drive_c"
POL_Wine test.exe "$@"


Cloned Ubuntu to SSD, how to get grub recognize it?

You also need to update the uuid in /boot/grub/grub.cfg, and configure your bios to boot from the new drive.


Stopping job because the scheduler could not execute a filter. Epson L355 and Ubuntu 18.04 printing problem

I fixed it by doing this:
Change the ownership of /opt/epson-inkjet-printer-201207w/cups/lib/filter files and dirs. You can do it by running sudo chown root -R filter in /opt/epson-inkjet-printer-201207w/cups/lib directory.
I don't know why I didn't dig in permissions, because the error says about this.


How do I disable the global application menu in Adobe Reader 9?

I found a great way to do this.  All of the answers I was able to find involved launching Adobe Reader in a special way.  Unfortunately I needed it to be part of the launcher.  If you open up:

gksudo gedit /opt/Adobe/Reader9/bin/acroread

You'll be in the actual Adobe Reader launcher.  Just add the line export UBUNTU_MENUPROXY= to the first blank space you see (under the commented area that starts with #) and save the file.

Now everytime you launch Adobe Reader it will launch with the UBUNTU_MENUPROXY thing enabled!


How to grep words from a single string matching a pattern?

grep accepts -o to print only matching text, on separate lines even if the matches came from the same line. It also accepts -w to force the regular expression to match an entire word (or not match at all), where a word is a maximal sequence of letters, numerals, and underscores. So you can simply use:

grep -ow '\w*_ARA\w*'

In this case you can actually omit the -w option if you like, and get the same result, since the regular expression here is explicitly matching only word characters with \w.

That will read from standard input because there are no filename arguments. If the text you showed is in a file--say, called input.txt--then you would pass that as an argument:

grep -ow '\w*_ARA\w*' input.txt

This outputs:

IM219MIR_ARA1
IM18Q4_ARA1
SM18Q4_ARA1
IM18PLANNING_ARA1
IM118Q4DYNVA_ARA1
IM218Q4DYNVA_ARA1
IM119EIOPALTG_ARA1
IM219EIOPALTG_ARA1
SM119EIOPALTG_ARA1

Technically, the output this produces is slightly different from what you showed in your question, because the expected output you showed lists IM119EIOPALTG_ARA1 twice, even though it appears only once in the text you showed. I presume this is a mistake and you actually want it just once.


Full screen video tearing in firefox Ubuntu 19.04

If you are certain the issue is with Firefox and it is not system wide then the following may solve your issue.

Type "about:config" (without quotes) in your address bar in firefox, click accept if prompted and then search for layers.acceleration.force-enabled. Double click the search result to turn the value to true.

Now restart firefox and the issue should be solved.


is it safe to use kernel 3.8 with ubuntu 13.10?

I used (given to  an upgrade bug) the 3.8 kernel in 13.10 during a lot of time.

The only problem I see is that that kernel is unmaintained, so

you did not receive the security updates(1)
if you need to compile some special driver you can have problem in finding the correct version of the headers.

(1) Looking at https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable it seems that 3.8 will be maintained until August of 2014.


I experienced the same problem.
This is a known bug with a workaround here:
https://bugs.launchpad.net/powernap/+bug/1608057

Edit: /lib/systemd/system/powernap.service

[Unit]
Description=PowerNap
Requires=networking.service
After=networking.service

[Service]
Type=forking
ExecStartPre=/usr/share/powernap/powernap-ethtool
ExecStart=/usr/sbin/powernapd
ExecStop=-/usr/sbin/powerwake-now
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Then restart powernap:

sudo systemctl daemon-reload
sudo systemctl start powernap


How to change permissions on mounted windows share?

I changed my /etc/fstab to:

//server/share  /media/share  cifs  username=msusername,password=mspassword,uid=1000,gid=1000  0  0


I got the same error message. The installation configuration that led to this message is as follows:

/dev/sda1        ntfs :windows partition
/dev/sda2        ntfs :windows partition
/dev/sda3        ntfs :windows partition

/dev/sda5             :swap  partition
/dev/sda6        ext4 :/     partition
/dev/sda7        ext4 :/home partition
/dev/sda8        ext2 :/boot partition

So, what worked -after lots of tests- is the configuration where I have changed the ext2 format of the /boot partition (/dev/sda8) to the ext4 format. I don't know if the problem was really in that point but at last it worked.
I hope this will be helpful.


How do I convert videos from my Sony HDR xr160 camcorder?

Any USB storage device (e.g. any camcorder, camera etc.) can simply be plugged in to an USB port and mounted as removable storage device. No additional drivers are needed to do so. We can browse the files on our camcorder with the default file manager Nautilus and simply copy & paste or drag & drop them to the desired location on our hard drive.

Provided we had installed ubuntu-restricted-extras , and libavcodec-extra-53  we should be able to view most the file formats from camcorders in our video player (default will be Totem movie player).

To convert to another format we do have quite some applications for the desktop, or the command line to help you. See this question: best video converter and more.

There are also excellent German tutorials on this:

Videobearbeitung
Codecs


I just ran into this problem and am still trying to figure it out. I did figure out if I disabled the fire wall using "sudo ufw disable" I was able to connect. I tried setting it back to default settings but every time I enable it, I can't connect. Hope this helps.


Can I convert Garmin .img maps to a format that can be displayed on an Android phone?

Found this on the OpenStreetMap wiki pages, might be worth a try?
http://wiki.openstreetmap.org/wiki/VGPS


Why can't I install php7.4-intl on Ubuntu 20.04?

php7.4-intl is being installed from the Ubuntu repositories, not the deb.sury PPA / third party repositories you have installed and are using for your PHP.
Either don't install php-intl or don't use the deb.sury repos.  The use of the third party repositories is going to inhibit you from installing everything if it isn't provided in those third party repositories.


To make your own keymap

Log onto the console
Run setxkbmap with the parameters that correspond to your layout
xrdp-genkeymap filename

so in my case I did

setxkbmap –model pc104 –layout us –variant dvorak
xrdp-genkeymap km-0409.ini

The keymap I ended up with had problems with some keys (eg arrow keys) so I had to copy keys 98 to 107 from the original keymap file.


How do I link the Ubuntu One logo from my blog?

The image on the bottom-right of the UbuntuOne site can maybe serve you as a logo. And putting that in-between link tags making the logo point to UbuntuOne can maybe serve your purpose. That way, if you are logged into UbuntuOne, your dashboard will directly open up giving access to your files. If not, then, will take you to the UbuntuOne homepage

Something like this:

Not sure if it's a copyright violation of some sort, so please do confirm that there is no violation of any sort before you put this into action. This answer is just to prove you can do it.


you can take a look at the list of shells you have installed with:
cat /etc/shells

For example, to change current shell to bash, you can use the chsh command :
chsh -s /bin/bash

or use the usermod command to change the shell of a user:
sudo usermod -s /bin/bash putHereTheUserName

You can confirm the sheel of the user on /etc/passwd (it's the last element of each line):
cat /etc/passwd | grep putHereTheUserName


Is there a way to install ubuntu to Windows ME without a USB drive or burning a disk?

Not sure if this will work. But try this. Take the drive from the ME box and move it to another pc that has a cd drive and do a regular Ubuntu install from cd. Then move the drive back to the ME box.


From what I see in your ps list java is using 704MB physical RAM. Kill the PID using kill -9 12825.

You can also use ps -eo pid,rss,cmd --sort -rss | head to list processes by RES to see which PID is using the most RAM.


Installing Ubuntu with wubi or with standard installation

You will see a small performance decrease primarily in disk I/O

The disk image that a Wubi install runs out of sits on top of an NTFS filesystem which by nature can become fragmented.  Usually this is a negligable amount but I have seen it when developing code that does large amounts of I/O to the filesystem.

I also believe that hibernate and suspend are not fully supported on a Wubi install.


Ubuntu 17.04, Steam will not download content

Close Steam
sudo apt-get install libnss-resolve:i386
Open Steam

Works in Ubuntu 17.04 64bit.

More info: https://github.com/ValveSoftware/steam-for-linux/issues/4661


Write a script to add the current time to timestamp in the dmegs entry, then compare the time to the current time, and display the lines that are more recent than the desired interval.

This is an example:

#!/bin/bash

if [ $# -eq 0 ]
  then
    echo "Argument Error.  Please specify the Time interval in seconds."
    exit
fi

timeinterval=$1 # change this to the desired time interval
currenttime=$(date +%s)

string="$(who -b | awk '{print $3"-"$4}')"

IFS='-' read -a array <<< "$string"

MONTHS=(X Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)

year="${array[0]}"
month=${MONTHS[${array[1]}]}
day="${array[2]}"
hour="${array[3]}"

daystring="$month $day $year $hour"

bootime=$(date --date="$daystring" +%s)

dmesg | while read line; do
    dmesgstamp=$(echo "$line" | awk -F'[' '{print $2}' | awk -F\. '{print $1}')
    dmesgstamp=$((dmesgstamp += bootime))
    results=$((currenttime-dmesgstamp))
    if ((results < timeinterval)); then
        echo "$line"
    fi
done

Run the script with the interval in seconds as the argument:

$ ./script.sh 30


Two MOTD's - I want one of them disabled

I'm not sure if this is the best answer, but this is what worked.
With respect to the first part of the question - will running "touch ~/.hushlogin" also disable my dynamic MOTD - the answer is yes.
To remove the MOTD generated by Katoolin the fix was:

Navigate to /usr/bin
sudo cp kali-motd kali-motd.backup
sudo rm kali-motd
Navigate to /etc/profile.d
sudo cp kali.sh kali.sh.backup
sudo rm kali.sh


How do I enable Wake on LAN with Ubuntu?

you should disable Default option in Network-Manager GUI and enable only the Magic option. If you try this, then you should check if everything is ok opening the shell and issuing this command:

sudo ethtool *<your_eth_device_here>*

You should see the line:

Wake-on: g

If it's not g but d or something else, something could be wrong.


Open the application explorer which is in top left corner. The in search field, type "terminal". It will show up the terminal application icon, click on it.


You can't resize your main partition while it is in use.  Boot off a live USB or CD and then perform the operations.  But first...back up your data.


-f flag is what I was looking for.

/usr/sbin/cron -f or cron -f


How to set terminal application (joe, nano, vi) as default desktop text editor?

I think that the right way to do this is to create a Desktop Launcher for your alternative editor, and then modify the MIME database to associate it as the default application for your target mimetype(s).

For example:

Create a minimal $HOME/.local/share/applications/myedit.desktop as

[Desktop Entry]
Type=Application
Exec=/usr/bin/nano %F
Terminal=true
Name=MyEdit

You may want to add at least a suitable Icon field, if you have one.
Edit $HOME/.local/share/applications/mimeapps.list

[Default Applications]
x-scheme-handler/mailto=thunderbird.desktop
message/rfc822=thunderbird.desktop
application/x-extension-eml=thunderbird.desktop
text/plain=myedit.desktop
Update the MIME database

update-mime-database ~/.local/share/mime

After that, double-clicking a plain text file in the Nautilus file manager should open a gnome-terminal and run nano on the file.


How to use the new feature of remote login in ubuntu 12.10?

The link by @mikewhatever is correct. But basically you have to use the Help Question Mark icon in the remote login box first to set up your remote link(s). This opens Firefox in a guest session but it takes you directly to the login (use your Ubuntu One credentials) after which you can set up the settings needed to RDP to another machine. When you're all done, log out and close Firefox. You'll then be taken back to the computer's login screen where you can choose the Remote Login, use your Ubuntu One credentials to log in, and this time you'll see the RDP client(s) you set up earlier. Log in to your chosen machine. After that, any Ubuntu 12.10 machine you use in this way will let you log in to any of the remote machines you set up earlier without having to log in to the local machine because the RDP settings are stored on Ubuntu's servers.


As always:

D O   A   BACKUP. At least of the sensitive data on the partition, you want to shrink. Neither I, nor geparted can be held responsible if you screw up.

Now to the procedure using gparted:

The picture is a little messy but don't get scared (you'll be moving with your partition to your auntie and uncle in Bel Air. Wait wat? XD). Just stick with this for a moment and follow the instructions below. Start looking at the image in the top right corner. Then follow the numbers in ascending order.

Here is a text version of the steps numbered as in the picture:

Install gparted / sudo apt-get install gparted
Start gparted

Select the disk in the upper right dropbox
Select the partition in the main list in the middle

If mounted: Unmount that partition using the contex menu (right click)

Click the resize button
A dialog will pop up
Resize
Click "Apply" after double checking your changes. That's it.

This will not work with all partitions. It can be more complicated for Mac partitions or logical volumes.


Procedure on how to install WU-NETA--025(A)

This usually works for that chipset

sudo apt-get install git
git clone https://github.com/porjo/mt7601.git
cd mt7601/src
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA/
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
sudo modprobe mt7601Usta

And it should work but after a kernel update the wireless might fail again, if that happens
cd mt7601/src
make clean
make
sudo make install
sudo modprobe mt7601Usta


How do I fix very slow/choppy experience with an ATI Radeon HD 5850 xtreme?

I Also have issues with slow gui and video on my ati athlon64 system the solution I have found to work best is to modify this file /etc/pulse/default.pa

find this line

load-module module-udev-detect

and replace it with this

load-module module-udev-detect tsched=0

Hope this helps


Limit to bash script execution time with interactivity?

nano has no no timeout, the only timeout so far is set on ssh and sftp login tries. so as login you not stop directly ate the point where you have to enter login credentials, you're save.


USB 3.0 USRP b210 stops working and lsusb freezes

The lsusb process cannot be killed, because it is in an uninterruptible sleep, probably waiting for a syscall that never returns, due to a kernel module (driver) bug. There is a good explanation of this here which gives a full answer (I can't take credit for it!)


I'm having a similar issue. The CPU usage increases over time and never goes back down. There is definitely an issue with plasmashell. The only way to deal with the issue is to run:

killall plasmashell; kstart plasmashell; exit

This will kill, restart plasmashell then exit the shell. If you don't exit the shell it will fill up with output from plasmashell.


Investigate. It could be related to physical damage, loose connection, corrosion, driver removal or substitution for a wrong, unsupportive or damaged one etc etc. It is hard to say. I think the most likely is that some hardware problem occured. Try to live boot different OS or build, work with drivers, try different devices... As with everything, try to investigate in that manner - beginning with easiest, accessible options (yet with some potential cause), ending with the hardest and the most work-requiring options.


Cookies are managed in

Preferences -> Privacy tab

Your description of the problems sounds unrelated to cookies though.


How safe is Ubuntu's Release Upgrade feature for user tweaks?

There is no way to predict the future or outcome of upgrades. In general, upgrades go fine, even with some customization, but "it depends" if such customization includes non standard repositories (ppa) or other third party repositories.

Generally you disable all ppa and third party repos before you upgrade.

Even with a standard install upgrades can fail due to any number of random factors.

Similarly there is no guarantee any of your settings will keep with an upgrade due to any number of system or package changes.

Back up your data and read the release notes before you upgrade.


Dual Boot: Ubuntu 12.04 and Windows8 Grub doesn't detect Windows and even Boot repair didn't work

This brought so much memory for me from the past which often happened to me.

The fix that worked for me: use your installation cd and start the system off from it.

Select the option from menu, "Rescue the broken system"

You will go through the cycle of series of questions which it would lead you to partition section.  When you arrive to that section, escape the process.  You then will see the menu and you should see "Install GRUB".

Re-install GRUB and be sure to install on your master HD (sda1)

Reboot

You will then see your GRUB back and it'll detect your dual OS between Win and Ubuntu.

EDIT:  Found this article for you: https://sites.google.com/site/easylinuxtipsproject/tips#TOC-Make-Windows-the-first-option-in-the-Grub-boot-menu


Apache 2.4.10 giving 403 Forbidden issue on Ubuntu 14.04

Try this solution
https://askubuntu.com/a/601722/392041
basically just replace
Order allow,deny
allow from all

with
Require all granted

You could find the reason for this here in this link http://httpd.apache.org/docs/2.4/howto/access.html

If you wish to restrict access to portions of your site based on the host address of your visitors, this is most easily done using mod_authz_host.
The Require provides a variety of different ways to allow or deny access to resources. In conjunction with the RequireAll, RequireAny, and RequireNone directives, these requirements may be combined in arbitrarily complex ways, to enforce whatever your access policy happens to be.
The Allow, Deny, and Order directives, provided by mod_access_compat, are deprecated and will go away in a future version. You should avoid using them, and avoid outdated tutorials recommending their use.


try installing VLC version 2.0 for Linux.
Also sometimes th gfx hardware model shown through Ubuntu's detection mechanism maybe a bit different but dont worry they're 100% compatible.

Reason being: your gx card model belongs to a series (in terms of the core chip thats on 54xx/45xx) such as 45xx gfx series and the exact model is 5145 etc.

So just dont worry about just straightway head over to Ubuntu's update. ALSO you can try installing the gfx driver by downloading it from ATI's website directly.

Cheers,
echo9