How to fix primary screen on Linux laptop not coming out of sleep

  1. Problem: My Debian (Jessie) Linux laptop has issues with juggling a secondary screen and sleeping at the same time. More specifically, it seems:
    1. It seems if you come out of sleep with a secondary screen connected, even if you put the laptop to sleep with “it” (o.k., not the same “it”, just spec-wise the equivalent FULL HD LCD screen on VGA – being able to easily move the laptop to work in multiple places is kind of the point of having one in the first place), the primary laptop screen seems to remain asleep completely. FN keys to switch primary and secondary screen on laptop have no effect.
    2. If you disconnect the secondary screen, Linux does fall back onto the primary screen, however, “forgets” to turn the backlight on. FN keys to up brightness have no effect
    3.   have not found a reliable way avoiding the issue  – maybe always disconnecting secondary screen before putting laptop to sleep? If you don’t want to have to do this, or forget, try to use this:
  2. Workaround:
    1. While I could get to the tty shell on secondary screen using CTRL+ALT+F1, but using xrandr --auto gave can't open display.
    2. However, try installing this utility which I found recommended in a different context:
      1. aptitude search xbacklight
      2. xbacklight               - simple utility to set the backlight level
      3. aptitude install xbacklight
      4. Switch to a non-elevated user (or else you’ll get: No protocol specified" , "Primary laptop", "Can't open display :0", Why can't I run GUI apps from 'root': "No protocol specified"? : " In Debian $XAUTHORITY is usually not set explicitly.", "xauth list xauth:  file /root/.Xauthority does not exist" ).
      5. Then issue: xbacklight -set 50 OR issue xbacklight -inc 50 .
      6. Viola: “Fiat lux”…

We can nest controls in repeating content controls, including repeating content controls

  1. Just saying, since it seems not easy to find within web search results the ones that nest nesting….
  2. image
  3. image
  4. Have not tried accessing the results in OpenXML yet which will have to be done  via the control ID
    1. since repeating:  Repeating-Section-content-control-in-action
    2. does not autoincrement the titles and tags. image

Sample learner speech recognition speaking practice task assignments and screencast completions

  1. My initial test of W7ASR mV8MRY used an end-of-chapter web quest from a 1st-year German textbook. From reading for the gist to pronouncing an authentic target culture text is a challenge – make it extra credit.
  2. Turn existing writing exercises into speaking/ reading/ corrective writing exercises: Free form writing during note taking, e.g. when answering comprehension or short essay questions, fits the continuous speech optimization of W7ASR.
  3. You will likely see reduced recognition accuracy and less proofing feedback, but gain wider applicability for (grammar, but especially vocabulary) drills that use discrete writing, e.g. filling in cloze exercises (navigation need not be done by voice), even in a web browser from your LMS or online textbook.
  4. Turn “flipped classroom” homework preparation fill-in-the-blank conversation suggestions into more hands-on phrase dictations before your in-class communicative practice.
  5. Similarly, my Spanish screencasts, e.g. qK9fKV, flips our Spanish for Law Enforcement: If W7ASR can ”understand” your Miranda warning, a suspect likely can also.
  6. Finally, the most advanced language learners can replace writing of essay tasks from their textbooks by speaking them – use of only ASR for editing is optional.
  7. All above tasks are based on existing textbook and/or syllabus which are easily extended by Windows 7 “open response” speech recognition.

Ho to get Square brackets (and hide comments) with ISO690 in Word 2013 bibliography styles

  1. Lots of people online seem to be looking for square brackets with citations in ISO690 style in Word 2013, but having no luck with getting the Bibliography XSL  for older Word versions to work. Trying to edit the old XSL still results in it not loading into the MS-Word Citation Style dropdown.
  2. What is needed is a way to parse the XSL and debug load errors. In the meantime… Smiley
  3. I had better luck with starting from the current Word2013 ISO style. If you stream Office365, this is now in %appdata%\Microsoft\Templates\LiveContent\15\Managed\Word Document Bibliography Styles
    1. Puzzlingly, there is also a %appdata%\Microsoft\Bibliography\Style which some of your edited files get copied to – go figure….
    2. The ISO690 file  I based my variation on is called : TC102851224[[fn=iso690nmerical]].xsl
    3. Copy this file to  %appdata%\Microsoft\Templates\LiveContent\15\User\Word Document Bibliography Styles\
    4. Open it with a text editor (I use NotePad++).
    5. Change “Openbracket” section like so: And the corresponding for closebracket
      <!– trp:   <xsl:value-of select=”/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket”/> –>
      <xsl:text>[</xsl:text>
    6. Same principle change for the corresponding for “Closebracket
      1. Lst time I carelessly introduced printing space characters before my closing brackets – just copy the leading chars from a working XML line if you run into this problem.
  4. I also needed to not print “Comment”-field of the source in my bibliography”
    1. Search for: <xsl:if test=”string-length(b:Comments)>0″>
    2. Comment out the “print”-action inside (easier than changing each bibliographgy type):<!– trp:    <xsl:call-template name=”templ_prop_Space”/>
      <xsl:value-of select =”b:Comments”/><xsl:call-template name=”templ_prop_Dot”/> –>
  5. Change the style name. MS-Word 2013 uses “StyleNameLocalized” instead of “StyleName”<xsl:when test=”b:StyleNameLocalized”>, so I added a qualifier to each localized name within the test:
    <xsl:choose>
    <xsl:when test=”b:StyleNameLocalized/b:Lcid=’1033′”>
    <xsl:text>ISO 690YOURNAMEHERE</xsl:text>
    </xsl:when>
  6. Restart MS-Word, and with luck, your styles will show in the ribbon References section style dropdown: image. Apply them (using F9):image
  7. Download: TC102851224[[fn=iso690nmericalsquare0comments]]

Protected: LRC speech recognition speaking practice task: Implementation (Prerequisites installation, configuration, training)

2014/09/14 Enter your password to view comments.

This content is password protected. To view it please enter your password below:

Software prerequisites for Speech recognition speaking practice tasks

  1. Tools needed for my LRC speaking practice task design using Windows7 Automated Speech recognition:
    1. proofing tools and tracking changes (suggest MS-Word),
    2. a screencast recorder (free MS-Community Clips: MGFGX3),
    3. an LMS for uploads of one to several dozen MBs files),
    4. and the W7ASR Profile Tool (to back up individual voice training data in a shared, "frozen" LRC).

Protected: LRC speech recognition speaking practice training summary

2014/09/12 Enter your password to view comments.

This content is password protected. To view it please enter your password below:

Follow

Get every new post delivered to your Inbox.

Join 94 other followers