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

Migrate to GNOME 45-47 #176

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Migrate to GNOME 45-47 #176

wants to merge 4 commits into from

Conversation

Sominemo
Copy link

@Sominemo Sominemo commented Nov 7, 2023

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.

fixes #175

How to install directly:
Suggested installation guide: https://www.linuxuprising.com/2021/02/how-to-install-fildem-global-menu-and.html

On Step 2, get release from this repo instead:
https://github.com/Weather-OS/Fildem-v2

After Step 2, execute:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
sudo cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/fildemGMenu@gonza.com

Note

By default Fildem has “Show menu only when the mouse is over the panel” setting on, so it might appear like it’s not working. You need to hover over the title bar to see the menu, or you can disable this behavior in extension settings.

Re-login after installing

@chaudharyjatin115
Copy link

randomly gets item.get_first_child() is null after unlocking on gnome 45.1

@Beryesa
Copy link

Beryesa commented Dec 7, 2023

@gonzaarcr a lovely ping!

@muhBilal
Copy link

muhBilal commented Dec 27, 2023

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.

fixes #175

How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

it doesn't work in gnome 45.3 with fedora 39 how to fix this

@Sleepy-gogo
Copy link

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.
fixes #175
How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

it doesn't work in gnome 45.3 with fedora 39 how to fix this

Same issue happening here. Would really love to see this working in the future.

@ghost
Copy link

ghost commented Jan 14, 2024

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.
fixes #175
How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

it doesn't work in gnome 45.3 with fedora 39 how to fix this

Same.

@PointThink
Copy link

PointThink commented Jan 21, 2024

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.
fixes #175
How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

it doesn't work in gnome 45.3 with fedora 39 how to fix this

Same.

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
sudo cp -r fildemGMenu@gonza.com /usr/share/gnome-shell/extensions/

Try running this and re-login

@Sleepy-gogo
Copy link

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
sudo cp -r fildemGMenu@gonza.com /usr/share/gnome-shell/extensions/

Try running this and re-login

Even after reloading the extension doesn't seem to work. Tried with Firefox, VSCode, Sublime Text, Discord, and yet it didn't worked with any of those.

Also, using Extension List, it appears as this:

imagen

Is there a way to get any feedback on what's not working with it? This way I feel we should be able to identify and possibly fix this issue.

@chaudharyjatin115
Copy link

chaudharyjatin115 commented Mar 13, 2024

i fixed it thanks for headsup

randomly gets item.get_first_child() is null after unlocking

chaudharyjatin115 and others added 2 commits May 4, 2024 14:34
add gnome 46 support tested and working with no issue
@Sominemo Sominemo changed the title Migrate to GNOME 45 Migrate to GNOME 45-46 May 4, 2024
@Anthony-Eid
Copy link

Anthony-Eid commented May 4, 2024

@chaudharyjatin115 Could you please tell me how you ended up fixing it? It's not working for me. Thanks!!

Edit: Is there prior setup that is needed for fresh installs of the extension? The read me states that you need to edit and create some files, but that information seems outdated.

@sudarshancode
Copy link

sudarshancode commented May 21, 2024

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.

fixes #175

How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
sudo cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

Re-login after running

It is working perfectly , thank you for that.

@sudarshancode
Copy link

sudarshancode commented May 21, 2024

Migrated the extension to GNOME 45's ESM API, which also means older shell versions must be dropped.
fixes #175
How to install directly:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

it doesn't work in gnome 45.3 with fedora 39 how to fix this

It is working perfectly after install this package https://github.com/gonzaarcr/Fildem/releases/download/0.6.7/fildem_0.6.7_all.deb

and run this command $ sudo apt install ./fildem_0.6.7_all.deb

now run $fildem
Then this will be work perfectly ,
$fildem , this command should set start_up_application .

@Airmancooma
Copy link

Is it working on gnome 46? (fedora 40)

@M-Rick
Copy link

M-Rick commented May 27, 2024

When launching Fildem I get this error:

Traceback (most recent call last): File "/usr/local/bin/fildem", line 33, in <module> sys.exit(load_entry_point('fildem==0.6.7', 'console_scripts', 'fildem')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/fildem", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/run.py", line 6, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/command.py", line 6, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/handlers/default.py", line 16, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/utils/window.py", line 18, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/utils/wayland.py", line 8, in is_wayland TypeError: argument of type 'NoneType' is not iterable

Rapport d’informations du système


Détails du compte rendu

  • Date de génération : 2024-05-28 00:04:32

Hardware Information:

  • Modèle du matériel : Apple Inc. MacBookAir7,2
  • Mémoire : 8,0 Gio
  • Processeur : Intel® Core™ i7-5650U × 4
  • Carte graphique : Intel® HD Graphics 6000 (BDW GT3)
  • Capacité du disque : 1,0 To

Software Information:

  • Version du micrologiciel : 481.0.0.0.0
  • Nom du système d’exploitation : Ubuntu 23.10
  • Construction du système d’exploitation : (null)
  • Type de système d’exploitation : 64 bits
  • Version de GNOME : 45.2
  • Système de fenêtrage : X11
  • Version du noyau : Linux 6.5.0-28-generic

@chris4540
Copy link

Hi @Sominemo,

I am planning to make your current work to Arch AUR. I have tested it on my machine and your work to port it to Gnome 45 and 46 works perfect.

@chaudharyjatin115
Copy link

When launching Fildem I get this error:

Traceback (most recent call last): File "/usr/local/bin/fildem", line 33, in <module> sys.exit(load_entry_point('fildem==0.6.7', 'console_scripts', 'fildem')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/fildem", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/run.py", line 6, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/command.py", line 6, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/handlers/default.py", line 16, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/utils/window.py", line 18, in <module> File "/usr/local/lib/python3.11/dist-packages/fildem-0.6.7-py3.11.egg/fildem/utils/wayland.py", line 8, in is_wayland TypeError: argument of type 'NoneType' is not iterable

Rapport d’informations du système

Détails du compte rendu

* **Date de génération :**                         2024-05-28 00:04:32

Hardware Information:

* **Modèle du matériel :**                         Apple Inc. MacBookAir7,2

* **Mémoire :**                                    8,0 Gio

* **Processeur :**                                 Intel® Core™ i7-5650U × 4

* **Carte graphique :**                            Intel® HD Graphics 6000 (BDW GT3)

* **Capacité du disque :**                         1,0 To

Software Information:

* **Version du micrologiciel :**                   481.0.0.0.0

* **Nom du système d’exploitation :**              Ubuntu 23.10

* **Construction du système d’exploitation :**     (null)

* **Type de système d’exploitation :**             64 bits

* **Version de GNOME :**                           45.2

* **Système de fenêtrage :**                       X11

* **Version du noyau :**                           Linux 6.5.0-28-generic

Hey you need to clone the repo and cd it then run sudo python3 setup.py install --optimize=1 , make sure you have latest version of setup tools installed

@padiil
Copy link

padiil commented Jun 19, 2024

Is it working on gnome 46? (fedora 40)

Have you tried it? in my fedora 40 gnome 46 it doesn't work

@chaudharyjatin115
Copy link

chaudharyjatin115 commented Jun 19, 2024

@Anthony-Eid just follow the documentation and replace the git clone url with this one

@chaudharyjatin115
Copy link

image
works fine for me just follow the documentation

@rayzorben
Copy link

No luck for me, Arch, Gnome 46. Followed all of the documentation, downloaded and installed .zst, added gtk-settings to both files as instructed, ran python3 setup.py install --optimize=1. Ran fildem and still nothing.

@chaudharyjatin115
Copy link

chaudharyjatin115 commented Jun 27, 2024

No luck for me, Arch, Gnome 46. Followed all of the documentation, downloaded and installed .zst, added gtk-settings to both files as instructed, ran python3 setup.py install --optimize=1. Ran fildem and still nothing
Aight what does it shows when you run Fildem in terminal ?

@rayzorben
Copy link

No luck for me, Arch, Gnome 46. Followed all of the documentation, downloaded and installed .zst, added gtk-settings to both files as instructed, ran python3 setup.py install --optimize=1. Ran fildem and still nothing.

Can you tell me which os you are using ?

Arch, Gnome 46. :)

@chaudharyjatin115
Copy link

what does it shows when you run fildem command in terminal? as im using the same thing and it works fine for me

@rayzorben
Copy link

what does it shows when you run fildem command in terminal? as im using the same thing and it works fine for me

image

@chaudharyjatin115
Copy link

what does it shows when you run fildem command in terminal? as im using the same thing and it works fine for me

image
aight i will help you by tomorrow as i had the same issue in start

@chaudharyjatin115
Copy link

have you tried running pacman -S python3 fuzzysearch ?

@rayzorben
Copy link

python3 is up to date, fuzzysearch is not found.

@chaudharyjatin115
Copy link

python3 is up to date, fuzzysearch is not found.

you need to install https://aur.archlinux.org/packages/python-fuzzysearch

@rayzorben
Copy link

Still not working :(

==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)         New Version  Net Change

python-fuzzysearch  0.7.3-4        0.21 MiB

Total Installed Size:  0.21 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
:: Processing package changes...
(1/1) installing python-fuzzysearch                [----------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 ~/.l/s/g/e/ fildem
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:12: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:13: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:12: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:13: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:12: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:13: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:12: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.12/site-packages/fildem-0.6.7-py3.12.egg/fildem/utils/fuzzy.py:13: SyntaxWarning: invalid escape sequence '\s'                                                                          

@chris4540
Copy link

chris4540 commented Jun 29, 2024

@rayzorben
Can you just clone this repo and replace the package build file with this?
https://github.com/chris4540/Fildem-Gnome-45/blob/test/pkgbuild/PKGBUILD

I remember I fixed this a bit a month ago.

Here is the makepkg log file for your reference
makepkg-log.txt

This repo package file shall clone again, while it should not be, just comment the clone and update the build command should work.

@rayzorben
Copy link

@rayzorben Can you just clone this repo and replace the package build file with this? https://github.com/chris4540/Fildem-Gnome-45/blob/test/pkgbuild/PKGBUILD

I remember I fixed this a bit a month ago.

Here is the makepkg log file for your reference makepkg-log.txt

This repo package file shall clone again, while it should not be, just comment the clone and update the build command should work.

I no longer get any errors in fildem, but I don't get any global menu bar which is what I am looking for (MacOS style menu in the top bar on gnome).

fildem-hud seems to work but this is all I get

image

@chris4540
Copy link

chris4540 commented Jun 30, 2024

After installing the python package, you still need to install the gnome extensions and enable it

sudo cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/
<re-login>
Go to the gnome extension app
Enable it using the GUI app

I was thinking of making the aur package that combined the python installation and the gnome extension, while I don't have time atm.

@rayzorben
Copy link

rayzorben commented Jun 30, 2024 via email

@Marco5dev
Copy link

image

VS Code insiders doesn't work with global menu what can i do to add it to the compatibility menu or whatever the menu is called but i wanted this extension only for vs code or should i just uninstall the insiders version and work with the main version ?

@Sominemo
Copy link
Author

Sominemo commented Jul 4, 2024

Hi everyone,

Please consider asking your questions in discussions or issues.

Please avoid sending questions regarding specific app or distro support here.

I have notifications on and keep my eye on this pull request only regarding porting the extension part of Fildem to newer Gnome versions.

Thank you.

@zyxidra
Copy link

zyxidra commented Jul 22, 2024

Hi @gonzaarcr there are many people, myself included, who want to use this feature. However, it is not supported with GNOME 46. Please consider this PR. Thank you.

@niceEli
Copy link

niceEli commented Jul 24, 2024

will this work in Ubuntu 24.04 LTS (gnome 46)

@Trevor-143
Copy link

Is it working on gnome 46? (fedora 40)

Let me try it as well. Thanks for letting us know

@Sominemo Sominemo changed the title Migrate to GNOME 45-46 Migrate to GNOME 45-47 Sep 4, 2024
@Sominemo
Copy link
Author

Sominemo commented Sep 4, 2024

I just verified that the extension works with GNOME 47 on Fedora 41 Beta. Marking it as GNOME 47 compatible for now.

@Trevor-143
Copy link

Trevor-143 commented Sep 10, 2024 via email

@M-Rick
Copy link

M-Rick commented Sep 13, 2024

Personally, I have given up with Fildem, plus it is buggy. Instead, I created a new extension for Gnome Shell that reduces the Top Panel to the top right hand. And I use XFCE4 Panel with the Global Menu extension. I tried with Budgie Panel, but sometimes it crashes. XFCE4 is much more stable.
This desktop uses my simple extension, plus JustPerfection for a few more settings and BlurMyShell.
This extension has absolutely no settings at all to keep it as simple as possible in order to maintain compatibility with further Gnome updates. You can tweak the transparency and the size of the Gnome Panel manually by editing the code and the CSS.

https://github.com/M-Rick/short-panel

Capture d’écran 2024-09-13 à 17 12 11

Capture d’écran du 2024-09-13 18-19-19
Capture d’écran du 2024-09-13 18-24-11
Capture d’écran du 2024-09-13 18-24-20
Capture d’écran du 2024-09-13 18-27-39
Capture d’écran du 2024-09-13 18-30-32
Capture d’écran du 2024-09-13 18-35-52

@Trevor-143
Copy link

Trevor-143 commented Sep 13, 2024 via email

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

Successfully merging this pull request may close these issues.

Support GNOME 45 (moved to ESM)