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

quake with gnome-terminal 3.10 or later #358

Closed
elw00d opened this issue Aug 23, 2017 · 1 comment
Closed

quake with gnome-terminal 3.10 or later #358

elw00d opened this issue Aug 23, 2017 · 1 comment

Comments

@elw00d
Copy link

elw00d commented Aug 23, 2017

Hello ! I've experienced with issue when migrated from Ubuntu 14.04 with awesomewm 4.0 to 16.04 and 4.2 respectively.

2017-08-23 12:05:51 W: awesome: luaA_dofunction:77: error while running function!
stack traceback:
	/home/elwood/.config/awesome/lain/util/quake.lua:165: in function 'toggle'
	/home/elwood/.config/awesome/rc.lua:364: in function 'press'
	/usr/local/share/awesome/lib/awful/key.lua:91: in function </usr/local/share/awesome/lib/awful/key.lua:91>
error: /home/elwood/.config/awesome/lain/util/quake.lua:165: attempt to index a nil value

My configuration

s.quake = lain.util.quake({ 
        app = 'gnome-terminal',
        extra = "--disable-factory --profile=Quake",  -- Fixes gnome-terminal's unwanted existing windows reusing behavior
        argname = "--name %s",
        height = 0.653, -- To exactly match with gnome-terminal 'resolution' in laptop mode
        border = 3,
	followtag = true
    })

awesome v4.2 (Human after all)
• Compiled against Lua 5.2.4 (running with Lua 5.2)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.4
• LGI version: 0.9.0

@lcpz
Copy link
Owner

lcpz commented Aug 23, 2017

They removed disable-factory, so it's not possible anymore to have a single gnome-terminal to spawn and use with quake.

In order to make it work again, the logic should focus on PIDs instead of window clients, but that would require to avoid Awesome API and go down to the OS level, which frankly is a bad workflow.

Terminals like gnome-terminal and konsole are too dependent on the DE they belong to, therefore it's improbable that they can adapt to anything different.

But the good news is: you really don't need them. There's plenty of much better and faster terminals, even VTE-based. I suggest termite, otherwise pick one from here, besides the above cited, of course, and yakuake or guake, which constrast in behaviour with quake.

I will update the wiki.

@lcpz lcpz closed this as completed Aug 23, 2017
@lcpz lcpz changed the title quake.lua:165: attempt to index a nil value quake with gnome-terminal 3.10 or later Aug 23, 2017
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

No branches or pull requests

2 participants