Re: [orca-list] a couple of basic questions



Thanks.

I guess I could have a script which would set it and unset it -- I
cannot leave it set because I have found commands may act strangely if
I leave it that way, such as text editors.

On Sat, 27 Apr 2019 23:27:40 -0400,
Storm Dragon wrote:

[1  <text/plain; us-ascii (quoted-printable)>]
Howdy John,

Try setting the DISPLAY variable first:

DISPLAY=:0 xclip -selection clipboard ...

Thanks,
Storm

On Sat, Apr 27, 2019 at 09:48:22PM -0400, John covici wrote:
When I try xclip -i <any string> from a regular tty I get the
following error:
Error: Can't open display: (null)

What am I missing?

On Sat, 27 Apr 2019 13:34:43 -0400,
Janina Sajka wrote:

John:

I use these commands in a regular tty all day long to paste between the
Speakup clipboard and the Gnome clipboard. I wish we had a more
automated way of doing that, but so far, we don't afaik.

As to what you paste, it doesn't matter. It can be any string. A
filename, a URI, a credit card number, whatever. It doesn't matter.

John Covici writes:
But the xclip manpage seems to want you to execute it in a
gnome-terminal or other session, not a regular tty.  When you say
selection, do you mean a file name?


On Sat, 27 Apr 2019 12:48:02 -0400,
Janina Sajka wrote:

Hi, John:

To get content from a bash tty into xclip I use an alias I've created
that basically does:

xclip -i -selection clipboard\n

From there I paste, most often using the Speakup paste command followed
by a pair of Ctrl-d commands.

FYI: going the other way, I have an alias that prints out on a tty:

xclip -o -selection clipboard\n

I should tweak that second one a bit because it's always followed by my
bash prompt without any kind of break. But, what can I say. I can work
with it and fixing that isn't a high priority for me.

hth

Janina

John Covici writes:
Hi.  I have some basic questions about gnome -- using 3.30 I think.
How to get a file into the clipboard?  I tried xclip -r <filename> but
nothing happened.  I know this because control-shift-v did not paste
anything into the terminal window.

I would also like to know if there is a way to open a file with
firefox and actually type its name.  I see things to navigate, but I
just want to be able to type the name.  Can I do firefox <file name> ?

Thanks in advance for any suggestions.

--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici ccs covici com
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

--

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:      http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures       http://www.w3.org/wai/apa


--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici ccs covici com

--

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:  http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures   http://www.w3.org/wai/apa


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

        John Covici wb2una
        covici ccs covici com
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

-- 
Storm Dragon
Linux accessibility community: https://linux-a11y.org/
24 hour IRC support: irc.linux-a11y.org #a11y
Voice chat and support: mumble.linux-a11y.org
[2 signature.asc <application/pgp-signature (7bit)>]
No public key for 5BEA237143DDC193 created at 2019-04-27T23:27:39-0400 using RSA

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici ccs covici com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]