Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade? #35

Open
gijsbers opened this issue Sep 15, 2017 · 5 comments
Open

upgrade? #35

gijsbers opened this issue Sep 15, 2017 · 5 comments
Labels

Comments

@gijsbers
Copy link

Is there a way to convert a tint2 config to a tint3 config?

@jmc-88
Copy link
Owner

jmc-88 commented Sep 15, 2017

Not really: the idea is that it should be backwards compatible, so there should be absolutely nothing to do to use a tint2 config on tint3.

In some cases this might not be true as tint2 has added new features since the original fork, and tint3 lagged behind due to a case of Real Life™. I have an open "Feature Parity" milestone to implement the missing features (see https://github.com/jmc-88/tint3/milestone/1).

@gijsbers
Copy link
Author

Okay. I tried the latest tint3 on the latest tint2rc:

$ tint3 -c /etc/xdg/tint2/tint2rc
Real transparency: off, depth: 24
tint3: invalid option "primary_monitor_first", please upgrade tint3 or correct your configuration file.
tint3: invalid option "panel_window_name", please upgrade tint3 or correct your configuration file.
tint3: invalid option "disable_transparency", please upgrade tint3 or correct your configuration file.
tint3: invalid option "taskbar_hide_inactive_tasks", please upgrade tint3 or correct your configuration file.
tint3: invalid option "taskbar_hide_different_monitor", please upgrade tint3 or correct your configuration file.
tint3: invalid option "taskbar_always_show_all_desktop_tasks", please upgrade tint3 or correct your configuration file.
invalid number: "4 2"
tint3: invalid option "taskbar_distribute_size", please upgrade tint3 or correct your configuration file.
tint3: invalid option "taskbar_sort_order", please upgrade tint3 or correct your configuration file.
tint3: invalid option "task_align", please upgrade tint3 or correct your configuration file.
tint3: invalid option "mouse_left", please upgrade tint3 or correct your configuration file.
tint3: invalid option "systray_monitor", please upgrade tint3 or correct your configuration file.
tint3: invalid option "launcher_icon_background_id", please upgrade tint3 or correct your configuration file.
tint3: invalid option "launcher_icon_theme_override", please upgrade tint3 or correct your configuration file.
tint3: invalid option "startup_notifications", please upgrade tint3 or correct your configuration file.
tint3: invalid option "clock_mclick_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "clock_uwheel_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "clock_dwheel_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_tooltip", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_lclick_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_rclick_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_mclick_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_uwheel_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "battery_dwheel_command", please upgrade tint3 or correct your configuration file.
tint3: invalid option "ac_connected_cmd", please upgrade tint3 or correct your configuration file.
tint3: invalid option "ac_disconnected_cmd", please upgrade tint3 or correct your configuration file.
tint3: another systray is running
NO XSETTINGS manager, tint3 use config 'launcher_icon_theme'.
Missing launcher theme, defaulting to 'hicolor'.
 'hicolor',
File "iceweasel.desktop" not found, skipping
File "chromium-browser.desktop" not found, skipping
String value cannot contain control characters.
Failed parsing "google-chrome.desktop", skipping.
Could not find icon tint2conf
Could not find icon application-x-executable
/y/src/panelapplets/tint3/src/launcher/launcher.cc:238: Using icon /usr/share/icons/hicolor/24x24/apps/firefox.png

tint2 has a convenient GUI tint2conf, but then I can't use the config for tint3.

@jmc-88
Copy link
Owner

jmc-88 commented Sep 15, 2017

Yes, those are options that have been introduced in tint2 after I forked the project, so I just need to backport them as time allows.

jmc-88 added a commit that referenced this issue Sep 16, 2017
Ignored, as tint2 has removed support for it already. It will at least print out a more specific error message.

Related issues:
  - #35
@jmc-88
Copy link
Owner

jmc-88 commented Sep 16, 2017

As a side note, your error log above shows you have a "battery_tooltip" option that is not in the supported tint2rc options (you probably meant to say "battery_tooltip_enabled": https://gitlab.com/o9000/tint2/blob/master/doc/tint2.md#battery).

@gijsbers
Copy link
Author

It is in the code, but not yet documented.
src/config.c:626: } else if (strcmp(key, "battery_tooltip") == 0) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants