Quantcast
Channel: Ubuntu Forums
Viewing all 82528 articles
Browse latest View live

Flash issue on lubuntu / FF and Chrome / Acer Aspire 5750

$
0
0
(sorry if this is the wrong place to post, but I can't seem to find a way to post on the lubuntu forum proper)

dennis@dennis-Aspire-5750:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

Flash was working, not anymore. Not sure why. I updated it successfully once by moving the libflashplayer.so to the proper path.... but now it's broken in both FF and Chrominum. Tried downloading PepperFlashplayer but it has been deprecated for 32-bit.

Kinda stuck, and have too much invested in this installation to do a fresh install.

How to Use the find Command with the -size Test: An Explanation

$
0
0
This thread is meant for those who are not quite familiar with the -size test of the find command, but still have some basic familiarity with how the find command works. The -size test of the find command can be deceptively simple. In its simplest form, the -size test with the find command, when typed, should look something like this:

Code:

find name_of_directory_that_will_be_searched -size (+/-)file_size
The first thing to keep in mind is that find will round up file sizes, though not always, as we shall see, before looking for any matching files or directories.
The other thing to keep in mind is that the rounding takes place in the unit specified by the find command.

Let's look at an example.

Suppose we have a directory with the following file sizes:

Code:

-rw-r--r-- 1 mason mason  26K May 27  2013 file1.txt
-rw-r--r-- 1 mason mason 1.3M Sep 20  2013 file2.txt
-rw-r--r-- 1 mason mason 155K Oct 28 20:33 file3.txt
-rw-r--r-- 1 mason mason 245K Nov 27  2016 file4.txt
-rw-r--r-- 1 mason mason 1.9M Jun 14  2014 file5.txt

If we were to type:

Code:

cd Documents
find . -size -2G

into a terminal, the find command would return the following results:

Code:

./file1.txt
./file2.txt
./file3.txt
./file4.txt
./file5.txt

which is what we would expect. Since we specifically asked find to give us files that were less than 2GB in size, hence the negative sign before 2G in the command above, find outputs files that are less than 2GB. Before we provide another example, we need to understand by how much the file sizes get rounded up to, before find searches for any matching files or directories. In the example above, since the rounding takes place in the unit specified by the find command, in this case -2G, or gigabytes, file1.txt, file2.txt, file3.txt, file4.txt, and file5.txt get rounded up to 1GB, 1GB, 1GB, 1GB, and 1GB, respectively, and since all of those files, after rounding, are less than 2GB, find outputs all 5 of them.

Let's try another example.
Let's do the same thing, but with a smaller unit this time.
Let's type:

Code:

find . -size -2M
If we were to type the above command into the terminal, we would get:

Code:

./file1.txt
./file3.txt
./file4.txt

Why, though? Didn't we specifically ask find to give us files that were less than 2GB? Not quite. The reason has to do with how file sizes are rounded up to. Before getting processed by the find command in our second example, file1.txt, file2.txt, file3.txt, file4.txt, and file5.txt get rounded up to 1MB, 2MB, 1MB, 1MB, and 2MB, and since we just told the find command to search for files that are less than 2MB in size (after rounding), hence the negative sign before 2G, find will only output three files: file1.txt, file3.txt, and file4.txt. OK, but, technically, file2.txt and file5.txt are less than 2MB, so how do we get the find command to search for files that are less than 2MB? One way to accomplish such a task, is through the use of the logical operator -or or -o for short. If we were to type:

Code:

find . -size -2M -o -size 2M
find would output all files that are less than 2MB: file1.txt, file2.txt, file3.txt, file4.txt, and file5.txt. By adding the test "-o -size 2M", which is meant to mean: "search also for files that are equal to 2MB" (after rounding), file2.txt as well as file5.txt end up in the output.

Let's give one last example.
Suppose we were to type:

Code:

find . -size -200k
If we were to type the above command, find would give us two results: file1.txt and file3.txt. Since the unit of the find command is in kilobytes, and since the rounding is supposed to take place in the specified unit of the find command, and since the file sizes that in are in kilobytes in our directory don't have any decimal places: file1.txt and file3.txt are left intact and are not rounded up before getting processed by the find command, which means that find sees file1.txt as a 26KB file and file3.txt as a 155KB file. file4.txt is also left intact, since the rounding is in kilobytes and since the file doesn't have any decimal places. As for file2.txt and file5.txt, something interesting happens. Even though both files have decimal places, they do not get rounded up, since the rounding takes place in kilobytes and both files are in megabytes. Consequently, find sees file2.txt as a 1.3MB file and file5.txt as a 1.9MB file, and since we specifically asked for files that are less than 200KB (after rounding), both files don't show up in the output.

Special use case:

Typing:

Code:

find . -size -1k/M/G
with any unit, will always match empty files. The reason is that as soon as a file is 1 byte large, the file gets rounded up to the specified unit of the find command, either k, M, or G. The only way for that not to happen is for the file to be empty. So a 1 byte file will get rounded up to a 1KB file if we were to type:

Code:

find . -size -1k
Note to everybody else: Please feel free to correct any part of my post if you feel I've made a mistake.
Keep in mind that this is not a man page.

Black Screen after installing Nvidia 340 driver on Mac

$
0
0
hi there!

I have Ubuntu 16.04 installed on a MacBook 13 2010 with an Nvidia 320m GPU. It's working fine with the nouveau drivers but if I want to do some gaming it requires the update from Nvidia. I've done it by downloading the recommended drivers from the website, and by the Additional Drivers app also and I get the same result......black screen after reboot and no login screen. I've seen some post about secure boot and other stuff but I haven't seen anything regarding the setup I have. Can somebody help? Anyone with a Mac that know how to get it working.

How to stop airplane mode turning on after boot. 17.10

$
0
0
Hello, does anyone know how to stop my HP laptop from always being in airplane mode when I turn it on.? I do not want to have to keep disabling it every time I boot up.

Cheers.

How to get programs into Docky in 17.10.

$
0
0
Hello, does anyone know to get program icons or frequently used files into Docky.? With 16.04 I was able to just click the ubuntu icon up the top of the unity bar and find the program I want and drag it to Docky. With 17.10 there seems to be no way to do it at all. Any help would be much appreciated.

Cheers.

Re: testing unity-session in 17.04/nautilus ppa

$
0
0
Not sure if I should report it here (or anything to be report?)

It is 17.04 but I am pretty sure this is true for 18.04 (I will make a test install of 18.04 when the daily iso comes out. I am still in the process of discovering bugs in 17.04) The package indicator-application needed for unity is in conflict with gnome shell. e.g skype doesn't show up in gnome shell's panel if this is installed, click close it just disappears and run in the background. But if remove it skype no longer shows up in Unity's panel so it has to be installed. https://askubuntu.com/questions/9669...o-ubuntu-17-10

Strictly speaking though the conflict may not be with gnome shell per se (but some of Ubuntu's modification) since the great idea of gnome's devs is to remove the icon tray and let applications like skype run in the background so users have no way to know they are running unless someone calls (:o) . it is (yet another anti-user) feature of genome but not a bug http://www.omgubuntu.co.uk/2017/09/w...me-legacy-tray.

Ubuntu 16.04.3 not booted up after installation from USB Ubuntu bootable drive

$
0
0
I was told by someone from Ubuntu Forums, I should forward my questions to above email.

Hi,

I am new in Ubuntu forums.
When I finished running boot-repair and I uploaded the log file to
pasetbin (http://paste.ubuntu.com/25869676/)
Even though I successfully get all commands executed and completed I still cannot boot Ubuntu 16.04.03 from SSD ( instead, I stopped at Grub prompt)
To describe what I did before hitting the problem I also added text to the uploaded RESULTS.TXT (http://paste.ubuntu.com/25870198/)

However, when I log back to forums account again, I only can see the later posted pastebin (25870198)
I am wondering how I check if I get analyzed answer?
Can helpers read both tickets all together?

Let me know what I should do to construct a good question with sufficient detail/information.

boot-repair log files and steps I did attached. If you need more information please let me know.

Thanks for your patience!


-Roger





1. Ran MBR2GPT to convert Windows 10 file format
2. Make Bootable Ubuntu 16.04.3 into a USB drive
3. Boot Ubuntu from the USB drive
4. Choose "somewhere else" to define four partitions on a newly installed Samsung NVme SSD drive. ("boot" with EFI, "/" with ext4 "/home" with ext4 and swap)
5. From boot options menu, tried to boot from the Ubuntu/SSD
but stopped at "Grub>"

6. Ran boot-repair by following three commands:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Repairing went smoothly and no error found.

7. tried to boot Ubuntu from SSD again, still stuck at "grub" prompt.

[kubuntu] Pulseaudio server refuses to connect

$
0
0
Dear all, I'm running kubuntu 17.10 and after ~4 days after clean installation of this system, pulseaudio server crashes and refuses to connect (obviously, daemon startup failed). It should be noted that I had same problem, when I was running ubuntu 17.04 with KDE 5.

I've tried the next sequence of steps:
1) purge and reinstall pulseaudio, pavucontrol-qt, plasma-pa, pulseaudio modules (bluetooth, gconf)
2) reboot
3) alsa force-reload
4) launch pavucontrol-qt
Everything worked until next reboot.

What am I doing wrong?

I've tried to run pulseaudio --check, but it gave me nothing

Then
ps auxw | grep pulse
Gives me
andrew 9218 0.0 0.0 15836 1176 pts/1 S+ 08:20 0:00 grep --color=auto pulse

Any thoughts?

libapache2-mod-php5

$
0
0
Hi,
i am trying to install postgresql module in Ubuntu 12.04 version. During the installation, it showing a message that this module will be removed 'libapache2-mod-php5' , whether it creates any error after removing this module.
Can anybody help me .?

[SOLVED] Howto: Logitech Marble Mouse

$
0
0
I usually use the instructions here to get the scrollwheel working but with Kubuntu 17.10 they don't work:

https://help.ubuntu.com/community/Lo...arblemouse_USB

The solution I found was this:

sudo nano /usr/share/X11/xorg.conf.d/10-libinput.conf

and add:

Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "8"
Option "MiddleEmulation" "on"
EndSection

If that doesn't work, then try this:

sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf

Add:

Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "8"
Option "XAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
EndSection

In either case, change 8 to 9 if you want to use the right button to activate scroll on this line: Option "EmulateWheelButton" "8"

backup my mails

$
0
0
Hello everyone.
Have been using Evolution for quite a time. facing a heap of bugs every other day. I use mail Backup X in my Mac which runs impressively. Looking up for a tool in ubuntu that matches my expectation. any suggestions please?

Neutron Networking is Not Properly Configuring by Conjure-Up

$
0
0
Hi All,

I am creating the Openstack Private Cloud using MAAS, Juju on Ubuntu 16.04.03.

I Created two Setups before using Ubuntu Autopilot , that was successful. Autopilot automatically detected the networks( private & public ) from neutron node and successfully allocated floating ips from public networks.

But now canonical removed "landscape" spell from conjure-up ( I am not able to see "landscape" spell ). So I am deploying using "conjure-up openstack" with NovaKVM. But this time it's not detecting the networks from neutron gateway which is having two networks connected( one for private and another for public) . It's creating it's own network ( some 10.x for private and public ) which we did not have.

Could you anyone gone through the same issue ?

Where to edit the networks ( which is really we have in our neutron gateway node )?

Thanks

Low Resolution After Power Outage - Ubuntu Mate 17.04

$
0
0
So the power went out at my house and my laptop shut down because the battery in it is no longer functioning. After starting my computer up when the power came back on, my resolution is low and I cannot switch it back. I'm stuck at 1024x768 instead of the 1600x900 it always runs at. Everything is fine if I boot into Windows but in Ubuntu Mate I can't change the resolution.

EDIT: The computer is a Lenovo T420 with Intel HD3000 graphics.

Here's my output of xrandr

Code:

greg@greg-pc:~$ xrandrxrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
  1024x768      76.00*
  1600x900_60.00 (0x28f) 118.250MHz -HSync +VSync
        h: width  1600 start 1696 end 1856 total 2112 skew    0 clock  55.99KHz
        v: height  900 start  903 end  908 total  934          clock  59.95Hz



And here's cvt 1600 900

Code:

greg@greg-pc:~$ cvt 1600 900
# 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync

Problem installing Gaussian16 on Ubuntu 10.04

$
0
0
Hello,

i tried to upgrade our server with Gaussian09. From my predecessor, i received a tutorial to install Gaussian09 which caused some minor problems which are described and solved in this older thread: https://ubuntuforums.org/showthread.php?t=1551193

I did all the steps described in the older thread, yet when i try to compile the program by running /bsd/bldg16 >&make.log the task runs for about 30 seconds and then "finishes". The make.log file looks good for the first ~1000 lines, but then it starts posting "./gau-machine: Command not found." and "./gau-hname: Command not found" over and over again, although these files are definitely present in BOTH the ./g16 and the ./g16/bsd folder. I can also run both files manually, giving out "amd64" correctly. Can anybody help me with this problem? It's getting really frustrating =(

Switching from Ubuntu to Kali?

$
0
0
I have two USB sticks at my side, and my computer is capable of booting from the USB. I'm looking to permanently switch my OS from Ubuntu 17.04 to Kali Linux. How would I go about this? (step by step?)

OpenElec

$
0
0
Hi all
As part of my project to make a mulltmedia laptop, has anyone had experience of Open Elec and if anygood, how do you install onto Ubuntu

[ubuntu] Login Screen Half of Screen Illegible

$
0
0
Hi. I have just upgraded to Ubuntu 17.10 on my Acer Aspire One netbook.
(Memory: 986.7 MiB, Processor: Intel Atom CPU N270 @ 1.60 Ghz x2, Graphics: Unknown, Gnome: 3.26.1, OS Type: 32 Bit, Disk: 156.3 Gb)
The problem: The computer boots normally, but when it finishes loading and the Login screen appears it is cut in half by pixilated garbage. Putting the computer in sleep mode by pressing the power button and waiting a few seconds, then waking the computer up by pressing the power button removes the pixilated garbage and allows the user to login normally - all screens are normal after this "sleep reboot."
How can I get the computer to boot normally and display the login screen on the first bootup?
See attached pic.
Thanks!
Attached Images

Unable to access 9.0TB Volume - failed: Structure needs cleaning

$
0
0
Hey guys,

Ive got a bit of a drama and need some serious advice after trying to save my RAID5 array for the last 5 days.

Ive had a mdadm RAID5 array running for nearly a year with 3x3TB hard drives. Giving me 6TB of usable space. I was running out of space so i purchased another hard drive which arrived 6 days ago. After adding the drive and booting up, i started the process of adding the drive to the array. That part seemed to run fine, with mdadm showing 4 drives active and synced etc. However, I noticed the free space hadnt increased, it had just spread the 6TB over 4 drives now instead, which i think is normally what happens until you specify to resize the new volume.

Now I cant remember exactly what I did at this point but it involved pvresize and another command. Somewhere here everything went to crap.

I couldnt get access to my volume at this point. I think it assembles fine, but everytime i click the 9TB volume in nautilus im shown the "error mounting /dev/md0 at........... failed: Structure needs cleaning"

Naturally I googled that error and began an e2fsck of /dev/md0. It has been going for 4 or 5 days. I can see it still actually running and cloning a bunch of inodes or something at Pass 1D. But there are hundreds and sometimes i come back and it says a different amount at the Pass 1D section, meaning that its finished and done another scan while im away and got to that point again and found more inode multiply-claimed block errors or something. Seems like it might be going round and round.

I have stopped the e2fsck for now and done a few mdadm --examine --scan commands and the ouput shows "no RAID superblock on /dev/sd[bcde]1 with the line under each stating /dev/sdb1 is busy - skipping etc.

Im not sure where to go from here and could seriously use some advice.

System details are as follows:
Ubuntu 16.04 LTS
AMD FX-6300
8GB RAM
/dev/sda1+5 Samsung 120GB SSD (operating system)
/dev/sdb1 3TB WD Green ext4 (md0 RAID5 member)
/dev/sdc1 3TB WD Red ext4 (md0 RAID5 member)
/dev/sdd1 3TB WD Red ext4 (md0 RAID5 member)
/dev/sde1 3TB WD Red ext4 (md0 RAID5 member)
/dev/sdf1 2TB Seagate (Old backup drive)

Cheers,

Trouble with Lubuntu and Jack (with Catia)

$
0
0
Hello everyone!

I am currently trying to route audio from Catia (I installed all of kxstudios repository) and I cannot get alsa to output sound with jack running at a sample rate of 96000hz. The only two sample rates that work in jack are 44100hz and 48000hz, although 48000hz seems to have artifacts in the audio (glassy sounds). Is there any way to force alsa to use 96000hz? I can get and meter audio from jack and Catia, but this audio won't send to playback (and I figure alsa is what is being used for jack to communicate with my hardware).

Help with new laptop configure

$
0
0
Hello forumland... I'm looking for suggestions and guidance for a green noob, but teachable. After switching to a dual boot, Ubuntu 16.04 LTS/Win10, I'm now sold on the brilliance of Ubuntu. Here's the scenario...purchased new laptop with win10 installed as oem. I want to scrub the SSD and do a fresh install of 17.10, and update it to 18.04 LTS when the final version is ready. I'm leaning on running virtualbox, or VMWare in a separate partition, to access another OS (yet to be determined). Having never installed Ubuntu or a secondary OS, how do I download drivers for the new laptop? Aside from the hardware drivers...sound, wifi, ect, I also want to keep the touch screen and scrolling capabilities (which is not present in the 16.04LTS that's installed along side of Win10. I'll create a bootable Win10 usb in case I ever need to return to Win (don't know why). I've created a bootable 17.10 usb for the upcoming project. (will this erase all data an the SSD, or write over it?) I'd prefer to have it all zero'd out. I noticed that there are many partitions on the Ubuntu side of my current drive. Does the Ubuntu install partition separate packages by default? My goal is to really 'lock down' the computer for paranoid mode, making it spy and hack proof from a twisted sister (who has the resources in her palm). I've been good at using the repository and terminal for all downloads. The one exception has been my VPN client. The new laptop is running an i7 7th gen cpu on a ddr4 motherboard. All bells and whistles are functioning as new. Any comments or suggestions are reuested, and will engage as needed. Till then....
Viewing all 82528 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>