amiad / gnome-hdate Goto Github PK
View Code? Open in Web Editor NEWShow Hebrew date in gnome-shell panel
Home Page: https://extensions.gnome.org/extension/554/gnome-hdate/
Show Hebrew date in gnome-shell panel
Home Page: https://extensions.gnome.org/extension/554/gnome-hdate/
codemill$3
Current version on Ubuntu 20.04 LTS is libvala-0.48. Will not install with 0.16 as a dependency.
Gnome-Hdate version 8, Gnome 3.12, Arch Linux.
locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=he_IL.utf8
LC_TIME=he_IL.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=he_IL.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=he_IL.utf8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=he_IL.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Maybe look how gnome-shell-extension-openweather position the label.
libhdate-glib is old and difficult to install. It is best to include libhdate-js.
if possible, better do it throw the website
gnome-hdate works perfect in gnome-shell 3.13.92 (Arch Linux), the only thing I had to do is to rebuild libhdate-glib so I'm guessing it's safe to bump the version also to 3.14 in the metadata.
Can I remove the ב prefix on the month name, or the ה prefix on the year, or tweak the display on the dash in other ways?
I see that the holy day and the omer can be removed by deleting the relevant section in the extension.js file. Please inform if there is a more elegant way to hack it.
I can confirm that the extension work flawlessly with 3.18 release on Arch Linux, journald log is clear from errors.
Apr 12 23:00:26 arch gnome-session[704]: (gnome-shell:774): Gjs-WARNING **: JS ERROR: Exception in callback for signal: extension-found: Error: Requiring LibHdateGlib, version none: Typelib file for namespace 'LibHdateGlib' (any version) not found
$locate libhdate-glib
/usr/lib/pkgconfig/libhdate-glib.pc
/usr/share/vala-0.28/vapi/libhdate-glib.vapi
The original libhdate package returns the date with apostrophes and quotes instead of the Hebrew standard Geresh and Gershayim (accordingly), example:
ה'תשע"ה -> ה׳התשע״ה
Is there any way to convert these automatically using some sort of Regex?
Please get this awesome extension updated if there is any way you can. It would be worth switching to Gnome just for this. It currently causes severe issues with the more recent versions of Gnome shell.
Please update to gnome 3.12
Hi, I discovered that it is pretty easy to get the Hebrew date on the panel in recent versions of Gnome by using Executor
https://github.com/raujonas/executor
with Hebcal
https://github.com/hebcal/hebcal
as a dependency.
In Executor
you enter the command:
hebcal -T --lang he
and voila you have the Hebrew date displayed. To get the output in the default system language, the command is simply
hebcal -T
On special days, such as Rosh Chodesh, there probably won't be enough room for the whole output, but it should still display the date.
Just sharing an idea. I did it also on Plasma and Xfce, with the appropriate extension for command output.
Cannot install on Gnome 46.
Hi,
The extension work great on gnome-shell 3.16.0 (tested on Arch Linux), nothing special in the log, so I guess version can be bump in metadata.json.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.