Re: [lubuntu-users] Activating a swap partition
On Sun, 25 Nov 2018 at 22:16, Ian Bruntlett wrote: > > Hi Liam, > > On Sun, 25 Nov 2018 at 20:59, Liam Proven wrote: >> >> FWIW, it takes up to 2GB... >> >> http://www.toshiba.co.uk/discontinued-products/toshiba-nb250-107/ >> >> ... and you can probably pick up a 2GB SO-DIMM for peanuts. E.g. £1.50 from >> CEX: >> >> https://uk.webuy.com/search?stext=2gb%20ddr3 > > > I had a dig around and found a 2GiB SO-DIMM, fitted it this evening - and ran > memtest86+ with no errors. Great stuff! I have upgraded a couple of old netbooks this way. They were usually not very fussy about RAM, as the Atom was quite a low-performance CPU and the chipset is similarly not high-end. E.g. no RAM interleaving or anything. > Did some testing of LibreOffice. Basically, it is a Java problem. If I go to > Tools -> Advanced in, say, LibreOffice Calc, I can disable the use of a JDK > and once that it set, LibreOffice Writer starts working again. Some bits of LO and OpenOffice before it were written in Java. Not much -- e.g. some import/export filters. You could install a JVM -- the FOSS IcedTea runtime is in the Ubuntu repos. It won't take a lot of space and will enable a few more things to work. I use some Java text editors myself, for instance. I think if you do: sudo apt install icedtea-web ... that should pull in the current IcedTea JVM. Then you can check with: java -version ... at a shell prompt. > Thanks for the CEX tip. Looked at the website and it was very interesting. I've sold quite a lot of old kit to CEX over the years: many old mobile phones, routers, stuff like that. I took payment in vouchers and it enabled me to max out the RAM on a few computers, put a max-capacity MMC card in my smartphone, buy original copy of Mac OS X 10.6 Snow Leopard which I ran both on a real Mac mini and on a Hackintosh I built, and finally contributed towards an old iPad 2 for my mum, which she liked a lot. Later I got her an iPad 3 from them, and the iPad 2 went to a family friend who's still using it some years later. They're a very useful company. There are a few international branches, too. Disclaimer -- the 3 co-founders were personal friends of mine, and I worked there for all of a week in about 1996. But sadly they 2 co-owners are both dead now, and I have no connection at all with the company any more. The third, Charlie Brooker, who did all their original branding, advertising and so on, is now a famous TV writer (Black Mirror, etc.) and no longer associates with his old mates at all. :-( -- Liam Proven - Profile: https://about.me/liamproven Email: lpro...@cix.co.uk - Google Mail/Hangouts/Plus: lpro...@gmail.com Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] Activating a swap partition
Hi Liam, On Sun, 25 Nov 2018 at 20:59, Liam Proven wrote: > FWIW, it takes up to 2GB... > > http://www.toshiba.co.uk/discontinued-products/toshiba-nb250-107/ > > ... and you can probably pick up a 2GB SO-DIMM for peanuts. E.g. £1.50 > from CEX: > > https://uk.webuy.com/search?stext=2gb%20ddr3 > I had a dig around and found a 2GiB SO-DIMM, fitted it this evening - and ran memtest86+ with no errors. Did some testing of LibreOffice. Basically, it is a Java problem. If I go to Tools -> Advanced in, say, LibreOffice Calc, I can disable the use of a JDK and once that it set, LibreOffice Writer starts working again. Thanks for the CEX tip. Looked at the website and it was very interesting. BW, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] Activating a swap partition
On Sat, 24 Nov 2018 at 19:49, Ian Bruntlett wrote: > > Hi, > > On behalf of the Computer Wombling Project I am refurbishing a donated > Toshiba NB250-107 netbook. It has a 64-bit CPU and 1GiB RAM. Because of that > I installed 32-bit Lubuntu 18.04.1. Whenever I try to open a (small) document > with LibreOffice Writer, the hard drive whirs a bit, some of the LibreOffice > window appears... and then LibreOffice closes. > > I think it is running out of memory. FWIW, it takes up to 2GB... http://www.toshiba.co.uk/discontinued-products/toshiba-nb250-107/ ... and you can probably pick up a 2GB SO-DIMM for peanuts. E.g. £1.50 from CEX: https://uk.webuy.com/search?stext=2gb%20ddr3 That would likely transform the performance and usability for the cost of a half a pint. :-) > I've put a 2GiB partition on the hard drive It might be worth investigating zswap so that it swaps compressed data to the hard disk. It helps both efficiency and performance. -- Liam Proven - Profile: https://about.me/liamproven Email: lpro...@cix.co.uk - Google Mail/Hangouts/Plus: lpro...@gmail.com Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] Activating a swap partition
FIXED! >From : https://askubuntu.com/questions/927859/libreoffice-writer-crashes-on-start I got this advice: *First, start Libreoffice, click on Tools, click on options and under Libreoffice section click on Advanced. Deselect "Use a Java runtime environment"* and problem solved. BTW, I am running 32-bit lubuntu on a 64-bit system (Toshiba NB250-107 Netbook), due to lack of memory (only 1GiB). I think the problem might be due to the use of a 32-bit system. Maybe the 32-bit Java Runtime Environment is buggy? Because I can run LO Writer fine on a ThinkPad T420 (64 bit CPU, 64-bit Ubuntu). HTH, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] Activating a swap partition
On 11/24/18 11:49 AM, Ian Bruntlett wrote: Hi, On behalf of the Computer Wombling Project I am refurbishing a donated Toshiba NB250-107 netbook. It has a 64-bit CPU and 1GiB RAM. Because of that I installed 32-bit Lubuntu 18.04.1. Whenever I try to open a (small) document with LibreOffice Writer, the hard drive whirs a bit, some of the LibreOffice window appears... and then LibreOffice closes. I think it is running out of memory. I've put a 2GiB partition on the hard drive but that does not seem to be used. Here is the output of the swapon --summary command:- Filename Type Size Used Priority /dev/sda1 partition 1998844 0 -2 Thanks :) Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software That problem sounds like what I encountered. When I submitted the bug-report, here is the reply I got, which turned out to be the solution work-around: That's very likely a duplicate of bug #1699772. To confirm this, can you run the following command in a terminal: sed -i '/enabled/c\false<\/enabled>' ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml Then execute libreoffice writer and let me know if the crash is still happening? Thanks! [For the record, that command disables the JRE (Java Runtime Environment) in libreoffice, which is known to cause crashes on 32bits processors. Some functions of libreoffice won't work without Java (the most visible probably being libreoffice base), but most of the office suite should work just fine.] ** Changed in: libreoffice (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1804134 Title: LibreOffice Writer Won't Run on Pentium-4 32-bit Computer Status in libreoffice package in Ubuntu: Incomplete Bug description: On a Dell GX-270 (Intel 32-bit) computer running Lubuntu 18.04, I can run LibreOffice, but when I select LibreOffice Writer the LibreOffice window disappears, and nothing happens, as if the application just terminated normally, without doing anything. An AppPort window reporting an error appeared, but when I clicked its "Send" button, the window disappeared without doing anything. If I run LibreOffice Writer directly from the menu, I get a frame of its window (with nothing filled-in inside), which persists for awhile, and then disappears. In either case, no error message appears, and nothing further happens. LibreOffice Calc, on the other hand, appears to run, though I haven't tried any spreadsheet using it. I expected LibreOffice Writer to initialize, and then use it for editing documents (as it did on Lubuntu 16.04), but the LibreOffice Writer window disappeared. The same problem occurred on a Dell GX-260 computer. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libreoffice-writer 1:6.0.6-0ubuntu0.18.04.1 ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18 Uname: Linux 4.15.0-36-generic i686 ApportVersion: 2.20.9-0ubuntu7.4 Architecture: i386 CurrentDesktop: LXDE Date: Mon Nov 19 21:48:52 2018 InstallationDate: Installed on 2018-06-24 (148 days ago) InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release i386 (20180426) SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1804134/+subscriptions -- Sincerely, Aere -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] Activating a swap partition
P.S. I have since found https://help.ubuntu.com/community/SwapFaq I checked /etc/fstab and the swap partition was listed in it. I ran this command: sudo swapon --all --verbose And got the output: swapon: /dev/sda1 already active - ignored HTH, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
[lubuntu-users] Activating a swap partition
Hi, On behalf of the Computer Wombling Project I am refurbishing a donated Toshiba NB250-107 netbook. It has a 64-bit CPU and 1GiB RAM. Because of that I installed 32-bit Lubuntu 18.04.1. Whenever I try to open a (small) document with LibreOffice Writer, the hard drive whirs a bit, some of the LibreOffice window appears... and then LibreOffice closes. I think it is running out of memory. I've put a 2GiB partition on the hard drive but that does not seem to be used. Here is the output of the swapon --summary command:- FilenameTypeSizeUsedPriority /dev/sda1 partition19988440-2 Thanks :) Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users