Jump to content


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


  • Please log in to reply
222 replies to this topic

#1 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 22 January 2015 - 06:34 PM

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.
Linux counter no . 393441

#2 OFFLINE   Temmu

Temmu

    The Assimilator

  • Forum MVP
  • 12,525 posts

Posted 22 January 2015 - 07:27 PM

what operating system are you using?

snapshot - do you mean let let the operating system take a picture of what is on the screen so we can see it?
- or do you mean, upload a picture you found on the internet?
Posted Image

#3 OFFLINE   zlim

zlim

    It's me, plodr

  • Forum MVP
  • 6,909 posts

Posted 22 January 2015 - 07:42 PM

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

Quote

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.
Liz
Registered Linux User # 401459
Posted Image

#4 OFFLINE   raymac46

raymac46

    Board Bigwig

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,715 posts

Posted 22 January 2015 - 08:27 PM

With Linux Mint you just open the menu and type screenshot. The app comes up and you use it.

Posted Image
Posted Image

Registered Linux User 445659

#5 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 22 January 2015 - 08:46 PM

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.
Linux counter no . 393441

#6 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,235 posts

Posted 22 January 2015 - 11:48 PM

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.

Posted Image

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.)
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#7 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum MVP
  • 20,584 posts

Posted 23 January 2015 - 01:46 AM

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.

Posted Image

#8 OFFLINE   zlim

zlim

    It's me, plodr

  • Forum MVP
  • 6,909 posts

Posted 23 January 2015 - 12:07 PM

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://linuxappfinde...s/screencapture

Edited by zlim, 23 January 2015 - 12:10 PM.

Liz
Registered Linux User # 401459
Posted Image

#9 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 23 January 2015 - 05:21 PM

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
Linux counter no . 393441

#10 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 23 January 2015 - 05:25 PM

Could it be there is a failed multiarch install that gives the lockup
Linux counter no . 393441

#11 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum MVP
  • 20,584 posts

Posted 23 January 2015 - 05:46 PM

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.

#12 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 23 January 2015 - 05:53 PM

It's Kde 4 . on here. Blue square with a big K on a gearwheel . Had some fun with uname
Linux counter no . 393441

#13 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum MVP
  • 20,584 posts

Posted 23 January 2015 - 06:29 PM

Ah... nevermind, then. :)

#14 OFFLINE   zlim

zlim

    It's me, plodr

  • Forum MVP
  • 6,909 posts

Posted 24 January 2015 - 12:48 AM

I googled your

Quote

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

http://forums.scotsn...showtopic=69868

http://forums.scotsn...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

Quote

/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.ne...d-error-code-2/
http://stackoverflow...while-trying-to
Liz
Registered Linux User # 401459
Posted Image

#15 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,014 posts

Posted 24 January 2015 - 08:29 AM

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

http://forums.scotsn...rot#entry258387

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-proje...is-now-shutter/

Scrot is great to use on linux especially when used with alias's. :whistling:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#16 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 24 January 2015 - 09:32 PM

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.
Linux counter no . 393441

#17 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 24 January 2015 - 09:51 PM

Then got lost in the tree.. Back to the tux book for bedtime reading .
Linux counter no . 393441

#18 OFFLINE   saturnian

saturnian

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 886 posts

Posted 25 January 2015 - 12:20 AM

Capt.Crow, maybe try Shutter. I've got it in Ubuntu 14.04, where I've used it sometimes. It's also in the Debian Squeeze (oldstable) repos.

https://packages.deb...all&section=all


For posting screenshots to forums, I like to use Postimage.org.

Posted Image

#19 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,235 posts

Posted 25 January 2015 - 12:54 AM

No love for scrot I see...... B)
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#20 OFFLINE   saturnian

saturnian

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 886 posts

Posted 25 January 2015 - 10:07 AM

View Postsecuritybreach, on 25 January 2015 - 12:54 AM, said:

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/ &amp; 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/ &amp; 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/ &amp; viewnior ~/images/$f'
</command>
</action>
</item>
<item label="Selected Area... (click &amp; drag mouse)">
<action name="Execute">
<command>
scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
</command>
</action>
</item>
</menu>

Note their use of the Viewnior image viewer.


View Postabarbarian, on 24 January 2015 - 08:29 AM, said:

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, 25 January 2015 - 10:16 AM.


#21 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 25 January 2015 - 05:32 PM

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 .
Linux counter no . 393441

#22 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 25 January 2015 - 05:45 PM

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.
Linux counter no . 393441

#23 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 25 January 2015 - 07:12 PM

:/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 ?
Linux counter no . 393441

#24 OFFLINE   saturnian

saturnian

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 886 posts

Posted 25 January 2015 - 11:36 PM

View PostCapt.Crow, on 25 January 2015 - 05:32 PM, said:

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?

#25 OFFLINE   Capt.Crow

Capt.Crow

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,235 posts

Posted 26 January 2015 - 04:38 PM

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
Linux counter no . 393441




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users