GithubHelp home page GithubHelp logo

aryan20 / logomenu Goto Github PK

View Code? Open in Web Editor NEW
52.0 1.0 30.0 2.8 MB

Quick access menu for the GNOME panel with options that help ease the workflow for newcomers and power users alike.

Home Page: https://extensions.gnome.org/extension/4451/logo-menu/

License: GNU General Public License v2.0

JavaScript 98.60% CSS 0.33% Makefile 1.07%
gnome-shell-extension gnome hacktoberfest

logomenu's Introduction

Logo Menu


Preference window (Version 21)

Legacy preference GNOME 3.xx (Till version 18)

Quick access menu for the GNOME panel with options that help ease the workflow for newcomers and power users alike and gives a great logo that you can switch to your liking to match your distro or add something your own.

Similar to the Apple Menu found on MacOS.

Join the matrix room for the latest news and releases and/or for suggestions: click here

Options include:

-About My System (opens a submenu in System Settings that shows info about your computer.)

-Activities (this menu does replace the Activities button, but this option does leave that functionality easily accessible.)

-App Grid (Opens GNOME app menu/grid)

-Software Center (defaults to gnome-software)

-Terminal (defaults to gnome-terminal)

-Extensions (Quick access to all of your GNOME Extensions.)

-Force Quit App (run this and select the app you want to kill. Requires xkill )

-Power Options

fork of Tofu Menu by tofutech

Version 19 and higher are compatible with and tested on GNOME 45

Version 18 is compatible with and tested on GNOME 44, 43, 42, 41, 40, 3.xx

Note -

  1. Some icons can get changed due to Icon Pack used, particularly due to Icon packs primarily developed for KDE in mind.

  2. If you want something changed or want a specific feature then open a issue or comment if a similar one already exists.

  3. To launch flatpak applications, use the flatpak run <Application ID> command where "Application ID" can be found using flatpak list in terminal

Installation

  • Via Gnome Extensions

Available on the GNOME Extensions Store

  • Manual : Grab the latest release and unzip to .local/share/gnome-shell/extensions/logomenu@aryan_k/

or

use GNU make:

make install

To just pack/build the extension without installation

make build

How to contribute?

Firstly check out the contribution guidelines by clicking here

If you are new to GNOME Extensions, then check out the resources provided in - LEARNING_RESOURCES.md

Credits

Original extension creator and all the contributors.

Donations

You can donate by using the GitHub sponsor button.

Legal disclaimer for brand icons and trademarks..

" All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Logo Menu project, nor vice versa. Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer. "

logomenu's People

Contributors

a1ex-ak avatar andrewzaech avatar aryan20 avatar bretzoule avatar coquer avatar felipemmarmol avatar fitojb avatar halfmexican avatar hirnidrin avatar igor-cali avatar jcatfor avatar jorgebraz65 avatar kaansenol5 avatar kylegospo avatar latgardi avatar luelista avatar mjkim0727 avatar redbearak avatar rene-coty avatar satisataka avatar shrirajhegde avatar taylantatli avatar teh404gal avatar tofutech avatar vikashraghavan avatar vistaus avatar vivekpal1 avatar yashkawitcher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

logomenu's Issues

Missing files from Github downloads

Hi,
I don't know why but selection.js and display_module.js are missing from the sources (.tar.gz and .zip) and the built extension in the Github releases page. I am using the source for installing the extension in Arch Linux, but the installation is broken because of these missing files.

Wrong text in Italian

"Force quit application" is written as "Forza chiusura applicazionw" insead of "Forza chiusura applicazione", the last w should be e.

Schermata del 2022-08-31 17-36-12

Unsupported conversion character %.

Error: Unsupported conversion character %.

Stack trace:
vprintf/<@resource:///org/gnome/gjs/modules/core/_format.js:66:19
vprintf@resource:///org/gnome/gjs/modules/core/_format.js:13:19
format@resource:///org/gnome/gjs/modules/script/format.js:28:12
_init@file:///home/ciso/.local/share/gnome-shell/extensions/logomenu@aryan_k/PrefsLib/adw.js:584:103
LogoMenuAboutPage@file:///home/ciso/.local/share/gnome-shell/extensions/logomenu@aryan_k/PrefsLib/adw.js:467:48
fillPreferencesWindow@file:///home/ciso/.local/share/gnome-shell/extensions/logomenu@aryan_k/prefs.js:22:27
_loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:41:18
async*_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:26:14
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:17:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:139:33
async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:126:14
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Error occuring in fedora 37 gnome 43

Version 14
Error Main.panel.statusArea.aggregateMenu is undefined

I am getting this error while adding the extension
Pls help about how to solve

Custom command for extension application

Hello,

I would like to request for a feature if possible.

When clicking on "Extensions" into the menu, it bring back the default's gnome manager, I was wondering if there will be a way to add a custom command just like gnome-terminal and gnome-software.

# Custom command could be:
flatpak run com.mattjakeman.ExtensionManager

Edit: Update command since I make a double flatpak run command...

For the background story:

I'm using the flatpak application "Extension manager" (https://flathub.org/apps/details/com.mattjakeman.ExtensionManager) to handle gnome shell extensions and installation instead of default gnome's one (easier to install extensions when using flatpak browser that does not currently support chrome's gnome shell extension).

There is no rush about it, I just wanted to know if you could make it or not at all.

Anyway, thanks you for your work and time on this extension!

About systems & system settings

Hi, don't you think having both the "System Settings" and the "About System" buttons is a bit redundant? Would be a bit more polished to only have one of those two, in my opinion. Please consider this, thanks.

feature request

left click to open app grid and right click for regular menu. i.e like windows

Error appears after reinstalling OS

I reinstalled the OS and installed the extension and the following error started appearing; before the reinstallation, the extension worked without errors. I decided that I did something wrong and reinstalled it again, but the error did not go away

Снимок экрана от 2024-07-06 21-48-38

xkill complaints

Hello I use wayland, so xkill only works on xwayland apps, could you implement something that works on wayland? Also you cant cancel xkill with esc, so something that is better implemented would be better in every way IMO.

xkill doesnt work in wayland

"Force quit app" option uses xkill which doesnt work in Wayland, would be cool to have different implementation for Wayland systems.

Issue with Logomenu settings layout

Hi, I recently installed this extension and noticed a small issue, opening the extensions' settings from the Gnome-Extensions app leads to the settings page having a very weird configuration (short screencast attached). However, when the settings are opened from the gnome extensions website, the layout is completely normal.

My system info is as attached:

                ./o.                  nakamerica@anmol 
                 ./sssso-                ---------------- 
               `:osssssss+-              OS: EndeavourOS Linux x86_64 
             `:+sssssssssso/.            Host: VivoBook_ASUSLaptop X412DA_X412DA 1.0 
           `-/ossssssssssssso/.          Kernel: 5.16.10-arch1-1 
         `-/+sssssssssssssssso+:`        Uptime: 21 mins 
       `-:/+sssssssssssssssssso+/.       Packages: 1099 (pacman), 7 (flatpak) 
     `.://osssssssssssssssssssso++-      Shell: zsh 5.8.1 
    .://+ssssssssssssssssssssssso++:     Resolution: 1920x1080 
  .:///ossssssssssssssssssssssssso++:    DE: GNOME 41.4 
`:////ssssssssssssssssssssssssssso+++.   WM: Mutter 
`-////+ssssssssssssssssssssssssssso++++-   WM Theme: Colloid-teal-dark 
`..-+oosssssssssssssssssssssssso+++++/`   Theme: Colloid-teal-dark [GTK2/3] 
 ./++++++++++++++++++++++++++++++/:.     Icons: Colloid-dark [GTK2/3] 
`:::::::::::::::::::::::::------``       Terminal: gnome-terminal 
                                         CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8) @ 2.100GHz 
                                         GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
                                         Memory: 3081MiB / 5943MiB 

Screencast.from.19-02-22.01.27.43.PM.IST.mp4

A short screencast of the issue ^

I would appreciate it if this is looked at.

Adding new OS logo but get a red small icon in the Settings instead of grey one

Hey @Aryan20 thank you for your project.

I'm trying to add the following svg file
athena-logo-menu

as athena-logo-symbolic.svg in the Resources folder and hicolor/16x16/actions folder as 496x496 (like all the images). When I go to the Settings of the extension, the icon of the OS appears red (look the last at right)
image

Furthermore, despite all the icons are colored by #cccccc as mine, when they are applied on the top bar, they become all white (I think it is expected)
image

my icon instead keeps the #cccccc grey color
image

How can we fix these two issues?

Add new Ubuntu icon

Ubuntu is changing logo from 22.04 LTS.
Observable in 22.04 beta installation (vm).
Ref. to this article.

Is it possible to add the new logo?
Thanks!

Fails to start on Arch linux on GNOME 45

Arch linux just updated to GNOME 45, and several extensions got broken, this one included. Strange as it's supposed to work in 45. It complains about Constants.SymbolicDistroIcons. Looking at the code, not clear to me why this would not work.

Maybe arch hasn't updated all packages yet, but putting this here so it may help others.

With this small change in extension.js in setIconImage() it starts up:

      // if(isSymbolic) {
      //     isStartHereSymbolic = Constants.SymbolicDistroIcons[iconIndex].PATH === 'start-here-symbolic';
      //     iconPath = this._extension.path + Constants.SymbolicDistroIcons[iconIndex].PATH;
      // } else {
      iconPath =
        this._extension.path + Constants.ColouredDistroIcons[iconIndex].PATH;
      // }

Wider menu request

I have an OSX computer that I often use it along with this Ubuntu computer. I like the aspect ratio with the apple menu on OSX (it seems the words "About This Mac" could be written twice inline, within the menu). I suggest that the menu on Gnome appear wider as the OSX menu.

Shifted alignment

The menu is shifted too far to the right. Ubuntu 21.10, GNOME 40, Wayland.

image

Not working with GNOME 43.

I'm running GNOME 43 beta. The final release is out on September 21. Could you update this extension to work with GNOME 43 at your earliest convenience? Thank you.

Modernization of Logomenu

Logomenu has got a lot of love from users. To keep the extension relevant and better than ever here are some changes which are needed to be implemented.
This issue is to keep track of them and to have it public in case someone wants to help with any of them.

  • Port to GNOME 45
  • Option to switch between Flatpak app and native apps
  • Option to upload a custom icon
  • Option to hide or show native activities button (going to be a workspace indicator as well)
  • Translations review
  • Variable renaming and code cleanup.
  • Split coloured and symbolic icons to prevent change on update

Framework Logo

Could we get the Framework computers logo added? I'd submit a PR, but I'm no good at making SVGs so I hope this is a good halfway point to getting it added.

framework_logo_recolored_resized_white
framework_logo_recolored_resized

[Bazzite fork] Menu entries unresponsive on input method change

Summary

If touch input is used (via touchscreen) to execute 'mouse-click' event any entry configured in the menu, said menu entry will stop responding to 'mouse-click' events generated by either bluetooth peripherals (capable of generating 'mouse-click' events) or Steam Deck built-in controller. This issue can be reproduced separately for each menu entry and will persist until Logo menu is restarted (via DE restart most probably).

HW/SW versions

Hardware: Steam Deck OLED
BIOS version: F7G0107
Kernel version: 6.6.11-201.fsync.fc39.x86_64
OS type - Bazzite OS - image for Steam Deck with Gnome DE (Logo menu is used there in Desktop Mode's GNOME)
Ostree-Image version: bazzite-deck-gnome:testing - 2024-01-17T08:10:50Z
Reported Logo menu version: 27

Initial SW Setup

  1. Install bazzite-deck-gnome:testing (by editing grub entry) directly from the installer on OLED.
  2. After install, perform (and finish) initial OS setup via Bazzite Portal (nothing additional which isn't included in Bazzite Portal was performed on OS).
  3. Back in gamescope, login into Steam.
  4. After waiting a bit, turn off device.

Bug reproduction

Test Steps

  1. Boot Steam Deck (OLED).
  2. Wait until it boots into Gamescope mode ('Steam Big Picture' mode).
  3. Go into (GNOME) Desktop mode.
  4. (Optional) Connect bluetooth peripheral (capable of generating 'mouse-click' events).
  5. Direct mouse cursor (via either bluetooth peripheral or Steam Deck's built-in controller) over Logo menu icon (top left screen corner). Generate 'left-mouse-click' event via chosen control method to open menu.
  6. Via chosen control method, generate 'left-mouse-click' event on one or more menu entries (to launch their associated app/command) (this should work as expected).
  7. Repeat points 5-6, but this time use touch input via Steam Deck's built-in touchscreen (utilize the same menu entries that you chose in point 6) (this should work as expected).
  8. Now, repeat points 5-6, but this time use again either built-in Steam Deck controller or connected bluetooth peripheral (for the same menu entries).

Expected Outcome

  • All menu entries continue to work as expected - 'left-mouse-click' events generated via either Steam Deck's controller or bluetooth peripheral are registered and respective apps/commands are executed.

Present Outcome

  • 'left-mouse-click' events (generated either via SD's controller or bluetooth peripheral) are 'ignored' for menu entries which were interacted with via touch input - apps/commands are not launched, 'clicked-menu-entry' highlight animation doesn't appear at all for click actions and Logo menu doesn't close whenever 'left-mouse-click' event is generated over affected menu entry.
  • touch input via SD's touchscreen continues to work as expected for all menu entries (including those which were interacted with via touch input before).

I haven't included any log files, because I didn't know how to effectively gather (debug) logs for GNOME plugin. If you could provide me with instructions on how to gather such logs, I'll happily provide them.

Best Regards.

Make restart and shutdown interactive

This extension is exactly what I was looking for, for a long time, especially now that I've realized it has the power menu options available to be enabled. Works wonderfully with "Big Sur Status Area" to produce a distro-specific "Apple menu" to fit Ubuntu or Fedora or whatever. The only thing that was really missing from Tofu Menu was the power options. The dev for some reason just wasn't interested in adding them.

I just put together PR #25 with some alternative commands that will make sure that Restart and Shut Down will produce an interactive dialog in the same way as using the existing power options in the usual GNOME status menu (and just like using the same options in the Apple menu on macOS). I hope you'll accept the changes. I was actually using these alternate commands in a modified Big Sur Menu extension last year, but didn't want to go through the whole process of publishing it as a new extension.

Let me know if you have any questions about the PR, or issues with it.

Custom Icons?

Will you be adding support to upload custom icons?

Makefile build

Hello, can you please add in Makefile also a build rule that only creates the .zip file without installing it by make build please?

Updated Debian Logo

Hi friend @Aryan20,
Please, update the official Debian Logo. I attached the file to you :)

debian-logo

...take a look how to look this logo in my system (without that ugly grey circle background)

Captura desde 2023-12-30 13-41-40

Thanks for your attention 👍🏼

...if you like, i can make the change and send a pull request with it.

Best regards!

Broken

The extention is broken as of today. Fedora 35 an Wayland in Gnome 41

Logo menu cannot launch flatpak applicaions

I have blackbox terminal installed on my system using Flatpak. When I input this string into the terminal text box in Logo Menu, it fails to launch: flatpak run com.raggesilver.BlackBox.

Even removing the flatpak run portion of the command does not work.

The error message is always the same: Execution of "<the command> failed": command not found.

I'm not sure how exactly Logo Menu executes these commands or what kinds of commands it is expecting to see in order to launch an application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.