LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Messed up the Gui of Qbittorent, maybe all QT apps (https://www.linuxquestions.org/questions/linux-software-2/messed-up-the-gui-of-qbittorent-maybe-all-qt-apps-4175734867/)

Frickymind 03-13-2024 08:10 AM

Messed up the Gui of Qbittorent, maybe all QT apps
 
I'm using Linux Mint 21.3 Cinnamon edition.

I had a problem with being unable to read text in the settings in an app called Cool Retro Term, it seemed like the fonts were white on a white background.

I thought it was a QT app, so I tried fixing it with QT5 Settings and Kvantum manager.

None of the settings seemed to have affected Cool Retro Term, but I've messed up the GUI of Qbittorrent, buttons are missing, clicking isn't aligned with the cursor, text disappears off the gui. I can't seem to reset it to how it was before using QT5 Settings and Kvantum manager. I haven't noticed the problem in any other apps, but I don't know if I have any other QT apps installed.

Is there any master QT file I can replace or delete to restore everything to default?

The forum won't let me attach screenshots, so here are links to what I'm seeing:

Qbittorrent:
https://ibb.co/yqbRB3X

Cool Retro Term:
https://ibb.co/C0kkhsV

Thanks!

business_kid 03-13-2024 08:22 AM

Have you tried reinstalling the packages & restoring default settings. The settings might be in /home/you/.config/, or /home/you/.program_name

Use ls -a to spot hidden files in ~/

Frickymind 03-14-2024 07:58 AM

Quote:

Originally Posted by business_kid (Post 6489454)
Have you tried reinstalling the packages & restoring default settings. The settings might be in /home/you/.config/, or /home/you/.program_name

Use ls -a to spot hidden files in ~/

Thanks for the reply. I've tried reinstalling Cool Retro Term, but it didn't help. I was hoping to avoid reinstalling Qbittorrent, but maybe it's the only option.

business_kid 03-14-2024 08:22 AM

I really think the problem is in your personal configuration in /home/you. Can you log in as another user? Make one if necessary - you can delete him later. If you are back to default settings, it's just a question of swapping the config files. Remember usermod & userdel allow you do what you want with users.

Frickymind 03-15-2024 07:09 AM

Quote:

Originally Posted by business_kid (Post 6489675)
I really think the problem is in your personal configuration in /home/you. Can you log in as another user? Make one if necessary - you can delete him later. If you are back to default settings, it's just a question of swapping the config files. Remember usermod & userdel allow you do what you want with users.

Hi I've uninstalled and reinstalled Qbittorrent and created a new user, and the problem is still there. Do you have any other advice?

Frickymind 03-15-2024 07:22 AM

Quote:

Originally Posted by business_kid (Post 6489675)
I really think the problem is in your personal configuration in /home/you. Can you log in as another user? Make one if necessary - you can delete him later. If you are back to default settings, it's just a question of swapping the config files. Remember usermod & userdel allow you do what you want with users.

Addition: I've just installed the appimage and it has the same problem. Weird.

teckk 03-15-2024 01:18 PM

Qt programs will have config files in:
~/.config/program_name/name.conf
And
~/.local/share/program_name/dirs

Look there. Change the .conf files. Or just delete them. They will remake the first time you launch the program. Of course all of the settings will be back to default.

business_kid 03-15-2024 01:22 PM

Quote:

Originally Posted by Frickymind (Post 6489871)
Addition: I've just installed the appimage and it has the same problem. Weird.

I solved this for you already. READ, then act on post #4. You obviously haven't done so yet. The AppImage will use the same config files in ~/.

Frickymind 03-16-2024 11:09 AM

Quote:

Originally Posted by business_kid (Post 6489951)
I solved this for you already. READ, then act on post #4. You obviously haven't done so yet. The AppImage will use the same config files in ~/.

Hi Businesskid, when I uninstalled Qbittorrent I also deleted all the config files, forgot to mention that part in my reply. I've given up trying to fix it and installed the flatpack. Thanks for the help anyway.

Frickymind 03-16-2024 11:10 AM

Quote:

Originally Posted by teckk (Post 6489949)
Qt programs will have config files in:
~/.config/program_name/name.conf
And
~/.local/share/program_name/dirs

Look there. Change the .conf files. Or just delete them. They will remake the first time you launch the program. Of course all of the settings will be back to default.

Thanks Teckk, already tried that.

business_kid 03-16-2024 01:09 PM

Quote:

Originally Posted by Frickymind (Post 6490092)
Hi Businesskid, when I uninstalled Qbittorrent I also deleted all the config files, forgot to mention that part in my reply. I've given up trying to fix it and installed the flatpack. Thanks for the help anyway.

Did you try it as another user? That will start with defaults. DON'T FIX IT! Don't reconfigure the new user.

Frickymind 03-16-2024 02:52 PM

Quote:

Originally Posted by business_kid (Post 6490108)
Did you try it as another user? That will start with defaults. DON'T FIX IT! Don't reconfigure the new user.

Hi, yes I created a new user.
I have also gone through home and root and removed every single Qbittorrent file apart from icons.

I've also purged Qt5ct, and Kvantum manager,along with any associated files.

I then removed a bunch of Qt5 files using:sudo apt-get purge qt5*

And the problem is still there! Although, Cool-Retro-Term is now fixed.

Also, new appimage downloads of Qbittorrent don't have the issue any more, so that's progress, but the scale of the appimage qui is far too small to be usable.

This has happened to me before with Qbittorrent, and I don't think I got it fixed until reinstalling Mint. It's really bizarre, I have no idea what caused it.


All times are GMT -5. The time now is 12:54 AM.