gonzaarcr / Fildem

Fildem global menu
GNU General Public License v3.0
808 stars 85 forks source link

Migrate to GNOME 45-47 #176

Open Sominemo opened 1 year ago

Sominemo commented 1 year ago

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 commented 11 months ago

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

Beryesa commented 11 months ago

@gonzaarcr a lovely ping!

muhBilal commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago
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 commented 8 months ago

i fixed it thanks for headsup

randomly gets item.get_first_child() is null after unlocking

Anthony-Eid commented 6 months ago

@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 commented 6 months ago

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 commented 6 months ago

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 commented 5 months ago

Is it working on gnome 46? (fedora 40)

M-Rick commented 5 months ago

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

Hardware Information:

Software Information:

chris4540 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

Is it working on gnome 46? (fedora 40)

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

chaudharyjatin115 commented 5 months ago

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

chaudharyjatin115 commented 5 months ago

image works fine for me just follow the documentation

rayzorben commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

rayzorben commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

have you tried running pacman -S python3 fuzzysearch ?

rayzorben commented 4 months ago

python3 is up to date, fuzzysearch is not found.

chaudharyjatin115 commented 4 months ago

python3 is up to date, fuzzysearch is not found.

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

rayzorben commented 4 months ago

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 commented 4 months ago

@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 commented 4 months ago

@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 commented 4 months ago

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 commented 4 months ago

Yes I have done that as well

On Sun, Jun 30, 2024, 4:49 AM Chris C.H. Lin @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/gonzaarcr/Fildem/pull/176#issuecomment-2198535137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3BD2WBAZ6O2VDPF5KOM23ZJ7WENAVCNFSM6AAAAAA7B7A4Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGUZTKMJTG4 . You are receiving this because you were mentioned.Message ID: @.***>

Marco5dev commented 4 months ago

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 commented 4 months ago

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.

ardinugrxha commented 4 months ago

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 commented 3 months ago

will this work in Ubuntu 24.04 LTS (gnome 46)

Trevor-143 commented 2 months ago

Is it working on gnome 46? (fedora 40)

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

Sominemo commented 2 months ago

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

Trevor-143 commented 2 months ago

Can you share some screen shots? I tried to do this and i was not successful. It showed in the extension manager but when i apply it it was not working

On Wed, Sep 4, 2024 at 11:58 PM Sominemo @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/gonzaarcr/Fildem/pull/176#issuecomment-2330067000, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZIRA4NBRRPHBFQUQMRLWRLZU5YBDAVCNFSM6AAAAAA7B7A4Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQGA3DOMBQGA . You are receiving this because you commented.Message ID: @.***>

M-Rick commented 2 months ago

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 commented 2 months ago

You are awesome dude. Thanks

On Fri, Sep 13, 2024, 20:13 M-Rick @.***> wrote:

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 Buddy 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 make as simple as possible in order to keep 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. Capture.d.ecran.2024-09-13.a.17.12.11.png (view on web) https://github.com/user-attachments/assets/58bc9835-13fe-4ded-bf65-822b3049bfa5

Capture.d.ecran.du.2024-09-13.18-19-19.png (view on web) https://github.com/user-attachments/assets/f9bddc40-0137-4d4b-a371-1fedb87689a4 Capture.d.ecran.du.2024-09-13.18-24-11.png (view on web) https://github.com/user-attachments/assets/1055c35e-3a39-4ba7-b2c7-810424926fe2 Capture.d.ecran.du.2024-09-13.18-24-20.png (view on web) https://github.com/user-attachments/assets/28bd64e5-1e9c-46df-96dd-eba7c964070e Capture.d.ecran.du.2024-09-13.18-27-39.png (view on web) https://github.com/user-attachments/assets/895f610d-6ece-4061-9b9c-4afff13d083e Capture.d.ecran.du.2024-09-13.18-30-32.png (view on web) https://github.com/user-attachments/assets/9ae616a0-c7a7-4a5f-a67d-c7ae8b4c2336 Capture.d.ecran.du.2024-09-13.18-35-52.png (view on web) https://github.com/user-attachments/assets/ac7a1747-68bd-4b6f-914c-ad9d64ab7529

— Reply to this email directly, view it on GitHub https://github.com/gonzaarcr/Fildem/pull/176#issuecomment-2349504190, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZIRA4PMTL37FURFTOXQAFDZWMMM3AVCNFSM6AAAAAA7B7A4Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBZGUYDIMJZGA . You are receiving this because you commented.Message ID: @.***>