Print Screen key in i3
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
By default, i3 ignores the Print Screen key available in most keyboards. How can it be activated?
i3
add a comment |
By default, i3 ignores the Print Screen key available in most keyboards. How can it be activated?
i3
add a comment |
By default, i3 ignores the Print Screen key available in most keyboards. How can it be activated?
i3
By default, i3 ignores the Print Screen key available in most keyboards. How can it be activated?
i3
i3
asked Jan 31 at 10:03


Luís de SousaLuís de Sousa
12619
12619
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Everything inside i3 needs to be bound and just a minimal set of keys is added/generated inside the default config. Some keys that are not letters can be represented with its keycodes or keysyms. More about this subject here:
- i3 User’s Guide - 4.3. Keyboard bindings
Printscreen is the Print
keysym.
I personally use gnome-screenshot
to that task, since it can crop images, making life easier. Add the following lines to your .config/i3/config
or any config file you are using as the i3wm
main config file.
#interactive screenshot by pressing printscreen
bindsym Print exec gnome-screenshot -i
#crop-area screenshot by pressing Mod + printscreen
bindsym $mod+Print exec gnome-screenshot -a
Some people like to use scrot
. That is up to you to decide :) . Example:
bindsym Print exec scrot $HOME/Images/`date +%Y-%m-%d_%H:%M:%S`.png
The second binding withMod1+Print
does not work, but the rest is more than enough.
– Luís de Sousa
Jan 31 at 14:51
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousaMod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use mainmod
key. Sorry for the misinformation from myi3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the$mod
, there is even a sort of error sound that is played.
– Luís de Sousa
Jan 31 at 19:32
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497897%2fprint-screen-key-in-i3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Everything inside i3 needs to be bound and just a minimal set of keys is added/generated inside the default config. Some keys that are not letters can be represented with its keycodes or keysyms. More about this subject here:
- i3 User’s Guide - 4.3. Keyboard bindings
Printscreen is the Print
keysym.
I personally use gnome-screenshot
to that task, since it can crop images, making life easier. Add the following lines to your .config/i3/config
or any config file you are using as the i3wm
main config file.
#interactive screenshot by pressing printscreen
bindsym Print exec gnome-screenshot -i
#crop-area screenshot by pressing Mod + printscreen
bindsym $mod+Print exec gnome-screenshot -a
Some people like to use scrot
. That is up to you to decide :) . Example:
bindsym Print exec scrot $HOME/Images/`date +%Y-%m-%d_%H:%M:%S`.png
The second binding withMod1+Print
does not work, but the rest is more than enough.
– Luís de Sousa
Jan 31 at 14:51
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousaMod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use mainmod
key. Sorry for the misinformation from myi3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the$mod
, there is even a sort of error sound that is played.
– Luís de Sousa
Jan 31 at 19:32
add a comment |
Everything inside i3 needs to be bound and just a minimal set of keys is added/generated inside the default config. Some keys that are not letters can be represented with its keycodes or keysyms. More about this subject here:
- i3 User’s Guide - 4.3. Keyboard bindings
Printscreen is the Print
keysym.
I personally use gnome-screenshot
to that task, since it can crop images, making life easier. Add the following lines to your .config/i3/config
or any config file you are using as the i3wm
main config file.
#interactive screenshot by pressing printscreen
bindsym Print exec gnome-screenshot -i
#crop-area screenshot by pressing Mod + printscreen
bindsym $mod+Print exec gnome-screenshot -a
Some people like to use scrot
. That is up to you to decide :) . Example:
bindsym Print exec scrot $HOME/Images/`date +%Y-%m-%d_%H:%M:%S`.png
The second binding withMod1+Print
does not work, but the rest is more than enough.
– Luís de Sousa
Jan 31 at 14:51
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousaMod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use mainmod
key. Sorry for the misinformation from myi3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the$mod
, there is even a sort of error sound that is played.
– Luís de Sousa
Jan 31 at 19:32
add a comment |
Everything inside i3 needs to be bound and just a minimal set of keys is added/generated inside the default config. Some keys that are not letters can be represented with its keycodes or keysyms. More about this subject here:
- i3 User’s Guide - 4.3. Keyboard bindings
Printscreen is the Print
keysym.
I personally use gnome-screenshot
to that task, since it can crop images, making life easier. Add the following lines to your .config/i3/config
or any config file you are using as the i3wm
main config file.
#interactive screenshot by pressing printscreen
bindsym Print exec gnome-screenshot -i
#crop-area screenshot by pressing Mod + printscreen
bindsym $mod+Print exec gnome-screenshot -a
Some people like to use scrot
. That is up to you to decide :) . Example:
bindsym Print exec scrot $HOME/Images/`date +%Y-%m-%d_%H:%M:%S`.png
Everything inside i3 needs to be bound and just a minimal set of keys is added/generated inside the default config. Some keys that are not letters can be represented with its keycodes or keysyms. More about this subject here:
- i3 User’s Guide - 4.3. Keyboard bindings
Printscreen is the Print
keysym.
I personally use gnome-screenshot
to that task, since it can crop images, making life easier. Add the following lines to your .config/i3/config
or any config file you are using as the i3wm
main config file.
#interactive screenshot by pressing printscreen
bindsym Print exec gnome-screenshot -i
#crop-area screenshot by pressing Mod + printscreen
bindsym $mod+Print exec gnome-screenshot -a
Some people like to use scrot
. That is up to you to decide :) . Example:
bindsym Print exec scrot $HOME/Images/`date +%Y-%m-%d_%H:%M:%S`.png
edited Jan 31 at 18:07
answered Jan 31 at 10:07
nwildnernwildner
15k34581
15k34581
The second binding withMod1+Print
does not work, but the rest is more than enough.
– Luís de Sousa
Jan 31 at 14:51
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousaMod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use mainmod
key. Sorry for the misinformation from myi3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the$mod
, there is even a sort of error sound that is played.
– Luís de Sousa
Jan 31 at 19:32
add a comment |
The second binding withMod1+Print
does not work, but the rest is more than enough.
– Luís de Sousa
Jan 31 at 14:51
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousaMod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use mainmod
key. Sorry for the misinformation from myi3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the$mod
, there is even a sort of error sound that is played.
– Luís de Sousa
Jan 31 at 19:32
The second binding with
Mod1+Print
does not work, but the rest is more than enough.– Luís de Sousa
Jan 31 at 14:51
The second binding with
Mod1+Print
does not work, but the rest is more than enough.– Luís de Sousa
Jan 31 at 14:51
1
1
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
maim has a rich feature set, including region selection
– williamvds
Jan 31 at 17:11
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
Good suggestion :) Will try maim at home too..
– nwildner
Jan 31 at 17:52
@LuísdeSousa
Mod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use main mod
key. Sorry for the misinformation from my i3
/config
– nwildner
Jan 31 at 18:07
@LuísdeSousa
Mod1
is alt, not your main mod key(Control or Winkey, whatever you have set up). Editing the answer to use main mod
key. Sorry for the misinformation from my i3
/config
– nwildner
Jan 31 at 18:07
@ndwildner This is not related to the
$mod
, there is even a sort of error sound that is played.– Luís de Sousa
Jan 31 at 19:32
@ndwildner This is not related to the
$mod
, there is even a sort of error sound that is played.– Luís de Sousa
Jan 31 at 19:32
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497897%2fprint-screen-key-in-i3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown