Giter Site home page Giter Site logo

Unclear -d option usage about alttab HOT 8 OPEN

jidanni avatar jidanni commented on June 9, 2024
Unclear -d option usage

from alttab.

Comments (8)

sagb avatar sagb commented on June 9, 2024 2

Alttab is designed to start as simple as just alttab.
Please learn to report bugs. There is thorough recommendations from GNU, but I find this short guide very good.
Attach screenshots of your problem.
Read man page! Provide information about your desktops, try to change -d option.

Delete unprofessional complains in non-related i3 repository.

from alttab.

orestisfl avatar orestisfl commented on June 9, 2024 2

Anyway, I expect to see three choices, just like the row at the bottom of the screen: SU, uxterm, and Emacs.

Use alttab -w 1 -d 1 to show windows across different workspaces.

from alttab.

sagb avatar sagb commented on June 9, 2024 1

To understand, view the screenshot here (despite the fact that it turned out this way for a different reason): #152

from alttab.

jidanni avatar jidanni commented on June 9, 2024

Okay, when I get back to town next week I'll post what I saw on my screen. Thanks.

from alttab.

jidanni avatar jidanni commented on June 9, 2024

Here you can see I have according to
/usr/share/doc/alttab/wm-setup.md.gz
I have altered my i3 config file as so,

#bindsym $mod+Tab workspace back_and_forth
exec_always alttab

The result is only one choice.
20240203T144600

On the bottom of the screen you see I have gone to the Uxterm window
to execute

import -window root -pause 13 pic.jpg

and during those 13 seconds I went back to the emacs window to do
alt+tab which only shows one choice, that square in the middle right of my cropped screenshot.

In fact the only time I got it to show two choices is when I do
xli image.jpg&
then I get two choices, the shell, and xli.

Anyway, I expect to see three choices, just like the row at the bottom
of the screen: SU, uxterm, and Emacs.

Even after doing service lightdm restart, each window only shows one
choice when alt+tab is pressed.

SU when in the SU window,
uxterm when in the uxterm window,
and Emacs when in the Emacs window.

So to switch windows I have to fall back to ALT+number.

Package: alttab
Version: 1.7.1-1
System Information:
Debian Release: trixie/sid
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages alttab depends on:
ii  libc6        2.37-15
ii  libpng16-16  1.6.42-1
ii  libx11-6     2:1.8.7-1
ii  libxft2      2.3.6-1
ii  libxpm4      1:3.5.17-1
ii  libxrandr2   2:1.5.2-2+b1
ii  libxrender1  1:0.9.10-1.1

from alttab.

jidanni avatar jidanni commented on June 9, 2024

alttab -w 1 -d 1

Ah! no wonder!

(I have an idea, perhaps make the default be -d 1 instead of -d 0.
That way dumber users would still find all their windows, and smarter users could customize it back to -d 0.)

from alttab.

sagb avatar sagb commented on June 9, 2024

When a user has 50 windows open across various workspaces and then launches alttab for the first time, the default display of all these windows would be so ugly, to the point where the user may not even bother to find out if alttab can show fewer windows.
On the contrary, if the user is presented with windows from only one desktop (as in your scenario), they are more likely to understand how it works (just as you did).
That's why -d 0 is default.

from alttab.

jidanni avatar jidanni commented on June 9, 2024

Hmmm, maybe have an additional choice, not just one or all.
Perhaps "a few" and have the exact limit chosen by another variable...

from alttab.

Related Issues (20)

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.