# Key combination doesn't work

**URL:** <https://forum.endeavouros.com/t/key-combination-doesnt-work/22660>\
**Category:** All WMs\
**Created:** [January 14, 2022, 7:07pm UTC](https://forum.endeavouros.com/t/key-combination-doesnt-work/22660 "2022-01-14T19:07:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boggogo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/boggogo/32/43070_2.png) [@boggogo](https://forum.endeavouros.com/u/boggogo)\
**Post date:** [January 14, 2022, 7:07pm UTC](https://forum.endeavouros.com/t/key-combination-doesnt-work/22660/1 "2022-01-14T19:07:51Z")

</div>

Hello,

I am trying to add a Key combination that should launch `pcmanfm` when I press mod+shift+number3. I have added this line in `~/.config/qtile/modules/keys.py`:

```auto
Key([mod, "shift"], "3", lazy.spawn("pcmanfm"), desc="File manager"),

```

and then restarted Qtile, after executing the above combination there is nothing happening. I do not see any errors in `~/.local/share/qtile/qtile.log`.

Any ideas?

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [January 14, 2022, 7:13pm UTC](https://forum.endeavouros.com/t/key-combination-doesnt-work/22660/2 "2022-01-14T19:13:35Z")

</div>

Isn’t it defined to move window to desktop 3? Let me check my config BRB. Yes - in groups.py:

```auto
        Key([mod, "shift"],
            i.name,
            lazy.window.togroup(i.name, switch_group=True),
            desc="Switch to & move focused window to group {}".format(i.name)),

```

---

<div class="post-metadata">

**Author:** ![boggogo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/boggogo/32/43070_2.png) [@boggogo](https://forum.endeavouros.com/u/boggogo)\
**Post date:** [January 14, 2022, 7:16pm UTC](https://forum.endeavouros.com/t/key-combination-doesnt-work/22660/3 "2022-01-14T19:16:07Z")

</div>

ah, that makes sense! 😃 I forgot about that combination. Thank you

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [January 16, 2022, 7:16pm UTC](https://forum.endeavouros.com/t/key-combination-doesnt-work/22660/4 "2022-01-16T19:16:45Z")

</div>

Closed on January 16, 2022, 7:16pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
