[Bug 1922414] Re: ssh-agent fails to start (has_option: command not found)

2023-01-02 Thread Arjan
Hi,

a 'meetoo' for ubuntu 22.10, using sddm/plasma-x11

Can sddm please be added to the 'Affects'?

Did notice the has_option not found in .xsession-errors
and applied workaround as suggested by Boris Steiner above, but had to make a 
small fixup to the script:

OPTIONS="$(
  if [ -r "$OPTIONFILE" ]; then
cat "$OPTIONFILE"
  fi
  if [ -d /etc/X11/Xsession.options.d ]; then
run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
  fi
)"

#check if has_option is already defined; if not, define

has_option 2>&1 > /dev/null || has_option() {
  # Ensure that a later no-foo overrides an earlier foo
  if [ "$(echo "$OPTIONS" | grep -Eo "^(no-)?$1\>" | tail -n 1)" = "$1" ]; then
return 0
  else
return 1
  fi
}

Notice the 
has_option 2>&1
instead of
has_option 2>1

original proposed version will create file '1' in your home folder

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1922414

Title:
  ssh-agent fails to start (has_option: command not found)

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1922414/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 987471] [NEW] Disk Utility keeps reporting hard disk problem

2012-04-23 Thread Arjan Dijk
Public bug reported:

One of my hard disk has many bad sectors, one has few (the boot) , one
has none. On start up Disk utility reports  Hard disk may be failing.
One or Etc . Three pop-ups at once. After clicking cancel, ok or
examine these pop-ups still  keep appearing at some time interval and
when I mount one of the (non boot) disks.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-disk-utility 2.32.1-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-14.58-generic 2.6.38.8
Uname: Linux 2.6.38-14-generic i686
Architecture: i386
Date: Mon Apr 23 20:56:38 2012
ExecutablePath: /usr/bin/palimpsest
InstallationMedia: Ubuntu 10.04.3 LTS Lucid Lynx - Release i386 (20110720.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-disk-utility
UpgradeStatus: Upgraded to natty on 2012-04-22 (1 days ago)

** Affects: gnome-disk-utility (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug apport-lpi i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-disk-utility in Ubuntu.
https://bugs.launchpad.net/bugs/987471

Title:
  Disk Utility keeps reporting  hard disk problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/987471/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 987471] Re: Disk Utility keeps reporting hard disk problem

2012-04-23 Thread Arjan Dijk
-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-disk-utility in Ubuntu.
https://bugs.launchpad.net/bugs/987471

Title:
  Disk Utility keeps reporting  hard disk problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/987471/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 553162] Re: Unset $LANGUAGES if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-07-06 Thread Arjan van Leeuwen
 That's not true. .utf8 is the canonical name now, and .UTF-8 is an
 alias.
 
 This LANG/LANGUAGE settings behavior brakes some i18n codepages related
 applications (such as xarchiver, file-roller with archiver that has
 codepage handling). 

 These would be bugs in those applications then, not gdm.

We have a similar problem at Opera with Ubuntu users, they are filing
reports with us that their locale doesn't work if they use gdm.

All these applications - including Opera - call standard X11 functions
to set X's locale (see XSupportsLocale(3)). The problem is that some
locales in the *.utf8 form are not supported by X11 as distributed with
Ubuntu, but their *.UTF-8 counterparts are. An example of this would be
bg_BG.utf8, which is one of the locales that gdm will set.

This can be fixed in two ways: gdm should use *.UTF-8 instead (as kdm
does on Kubuntu), or X11 should be fixed to support the various *.utf8
locales that are missing (this can be done by adding the locale to X11's
locale.alias file).

I don't have an exhaustive list of locales that don't work - I only know
about bg_BG.utf8 and ru_UA.utf8 from bug reports by our users - but in
the specific case of bg_BG.utf8 it's worth noting that that entry is in
fact present in locale.alias on Ubuntu, but misspelled as be_BG.utf8.
There is no entry for ru_UA.utf8.

-- 
Unset $LANGUAGES if the user picks a different locale in gdm, so that 
language-selector and gdm stop disagreeing
https://bugs.launchpad.net/bugs/553162
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 401497] Re: wrong keyboard layout after upgrade with autologin

2010-01-30 Thread Arjan
Dear all,

I am experiencing a similar problem. However I would like to have a US
Int'l keyboard, but I just don't seem to get rid of the Italian keyboard
layout.

I agree with previous statement that this should be a high priority
issue, unless Ubuntu is focusing on users who don't need their keyboard
:-)

Keep up the good work!

Kind regards,

Arjan

ar...@ubuntu:~$ echo $GDM_KEYBOARD_LAYOUT
it
ar...@ubuntu:~$ gfconftool -R /desktop/gnome/peripherals/keyboard/kbd
No command 'gfconftool' found, did you mean:
 Command 'gconftool' from package 'gconf2' (main)
gfconftool: command not found
ar...@ubuntu:~$ gconftool -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us  alt-intl]
 options = [grp grp:alts_toggle]
 model = acer_laptop
ar...@ubuntu:~$ grep ^X /etc/default/co
grep: /etc/default/co: No such file or directory

-- 
wrong keyboard layout after upgrade with autologin
https://bugs.launchpad.net/bugs/401497
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs