BackInTime package questions

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
matm
Level 1
Level 1
Posts: 25
Joined: Sun Apr 22, 2012 5:12 pm

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.
Cooler Master Sileo 500 ¤ Corsair TX - 650 ¤ Asus P7P55 ¤ Core i5-750 ¤ 2x4GB G-Skill RipJaws-X ¤ Sapphire VaporX ATI HD5850 ¤ SSD Samsung 830 128GB + Evo840 256GB
User avatar
AndyMH
Level 14
Level 14
Posts: 5012
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.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
matm
Level 1
Level 1
Posts: 25
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 299 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.
Cooler Master Sileo 500 ¤ Corsair TX - 650 ¤ Asus P7P55 ¤ Core i5-750 ¤ 2x4GB G-Skill RipJaws-X ¤ Sapphire VaporX ATI HD5850 ¤ SSD Samsung 830 128GB + Evo840 256GB
User avatar
AndyMH
Level 14
Level 14
Posts: 5012
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).
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
MrEen
Level 22
Level 22
Posts: 15169
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 10
Level 10
Posts: 3041
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
User avatar
AndyMH
Level 14
Level 14
Posts: 5012
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.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
MrEen
Level 22
Level 22
Posts: 15169
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 14
Level 14
Posts: 5012
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.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
matm
Level 1
Level 1
Posts: 25
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 187 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.
Cooler Master Sileo 500 ¤ Corsair TX - 650 ¤ Asus P7P55 ¤ Core i5-750 ¤ 2x4GB G-Skill RipJaws-X ¤ Sapphire VaporX ATI HD5850 ¤ SSD Samsung 830 128GB + Evo840 256GB
User avatar
AndyMH
Level 14
Level 14
Posts: 5012
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.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
matm
Level 1
Level 1
Posts: 25
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,
Cooler Master Sileo 500 ¤ Corsair TX - 650 ¤ Asus P7P55 ¤ Core i5-750 ¤ 2x4GB G-Skill RipJaws-X ¤ Sapphire VaporX ATI HD5850 ¤ SSD Samsung 830 128GB + Evo840 256GB
User avatar
matm
Level 1
Level 1
Posts: 25
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 !
Cooler Master Sileo 500 ¤ Corsair TX - 650 ¤ Asus P7P55 ¤ Core i5-750 ¤ 2x4GB G-Skill RipJaws-X ¤ Sapphire VaporX ATI HD5850 ¤ SSD Samsung 830 128GB + Evo840 256GB
User avatar
AndyMH
Level 14
Level 14
Posts: 5012
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.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
Post Reply

Return to “Software & Applications”