XFCE4.16 and Orage

Message
Author
davemx
Posts: 319
Joined: Sun Aug 12, 2018 2:31 pm

XFCE4.16 and Orage

#1 Post by davemx »

I expect that XFCE will soon be updated to 4.16, at which point Orage will not longer officially exist. However, I have found (using another rpm-based distro) that much of the program will still run under GTK3, just not the bits that integrate with the panel. This would require that the package is recompiled with the XFCE dependencies removed. It could then be put onto the panel using GenMon. I could write a how-to to set up the GenMon to do this.

Another way would be to force-install Orage, and then remove its existence from the apt database. This is not as straightforward as in an rpm-based distro where you can repair the database by removing the "broken" package with rpm -e --just-db package-name, and obviously a hacked Orage deb would be a better alternative.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: XFCE4.16 and Orage

#2 Post by SwampRabbit »

@davemx I do not believe we will be updating to Xfce 4.16 in the standard MX-19, I am tracking we will not include it until the next release.
The clock/calendar situation is being addressed though and there should be a solution integrated when it comes time.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
dolphin_oracle
Developer
Posts: 20024
Joined: Sun Dec 16, 2007 1:17 pm

Re: XFCE4.16 and Orage

#3 Post by dolphin_oracle »

I think the main solution is to repackage orage dropping the xfce4-panel dependency. the version numbers are in the depends.

Code: Select all

Depends: orage-data (= 4.12.1-7~mx19+1), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.9), libgtk2.0-0 (>= 2.16.0), libical3 (>= 3.0.0), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpopt0 (>= 1.14), libx11-6, libxfce4util7 (>= 4.9.0), xfce4-panel (>= 4.13), xfce4-panel (<< 4.15)
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: XFCE4.16 and Orage

#4 Post by SwampRabbit »

dolphin_oracle wrote: Fri Jan 29, 2021 12:53 pm I think the main solution is to repackage orage dropping the xfce4-panel dependency. the version numbers are in the depends.
I can't look at it now, but are you saying just remove the version number or the whole thing?

Is the -dev up in the build depends?
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

davemx
Posts: 319
Joined: Sun Aug 12, 2018 2:31 pm

Re: XFCE4.16 and Orage

#5 Post by davemx »

dolphin_oracle wrote: Fri Jan 29, 2021 12:53 pm I think the main solution is to repackage orage dropping the xfce4-panel dependency. the version numbers are in the depends.

Code: Select all

Depends: orage-data (= 4.12.1-7~mx19+1), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.9), libgtk2.0-0 (>= 2.16.0), libical3 (>= 3.0.0), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpopt0 (>= 1.14), libx11-6, libxfce4util7 (>= 4.9.0), xfce4-panel (>= 4.13), xfce4-panel (<< 4.15)
YES! I think it will still need the other non-xfce depends, but that's really what I was asking for! Thank you.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190

User avatar
dolphin_oracle
Developer
Posts: 20024
Joined: Sun Dec 16, 2007 1:17 pm

Re: XFCE4.16 and Orage

#6 Post by dolphin_oracle »

SwampRabbit wrote: Fri Jan 29, 2021 1:00 pm
dolphin_oracle wrote: Fri Jan 29, 2021 12:53 pm I think the main solution is to repackage orage dropping the xfce4-panel dependency. the version numbers are in the depends.
I can't look at it now, but are you saying just remove the version number or the whole thing?

Is the -dev up in the build depends?
xfce4-panel-dev is up in the build-depends. we really just need to drop the plugin for the panel.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

davemx
Posts: 319
Joined: Sun Aug 12, 2018 2:31 pm

Re: XFCE4.16 and Orage

#7 Post by davemx »

This is how I reattached the hacked Orage to the panel on XFCE4.16

1. Create a file in the folder /usr/local/bin with the name "orage-flip". You'll need to be root to do this, and set it as executable:

Code: Select all

#!/bin/bash

pidof orage >/dev/null && orage -t || orage
2. Create another file in the folder /usr/local/bin with the name "orage-cal". You'll need to be root, and this will also need to be set as executable.

Code: Select all

#!/bin/bash

echo "<txt><b>`date +%H:%M:%S`</b>"
echo "<span size='x-small'>  `date +%d/%m/%Y`</span></txt><txtclick>orage-flip</txtclick>"
echo "<tool>Weekday: `date +%A`"
echo "Week №: `date +%U`"
echo "Day of Year: `date +%j`</tool>"
On the second echo line, there are a couple of spaces. I couldn't work out how to center the text on the line. I tried text-align='center' in the span declaration, but that didn't work. I went to the XFCE forum where one of the developers said that GenMon text lines were always left-aligned, but they would change it so that they would be centred in future. So by the time you do this, the spaces may no longer be necessary. You can change the date and time layout according to your locale.

3. Install a "Generic Monitor" on your panel, it will be in the "Add New Apps" list for your XFCE panel. Right click on the installed panel item, and complete it as follows:

Command: orage-cal
Label: leave unchecked
Period(s): 1.00
Set the font according to taste. I have my Panel height set to 36 points, and the font Bitstream Vera Sans 12 fits just perfectly.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190

User avatar
dolphin_oracle
Developer
Posts: 20024
Joined: Sun Dec 16, 2007 1:17 pm

Re: XFCE4.16 and Orage

#8 Post by dolphin_oracle »

looks like there is a variable in the configure file to disable building the plugin. not sure what the impacts to the rest of the build are, but there is a check and a if/then switch down at the bottom of the configure file (line 188545...yowza that's a lot of lines)
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 21960
Joined: Wed Jul 19, 2006 6:13 am

Re: XFCE4.16 and Orage

#9 Post by Jerry3904 »

I read a post from ToZ that the app can run, just not the plugin. Is that true, do you know?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 20024
Joined: Sun Dec 16, 2007 1:17 pm

Re: XFCE4.16 and Orage

#10 Post by dolphin_oracle »

Jerry3904 wrote: Fri Jan 29, 2021 1:37 pm I read a post from ToZ that the app can run, just not the plugin. Is that true, do you know?
yes, the app is fine, but the depends on the panel because of the plugin force its removal.

contrary to popular belief, xfce only removed gtk2 support from their own apps. gtk2 apps will still run on anysystem with the gtk2 libraries installed, and that is still very common.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Software / Configuration”