Code Monkey home page Code Monkey logo

gnome-shell-extension-quake-mode's People

Contributors

afernandescneto avatar coddingtonbear avatar eaon avatar freimair avatar inta avatar keynslug avatar m0rf30 avatar mt190502 avatar noirbizarre avatar petre2dor avatar piousdeer avatar repsac-by avatar spfanning avatar unfuug avatar vistaus avatar vitalyankh avatar wedoneofficiel 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  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  avatar  avatar  avatar  avatar  avatar  avatar

gnome-shell-extension-quake-mode's Issues

Gdk.Display.get_default().get_monitors is not a function

The configuration window show this error.

TypeError: Gdk.Display.get_default().get_monitors is not a function

Stack trace:
_init@/home/solid/.local/share/gnome-shell/extensions/[email protected]/prefs.js:78:54
_init@/home/solid/.local/share/gnome-shell/extensions/[email protected]/prefs.js:220:20
buildPrefsWidget@/home/solid/.local/share/gnome-shell/extensions/[email protected]/prefs.js:227:17
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Makes `simply-workspaces` extension misbehave

First of all, great extension, I like it very much and using it without any significant problem! But here is one little problem that annoys me:

I use simply-workspaces as a workspace indicator. It normally shows the workspace number if it has windows open, like this:

image

But if I use quake-mode, it thinks every workspace has a window in it and shows all of them:

image

Is there way to prevent this? I'm already using "Hide from Overview" but that does not help.

Error message after installation

After running gnome-shell-extension-prefs [email protected] I get an error: "There was an error loading the preferences dialog for quake-mode".

Error: Argument 'icon' (type interface) may not be null

Stack trace:
  buildRow@/home/Timur/.local/share/gnome-shell/extensions/[email protected]/prefs.js:134:18
  _init/<@/home/Timur/.local/share/gnome-shell/extensions/[email protected]/prefs.js:125:30
  _init@/home/Timur/.local/share/gnome-shell/extensions/[email protected]/prefs.js:123:3
  _init@/home/Timur/.local/share/gnome-shell/extensions/[email protected]/prefs.js:207:20
  buildPrefsWidget@/home/Timur/.local/share/gnome-shell/extensions/[email protected]/prefs.js:213:17
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43
  

Shortcut to move window to another monitor?

Because I often switch between 1 and 2 monitors, sometimes the extension gets confused regarding which monitor should be used.

Could we imagine the possibility to bind a shortcut that would move the quake window to another workspace?

Tilix drop down problem

Tilix (1.9.3-4) on gnome 3.38.2 not working in quake mode when launched from $HOME/.local/share/applications. Works ok when launched from /usr/share/applications.

Hide app from dock

Running Dash to Dock on GNOME Shell 3.36.9 to run fullscreen Alacritty. If it is possible for the extension, would be nice to hide the app from the Dock (as Guake behavior) regardless of window visibility state.

If we could just run a command instead of only an App/.desktop would make things easier. xdotool windowunmap $(wmctrl -l -p | grep $(pgrep alacritty) | awk '{print $1}') unmap a window, and this hide it from dock/taskbar. On .desktop:

Exec=sh -c '~/.local/bin/alacritty & sleep 1;/usr/bin/wmctrl -x -r Alacritty.Alacritty -b add,skip_taskbar'

Request: Open Quake Window in display where mouse pointer is.

Tilix and most quake/visor capable terminals support this feature to follow the mouse when opening the terminal, in the display where the mouse pointer is currently at.
I would love for this extension to be able to do the same, so in multi-monitor situations is becomes quite the useful little tool that I'm familiar with, but allowing me more control over which terminal application to use. Tilix is what I use now because it's the most reliable in my experience because the same command to open the terminal also can start it and toggle it's visibility.

Gnome 40

Would it be possible to add GNOME 40 to the metadata.json file?

Extension appears to work fine in GNOME 40, but can only be enabled if version validation is disabled

Thanks for the great extension btw, life-saver with tilix

Odd behaviour with Emacs

Trying to use gnome-shell-extension-quake-mode with Emacs, with an emacsclient.desktop file that does Exec=emacsclient -c, the Emacsclient frame/window appears on the first invocation (though it seems to default to the Emacs-specified window size rather than what's set in gnome-shell-extension-quake-mode), but then trying to minimise it with another press of the shortcut key, nothing happens for a while, and then a pop-up message appears "Quake-mode launch 'emacsclient.desktop' timeout". After that I can sometimes get it to minimise with another press, but frequently the "timeout" message appears instead.

I'm guessing this is something about how emacsclient -c creates the window, and so possible beyond the scope of gnome-shell-extension-quake-mode, but I thought I'd report this just in case there is some possible resolution or workaround.

Allow to detach the app from the quake-mode

Hi,

Thanks a lot for the extension, it's really great and much more convenient that old "drop-down terminal" I used before :)

I would love if the extension allowed me to "detach" from the quake mode. Currently if I move the window created with the extension and use the toggle shortcut, it will always close the window. After using this "detach", pressing the toggle would only create an other window.

I often find myself scrathing a few command in the drop-down terminal, realize that these commands are more important than I initially realised and that I need them in a "real" terminal other than this "scratch" one.

I can mimic the behaviour I want with the original gnome-terminal: open a tab, right-click on the first tab and "Detach".

I hope you understand my use-case :), sorry if it's a little bit confusing.

I think the "Detach" can be both a shortcut and available trough right-clicking the icon in the tray.

I'm not begging for this feature and will probably try to implement it myself but I'm not familiar with extension development.

Thanks a lot !

Unable to open any application

Issue

I am unable to launch any application with quake-mode. In fact I cant even select an application in the settings (See pictures).

Details

quake-mode version 8
Fedora 36 Workstation
Gnome 42.4
X11

Pictures

image
image

Screen Rotation Issue

With automatic screen rotation in gnome, quake-mode set to 100% width will correctly reduce its width going from landscape to portrait but won't correctly increase its width going from portrait to landscape.

quake-mode timeout

Hey there, let me say that quake-mode is amazing and has become a requirement in my setup. I've been running into a constant issue to prevent this though...it is very common that I get a "quake-mode timeout" notification that also blurs all apps when using this extension. I'm using gnome. Is there something in the code I can change or look at to prevent this from occuring? I've tried switching to Wayland (where it works great) but guake's dropdown terminal doesn't work properly in there :( -- thanks in advanced!

Not all keys could be set as shortcut

Would be amazing, if I could set 'CapsLock' key as a shortcut for quake-mode. It's a key I never use on my keyboard, but unfortunately, it's impossible to set as a shortcut.

Hide from Gnome dock and dash

Great extension to fix the Wayland support for Tilix. The builtin Tilix quake mode however hides the app from the Gnome dock and dash. Any possibilities to do it with this extension as well?

Partially works with cool-retro-term

Tried it with CRT https://github.com/Swordfish90/cool-retro-term
At first attempt, it works. Then i found a situation when terminal window does not show up. How to reproduce:

  1. Use extension and set up it to open CRT
  2. Open it and then exit the terminal
  3. Press drop-down hotkey.
    Expected behavior: It should start new terminal process and display it.
    Actual behavior: Terminal process starts, but window is invisible

Reason: when you run CRT for the first time, it starts un-maximized, in a window. Extension resizes it and everything is OK. When you launch CRT next time, it starts maximized (try to run it manually without extension). For some reason, extension breaks.
If you run CRT manually, un-maximize it and exit, then extension is able to run it and display window again.

Option to keep window on top?

For native Wayland applications running in this extension, is there a way to keep them "on top" even when they lose focus? I could not find such an option. (But my understanding is that an extension like quake-mode is really the only viable way to handle this sort of window interaction under GNOME Shell Wayland.)

[In connection with Equake issue: potential workarounds for usage on GNOME Shell (Wayland) ]

Quake terminal from the bottom

Hi!

Is it possible to choose where the quake-application will appear?
Currently it shows on the top half of the screen. I'd like to have it on the bottom.

Have you considered such feature? :)

Can't remove accelerator and its shortcut

I was playing with configuration and added second accelerator with its shorcut key. Now I can't remove it via settings GUI. Can you add some kind of clear button?

Instance "detached" after Lockscreen

Pressing the shortcurt after unlocking the screen brings up a new instance of the application instead of focusing the initial one.

Gnome Version: 3.28.0

[Bug] Quake-Mode startup bug.

Hello. I use this plugin on gnome40. But there is a problem like this. Tilix does not open by quake-mode unless I open a program that does not trigger Xwayland. When I open a program that triggers Xwayland, the quake-mode works fine.

image

Add the possibility to just run a command (no .desktop file)

If it is on the possibility for a gnome extension, would be great to just set quake-mode to run a command. Sometimes there is the need to run the terminal with special parameters, or running a terminal that doesn't have a registered .desktop file.

[Request] Instance per workspace

Firstly, great extension!

I just wondered if you would consider adding an option to have an application instance per workspace? I think it would be handy to have a separate terminal open for each workspace. Unfortunately the terminal I use (Alacritty) doesn't support tabs.

Extension only creates invisible window on Gnome 3.30

The iusse appears after upgrading to Gnome 3.30 (running wayland), using the extension with tilix. The extension appears to run, but when pressing the accelerator key or clicking the icon, there appears to be no effect. However, going to the activities overview or alt-tabbing reveals that the extension did create a tilix window, but that window is invisible/hidden. The invisible window also appears to have Tilix's default launch geometry rather than the geometry configured in the extension. Let me know if I can provide any more info to help troubleshoot.

Also, while I'm here, I wanted to say "thank you" for your very helpful extension. I've been using it happily on Gnome-shell 3.28 for a few months!

Shift+Fn captured when Fn is set as shortcut key

When used Fn (F12, F10 or any F key) the related Shift+Fn key is captured by quake-mode but do nothing. For example, when used with Gnome Terminal, Shift+F10 is used to show the context menu near the pointer (usually like mouse right-clic). If F10 is used to pop-up Gnome Terminal then Shift+F10 event never reach the app.

This is particular inconvenient when using F12 and byobu, since Shift+F12 toggle on/off Byobu's keybindings.

Tried with several virtual terminals and Fn keys. Also on Pop!_OS 22.04 and Ubuntu 20.04. Could reproduce the issue on all the cases.

Publish on extensions.gnome.org

Thanks for this extension !!
It works after a restart.

Is it possible to publish it on extensions.gnome.org so it benefit from semi-automatic upgrades ?

Doesn't work on Gnome 43

After I manually tweaked metadata.json to enable extension on version 43 of Gnome, I can use my toggle accelerator to open tilix, but it doesn't slide up after second press of accelerator.

Would provide more info, but no observable errors are thrown in Gnome's Looking Glass, and I just don't know where to look for logs.

Issue with kitty terminal

First of all, thank you for working on this extension. Recently I switched to kitty terminal and it is not working properly with the extension. Extension seems to handle other terminals fine.

STR

  1. Install kitty terminal and select kitty as the default app for quake mode
  2. Open the terminal in quake mode
  3. Quit the terminal
  4. Try to toggle it again

What happens

Everything works fine but as soon as I quit the terminal it does not open properly again unless I disable and re-enable the extension.

Request: Add the option to vertically align to "middle"

quake-mode already has the options to vertically align the window to "Top" or "Bottom". I'd like to have an option to do "middle"/"center" vertical alignment too. This helps to click windows title bars and - I think - will look better, though this might be opinionated.

Missing tweener in gnome 3.38

Hi,
I love the extension, I've used it as part of my day to day workflow. I even modified a version to create a sidebar.
Gnome 3.38 breaks the extension due to missing JS module tweener.
In the gnome extensions manager I get the following error for the extension:

Error: No JS module 'tweener' found in search path

And some other shell extensions (like pomodoro for example) show the same error.
Is there a quick fix or workaround for this issue?
(Tested on 2 Debian sid PCs)

Gnome 42 support?

Is there a timeline when support for Gnome 42 (now available e.g. in ubuntu 22.04 beta) will come?

Support for Gnome 44

Hi,

With the release of Fedora 38, Gnome 44 is also available.
Can someone please update this extensions to support Gnome 44?

Thank you for your efforts :)

support for Gnome 41

I loved your extension best one out there, i recently updated to fedora 35 would be cool if you can release with support to Gnome 41

Feature Request

Changing the position of the terminal to the x y position. Or some default settings;

Top left - bottom - right
Bottom left - center - right etc.

Support for Gnome 43

Can someone please add 43 as supported version?
Not sure if any other changes are required because I failed to test it in a virtual machine (some node errs that I don't understand).

According to this user's experience, it works, but it might need more testing: #56

Update or no update, thanks for your work ๐Ÿ‘

Border around window

When using e.g. alacritty with light theme and decorations: none in configuration it is very hard to distinguish terminal window and other app with light background.

Can you please add ability to show borders around? Preferably with ability to select it's color.

Hide app window

I'm using the extension to run terminal.
I do not want to see the terminal window with list of opened apps.
Is there a solution for that ?

Don't show the app on dock/taskbar

If it is on the possibility for a gnome extension, would be great to run the app but doesn't show it on dock/taskbar. This is the default behavior when using Guake.

Right now I'm reproducing this behavior with

Exec=sh -c "~/.local/bin/alacritty & sleep 1;/usr/bin/wmctrl -x -r Alacritty.Alacritty -b add,skip_taskbar"

But this not always work (couldn't find a pattern, when exactly it doesn't).

Proposal: Battery Bar: Render text cetrally

I'd like to see the text (percentage) of the Battery Bar rendered centrally over the Bar. Currently, the text gets "pushed" to the right when the Bar fills (loading).

Reason: Now a wide enough bar is required, but I like mine rather short. Also with this change the text can be centered on the Bar.

Problem: I get this behavior was chosen to avoid the problem of contrast of the text and the different colors charging, discharging, background, etc. of the level. But I think by choosing a grey color for the text should work, but comments are highly welcome as I don't know anything about colors or design.

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.