Choose style:

Author Topic: PrtSc button  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
PrtSc button
« on: April 18, 2017, 05:40:41 pm »
Hello, on the advice of PCNetSpec I am posting this as a separate issue.  Unlike Mint 18.1 I am finding that Peppermint 7 does not take a snapshot of my screen and save it to my pictures folder.  Instead I have to call up an application under launch menu. It was suggested I configure my key codes using xdev.  But if my PrinSc button worked under Mint 18.1, surely it should do so under Peppermint 7....?

Regards
Siawacsh

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25260
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: PrtSc button
« Reply #1 on: April 18, 2017, 06:11:37 pm »
Not necessarily, we have no idea whether Mint edit the default keymappings

I'd like to get the keycode for yor PrtSc key using xev...

Before running xev we're going to want to kill xbindkeys, so open a terminal and run:
Code: [Select]
sudo killall xbindkeys
now start up xev
Code: [Select]
xev
now tap the PrtSc key a few times.

Now close the xev window.

Now scroll through the xev output in the terminal .. you're looking for something like this:-

Quote
KeyPress event, serial 37, synthetic NO, window 0x2000001,
    root 0x49a, subw 0x0, time 21519471, (135,175), root:(729,468),
    state 0x10, keycode 218 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
    root 0x49a, subw 0x0, time 21519582, (135,175), root:(729,468),
    state 0x10, keycode 218 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

The keycode is most likely either 218 or 107, but that's not guaranteed.

Let me know which keycode you find.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #2 on: April 28, 2017, 06:36:39 am »
Hello, apologies for the late reply. I normally expect to get an email with each reply, so forgot that I had check for replies manually.

Here is the output your were looking for. I started the xev process before hitting the PrtScn key three times.

Since we are talking about the keyboard I might as well ask about the num lock. Is there any way num lock was on by default wihout having to manually switch it on?  Again, this was the setup I had on mint 18.1.



Code: [Select]
siawacsh@siawacsh-sager ~ $ xev
Outer window is 0x3400001, inner window is 0x3400002

PropertyNotify event, serial 8, synthetic NO, window 0x3400001,
    atom 0x27 (WM_NAME), time 9568415, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x3400001,
    atom 0x22 (WM_COMMAND), time 9568415, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x3400001,
    atom 0x28 (WM_NORMAL_HINTS), time 9568415, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x3400001,
    parent 0x3400001, window 0x3400002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x3400001,
    atom 0x14f (WM_PROTOCOLS), time 9568415, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400002, override NO

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9568416, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x157 (_NET_WM_DESKTOP), time 9568416, state PropertyNewValue

ConfigureNotify event, serial 20, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, (0,0), width 178, height 178,
    border_width 0, above 0x12092b9, override NO

ReparentNotify event, serial 20, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, parent 0xb825aa,
    (3,34), override NO

ConfigureNotify event, serial 20, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, (3,34), width 178, height 178,
    border_width 0, above 0xb825b9, override NO

ConfigureNotify event, serial 20, synthetic YES, window 0x3400001,
    event 0x3400001, window 0x3400001, (871,508), width 178, height 178,
    border_width 0, above 0x0, override NO

MapNotify event, serial 20, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, override NO

VisibilityNotify event, serial 20, synthetic NO, window 0x3400001,
    state VisibilityUnobscured

Expose event, serial 20, synthetic NO, window 0x3400001,
    (0,0), width 178, height 10, count 3

Expose event, serial 20, synthetic NO, window 0x3400001,
    (0,10), width 10, height 58, count 2

Expose event, serial 20, synthetic NO, window 0x3400001,
    (68,10), width 110, height 58, count 1

Expose event, serial 20, synthetic NO, window 0x3400001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x1c3 (WM_STATE), time 9568420, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x1b0 (_NET_WM_ALLOWED_ACTIONS), time 9568420, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9568420, state PropertyNewValue

FocusIn event, serial 20, synthetic NO, window 0x3400001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 20, synthetic NO, window 0x0,
    keys:  4294967265 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x154 (_NET_FRAME_EXTENTS), time 9568420, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9568420, state PropertyNewValue

ColormapNotify event, serial 23, synthetic NO, window 0x3400001,
    colormap 0x20, new NO, state ColormapInstalled

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9568429, state PropertyNewValue

KeyRelease event, serial 33, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9568488, (-664,678), root:(207,1186),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

PropertyNotify event, serial 36, synthetic NO, window 0x3400001,
    atom 0x1b3 (_NET_WM_ICON_GEOMETRY), time 9568496, state PropertyNewValue

KeyPress event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9571592, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9571743, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9572648, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9572816, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9573632, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9573816, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x3400001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 37, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9576792, state PropertyNewValue

ColormapNotify event, serial 37, synthetic NO, window 0x3400001,
    colormap 0x20, new NO, state ColormapUninstalled

EnterNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578200, (9,6), root:(880,514),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578200, (9,6), root:(880,514),
    state 0x10, is_hint 0, same_screen YES

LeaveNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578208, (22,13), root:(893,521),
    mode NotifyNormal, detail NotifyInferior, same_screen YES,
    focus NO, state 16

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x3400002, time 9578208, (22,13), root:(893,521),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x3400002, time 9578216, (35,20), root:(906,528),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x3400002, time 9578224, (48,27), root:(919,535),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x3400002, time 9578231, (61,34), root:(932,542),
    state 0x10, is_hint 0, same_screen YES

EnterNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578240, (72,39), root:(943,547),
    mode NotifyNormal, detail NotifyInferior, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  82  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578240, (72,39), root:(943,547),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578247, (81,44), root:(952,552),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578256, (86,49), root:(957,557),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578263, (88,49), root:(959,557),
    state 0x10, is_hint 0, same_screen YES

FocusIn event, serial 37, synthetic NO, window 0x3400001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  82  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ColormapNotify event, serial 37, synthetic NO, window 0x3400001,
    colormap 0x20, new NO, state ColormapInstalled

PropertyNotify event, serial 37, synthetic NO, window 0x3400001,
    atom 0x15d (_NET_WM_STATE), time 9578432, state PropertyNewValue

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578552, (89,49), root:(960,557),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578576, (90,49), root:(961,557),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578583, (92,48), root:(963,556),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578592, (96,47), root:(967,555),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578600, (100,44), root:(971,552),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578608, (105,42), root:(976,550),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578615, (110,39), root:(981,547),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578624, (114,36), root:(985,544),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578631, (119,35), root:(990,543),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578639, (123,33), root:(994,541),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578648, (128,30), root:(999,538),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578655, (132,28), root:(1003,536),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578664, (136,27), root:(1007,535),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578672, (138,25), root:(1009,533),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578680, (141,23), root:(1012,531),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578687, (143,23), root:(1014,531),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578696, (144,21), root:(1015,529),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578712, (144,20), root:(1015,528),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578720, (145,19), root:(1016,527),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578728, (145,18), root:(1016,526),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578735, (147,18), root:(1018,526),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578743, (147,17), root:(1018,525),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578752, (148,16), root:(1019,524),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578759, (148,15), root:(1019,523),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578768, (149,15), root:(1020,523),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578776, (149,14), root:(1020,522),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578784, (149,13), root:(1020,521),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578792, (150,13), root:(1021,521),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578799, (151,12), root:(1022,520),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578808, (151,11), root:(1022,519),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578816, (152,10), root:(1023,518),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578831, (152,9), root:(1023,517),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578839, (153,8), root:(1024,516),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578855, (153,7), root:(1024,515),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578863, (154,7), root:(1025,515),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578920, (154,6), root:(1025,514),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578943, (155,5), root:(1026,513),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578951, (155,4), root:(1026,512),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578968, (156,3), root:(1027,511),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578976, (157,3), root:(1028,511),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578983, (158,3), root:(1029,511),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9578992, (158,2), root:(1029,510),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579000, (159,2), root:(1030,510),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579016, (160,1), root:(1031,509),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579039, (161,1), root:(1032,509),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579048, (161,0), root:(1032,508),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579055, (162,0), root:(1033,508),
    state 0x10, is_hint 0, same_screen YES

LeaveNotify event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9579072, (163,-1), root:(1034,507),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 16

ClientMessage event, serial 37, synthetic YES, window 0x3400001,
    message_type 0x14f (WM_PROTOCOLS), format 32, message 0x14d (WM_DELETE_WINDOW)
siawacsh@siawacsh-sager ~ $

« Last Edit: April 28, 2017, 06:39:37 am by siawacsh »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2993
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: PrtSc button
« Reply #3 on: April 28, 2017, 07:00:19 am »
Since we are talking about the keyboard I might as well ask about the num lock. Is there any way num lock was on by default wihout having to manually switch it on?  Again, this was the setup I had on mint 18.1.

Hi siawacsh,

In a terminal window install numlockx

Code: [Select]
sudo apt-get install numlockx

and then in the same terminal when install has finished type
Code: [Select]
numlockx on
and off course replace on with off - if ever you want to reverse the action

Please also remember to use a separate thread for what is really a separate problem as when you eventually mark this thread [Solved] other forum users won't know it also contains a solution for number lock as the title is about print screen  :)

Regards Zeb...
« Last Edit: April 28, 2017, 07:05:57 am by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #4 on: April 28, 2017, 07:34:37 am »
Thank you Zeb. That worked a treat!

Your name reminds me of my childhood TV kids program. You don't happen to live in Ireland, do you?

Siawacsh

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2993
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: PrtSc button
« Reply #5 on: April 28, 2017, 07:41:57 am »
Hi siawacsh,

No - I live in England and my nick comes from a love of the Magic Roundabout when I was growing up  :)

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #6 on: April 28, 2017, 07:44:49 am »
Yes, the Magic Roundabout... ;D

Siawacsh

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25260
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: PrtSc button
« Reply #7 on: April 28, 2017, 08:22:56 am »
It seems you already have the correct keycode:-
Quote
KeyPress event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9573632, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
So it "should" be working :-\

Does pressing any of
PrtSc
or
Ctrl+PrtSc
or
Alt+PrtSc
result in a "Screenshot" or "Windowshot" file appearing on your desktop ?

Do other keyboard shortcuts work, such as does:-
Ctrl+Alt+T
open a terminal ?

and what's the contents of
Code: [Select]
pluma ~/.config/peppermint-control-center/xbindkeys.conf
« Last Edit: April 28, 2017, 08:24:40 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #8 on: April 30, 2017, 10:13:14 am »
It seems you already have the correct keycode:-
Quote
KeyPress event, serial 37, synthetic NO, window 0x3400001,
    root 0x252, subw 0x0, time 9573632, (-664,678), root:(207,1186),
    state 0x10, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
So it "should" be working :-\

Does pressing any of
PrtSc
or
Ctrl+PrtSc
or
Alt+PrtSc
result in a "Screenshot" or "Windowshot" file appearing on your desktop ?

Do other keyboard shortcuts work, such as does:-
Ctrl+Alt+T
open a terminal ?

and what's the contents of
Code: [Select]
pluma ~/.config/peppermint-control-center/xbindkeys.conf

Unfortunately none of the above keyboard strokes work at all.

here are the contents of xbindkeys.conf

Quote
"x-terminal-emulator"
    Control+Alt+t

"nemo"
    Mod4+e

"nemo"
    Control+Alt+f

"xfrun4"
    Mod4+r

"xfrun4"
    Alt+F2

"xfce4-popup-whiskermenu"
    Alt+F1

"xfce4-popup-whiskermenu"
    Control+Escape

"xfce4-popup-whiskermenu"
    Super_L

"peppermint-logout"
    Control+Alt+Delete

"scrot 'Screenshot_%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Desktop/'"
    Print

"scrot -u -b 'Windowshot_%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Desktop/'"
    Control+Print

"peppermint-scrot-helper.sh"
    Control+Shift+Print

"lxlock"
    Control+Alt+l

"amixer -q sset Master 3%+ unmute"
    XF86AudioRaiseVolume

"amixer -q sset Master 3%- unmute"
    XF86AudioLowerVolume

"amixer -q sset Master toggle"
    XF86AudioMute

"galculator"
    XF86Calculator

"nemo"
    XF86MyComputer

"sleep 2;xset dpms force off"
    Control+Shift+F7

## "xbacklight -inc 10"
##     Control+Shift+F11

## "xbacklight -dec 10"
##     Control+Shift+F10

"peppermint-logout"
    XF86PowerOff



Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #9 on: April 30, 2017, 10:16:28 am »
I am experiencing other art work behaviors that I find annoying. But I prefer to show them as screenshots than to have to explain them in text. So I will wait till the latter is resolved first.

Siawacsh

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2993
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: PrtSc button
« Reply #10 on: April 30, 2017, 02:17:14 pm »
you can always install "shutter" and do screen shots that way, you can then also just do a section of the screen you select and it has the ability to upload the screen shot to a web image hosting site and post the link here.

Regards Zeb...
« Last Edit: April 30, 2017, 02:32:31 pm by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #11 on: April 30, 2017, 02:39:43 pm »
HI Zeb, don't get me wrong I have two apps by the same name that take screenshots. But they are a pain to use. By the time I am ready to hit the shoot  button I have lost target. In mint I was able to hit the keyboard and it would automatically capture whatever is on the screen.

For example I am having problems with the transparency of menus (not the whisker). Menus such as the firefox bookmarks or when I open the file menu in Libre Writer. If I want to take a screen shot of that I cannot hit shoot and at the same time keep open the file menu drop down.

Siawacsh
« Last Edit: April 30, 2017, 03:25:29 pm by siawacsh »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2993
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: PrtSc button
« Reply #12 on: April 30, 2017, 03:34:55 pm »
Hi

That is the beauty of "Shutter" you can set a delay of say 3 seconds.  Click screen shot and then go and open the relevant menu - Bingo! 3 secs later a screen shot of the open menu  :)

Of course you can make if 5 seconds 10 seconds however long you need to get the screen how you want it.

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: PrtSc button
« Reply #13 on: April 30, 2017, 04:02:02 pm »
Thanks Zeb, I did not think of that. I still prefer to use a single keyboard stroke. But it will do for now. So here is a screenshot of the menu transparency issue. The menu becomes so unreadable to have the transparent menu drop down. I have played around with Peppermint control center, desktop effects. But have not managed to find a solution.

Another annoying feature is when I have two apps open. E.g. a browser and office writer.  I have to make sure the mouse arrow is on the app in the foreground for the keyboard to type text. In other distros it did not matter where the mouse pointer is on, the keyboard would work on the app in the foreground. I hope that was clear.

Siawacsh

PS I was not able to upload a screen shot of the menu to the forum. Ctrl + Alt + s did not work.
« Last Edit: April 30, 2017, 04:08:27 pm by siawacsh »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2993
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: PrtSc button
« Reply #14 on: April 30, 2017, 04:15:06 pm »
Hi Siawacsh,

You have to upload the image to an external image hosting site and then put the link into the Forums

Take a look here for a HowTo : https://forum.peppermintos.com/index.php/topic,4036.0.html

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080