[SOLVED] BackInTime package questions

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

[SOLVED] BackInTime package questions

Post by matm »

Hello

I'm using LM20 Cinnamon:

Code: Select all

System:    Host: imperator Kernel: 5.4.0-52-generic x86_64 bits: 64 Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana
When I decided to use BackInTime to backup my home, I choose the only package I had, backintime-qt, as backintime-qt4 was marked as transitional.
What bothers me is that I don't have any icon in the toolbar, just plain text.

1. Can anyone confirm they have the same issue in BackInTime ?
2. Is there a hidden setting to enable them back ?
image_2020-11-08_211526.png
Thanks for your inputs.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

Check in synaptic, you should have backintime-common installed as well as backintime-qt.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

Re: BackInTime package questions

Post by matm »

Looks like so:
bit_syn.png
bit_syn.png (3.09 KiB) Viewed 1020 times
But if I run dpkg -L on both packages, I see very few picture files:

Code: Select all

➜ dpkg -L backintime-common backintime-qt | grep -E "\.(svg|png|jp*)"
/usr/share/icons/hicolor/16x16/actions/show-hidden.svg
/usr/share/icons/hicolor/22x22/actions/show-hidden.svg
/usr/share/icons/hicolor/24x24/actions/show-hidden.svg
/usr/share/icons/hicolor/32x32/actions/show-hidden.svg
/usr/share/icons/hicolor/48x48/actions/show-hidden.svg
/usr/share/icons/hicolor/scalable/actions/show-hidden.svg
If icons are not bundled elsewhere, I think there is a miss on the packaging.
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

Does backintime have an icon against it in the mint menu, if so just delete the entry on the panel and recreate it (right click on it in the menu and add to panel).

The icon used is defined by the .desktop file for backintime in usr/share/applications:

Code: Select all

[Desktop Entry]
Name=Back In Time
GenericName=Backup
Exec=backintime-qt4
Icon=document-save
Terminal=false
X-MultipleArgs=false
Type=Application
StartupNotify=true
Categories=Qt;KDE;GNOME;System;
Comment=Simple backup system
Comment[sl]=Enostaven sistem ustvarjanja varnostnih kopij
Keywords=automatic;snapshot;restore;rsync;
This is LM19.0, LM20.0 might use a different icon. Above defines the icon as document-save. That image file will live somewhere in usr/share/icons as a png or svg (or both).
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: BackInTime package questions

Post by MrEen »

Hi Andy,

I believe the issue here is the Toolbar of BackInTime is all in text. No icons there. As it appears to be a qt app, I wasn't going to install it to see if there's a setting for that.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: BackInTime package questions

Post by Larry78723 »

If installed from synaptic, backintime-common, backintime-qt and backintime-qt4 need to be installed in order to have a full graphical interface on LM20 Cinnamon.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

Apologies, misread earlier, was thinking panel not taskbar, this is what it should look like:
Screenshot from 2020-11-11 20-13-26.png
LM20 cinnamon with backintime-common and backintime-qt installed, backintime-qt4 not installed.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: BackInTime package questions

Post by MrEen »

The icons are part of the system theme as can be seen here: https://github.com/bit-team/backintime/ ... qt/icon.py

I'm wondering if the OP were to click on Vue (View) would a translation of "Show Icons in Toolbar" be available.

EDIT: I looked through the source code and it appears to not be an option. I'm now thinking the theme in use might be the cause of this.
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

MrEen wrote: Wed Nov 11, 2020 10:01 pm I'm wondering if the OP were to click on Vue (View) would a translation of "Show Icons in Toolbar" be available.
No. I went through all the menus and the only preferences relate to the snapshot settings, nothing on the visual appearance.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

Re: BackInTime package questions

Post by matm »

Actually, I got the icons when I launch the program with the "Back In Time (root)" shortcut.
image_2020-11-11_231737.png
image_2020-11-11_231737.png (13.58 KiB) Viewed 908 times
Icons are taken from available themes in /usr/share/themes
I don't know why it works as root and not as a user.
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

Try other icon themes to see if that is the cause of the problem.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

Re: BackInTime package questions

Post by matm »

OK,

I see that it turns around installed iconset (https://stackoverflow.com/questions/128 ... on-in-pyqt).

@AndyMH, Do you have a .icons folder ?

From SO answer, I tried

Code: Select all

python -i
# then typed
from PyQt5 import QtGui
for path in QtGui.QIcon.themeSearchPaths():
	print "%s => %s" % (path, QtGui.QIcon.themeName())
and got

Code: Select all

:/icons =>
I expected to get the default search path as the OP on SO. I may have an issue with Qt or python, since you got it right, and I doubt Linux Mint's team would have missed that.
It smells like a reinstall is coming...

BR,
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

Re: BackInTime package questions

Post by matm »

Issue is coming from my profile.
A clean profile under Cinnamon works nicely.
I need to find the culprit. Hunt has started !
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: BackInTime package questions

Post by AndyMH »

@AndyMH, Do you have a .icons folder ?
Bit late :oops: , but yes - just checked a bare LM20 install, .icons folder was there so must have been created by default. Also checked .local/share/icons - doesn't exist, so must have created that one myself at some point in the past. I use .local/share/icons for anything I want in home - no particular reason, just the way I've done it.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
matm
Level 1
Level 1
Posts: 49
Joined: Sun Apr 22, 2012 5:12 pm

Re: BackInTime package questions

Post by matm »

Solved by adding 'default' theme to the list in /usr/share/backintime/qt/icon.py
Main: Dell XPS15
Playground: Dell Optiplex 7010: Core i5-3475S ¤ 16GB RAM ¤ Intel HD ¤ SSD 80GB
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: [SOLVED] BackInTime package questions

Post by AndyMH »

Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Software & Applications”