problem taking 45 secs or longer to launch a program (e.g., OpenOffice, qpdfview, gedit, etc.)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using AOO for over 12 years now and I like it. It has problems but I've developed/discovered work arounds that are good.
I think it needs to be updated, but the automatic updates are broken. I'm concerned that if I update with a tar.gz file, my customization's will be lost.
For now, I have much higher priority tasks to attend to.
For a few hours after booting, programs launched normally. After that, launches were slow. I tried to capture an htop screen when I launched Firefox and one is attached.
I was wondering about snaps too - some oddly important config files running from snapd directories - that is one reason I moved from Ubuntu to Debian because snap versions of the software were taking much longer to start up (even on fairly cutting edge hardware).
The only record (my records) I have of anything to do with gnome-shell is that I installed:
Probably something requested when the chrome browser was installed.
So you aren't even running gnome? Well then the solution would seem very clear to me... uninstall gnome-shell. Because that's what's eating your CPU. Also uninstall snap/snapd while you're at it.
sudo chmod -x /etc/systemd/journald.conf
sudo chmod -x /etc/systemd/system.conf
sudo chmod -x /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
sudo chmod -x /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
# --------------------------------- verify
ls -l /etc/systemd/journald.conf
ls -l /etc/systemd/system.conf
ls -l /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
ls -l /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
It didn't seem to do any good. But then, I found I couldn't print at all! I would get either no message (AOO) or this cryptic error message (qpdfview), see attached ("Print err msg 2019-09-07.png").
So then, I undid the changes:
Code:
sudo chmod +x /etc/systemd/journald.conf
sudo chmod +x /etc/systemd/system.conf
sudo chmod +x /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
sudo chmod +x /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
# --------------------------------- verify
ls -l /etc/systemd/journald.conf
ls -l /etc/systemd/system.conf
ls -l /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
ls -l /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
It had no effect even after a reboot.
Based on your message:
Code:
sudo apt-get purge gnome
sudo apt-get autoremove
I can print again! I had to go into CUPS (which now responds much, much faster) and make the printer the default (I don't know why I had to do that). I still can't select paper size or select the MP slot, but I have a work around for those.
I'll have to wait awhile to find out if there will be a slow down.
Alas, I am back where I started: CUPS is slow again, printing is slow again and launching programs is slow again. It worked great for awhile, but after some time, it all slows down again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.