Re: How do I copy text from LyX to xterm/rxvt?

2017-04-22 Thread Scott Kostyshak
On Sat, Apr 22, 2017 at 11:46:54AM -0400, Joe wrote:

> But then that's the beauty of Linux. There are so many different ways to
> do things that different people with different skills aren't always forced
> to do things the same way.

Agreed. What I find sad is that many people actually prefer not having a
choice. Sometimes I notice this behavior with myself, but not in the
context of computers.

Scott


signature.asc
Description: PGP signature


Re: How do I copy text from LyX to xterm/rxvt?

2017-04-22 Thread Joe

It would appear that on Apr 21, Helge Hafting did say:

> Thanks to all who replied, indicating some sort of local problem.
> 
> I use the middle mouse button when I use the mouse to select, and that is more
> common. Especially when copying between programs, when I need the mouse to
> switch focus anyway. (Forget alt+tab with more than "a few" windows.)

Whereas my own experience is somewhat different. But then I use separate
desktop areas for unrelated open windows so alt+tab only has a few windows
to cycle. On the other hand I tend to have several related lyx files open,
but that's alt+v so there's no conflict.

> When one is used to the ease of middle clicking, reaching for the keyboard
> takes way too much time. And not all apps use the same cut/paste keys. Using a
> right-click menu is even worse.

I've never found middle clicking easy. Even when I once actually had a three
button mouse. Now using a 2 button trackball on the PC and the Dell laptop has
an oversensitive non-synaptic touchpad that won't let me disable tap to click. 
I'm always using a keybinding to switch desktop areas just so I can get the
laptop's mouse pointer somewhere near where I even might want a click event
before switching back to the appropriate desktop area.

As it happens, I'm rather dependent on that right click menu.

> The hassle of bringing up a menu and locating the right choice when I already 
> had my
> finger on the mouse button that always do the right thing.

The only time I don't find it a hassle to use mouse copy/paste techniques
is when I'm moving text to/from an xterm (or more likely kde's Konsole
which is one of the few kde applications I still use since kde4 chased me
away)

> I feel pain when I see beginners bringing up cut/paste menus on linux because 
> they're
> used to such cumbersome ways from windows.

I use those menus a lot. But not because I got used to it from -retch- windows
I've been running from windows since version 3x. Only ever use it when
forced to use proprietary software that doesn't run without it.

But then that's the beauty of Linux. There are so many different ways to
do things that different people with different skills aren't always forced
to do things the same way.
-- 
Joe


Re: LyX and HiDPI Under Linux

2017-04-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.04.2017, 06:27 -0400 schrieb PhilipPirrip:
> My question was does
> "export QT_AUTO_SCREEN_SCALE_FACTOR=true"
> as opposed to
> "export QT_AUTO_SCREEN_SCALE_FACTOR=1"
> make any difference for you at all?

Actually, no. But it used to be necessary; without it, the UI was way
too small.

I didn't notice that since the scaling I have works well enough for me.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Information on Morocco

2017-04-22 Thread Jacky Miller
Just making sure you saw this. Hope you are well!




P.O. Box 135, Whitianga 3510, New Zealand | To unsubscribe please reply
with 'Unsubscribe' in the header

On Tuesday, April 11, 2017 at 10:27 AM, Jacky Miller 
wrote:

> Dear Editor,
>
> I was searching the web for information on Morocco and saw your great post
> here: https://botw.org/new/all/05282007.cfm
>
> I noticed you mentioned https://www.lonelyplanet.com/morocco in your
> post, and just wanted to give you a heads up that I recently wrote a blog
> post you might like. It’s a detailed, up-to-date 7,000 word guide on the
> 100 best things to do in Morocco and is packed with detailed tips and
> advice.
>
> If this is something you’d be interested in, here is the link to the blog
> post: https://www.jenreviews.com/best-things-to-do-in-morocco/
>
> This is completely free and if you like it, all I ask is for you to link
> to or share the article on your site. In return, would love to share your
> post with my newsletter subscribers and followers on social media.
>
> Either way, keep up the great work!
>
> Cheers
> Jacky
>
>
>
>
>
> Unsubscribe
> * | *P.O.
> Box 135, Whitianga 3510, New Zealand
>


Re: Adding a Local Layout for a \newcommand

2017-04-22 Thread Dr Eberhard Lisse
Thanks.

It did help to come up with:

in the Preamble:

\newcommand\LMP[1]{#1}


In Settings->Local Layout:

Format 60
Style EDD
   CopyStyle Date
   LabelFont
   Series Bold
   Color Red
   EndFont
   LatexName renewcommand
   LatexParam {\LMP}
   LabelString "LMP:"
End

which does exactly what I want, and with the look I wanted.

greetings, el

On 2017-04-21 22:21 , PhilipPirrip wrote:
> On 04/21/2017 05:13 PM, PhilipPirrip wrote:
>> On 04/21/2017 01:01 PM, Dr Eberhard Lisse wrote:
>>> How to I create a local layout so that I can enter the LMP like I can
>>> do with the Date in the Text window (instead of the Preamble)?
> 
> 
> Adding to the previous answer: if there's no need to save the LMP in a
> variable (you'd need to define it as \newcommand\LMP[1]{#1} in the
> preamble), you'd probably want to use something like
> 
> InsetLayout "Flex:EDD"
>   LyxTypecustom
>   LabelString   "EDD"
>   LatexType  command
>   LatexName  EDD
>   PassThru   true
>   CustomPars false
>   Decoration Classic
>   ContentAsLabel true
> End
> 
> 
> Then Insert>Custom Inset>EDD, and enter the date in the box
> 
> |EDD|2017-01-01|
> 
> 
> 



Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 05:15 AM, Jürgen Spitzmüller wrote:

My point is that Wayland did not read the local profile script last
time I checked. Manually exporting works, but settings in the local
profile scripts were simply ignored.


Got it!
My question was does
"export QT_AUTO_SCREEN_SCALE_FACTOR=true"
as opposed to
"export QT_AUTO_SCREEN_SCALE_FACTOR=1"
make any difference for you at all?
Because the "=true" does nothing for me.



Also, now that I got used to the scaling factor of 2, and after setting 
the icon size back to Normal, I'm wondering how much does LyX comply to 
the new way of setting dimensions, that is, how much of the interface is 
being painted in pixel/point units and not, e.g. by the recommendations 
at http://doc.qt.io/qt-5/highdpi.html?


For, I must say, even though the UI with the scaling of 1 is quite 
usable it feels crumpled and looks a bit ugly, while the scaling of two 
makes it somewhat oversized, but much nicer to look at:

http://wiki.lyx.org/uploads/Playground/LyX230dev-Wayland-scaling_factors_applied-201704.png
(physical size of the screen is 295mm x 160mm)





Re: LyX and HiDPI Under Linux

2017-04-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.04.2017, 04:58 -0400 schrieb PhilipPirrip:
> I'm on Wayland now, and see no difference from Xorg - (99% of the)
> user 
> interface just works, no enviroment options set.
> Out of curiosity, I tried "export QT_AUTO_SCREEN_SCALE_FACTOR=true",
> and 
> it made no change. But following an example from 
> http://doc.qt.io/qt-5/highdpi.html, "export 
> QT_AUTO_SCREEN_SCALE_FACTOR=1" introduced a scaling factor of 2
> (thus 
> making everything too big). Wondering if that would be the case for
> you too.

My point is that Wayland did not read the local profile script last
time I checked. Manually exporting works, but settings in the local
profile scripts were simply ignored.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 01:46 AM, Jürgen Spitzmüller wrote:

export QT_AUTO_SCREEN_SCALE_FACTOR=true

(This is with X. Last time I checked, these kind of things did not work
[yet?] with Wayland)



I'm on Wayland now, and see no difference from Xorg - (99% of the) user 
interface just works, no enviroment options set.
Out of curiosity, I tried "export QT_AUTO_SCREEN_SCALE_FACTOR=true", and 
it made no change. But following an example from 
http://doc.qt.io/qt-5/highdpi.html, "export 
QT_AUTO_SCREEN_SCALE_FACTOR=1" introduced a scaling factor of 2 (thus 
making everything too big). Wondering if that would be the case for you too.