You are not logged in.

#1 2014-07-14 23:27:35

grim3271
Member
Registered: 2014-07-12
Posts: 37

Screenshot tool

Can anyone recommend me a nice screenshot tool that does not have 3000 dependencies? I tried a few i found on the arch forum but using yarout it made me install so much dependencies that in the end i just removed all the dependencies mid-installation

Is there a tool that can let me choose an area of the screen, Edit it, Add text, arrows, boxes etc then upload it to a server and then just copy it?  A similar process to lightshot if possible.

Thanks for your time and thanks for reading smile
Ps:- I hope this is the right section.

Offline

#2 2014-07-14 23:52:37

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Screenshot tool

scrot +
dia
or sk1
or the heavier inkscape
or the even heavier LibreOffice Draw
[or maybe even Pencil]
[or the kde heavy calligra-flow]

Edit: added program drawing boxes and such suggestions.

Last edited by emeres (2014-07-15 09:29:24)

Offline

#3 2014-07-15 00:03:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Screenshot tool

I'm not sure if editing, adding boxes etc. is integral pat of taking a screenshot. How about using e.g. gimp for that?
https://wiki.archlinux.org/index.php/Ta … screenshot (yes, some of them are pretty heavy)

See also https://aur.archlinux.org/packages/maim/ and generally search around.

Offline

#4 2014-07-15 01:17:48

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Screenshot tool

** EDIT **
havent read the whole question and teiler doesnt fit the bill.... tongue


shameless self-advertisement: https://aur.archlinux.org/packages/teiler-git

features:
- make screenshot of fullscreen or area.
- upload images to ssh server, filebin, imgur or amazon s3
- copy image to clipboard

- make screencasts
- upload screencasts to ssh server, filebin or amazon s3

- upload selected text to ssh server, filebin or ix.

- keep a history of screenshots/casts
- little upload menu to re-upload old shots.

Last edited by Rasi (2014-07-15 01:34:29)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2014-07-15 11:06:39

grim3271
Member
Registered: 2014-07-12
Posts: 37

Re: Screenshot tool

I should have added more info, I typically use this for gaming where i need to take screenshots of certain pieces of the screen using the PrtSc key, Sadly i couldn't seem to activate most of them using PrtSc
smile

Offline

#6 2014-07-15 11:09:34

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Screenshot tool

You would need something like glc, only taking screenshots, for that.

Edit: I doubt there is an application, where you can actually select and capture parts of the framebuffer screen, but I am eager to be corrected on that.

The 'Print Screen' key might be bound to a function of the game. Try binding SUPER+Print. But again, the tools should grab the desktop not the game itself.

Last edited by emeres (2014-07-15 11:24:01)

Offline

#7 2014-07-15 17:47:17

grim3271
Member
Registered: 2014-07-12
Posts: 37

Re: Screenshot tool

emeres wrote:

You would need something like glc, only taking screenshots, for that.

Edit: I doubt there is an application, where you can actually select and capture parts of the framebuffer screen, but I am eager to be corrected on that.

The 'Print Screen' key might be bound to a function of the game. Try binding SUPER+Print. But again, the tools should grab the desktop not the game itself.

So there's no lightshot-like software for linux? It seems deepin is kinda the same but i have trouble installing it.

Offline

#8 2014-07-15 17:55:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Screenshot tool

I think you mean deepin-screenshot. What exactly is the problem?

Offline

#9 2014-07-15 18:34:02

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Screenshot tool

@grim3271 I never used lightshot, so I would not know. If you never installed aur packages, read the wiki. Grabbing a screenshot of X and of a opengl application are two different things, as far as I understand.

Offline

#10 2014-07-15 18:42:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Screenshot tool

You can find deepin-screenshot in the archlinuxcn unofficial repository too.
https://wiki.archlinux.org/index.php/Un … rchlinuxcn

Offline

#11 2014-07-15 23:38:55

grim3271
Member
Registered: 2014-07-12
Posts: 37

Re: Screenshot tool

karol wrote:

You can find deepin-screenshot in the archlinuxcn unofficial repository too.
https://wiki.archlinux.org/index.php/Un … rchlinuxcn

Yeah, I install it from the AUR and the download server 404s

 [sol@Sol ~]$ yaourt -S deepin-screenshot

==> Downloading deepin-screenshot PKGBUILD from AUR...
x .AURINFO
x PKGBUILD
Comment by Havanna  (2013-07-30 07:40)
pls add the depends: python2-scipy

Comment by 4679kun  (2013-07-30 14:00)
@Havanna thx

Comment by danlamanna  (2013-09-24 01:51)
makepkg -s results in a 404 on deepin-screenshot. It seems as if the pkgver is outdated, according to this URL: http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-screenshot/

Comment by fasheng  (2013-12-10 14:58)
Add function 'get_latest_file()' to check and fix package url if out of date, but need run command 'makepkg -is --skipchecksums' manually in directory '/tmp/yaourt-tmp-fsh/aur-deepin-terminal'

Comment by huiyiqun  (2013-12-13 02:03)
the latest package version is git20131108165119~32e91fbc03 instead of git20131108165119~32e91fb
fix pls

deepin-screenshot 2.1+20140703160929-1  (Sun May 26 09:43:48 BST 2013)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> deepin-screenshot dependencies:
 - python2 (already installed)
 - gconf (already installed)
 - python2-xlib (already installed)
 - python2-wnck (already installed)
 - python2-xdg (already installed)
 - python2-scipy (already installed)
 - python2-pycurl (already installed)
 - deepin-ui (building from AUR)


==> Continue building deepin-screenshot ? [Y/n]
==> -------------------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for deepin-screenshot:

==> Downloading deepin-ui PKGBUILD from AUR...
x .AURINFO
x PKGBUILD
Comment by azurefang  (2013-12-29 05:57)
deepin的软件能不能不用deepin-ui,必须要用么。

Comment by zhqh100  (2014-01-15 11:15)
我刚接触,不知道安装好之后,怎么启动图形界面啊?
哪位能给个详细的教程啊?

Comment by fasheng  (2014-01-16 01:00)
deepin-ui 是深度软件(deepin-terminal,deepin-music-player等)的基础库,如果要体验深度桌面环境,需要安装 deepin-environment-desktop,不过由于某些依赖的版本冲突,有两个子包deepin-compiz和deepin-gnome-settings-daemon还没有移植过来,所以会有一些问题,具体可以参考 https://github.com/fasheng/arch-deepin

Comment by fasheng  (2014-03-12 13:29)
Thanks @flu's advice, merged.

Comment by jokeryu  (2014-03-13 12:41)
链接已失效

deepin-ui 1.1+20140703172225-1  (Wed Jun  6 09:29:34 BST 2012)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> deepin-ui dependencies:
 - deepin-gsettings (already installed)
 - deepin-pygtk (already installed)
 - python2-distribute (already installed)
 - python2 (already installed)
 - glib2 (already installed)
 - python2-cairo (already installed)
 - python2-imaging (already installed)
 - libwebkit (already installed)
 - python2-xlib (already installed)
 - pywebkitgtk (already installed)
 - libsoup (already installed)
 - deepin-utils (building from AUR)


==> Continue building deepin-ui ? [Y/n]
==> -----------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for deepin-ui:

==> Downloading deepin-utils PKGBUILD from AUR...
x PKGBUILD
Comment by huiyiqun  (2014-01-09 04:51)
已经更新

Comment by bsidb  (2014-02-09 00:50)
python-xlib已经更名为python2-xlib了吧。。。

Comment by smsware  (2014-02-20 11:58)
Change python-xlib dependency to python2-xlib

Comment by huiyiqun  (2014-02-24 07:14)
updated

Comment by lilydjwg  (2014-03-28 08:48)
python2-setuptools should be added to makedepends.

deepin-utils 20140509135706~8aaf2a6f00-1  (Sat Feb  2 16:21:55 GMT 2013)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> deepin-utils dependencies:
 - python2 (already installed)
 - pygtk (already installed)
 - python2-cairo (already installed)
 - python2-imaging (already installed)
 - libwebkit (already installed)
 - python2-xlib (already installed)
 - pywebkitgtk (already installed)
 - python2-setuptools (already installed)


==> Continue building deepin-utils ? [Y/n]
==> --------------------------------------
==> 
==> Building and installing package
==> Making package: deepin-utils 20140509135706~8aaf2a6f00-1 (Wed Jul 16 00:36:39 BST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading deepin-utils_0.0.2-20140509135706~8aaf2a6f00.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading deepin-utils_0.0.2-20140509135706~8aaf2a6f00.tar.gz
    Aborting...
==> ERROR: Makepkg was unable to build deepin-utils.
==> Restart building deepin-utils ? [y/N]
==> -------------------------------------
==> 
 

Pressing Y just does the same thing and fails again..
Sadly.

Offline

#12 2014-07-16 00:37:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#13 2014-07-16 04:28:28

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Screenshot tool

In the meantime you can try this PKGBUILD:

# Maintainer: Xu Fasheng <fasheng.xu[AT]gmail.com>

pkgname=deepin-screenshot
pkgver=2.1+20140703160929
pkgrel=1
pkgdesc="Provide a quite easy-to-use screenshot tool. Features:Global hotkey to triggle screenshot tool,Take screenshot of a selected area,Easy to add text and line drawings onto the screenshot"
arch=('any')
url="http://www.linuxdeepin.com/"
license=('LGPL3')
depends=('python2' 'gconf' 'python2-xlib' 'deepin-ui' 'python2-wnck' 'python2-xdg' 'python2-scipy' 'python2-pycurl')
_fileurl="http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-screenshot/deepin-screenshot_2.1%2b20140703160929~bed4810663.tar.gz"
#_fileurl="http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-screenshot/deepin-screenshot_2.1+20140703160929~bed4810663.tar.gz"
source=("${_fileurl}")
sha256sums=('575bcdb7b58d8351990488a826b1e55df4480faf29102e303f6a00e4dbdd03cb')

_filename="$(basename "${_fileurl}")"
_filename1="${_filename%.tar.gz}"
_filename2="$(echo ${_filename%.tar.gz} | sed 's/%2b/+/')"
mv ${_filename1} ${_filename2}
_filename="${_filename2}"
_innerdir="${_filename/_/-}"

_install_copyright_and_changelog() {
    mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
    cp -f debian/copyright "${pkgdir}/usr/share/doc/${pkgname}/"
    gzip -c debian/changelog > "${pkgdir}/usr/share/doc/${pkgname}/changelog.gz"
}

# Usage: _easycp dest files...
_easycp () {
    local dest=$1; shift
    mkdir -p "${dest}"
    cp -R -t "${dest}" "$@"
}

prepare() {
    cd "${srcdir}/${_innerdir}"

    # fix python version
    find "${srcdir}" -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python=\1python2='
}

package() {
    cd "${srcdir}/${_innerdir}"

    _easycp "${pkgdir}"/usr/share/deepin-screenshot/ src
    _easycp "${pkgdir}"/usr/share/deepin-screenshot/ theme
    _easycp "${pkgdir}"/usr/share/deepin-screenshot/ skin
    _easycp "${pkgdir}"/usr/share/ locale
    _easycp "${pkgdir}"/usr/share/icons/hicolor/48x48/apps/ debian/deepin-screenshot.png

    mkdir -p "${pkgdir}"/usr/share/applications/
    install -m 0644 debian/deepin-screenshot.desktop "${pkgdir}"/usr/share/applications/

    mkdir -p "${pkgdir}"/usr/bin
    ln -s /usr/share/deepin-screenshot/src/screenshot.py "${pkgdir}"/usr/bin/deepin-screenshot

    _install_copyright_and_changelog

    # remove .po
    find "${pkgdir}" -name '*.po' -exec rm \{} \;
    find "${pkgdir}" -name '*.pot' -exec rm \{} \;
}

It is an ugly hack, but should work. Karols suggestion about archlinuxcn meant adding that repository to /etc/pacman.conf, updating repositories and downloading the compiled binary from it directly as opposed to the aur package.

Still notify the maintainer, although it seems the file was uploaded under the wrong name.

Offline

#14 2014-07-16 22:27:57

grim3271
Member
Registered: 2014-07-12
Posts: 37

Re: Screenshot tool

Hi, I did notify the maintainer about the 404, Also i don't quite know how to change the source with yaourt.
Thanks for the support smile

Offline

#15 2014-07-16 22:39:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Screenshot tool

I'm not using yaourt, but

$ yaourt -S foo

<snip>

==> Edit PKGBUILD ? [Y/n] ("A" to abort)

seems self-explanatory.
You can always use any editor you like to do it. PKGBUILDs are just plaintext files.

Offline

#16 2014-07-17 11:00:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Screenshot tool

If for whatever reason you still have problems with that package, copy the whole content of the file I posted and save it as PKGBUILD in deepin-screenshot directory, which you download and extract using 'yaourt -G deepin-screenshot'. Run afterwards 'makepkg' from that directory and install using 'yaourt -U package'. Report back, if that is what you were looking for. If so, you can probably mark the thread as solved, if not, specify why.

Last edited by emeres (2014-07-17 11:05:30)

Offline

Board footer

Powered by FluxBB