Refracta Development, Scripts, etc.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## language selector in greeter died

Sun Apr 28, 2013 6:00 pm

I made a new snapshot today - beta11 is up on sourceforge. I noticed that the language selector in the lightdm greeter (login) window no longer functions. I went back and tested in beta10, made on March 10, and that one is broken, too. In beta9, it works. (beta9 is still available on the ibiblio server)
https://sourceforge.net/projects/refracta
Changes in beta11:
- audacious replaces deadbeef
- dist-upgrade April 28
- newer versions of installer, snapshot and refracta2usb
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: language selector in greeter died

Sun Apr 28, 2013 7:48 pm

I'm not sure when this got changed or which version is really newer. Switching back to the version in beta9 fixed the problem.

Code:
  `diff -u 39-lightdm-dmrc-fix.beta9 39-lightdm-dmrc-fix.beta11
  --- 39-lightdm-dmrc-fix.beta9 2013-04-28 15:41:35.646873142 -0400
  +++ 39-lightdm-dmrc-fix.beta11 2013-04-28 15:41:35.642873130 -0400
  @@ -16,11 +16,13 @@
  fi
  # extract, fix and export $LANG
  - TEMPLANG=$(cat "$LANGFILE" | grep ^Language= | cut -d '=' -f 2 | sed 's/utf8/UTF8/')
  - [ ! -z "$TEMPLANG" ] && export LANG=$TEMPLANG
  + TEMPLANG=$(cat "$LANGFILE" | grep ^Language= | cut -d '=' -f 2 | sed 's/utf8/UTF-8/')
  +
  + if [ -z "$TEMPLANG" ]; then
  + TEMPLANG="en_US.UTF-8"
  + fi
  # convert $LANG to $LANGUAGE and export
  TEMPLANGUAGE="$(echo $LANG | cut -d '@' -f 1 | cut -d '.' -f 1):$(echo $LANG | cut -d '@' -f 1 | cut -d '.' -f 1 | cut -d '_' -f 1)"
  [ ! -z "$TEMPLANGUAGE" ] && export LANGUAGE=$TEMPLANGUAGE
  fi
  -
  `

anticapitalista

- anticapitalista
- Posts: 64
- Joined: Wed May 09, 2012 10:49 am

## Re: language selector in greeter died

Sun Apr 28, 2013 8:46 pm

/utf8/UTF8/ versus /utf8/UTF-8/ ie no dash - in the first.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: language selector in greeter died

Mon Apr 29, 2013 6:11 pm

Here's a link from another thread. The original appears to use "UTF8" instead of "UTF-8". Maybe dzz knows more about it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679386
And it's working in the last beta I uploaded to sf.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: language selector in greeter died

Tue Apr 30, 2013 12:09 am

What really is annoying is we still have to use fixes and patches to get it working.. this was a documented bug almost a year ago.
I don't know why a non-functional patch to what actually does work should be published (did something in refracta change like default system language or ~/.dmrc ?)
BTW thanks for beta11, will be testing later when it gets down the wire (takes longer to remember how to do the zsync!)
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: language selector in greeter died

Tue Apr 30, 2013 1:59 am

This looks like it's working... (all on one line)

Code:
  `zsync -i refracta-wheezy-<old-version-in-your-current-directory>.iso http://downloads.sourceforge.net/project/refracta/isohybrid/refracta-wheezy-beta11-20130428_2002.iso.zsync`

Edit: Just under 15 minutes, using beta3 as a seed file. Should be faster with a later beta as a seed.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: language selector in greeter died

Tue Apr 30, 2013 7:50 am

I don't want to sound harsh, but i can't find a way not to:
All i see from lightdm is trouble.
It doesn't source .profile, it doesn't do this, it doesn't do that.
The bad news: If i wanted to use a login-manager i had no clue which one to pick.
If i install anything but Debian it is the first thing i remove (If i install Debian i simply don't install it in the first place).
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: language selector in greeter died

Tue Apr 30, 2013 10:19 am

> I don't want to sound harsh, but i can't find a way not to:
> All i see from lightdm is trouble.
> It doesn't source .profile, it doesn't do this, it doesn't do that.
> The bad news: If i wanted to use a login-manager i had no clue which one to pick.
> If i install anything but Debian it is the first thing i remove (If i install Debian i simply don't install it in the first place).

Agreed. I don't use it in a real install. However lightdm still seems best for a live image.
The mainstream alternatives also have problems (bloat, gtk3, regressions and more) The wheezy "freeze" is why some bugs are not getting sorted.. missing functionality and regressions doesn't necessarily count as "release-critical"
If we want Refracta Live internationalized the language-chooser is important. Hopefully not much is likely to change in wheezy at this stage to break the fix we already have working.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: language selector in greeter died

Tue Apr 30, 2013 6:04 pm

Got you, dzz. It is perhaps the best of all options ( i don't know) and i got no problems with it. For me old gdm was ok (besides that i didn't need it), and all others don't look good to me (kdm was ok too, iirc).
Just installing refracta-beta11 to the PC i found in the garbage
(got a friend who wants it, he is not sure if to use Linux or Windows, but refracta seems perfect).
Two things i realized yet:
The netload plugin of the panel can't be removed
Using simple installation says it would use ext3. I exited and chosed expert (hence don't know if it only says so or if it does so).
More:
Lots of *gz files in /var/log/{clam*, cups}
If here is the wrong thread for beta11 feedback, let me know via pm, i will delete and post it in help.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: language selector in greeter died

Tue Apr 30, 2013 10:28 pm

Right-click just to the left of the vertical netload bars, and you'll get the menu that contains "Remove".
Simple install uses ext3. Expert install (and cli install) will let you choose ext2/3/4.
Guess I should add /var/log/*gz to the excludes. (ok, it's done.)
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.