<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>3907</bug_id>
          
          <creation_ts>2004-03-29 18:46:21 +0400</creation_ts>
          <short_desc>update_wms is not updated for gdm 2.x</short_desc>
          <delta_ts>2006-12-17 16:22:29 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xinitrc</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3459</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="drF_ckoff">dfo</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>aris</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>pilot</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12568</commentid>
    <comment_count>0</comment_count>
    <who name="drF_ckoff">dfo</who>
    <bug_when>2004-03-29 18:46:21 +0400</bug_when>
    <thetext>update_wms generates session files for old versions of gdm. for gdm 2.x it
should genereate files in /etc/X11/dm/Sessions/ with name SessionName.desktop
and content like:
[Desktop Entry]
Encoding=...
Name=...
Name[lang]=...
Comment=...
Comment[lang]=...
Exec=...
Icon=...
Type=Application</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13006</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-26 17:56:51 +0400</bug_when>
    <thetext>I&apos;m not aware of new gdm scheme and unable to test it.
Therefore I need the patch. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13219</commentid>
    <comment_count>2</comment_count>
      <attachid>402</attachid>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-05-02 23:24:58 +0400</bug_when>
    <thetext>Created attachment 402
this patch fixes update_wms for new gdm scheme</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13220</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-05-02 23:37:17 +0400</bug_when>
    <thetext>Thanks.
Why do you suppose that /etc/X11/Xsession should be bypassed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13302</commentid>
    <comment_count>4</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-05-05 16:26:31 +0400</bug_when>
    <thetext>By default gdm runs /etc/X11/gdm/Xsession (confugured as BaseXsession parameter
in gdm.conf). However it different with our /etc/Xsession.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14452</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2004-05-31 23:58:35 +0400</bug_when>
    <thetext>Этой глюке уже больше года, а она делает использование gdm из пакета
невозможным. Я добавляю к Master TODO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14479</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-01 19:47:09 +0400</bug_when>
    <thetext>Applied in xinitrc-2.4.20-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14594</commentid>
    <comment_count>7</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-06-03 14:48:23 +0400</bug_when>
    <thetext>Прощу прощения, придется еще раз обновить xinitrc. Желательно это сделать
сегодня. Какой будет релиз у нового пакета? Мне нужно на него поставить
зависимость в новой сборке gdm.

--- update_wms.orig     2004-06-01 19:21:46 +0400
+++ update_wms.new      2004-06-03 13:42:38 +0400
@@ -54,7 +54,7 @@
 Encoding=UTF-8
 Name=$n
 Comment=$n session
-Exec=`/usr/X11R6/bin/runwm --print $n`
+Exec=/etc/X11/Xsession $n
 Icon=
 Type=Application
 __EOF__
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14596</commentid>
    <comment_count>8</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-03 15:10:39 +0400</bug_when>
    <thetext>2.4.21-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14941</commentid>
    <comment_count>9</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-06-09 18:05:19 +0400</bug_when>
    <thetext>update_wms неверно обрабатывает runwm --list. Все портит &quot;KDE (quickstart)&quot;.
Если для KDM это просто не актуально, поскольку update_wms в /etc/X11/kdm/kdmrc
просто ничего не делает за отсутствием соответствующей строки, 
$ grep SessionTypes /etc/X11/kdm/kdmrc
$
то для gnome и wdm имеем ошибочные записи.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14942</commentid>
    <comment_count>10</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-09 18:10:28 +0400</bug_when>
    <thetext>Не понимаю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14943</commentid>
    <comment_count>11</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-06-09 18:20:42 +0400</bug_when>
    <thetext>Ну и ладно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14944</commentid>
    <comment_count>12</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-09 18:21:45 +0400</bug_when>
    <thetext>И что ты предлагаешь?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15018</commentid>
    <comment_count>13</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-10 16:37:57 +0400</bug_when>
    <thetext>Zerg, может ты что-нибудь скажешь по этому поводу?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15028</commentid>
    <comment_count>14</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2004-06-10 20:57:23 +0400</bug_when>
    <thetext> (In reply to comment #13) 
&gt; Zerg, может ты что-нибудь скажешь по этому поводу? 
kdm-у update_wms не нужен 
А разве нельзя исправить update_wms? 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15030</commentid>
    <comment_count>15</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-10 21:08:13 +0400</bug_when>
    <thetext>Просто я не понимаю, что сломано, и потому не знаю, что исправлять.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15032</commentid>
    <comment_count>16</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2004-06-10 21:20:43 +0400</bug_when>
    <thetext> (In reply to comment #15) 
&gt; Просто я не понимаю, что сломано, и потому не знаю, что исправлять. 
 
Пробелы в названиях пунктов 
rundm --list 
неправильно обрабатываются 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15033</commentid>
    <comment_count>17</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-06-10 21:22:46 +0400</bug_when>
    <thetext>(In reply to comment #15)
&gt; Просто я не понимаю, что сломано, и потому не знаю, что исправлять.

Не хочу понимать, поэтому и не понимаю :)

Ключевое слово (quickstart), такого сенсу нет.
Есть &quot;KDE (quickstart)&quot;

1)
$ sudo grep KDE /etc/X11/wdm/wdm-config
DisplayManager*wdmWm:KDE:Gnome2:WindowMaker:IceWM:KDE:(quickstart):default

2) 
]$ cat &quot;/etc/X11/sessions/(quickstart).desktop&quot;
[Desktop Entry]
Encoding=UTF-8
Name=(quickstart)
Comment=(quickstart) session
Exec=/etc/X11/Xsession (quickstart)
Icon=
Type=Application</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15034</commentid>
    <comment_count>18</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-06-10 21:37:21 +0400</bug_when>
    <thetext>И кстати еще о KDE, после сегодняшнего обновления
$ runwm --list|grep KDE
KDE
KDE (safe)
$
Но update_wms никто не вызвал при этом.
$ ls /etc/X11/sessions/
default.desktop  Gnome2.desktop  IceWM.desktop  KDE.desktop 
(quickstart).desktop  WindowMaker.desktop
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15035</commentid>
    <comment_count>19</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2004-06-10 21:40:14 +0400</bug_when>
    <thetext>(In reply to comment #18) 
&gt; Но update_wms никто не вызвал при этом. 
Вот, я как раз искал, зачем новую сборку kdebase сделать :-) 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15047</commentid>
    <comment_count>20</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-11 15:28:46 +0400</bug_when>
    <thetext>Кто придумал в имена (не в описания, а в имена) вставлять пробелы?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15092</commentid>
    <comment_count>21</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-15 01:41:05 +0400</bug_when>
    <thetext>Added in xinitrc-2.4.22-alt1:
update_wms: deal with strange wm names.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>402</attachid>
            <date>2004-05-02 23:24:58 +0400</date>
            <delta_ts>2004-05-02 23:24:58 +0400</delta_ts>
            <desc>this patch fixes update_wms for new gdm scheme</desc>
            <filename>update_wms-alt-newgdm.patch</filename>
            <type>text/plain</type>
            <size>470</size>
            <attacher name="Yuri N. Sedunov">aris</attacher>
            
              <data encoding="base64">LS0tIHVwZGF0ZV93bXMub3JpZwkyMDAzLTAxLTIxIDE5OjA2OjA1ICswMzAwCisrKyB1cGRhdGVf
d21zCTIwMDQtMDUtMDIgMjM6MTc6MTQgKzA0MDAKQEAgLTQ0LDMgKzQ0LDE5IEBACiAJCWNobW9k
IDc1NSAiL2V0Yy9YMTEvZ2RtL1Nlc3Npb25zLyRuIgogCWRvbmUKIGZpCisKKyMgTmV3IEdETSBz
Y2hlbWUKK2lmIFsgLWQgL2V0Yy9YMTEvc2Vzc2lvbnMgXTsgdGhlbgorICAgIHJtIC1mIC9ldGMv
WDExL3Nlc3Npb25zLyoKKyAgICBmb3IgbiBpbiAkcnVud21saXN0OyBkbworCWNhdCA+Ii9ldGMv
WDExL3Nlc3Npb25zLyRuLmRlc2t0b3AiIDw8X19FT0ZfXworW0Rlc2t0b3AgRW50cnldCitFbmNv
ZGluZz1VVEYtOAorTmFtZT0kbgorQ29tbWVudD0kbiBzZXNzaW9uCitFeGVjPWAvdXNyL1gxMVI2
L2Jpbi9ydW53bSAtLXByaW50ICRuYAorSWNvbj0KK1R5cGU9QXBwbGljYXRpb24KK19fRU9GX18K
KyAgICBkb25lCitmaQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>