Screenshot not working

Tagged: 

  • This topic has 21 replies, 5 voices, and was last updated Apr 20-1:13 pm by rokytnji.
Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #9069
    Member
    KenzoG

      Screenshot is not working, neither in AntiX i486 (laptop) nor amd64 (desktop) versions.

      It gives this error message: File ending has been changed

      Any suggestions ??

      #9079
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        See if yours matches mine. Did you md5sum check your iso before install to boot media?

        harry@biker:~
        $ cd /usr/local/bin
        harry@biker:/usr/local/bin
        $ ls -l antixscreenshot.sh
        -rwxr-xr-x 1 root root 5051 Jul  6  2017 antixscreenshot.sh
        harry@biker:/usr/local/bin
        $ cat atixscreenshot.sh
        cat: atixscreenshot.sh: No such file or directory
        harry@biker:/usr/local/bin
        $ cat antixscreenshot.sh
        #! /bin/bash
        
        TEXTDOMAINDIR=/usr/share/locale 
        TEXTDOMAIN=antixscreenshot.sh
        
        cd /home/$USER
        
        function preview_full {
          feh -g 640x480 /home/$USER/scr/"$NAME"."$EXT" & yad --image="question" --title=$"antiXscreenshot" --text=$"Keep this screenshot?" --button="CANCEL:1" --button="OK:0"
        
          case "$?" in
          "0")
            killall feh
            
            if [ "$SAVETO" = "true" ] ; then
              choose_dir
            else
              dir_path=/home/$USER
              file_name="$NAME"
              file_ext="$EXT"
            
              save_shot
            fi
            ;;
          "1")
            killall feh
            rm -rf /home/$USER/scr
            ;;
          esac
        }
        
        function preview_custom {
          feh /home/$USER/scr/"$NAME"."$EXT" & yad --image="question" --title=$"antiXscreenshot" --text=$"Keep this screenshot?" --button="CANCEL:1" --button="OK:0";
        
          case "$?" in
          "0")
            killall feh
            
            if [ "$SAVETO" = "true" ] ; then
              choose_dir
            else
              dir_path=/home/$USER
              file_name="$NAME"
              file_ext="$EXT"
            
              save_shot
            fi
            ;;
          "1")
            killall feh
            rm -rf /home/$USER/scr
            ;;
          esac
        }
        
        function choose_dir {
          cd /home/$USER
        
          files=<code>yad --file-selection --save --filename=&quot;$NAME&quot;.&quot;$EXT&quot; --title=&quot;antiXscreenshot&quot;</code> 
          
          if [ "$files" = "" ] ; then 
            rm -rf /home/$USER/scr
          else
            dir_path=<code>dirname &quot;$files&quot;</code>
            base_name=$(basename "$files")
            file_name=${base_name%.*}
            file_ext=${base_name##*.}
            
            if [ "$file_ext" != "$EXT" ] ; then
              yad --image="error" --title="antiXscreenshot" --text=$"File extension was changed.\nPlease try again."    
              choose_dir
            fi
            
            save_shot
          fi
        }
        
        function save_shot {
            if [ -e "$dir_path"/"$file_name"."$file_ext" ] ; then v=1
        	while [ -e "$dir_path"/"$file_name"_"$v"."$file_ext" ] 
        	do
        	  echo $v
        	  v=$(($v+1))
        	done
        	fi
        
            if [ -n "$v" ] ; then 
              mv /home/$USER/scr/"$NAME"."$EXT" "$dir_path"/"$file_name"_"$v"."$file_ext"	
              mv /home/$USER/scr/"$NAME"-thumb."$EXT" "$dir_path"/"$file_name"-thumb_"$v"."$file_ext"
            else 
              mv /home/$USER/scr/"$NAME"."$EXT" "$dir_path"/"$file_name"."$file_ext"
              mv /home/$USER/scr/"$NAME"-thumb."$EXT" "$dir_path"/"$file_name"-thumb."$file_ext"
            fi
        
            rm -rf /home/$USER/scr
        
            yad --title="antiXscreenshot" --image="info" --text=$"Your screenshot has been saved."
        }
        
        export DIALOG=$(cat <<End_of_Text 
        
        <window title="antiXscreenshot" window-position="1">
        
        <vbox>
        <hbox>
          <vbox>
          <frame>
            <frame <code>gettext $&quot;Region to capture&quot;</code>>
            <combobox>
        	  <variable>REGION</variable>
              <item><code>gettext $&quot;Full Screen&quot;</code></item>
              <item><code>gettext $&quot;Custom Area&quot;</code></item>
              <item><code>gettext $&quot;Window&quot;</code></item>
        	</combobox>
            </frame>
        
            <frame <code>gettext $&quot;Name of image&quot;</code>>
            <entry>
              <default>screenshot</default>
              <variable>NAME</variable>
            </entry>
            </frame>
        
            <frame <code>gettext $&quot;File type&quot;</code>>
            <combobox>
              <variable>EXT</variable>
              <item>jpg</item>
              <item>png</item>
              <item>bmp</item>
              <item>xpm</item>
              <item>tif</item>
            </combobox>
            </frame>
        
            <frame <code>gettext $&quot;Show save dialog&quot;</code>>
            <checkbox active="true">
              <label>"<code>gettext $&quot;Choose directory&quot;</code>"</label>
              <variable>SAVETO</variable>
              <default>yes</default>
            </checkbox>
            </frame>
          </frame>
          </vbox>
        
          <vbox>
          <frame>
            <frame <code>gettext $&quot;Delay in seconds&quot;</code>>
            <entry>
              <default>5</default>
              <variable>DELAY</variable>
            </entry>
            </frame>
        
            <frame <code>gettext $&quot;Multiple screenshots&quot;</code>>
            <checkbox active="false">
              <label>"<code>gettext $&quot;Take another shot&quot;</code>"</label>
              <variable>AGAIN</variable>
              <default>no</default>
            </checkbox>
            </frame>
        
            <frame <code>gettext $&quot;Thumbnail for webpages&quot;</code>>
            <checkbox active="false">
              <label>"<code>gettext $&quot;Create a thumbnail&quot;</code>"</label>
              <variable>THUMB</variable>
              <default>no</default>
              <action>if true enable:PERC</action>
              <action>if false disable:PERC</action>
            </checkbox>
            <text use-markup="true" width-chars="20">
        	<label>"<code>gettext $&quot;Percentage (1-100)&quot;</code>"</label>
        	</text>
            <entry>
              <default>50</default>
              <variable>PERC</variable>
              <visible>disabled</visible>
            </entry>
            </frame>
          </frame>
          </vbox>
          </hbox>
          <hbox>
         	<button ok></button>
         	<button cancel></button>
          </hbox>
        </vbox>
        
        </window>
        End_of_Text
        )
        
        I=$IFS; IFS=""
        for STATEMENTS in  $(gtkdialog --program DIALOG); do
          eval $STATEMENTS
        done
        IFS=$I
        
        if [ "$EXIT" = "OK" ] ; then
          mkdir /home/$USER/scr 
        
          if [ "$REGION" = $"Full Screen" ] ; then
            if [ "$THUMB" = "true" ] ; then
              scrot -t $PERC -d $DELAY $n /home/$USER/scr/"$NAME"."$EXT"
              preview_full
            else
              scrot -d $DELAY $n /home/$USER/scr/"$NAME"."$EXT"
              preview_full
            fi
          fi
          if [ "$REGION" = $"Custom Area" ] || [ "$REGION" = $"Window" ] ; then
            if [ "$THUMB" = "true" ] ;then
              scrot -s -b -t $PERC $n /home/$USER/scr/"$NAME"."$EXT"
              preview_custom
            else
              scrot -s -b $n /home/$USER/scr/"$NAME"."$EXT"
              preview_custom
            fi
          fi
          
          if [ "$AGAIN" = "true" ] ; then
            antixscreenshot.sh
          fi
        fi
        harry@biker:/usr/local/bin
        

        Also. You did not install any systemd stuff you are not telling us about. That will break certain stuff in /usr/local/bin also.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #9086
        Member
        KenzoG
          Helpful
          Up
          0
          ::

          Hello rokytnji,

          Screenshot did still work in February,(I have a saved screenshot from Feb, 20th).

          I cannot find any differences. Here are mine:

          svenskelin@antix1:~
          $ cd /usr/local/bin
          svenskelin@antix1:/usr/local/bin
          $ ls -l antixscreenshot.sh
          -rwxr-xr-x 1 root root 5051 jul  6  2017 antixscreenshot.sh
          svenskelin@antix1:/usr/local/bin
          $ cat antixscreenshot.sh
          #! /bin/bash
          
          TEXTDOMAINDIR=/usr/share/locale 
          TEXTDOMAIN=antixscreenshot.sh
          
          cd /home/$USER
          
          function preview_full {
            feh -g 640x480 /home/$USER/scr/"$NAME"."$EXT" & yad --image="question" --title=$"antiXscreenshot" --text=$"Keep this screenshot?" --button="CANCEL:1" --button="OK:0"
          
            case "$?" in
            "0")
              killall feh
              
              if [ "$SAVETO" = "true" ] ; then
                choose_dir
              else
                dir_path=/home/$USER
                file_name="$NAME"
                file_ext="$EXT"
              
                save_shot
              fi
              ;;
            "1")
              killall feh
              rm -rf /home/$USER/scr
              ;;
            esac
          }
          
          function preview_custom {
            feh /home/$USER/scr/"$NAME"."$EXT" & yad --image="question" --title=$"antiXscreenshot" --text=$"Keep this screenshot?" --button="CANCEL:1" --button="OK:0";
          
            case "$?" in
            "0")
              killall feh
              
              if [ "$SAVETO" = "true" ] ; then
                choose_dir
              else
                dir_path=/home/$USER
                file_name="$NAME"
                file_ext="$EXT"
              
                save_shot
              fi
              ;;
            "1")
              killall feh
              rm -rf /home/$USER/scr
              ;;
            esac
          }
          
          function choose_dir {
            cd /home/$USER
          
            files=<code>yad --file-selection --save --filename=&quot;$NAME&quot;.&quot;$EXT&quot; --title=&quot;antiXscreenshot&quot;</code> 
            
            if [ "$files" = "" ] ; then 
              rm -rf /home/$USER/scr
            else
              dir_path=<code>dirname &quot;$files&quot;</code>
              base_name=$(basename "$files")
              file_name=${base_name%.*}
              file_ext=${base_name##*.}
              
              if [ "$file_ext" != "$EXT" ] ; then
                yad --image="error" --title="antiXscreenshot" --text=$"File extension was changed.\nPlease try again."    
                choose_dir
              fi
              
              save_shot
            fi
          }
          
          function save_shot {
              if [ -e "$dir_path"/"$file_name"."$file_ext" ] ; then v=1
          	while [ -e "$dir_path"/"$file_name"_"$v"."$file_ext" ] 
          	do
          	  echo $v
          	  v=$(($v+1))
          	done
          	fi
          
              if [ -n "$v" ] ; then 
                mv /home/$USER/scr/"$NAME"."$EXT" "$dir_path"/"$file_name"_"$v"."$file_ext"	
                mv /home/$USER/scr/"$NAME"-thumb."$EXT" "$dir_path"/"$file_name"-thumb_"$v"."$file_ext"
              else 
                mv /home/$USER/scr/"$NAME"."$EXT" "$dir_path"/"$file_name"."$file_ext"
                mv /home/$USER/scr/"$NAME"-thumb."$EXT" "$dir_path"/"$file_name"-thumb."$file_ext"
              fi
          
              rm -rf /home/$USER/scr
          
              yad --title="antiXscreenshot" --image="info" --text=$"Your screenshot has been saved."
          }
          
          export DIALOG=$(cat <<End_of_Text 
          
          <window title="antiXscreenshot" window-position="1">
          
          <vbox>
          <hbox>
            <vbox>
            <frame>
              <frame <code>gettext $&quot;Region to capture&quot;</code>>
              <combobox>
          	  <variable>REGION</variable>
                <item><code>gettext $&quot;Full Screen&quot;</code></item>
                <item><code>gettext $&quot;Custom Area&quot;</code></item>
                <item><code>gettext $&quot;Window&quot;</code></item>
          	</combobox>
              </frame>
          
              <frame <code>gettext $&quot;Name of image&quot;</code>>
              <entry>
                <default>screenshot</default>
                <variable>NAME</variable>
              </entry>
              </frame>
          
              <frame <code>gettext $&quot;File type&quot;</code>>
              <combobox>
                <variable>EXT</variable>
                <item>jpg</item>
                <item>png</item>
                <item>bmp</item>
                <item>xpm</item>
                <item>tif</item>
              </combobox>
              </frame>
          
              <frame <code>gettext $&quot;Show save dialog&quot;</code>>
              <checkbox active="true">
                <label>"<code>gettext $&quot;Choose directory&quot;</code>"</label>
                <variable>SAVETO</variable>
                <default>yes</default>
              </checkbox>
              </frame>
            </frame>
            </vbox>
          
            <vbox>
            <frame>
              <frame <code>gettext $&quot;Delay in seconds&quot;</code>>
              <entry>
                <default>5</default>
                <variable>DELAY</variable>
              </entry>
              </frame>
          
              <frame <code>gettext $&quot;Multiple screenshots&quot;</code>>
              <checkbox active="false">
                <label>"<code>gettext $&quot;Take another shot&quot;</code>"</label>
                <variable>AGAIN</variable>
                <default>no</default>
              </checkbox>
              </frame>
          
              <frame <code>gettext $&quot;Thumbnail for webpages&quot;</code>>
              <checkbox active="false">
                <label>"<code>gettext $&quot;Create a thumbnail&quot;</code>"</label>
                <variable>THUMB</variable>
                <default>no</default>
                <action>if true enable:PERC</action>
                <action>if false disable:PERC</action>
              </checkbox>
              <text use-markup="true" width-chars="20">
          	<label>"<code>gettext $&quot;Percentage (1-100)&quot;</code>"</label>
          	</text>
              <entry>
                <default>50</default>
                <variable>PERC</variable>
                <visible>disabled</visible>
              </entry>
              </frame>
            </frame>
            </vbox>
            </hbox>
            <hbox>
           	<button ok></button>
           	<button cancel></button>
            </hbox>
          </vbox>
          
          </window>
          End_of_Text
          )
          
          I=$IFS; IFS=""
          for STATEMENTS in  $(gtkdialog --program DIALOG); do
            eval $STATEMENTS
          done
          IFS=$I
          
          if [ "$EXIT" = "OK" ] ; then
            mkdir /home/$USER/scr 
          
            if [ "$REGION" = $"Full Screen" ] ; then
              if [ "$THUMB" = "true" ] ; then
                scrot -t $PERC -d $DELAY $n /home/$USER/scr/"$NAME"."$EXT"
                preview_full
              else
                scrot -d $DELAY $n /home/$USER/scr/"$NAME"."$EXT"
                preview_full
              fi
            fi
            if [ "$REGION" = $"Custom Area" ] || [ "$REGION" = $"Window" ] ; then
              if [ "$THUMB" = "true" ] ;then
                scrot -s -b -t $PERC $n /home/$USER/scr/"$NAME"."$EXT"
                preview_custom
              else
                scrot -s -b $n /home/$USER/scr/"$NAME"."$EXT"
                preview_custom
              fi
            fi
            
            if [ "$AGAIN" = "true" ] ; then
              antixscreenshot.sh
            fi
          fi
          #9092
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            If you run it in a terminal, any clues?

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #9106
            Member
            KenzoG
              Helpful
              Up
              0
              ::

              Hello anticapitalista,

              It will not start from terminal, in the usual way – as screenshot-antix (or as just ‘screenshot’).

              No dependencies are shown as missing according to apt-cache show:

              svenskelin@antix1:~
              $ screenshot-antix
              bash: screenshot-antix: kommandot finns inte
              svenskelin@antix1:~
              $ apt-cache show screenshot-antix
              Package: screenshot-antix
              Version: 0.1.11
              Architecture: all
              Maintainer: anticapitalista <anticapitalista@riseup.net>
              Installed-Size: 100
              Depends: yad, gtkdialog, feh, scrot
              Homepage: https://github.com/antiX-Linux/screenshot-antix
              Priority: standard
              Section: main
              Filename: pool/main/s/screenshot-antix/screenshot-antix_0.1.11_all.deb
              Size: 12004
              SHA256: 180536568f9eb5eeed1b4b9f30da498d30fc631aab8426d918e26053bab329f0
              SHA1: 6cfd3baf75bde82f119ec16570947d6dccafca6a
              MD5sum: 05fcb365f0c30491ec02ced67dcca1a7
              Description: Screenshot application for antiX.
              Description-md5: 82f151cef3cae4180a782635d87e4a68

              svenskelin@antix1:~
              $ apt-cache show yad
              Package: yad
              Version: 0.38.2-1
              Architecture: amd64
              Maintainer: Gustavo Soares de Lima <gustavo@logicus.com.br>
              Installed-Size: 547
              Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.7), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.30.0), libgtk-3-0 (>= 3.0.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0)
              Homepage: http://sourceforge.net/projects/yad-dialog/
              Priority: optional
              Section: main
              Filename: pool/main/y/yad/yad_0.38.2-1_amd64.deb
              Size: 181054
              SHA256: fa5d65622ffc3bbe42a6b93287830568f3145b6ba1d294eeb6ca898a675b10dd
              SHA1: 673a6bfc003af24218d6e57cf3be186ecd30bb07
              MD5sum: 2c353c99357fa15f89acb6c2e8ad82d9
              Description-en: tool for creating graphical dialogs from shell scripts
              Yad allows you to display GTK+ dialog boxes from command line or shell
              scripts. It is similar to Zenity but with more dialog types and options.
              Description-md5: 358c1ff3ad3137132140f88a1a6e3f64

              Package: yad
              Version: 0.38.2-1
              Installed-Size: 573
              Maintainer: Gustavo Soares de Lima <gustavo@logicus.com.br>
              Architecture: amd64
              Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.7), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.30.0), libgtk-3-0 (>= 3.0.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0)
              Description-en: tool for creating graphical dialogs from shell scripts
              Yad allows you to display GTK+ dialog boxes from command line or shell
              scripts. It is similar to Zenity but with more dialog types and options.
              Description-md5: 358c1ff3ad3137132140f88a1a6e3f64
              Homepage: http://sourceforge.net/projects/yad-dialog/
              Tag: uitoolkit::gtk
              Section: utils
              Priority: optional
              Filename: pool/main/y/yad/yad_0.38.2-1_amd64.deb
              Size: 186028
              MD5sum: b9e8928a48a255ea720dca88faacc0b1
              SHA256: bbf2d9ed50fff9c7b57428618c661368eb96fd15f4663e9912a2b3b3bfd69db7

              svenskelin@antix1:~
              $ apt-cache show gtkdialog
              Package: gtkdialog
              Version: 2:0.8.3-2mx150+1
              Architecture: amd64
              Bugs: mailto: maintainer@mepiscommunity.org
              Maintainer: Mike Purtell (mmikeinsantarosa) <maintainer@mepiscommunity.org>
              Installed-Size: 856
              Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.11), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglade2-0 (>= 1:2.6.4-2~), libglib2.0-0 (>= 2.31.8), libgtk2.0-0 (>= 2.18.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libxml2 (>= 2.6.27)
              Priority: optional
              Section: main
              Filename: pool/main/g/gtkdialog/gtkdialog_0.8.3-2mx150+1_amd64.deb
              Size: 230900
              SHA256: 4ad5f41a9f51ea37c35cb710e2b760a2793a335a0b67d14ae4f4730481efb4b6
              SHA1: dc20917064a766858ce5e55e0a94869f01a28594
              MD5sum: 46680434a7fca15e9575908cee1e3c1e
              Description: GUI-creation command-line utility based on GTK+ library
              Gtkdialog is a small utility for fast and easy GUI building. It can be used to
              create dialog boxes for almost any interpreted and compiled programs which is
              a very attractive feature since the developer does not have to learn various
              GUI languages for the miscellaneous programming languages.
              .
              The Gtkdialog utility uses the Glade Library to load, parse and execute Glade
              files. Gtkdialog makes the use of Glade created user interfaces convenient in
              a shell script or any other interpreted language.
              .
              Stand-alone, bash, and awk examples are provided.
              Description-md5: edd9182015c3db2c75302cfae88c231f
              Original-Maintainer: Mateusz Łukasik <mati75@linuxmint.pl>

              svenskelin@antix1:~
              $ apt-cache show feh
              Package: feh
              Version: 2.18-2
              Installed-Size: 401
              Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
              Architecture: amd64
              Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libexif12 (>= 0.6.21-1~), libimlib2 (>= 1.4.5), libpng16-16 (>= 1.6.2-1), libx11-6, libxinerama1
              Recommends: libjpeg-progs
              Description-en: imlib2 based image viewer
              feh is a fast, lightweight image viewer which uses imlib2. It is
              commandline-driven and supports multiple images through
              slideshows, thumbnail browsing or multiple windows, and montages
              or index prints (using TrueType fonts to display file info).
              Advanced features include fast dynamic zooming, progressive
              loading, loading via HTTP (with reload support for watching
              webcams), recursive file opening (slideshow of a directory
              hierarchy), and mouse wheel/keyboard control.
              Description-md5: ddbd2b9dee660c8f24f444f71b30712e
              Homepage: http://feh.finalrewind.org/
              Tag: interface::graphical, interface::x11, role::program, scope::application,
              uitoolkit::motif, use::browsing, use::viewing, works-with::image,
              works-with::image:raster, x11::application
              Section: graphics
              Priority: optional
              Filename: pool/main/f/feh/feh_2.18-2_amd64.deb
              Size: 196590
              MD5sum: d6ddd6661ef4180e6e5e742c94fafe6d
              SHA256: 01f9bab518e8736a5536e42d1a68129424b035983adf46cb276f5c087fcd6533

              svenskelin@antix1:~
              $ apt-cache show scrot
              Package: scrot
              Version: 0.8-18
              Installed-Size: 50
              Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
              Architecture: amd64
              Depends: giblib1 (>= 1.2.4), libc6 (>= 2.15), libimlib2 (>= 1.4.5), libx11-6
              Description-en: command line screen capture utility
              scrot (SCReen shOT) is a simple command line screen capture
              utility that uses imlib2 to grab and save images. Multiple
              image formats are supported through imlib2’s dynamic saver
              modules.
              .
              Some features of the scrot:
              – support to multiple image formats (JPG, PNG, GIF, etc.).
              – optimization of the screen shots image quality.
              – capture a specific window or a rectangular area on the
              screen with the help of switch.
              .
              scrot also can be used to monitor a desktop PC in admin absent
              and register unwanted activities.
              Description-md5: 077dc38b74b0031b53c427307ef53253
              Tag: interface::commandline, role::program, scope::utility, use::storing,
              works-with::image, works-with::image:raster
              Section: graphics
              Priority: optional
              Filename: pool/main/s/scrot/scrot_0.8-18_amd64.deb
              Size: 18918
              MD5sum: 6b2b6961b034027e60c2719cfba120e7
              SHA256: 3b6ec2ef093357030d51a92e38fedb19afc7a5206a5abc3ab2b4f04001c5f7a6

              #9108
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                Type antixscreenshot.sh

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #9110
                Member
                KenzoG
                  Helpful
                  Up
                  0
                  ::

                  Hello anticapitalista,

                  svenskelin@antix1:~
                  $ antixscreenshot.sh
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest.jpg’: Filen eller katalogen finns inte
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest-thumb.jpg’: Filen eller katalogen finns inte
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest.jpg’: Filen eller katalogen finns inte
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest-thumb.jpg’: Filen eller katalogen finns inte
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest.jpg’: Filen eller katalogen finns inte
                  mv: kan inte ta status på ‘/home/svenskelin/scr/screenstest-thumb.jpg’: Filen eller katalogen finns inte
                  svenskelin@antix1:~
                  $

                  Kan inte ta status på = Cannot show status on
                  Filen eller katalogen finns inte = The file or catalog does not exist

                  #9112
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    Are you saving the file as screenstest.jpg? Is scr owned by user and not root?

                    Does it actually cave the screenshot despite the error message?

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #9143
                    Member
                    KenzoG
                      Helpful
                      Up
                      0
                      ::

                      Hello anticapitalista,

                      Yes, I named that screenshot screenstest – the result is the same (nothing saved) regardless of name.

                      It shows what the screenshot is supposed to look like, but do not save it – then the error message show.

                      I cannot find any scr in the system – (there is a src listed under usr).

                      #9147
                      Moderator
                      caprea
                        Helpful
                        Up
                        0
                        ::

                        But did you try the choose folder option ?

                        #9151
                        Member
                        sleekmason
                          Helpful
                          Up
                          0
                          ::

                          All dependencies installed?

                          $ apt-cache depends screenshot-antix 
                          screenshot-antix
                            Depends: yad
                            Depends: gtkdialog
                            Depends: feh
                            Depends: scrot

                          *Edit – nevermind, Just saw you already did this.

                          • This reply was modified 5 years ago by sleekmason.
                          #9193
                          Member
                          KenzoG
                            Helpful
                            Up
                            0
                            ::

                            Hello caprea,
                            The choose folder do show, but regardless of which folder one select the result is
                            that the error message comes up, shortly after clicking ‘Save’.

                            #9376
                            Moderator
                            caprea
                              Helpful
                              Up
                              0
                              ::

                              This is really odd, ecspecially because you see it on two different boxes.
                              You are using stable repos,yes ?
                              The only thing I can think of, did you already try to reinstall antix-screenshot
                              sudo apt-get remove --purge screenshot-antix
                              and then install it again ?

                              • This reply was modified 5 years ago by caprea.
                              #9392
                              Member
                              KenzoG
                                Helpful
                                Up
                                0
                                ::

                                Hello caprea,
                                As both computers are used for work, I avoid using the ‘purge’ command,
                                which sometimes can clean away files that other programs depend on.

                                As I for the moment need to take screenshots, I have installed the ScreenGrab program,
                                (approx. 500 kb download), which works.

                                ‘Stable’ version seems to be the version in English.
                                For the next version of AntiX, I will use the English version, even if it signifies
                                changing keyboard layout every time the computer is started…
                                (I will probably be hung in the nearest oak tree for making this statement…)

                                #9397
                                Forum Admin
                                anticapitalista
                                  Helpful
                                  Up
                                  0
                                  ::

                                  To check that it is or isn’t a localization issue.

                                  Open terminal (as user not root), type

                                  export LANG=en_US.UTF-8

                                  then open the screenshot app in that terminal.

                                  Philosophers have interpreted the world in many ways; the point is to change it.

                                  antiX with runit - leaner and meaner.

                                Viewing 15 posts - 1 through 15 (of 22 total)
                                • You must be logged in to reply to this topic.