Jump to content

Capt.Crow's woes. A thread of my linux mistakes and solutions that


Capt.Crow

Recommended Posts

Sometimes one has to bite the bullet and admit to humungous ignorance and incompetance.

On occasions like this it's wonderful how others will step up with good concrete assistance.

Without which the internet would be a callous and very lonely place.

It is not everyone who can read the man pages and reap sucess alone .

So with this thread one hopes others will find solutions to the problems that plague us from time to time.

 

 

Snapshots...... Discovering how to take a snapshot and how to post it would be a very good start .That, one hopes, would be very informative to those who are disposed to assist.

  • Like 1
Link to comment
Share on other sites

I went to your profile to see what you are running. Alas, you don't tell us.

Main System So long since I built itb I cant remember

Specs: .. Have a look the backports are open .. Dont wreck it.

You really need to type the OS.

Link to comment
Share on other sites

Running :- Linux 2.6.32-5-686. Debian Squeeze

 

 

snapshot - "do you mean let let the operating system take a picture of what is on the screen so we can see it?"

Yes . I believe that's the first most important step.

  • Like 1
Link to comment
Share on other sites

securitybreach

On debian, open your terminal and as root or sudo:

apt-get install scrot

 

Once you are done, run the command scrot and it will take a screenshot of your entire desktop and any windows opened. You can type scrot -s and click on the window or area you want a shot taken of. You can also hold down the left mouse button and drag your mouse over the part you want a screenshot of with the -s switch

 

There are other switches like scrot -cd 5 to delay a screenshot for 5 seconds.

 

9SeD06t.png

 

BTW you can run this command from the launcher (alt-f2) or from a console.

 

More info: http://www.freesoftw...hots_with_scrot

 

 

There are many graphical screenshot utilities but scrot is simple and works very well with any of the options you need. I have been using it for years and it works flawlessly. Here is a large list of other applications: https://wiki.archlin....._screenshot (It is from the archwiki but all the apps should be available on Debian as well.)

 

Also, a lot of us prefer https://imgur.com/ as our image hosting website. It is extremely popular and places online use imgur(reddit, digg, G+, Fb, etc.)

  • Like 2
Link to comment
Share on other sites

V.T. Eric Layton

Your desktop environment probably already has a default screenshot app ready to go. All you should need to do is press the PRINT SCREEN key on your keyboard to see what app pops up. In Xfce, it's xfce4-screenshooter.

 

lE5lR8o.png

  • Like 1
Link to comment
Share on other sites

Depends what desktop environment. If KDE, I guess ksnapshot is it

https://packages.deb...words=ksnapshot

 

I'm running an extremely old version of Debian which is a hybrid with Xandros so I won't mention what I use because it doesn't suit your situation.

 

Here are some packages for screen capture

http://linuxappfinder.com/graphics/screencapture

Edited by zlim
  • Like 1
Link to comment
Share on other sites

There is a facility on this machine to take a snapshot . It appeared about a year ago . Has been untraceable ever since . Tried to install it but got this message:-

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

libsilc-1.1-2 libaccess-bridge-java-jni libaccess-bridge-java libsilcclient-1.1-3 libzephyr4

Use 'apt-get autoremove' to remove them.

The following NEW packages will be installed:

ksnapshot

0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.

Need to get 198 kB of archives.

After this operation, 504 kB of additional disk space will be used.

Get:1 ftp://ukdebian.mirror.anlx.net/debian/ squeeze/main ksnapshot i386 4:4.4.5-2 [198 kB]

Fetched 198 kB in 6s (30.8 kB/s)

dpkg: configuration error: /etc/dpkg/dpkg.cfg.d/architectures:1: unknown option 'foreign-architecture'

E: Sub-process /usr/bin/dpkg returned an error code (2)

 

There is no ksnapshot available either under the graphics tab Nor on the quick launch bar

Link to comment
Share on other sites

V.T. Eric Layton

If you are not already running KDE as your desktop environment, it's often problematic to install KDE apps, as they will need to install all of the KDE library files, too. I usually don't recommend folks try to install KDE apps a la carte like that.

 

You're probably running Gnome of some sort in Debian. Gnome's default screenshot app is gnome-screenshot.

Link to comment
Share on other sites

I googled your

configuration error: /etc/dpkg/dpkg.cfg.d/architectures:1: unknown option 'foreign-architecture'
and came up with two previous threads, both yours.

 

http://forums.scotsnewsletter.com/index.php?showtopic=69868

 

http://forums.scotsnewsletter.com/index.php?showtopic=73440

 

If you followed the url posted by abarbarian in May 2014, perhaps this fixed the Skype error you alluded to in Nov. 2014.

 

When I looked over your

/usr/bin/dpkg returned an error code (2)
2nd error, I see things for the 'buntus

 

Someone said he fixed it. Scroll down to the answer. (I don't understand the solution but one of the members here probably does).

and here http://technoesis.net/solved-e-sub-process-usrbindpkg-returned-error-code-2/

http://stackoverflow.com/questions/18602257/reading-files-list-for-package-inkscape-input-output-error-while-trying-to

Link to comment
Share on other sites

Regarding scrot I did a search here at the forums and found this,

 

http://forums.scotsnewsletter.com/index.php?showtopic=21705&hl=scrot&do=findComment&comment=258387

 

which has some entertaining posts towards the end of the thread. Seems that scrot had a GUI called GScrot which is now called Shutter,

 

http://shutter-project.org/2009/02/gscrot-is-now-shutter/

 

Scrot is great to use on linux especially when used with alias's. :whistling:

  • Like 1
Link to comment
Share on other sites

rm /etc/dpkg/dpkg.cfg.d/multiarch

rm: cannot remove `/etc/dpkg/dpkg.cfg.d/multiarch': No such file or directory

 

1st attempt =fail

 

rm /etc/dpkg/dpkg.cfg.d/architectures:1

rm: cannot remove `/etc/dpkg/dpkg.cfg.d/architectures:1': No such file or directory

 

2nd attempt=fail.

Link to comment
Share on other sites

No love for scrot I see...... B)

It's a great choice. Here's another article about scrot: http://www.linuxandl...ne-tool-to.html

 

By the way, CrunchBang comes with scrot set up quite nicely right there in the menu, in Openbox. I recently replaced CrunchBang with Debian Jessie w/ Openbox, but I saved some of the files, including the menu.xml file. Kinda cool how they did it; here's that section of the file (thought it might be handy to see some examples of scrot commands) (xfce4-screenshooter is there along with scrot, but I can't remember if I added that part later or not):

 

<menu id="graphicsScreenshots" label="Take Screenshot">
<item label="Screenshooter">
<action name="Execute">
<command>
xfce4-screenshooter
</command>
</action>
</item>
<separator label="scrot"/>
<item label="Now">
<action name="Execute">
<command>
scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ & viewnior ~/images/$f'
</command>
</action>
</item>
<item label="In 5 Seconds...">
<action name="Execute">
<command>
scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ & viewnior ~/images/$f'
</command>
</action>
</item>
<item label="In 10 Seconds...">
<action name="Execute">
<command>
scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ & viewnior ~/images/$f'
</command>
</action>
</item>
<item label="Selected Area... (click & drag mouse)">
<action name="Execute">
<command>
scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ & viewnior ~/images/$f'
</command>
</action>
</item>
</menu>

 

Note their use of the Viewnior image viewer.

 

 

Seems that scrot had a GUI called GScrot which is now called Shutter

 

I didn't know this -- or else it's one of many things I'd forgotten!

Edited by saturnian
Link to comment
Share on other sites

Securitybreach, I did d/load scrot installed it with apt get . Still this yoke is glitching . Smae as ksnap .

 

 

 

I really wish there was a thank you button beside like this .

Link to comment
Share on other sites

Ditto shutter.

 

There has to be some pkg that will clean up the kernel .

 

I've been trying E-macs

konqueror etc . Just fell asleep reading the Tux book

 

Not au fait enough to use the recovery console .

 

I havn't tried Crunchbang yet, Expecting the same error code .. The linux partition is is filling up fast.

Link to comment
Share on other sites

:/var/lib/dpkg# ls

alternatives parts

available statoverride

available-old statoverride-old

cmethopt status

diversions status-old

diversions-old triggers

info updates

lock

 

 

Does the foreign architecture reside in one of these ?

Link to comment
Share on other sites

Securitybreach, I did d/load scrot installed it with apt get . Still this yoke is glitching . Smae as ksnap .

 

?

 

Well, does scrot work for you?

  • Like 1
Link to comment
Share on other sites

Maybe if I knew how to give it a link to quick launch :- Alt/F2

Same with ksnap and shutter.

Something wrong with Java.

At the very least I'm beginning to find my way around the file system and the tree. So that's good

  • Like 1
Link to comment
Share on other sites

No love for scrot I see...... B)

 

Apparently Shutter is scrot based.

 

Maybe if I knew how to give it a link to quick launch :- Alt/F2

Same with ksnap and shutter.

Something wrong with Java.

At the very least I'm beginning to find my way around the file system and the tree. So that's good

 

Follow the links,

 

http://shutter-project.org/faq-help/

 

http://shutter-project.org/faq-help/set-shutter-as-the-default-screenshot-tool/#kde

 

:whistling:

Link to comment
Share on other sites

securitybreach

Maybe if I knew how to give it a link to quick launch :- Alt/F2

Same with ksnap and shutter.

Something wrong with Java.

At the very least I'm beginning to find my way around the file system and the tree. So that's good

 

Open a terminal and type scrot or Alt/F2 and type scrot. That is all there is to it

Link to comment
Share on other sites

Gimp . can snapshot . and at least it will invoke. So now I just have to read the man pgs.Hopefully snapshot on the way . Maybe my linux desktop . So one thing at a time . Here goes. Gracious friends thank you for input

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...