Re: Screenshot submenu
The command could be included in the default menu. If the program is not installed, it will open an error box to let the user know. Then it can be easily fixed by installing the required packages or editing the menu. In my distrib for example, the wmaker package ships with a default static menu with several uninstalled programs, I dont find it shocking. IMHO, I just think it is a bad idea to force the dependency of imagemagick for a simple screen shot. L. 2016-01-26 17:25 GMT+01:00 Carlos R. Mafra : > On Tue, 26 Jan 2016 at 16:59:59 +0100, PERROTON, Laurent wrote: > > 2016-01-26 15:34 GMT+01:00 Alwin : > > > > > Personally, I think no... :-) There are more ways and personal > > > preferences like Laurent showed. > > > > > > > > >> We should create a patch? > > >> > > >> In Debian, wmaker could require imagemagick. > > >> > > > > > > ...but on the other hand, if imagemagick support is compiled-in, it > could > > > be a useful example? > > > > > > > +1 > > > > I think creating a dependency just for screen capture would go against > unix > > design rules: keep it simple and modular. There are multiple ways to > > perform screen capture under X11/wmaker and bind it to a shortcut (xwd, > > xv, shutter, scrot, import, gimp, even ffmpeg...just to name a few). The > > most important is to document it so that anybody can find it when they > need > > to, including it as example scripts is a great idea. > > Another approach is to patch wmgenmenu in order to include > a screenshot menu if and only if the appropriate program > is already installed. > > But I agree that documenting the several options is a good > idea. It is a pity that we don't get any patches adding > documentation in the windowmaker webpage (the repo is > here: git://repo.or.cz/whome.git). This example menu > would be a good example of what people could add to > the webpage. > > > -- > To unsubscribe, send mail to [email protected] > . >
Re: Screenshot submenu
On Tue, 26 Jan 2016 at 16:59:59 +0100, PERROTON, Laurent wrote: > 2016-01-26 15:34 GMT+01:00 Alwin : > > > Personally, I think no... :-) There are more ways and personal > > preferences like Laurent showed. > > > > > >> We should create a patch? > >> > >> In Debian, wmaker could require imagemagick. > >> > > > > ...but on the other hand, if imagemagick support is compiled-in, it could > > be a useful example? > > > > +1 > > I think creating a dependency just for screen capture would go against unix > design rules: keep it simple and modular. There are multiple ways to > perform screen capture under X11/wmaker and bind it to a shortcut (xwd, > xv, shutter, scrot, import, gimp, even ffmpeg...just to name a few). The > most important is to document it so that anybody can find it when they need > to, including it as example scripts is a great idea. Another approach is to patch wmgenmenu in order to include a screenshot menu if and only if the appropriate program is already installed. But I agree that documenting the several options is a good idea. It is a pity that we don't get any patches adding documentation in the windowmaker webpage (the repo is here: git://repo.or.cz/whome.git). This example menu would be a good example of what people could add to the webpage. -- To unsubscribe, send mail to [email protected].
Re: Screenshot submenu
2016-01-26 15:34 GMT+01:00 Alwin : > Personally, I think no... :-) There are more ways and personal > preferences like Laurent showed. > > >> We should create a patch? >> >> In Debian, wmaker could require imagemagick. >> > > ...but on the other hand, if imagemagick support is compiled-in, it could > be a useful example? > +1 I think creating a dependency just for screen capture would go against unix design rules: keep it simple and modular. There are multiple ways to perform screen capture under X11/wmaker and bind it to a shortcut (xwd, xv, shutter, scrot, import, gimp, even ffmpeg...just to name a few). The most important is to document it so that anybody can find it when they need to, including it as example scripts is a great idea. L.
Re: Screenshot submenu
It would be great if the plmenu would allow including external plugins, modules, snippets (call it whatever you want). If, for example, the below shown menu could be made available as "~/GNUstep/Defaults/WMRootMenu.d/screeshot.plist" file and then be included on the fly via some yet to be devised function into "~/GNUstep/Defaults/WMRootMenu". That would be a nice feature! On 01/26/2016 10:24 AM, Alwin wrote: > Handy screenshot submenu (idea shamelessly stolen from FVWM-Crystal), > using ImageMagick. In frame mode, a window can be clicked, or lines be > drawn. > > ~/GNUstep/Defaults/WMRootMenu: > > ( > Screenshot, > ( [...] > ) > ), > -- To unsubscribe, send mail to [email protected].
Re: Screenshot submenu
Hi, An alternative to capture a screen area with the Print key with xbindkeys, add to your ~/.xbindkeysrc file: # Screenshot "import /tmp/screenshot.png && geeqie /tmp/screenshot.png" Print You can also tune audio volume up/down with the keyboard shortcuts (assuming your keyboard generates the right keys, that your audio system uses pulse audio and that you have the script pulseaudio-ctl): # Sound: volume +/- mute "pulseaudio-ctl mute" XF86AudioMute "pulseaudio-ctl down" XF86AudioLowerVolume "pulseaudio-ctl up" XF86AudioRaiseVolume Additional functionnalities with kbd shortcuts only limited by your imagination ;-) LP 2016-01-26 10:24 GMT+01:00 Alwin : > Handy screenshot submenu (idea shamelessly stolen from FVWM-Crystal), > using ImageMagick. In frame mode, a window can be clicked, or lines be > drawn. > > ~/GNUstep/Defaults/WMRootMenu: > > ( > Screenshot, > ( > "Full screen", > SHORTCUT, > Print, > SHEXEC, > "import -window root -quality 100 > ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" > ), > ( > "Delayed full screen", > SHEXEC, > "import -pause 10 -window root -quality 100 > ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" > ), > ( > Frame, > SHEXEC, > "import -frame -quality 100 ~/Pictures/screenshots/Screenshot-`date > +%Y%m\\%d_%H%M%S`.png" > ) > ), > > -- > [alwin] > > > > -- > To unsubscribe, send mail to [email protected] > . >
Re: Screenshot submenu
kix schreef: El 2016-01-26 10:24, Alwin escribió: Handy screenshot submenu (idea shamelessly stolen from FVWM-Crystal), using ImageMagick. In frame mode, a window can be clicked, or lines be drawn. ~/GNUstep/Defaults/WMRootMenu: ( Screenshot, ( "Full screen", SHORTCUT, Print, SHEXEC, "import -window root -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ), ( "Delayed full screen", SHEXEC, "import -pause 10 -window root -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ), ( Frame, SHEXEC, "import -frame -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ) ), -- [alwin] Thanks Alwin, I think is a good idea. Personally, I think no... :-) There are more ways and personal preferences like Laurent showed. We should create a patch? In Debian, wmaker could require imagemagick. ...but on the other hand, if imagemagick support is compiled-in, it could be a useful example? Cheers, kix -- [alwin] -- To unsubscribe, send mail to [email protected].
Re: Screenshot submenu
El 2016-01-26 10:24, Alwin escribió: Handy screenshot submenu (idea shamelessly stolen from FVWM-Crystal), using ImageMagick. In frame mode, a window can be clicked, or lines be drawn. ~/GNUstep/Defaults/WMRootMenu: ( Screenshot, ( "Full screen", SHORTCUT, Print, SHEXEC, "import -window root -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ), ( "Delayed full screen", SHEXEC, "import -pause 10 -window root -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ), ( Frame, SHEXEC, "import -frame -quality 100 ~/Pictures/screenshots/Screenshot-`date +%Y%m\\%d_%H%M%S`.png" ) ), -- [alwin] Thanks Alwin, I think is a good idea. We should create a patch? In Debian, wmaker could require imagemagick. Cheers, kix -- To unsubscribe, send mail to [email protected].
