[Bug 220899] Re: [Hardy] Xfce4 xinitrc script not executed on login

Cody A.W. Somerville cody-somerville at ubuntu.com
Wed Jul 2 17:01:05 BST 2008


** Summary changed:

- [Hardy] Wrong default image browser
+ [Hardy] Xfce4 xinitrc script not executed on login

** Description changed:

- Binary package hint: xubuntu-default-settings
+ A regression has developed in the xubuntu-default-settings package when
+ the gdm settings was inappropriately "re-synced"" with Ubuntu's which
+ results in the proper xinitrc script not being executed by default which
+ consequentially resulted in a number of bugs such as the screen saver
+ not properly starting and improper/unexpected session settings. This is
+ a serious regression.
  
- 1. I'm using Ubuntu 8.04 Hardy Heron RC with all the updates available
- installed.
+ A work around is available that involves the user clicking the "session"
+ button at the login screen and specifically selecting Xfce4 before
+ logging in. This will result in the proper login process taking place.
+ Users can make Xfce4 their default session so that they are no longer
+ affected by this regression. As expected, users who had installed Ubuntu
+ previously before installing Xubuntu will not have experienced this
+ problem since they would have to take this action to login to the xfce4
+ desktop in the first place (or users who have selected the Xfce4 session
+ specifically for whatever reason).
  
- 2. Packages important in this case are as follows: Xfce 4 Desktop Environment
- version 4.4.2 (Xfce 4.4), GIMP 2.4.5, ristretto 0.0.18.
+ To determine if a user is affected, they will meet the following
+ criteria:
  
- 3. After fresh install and updating the system I wanted to view some of my photos. 
- It is obvious that if someone wants to browse some pictures/photos/wallpapers etc. the image viewer should be used to open this type of files as a default app. Users wants most often to VIEW the image file, not to EDIT them.
+ 1) They most likely will have installed Xubuntu first or have no other Ubuntu derivative installed;
+ 2) The contents of ~/.dmrc will most likely be as follows (as enclosed by [File ...] ... [/File]):
  
+ [File ~/.dmrc]
  
- 4. When I tried to open a first photo (JPG) in the folder the photo was opened with the GIMP Image Editor, not with the ristretto 0.0.18 the image viewer. I don't know if such a bug exist also for other graphic file formats but it definitely  takes place for JPG files.
+ [Desktop]
+ Session=default
+ [/File]
  
- This bug is very annoying especially when you want to browse a folder
- with a lot of pictures.  A picture is opened with the gimp image EDITOR,
- you have to wait when all the GIMP extensions are loaded and waste your
- time. Every single image has to be opened manually, you can't easy open
- the next image with the GIMP.
+ To confirm, output of ~/.xsession-errors can be examined.
  
- Solution:
- Immediately replace default application to open images with the image VIEWER not with the image EDITOR.
+ Users whose ~/.dmrc file read "Session=xfce4" will experience the normal
+ login process and are not affected.
  
+ The fix for this bug is to update the gdm config file shipped in
+ xubuntu-default-settings to use the xfce4.desktop session file instead
+ of default.desktop and to notify users of the existing install the
+ possible need to follow the workaround procedure.
  
- BTW:
- Ristretto 0.0.18 - "a fast and lightweight picture-viewer for the Xfce desktop environment" seems to be in early stage of the development. When I browsed a folder containing 31 photos with Ristretto the memory usage reached up to 111,5 MB (!) when browsing files very fast. Is this really LIGHTWEIGHT picture-viewer? 
- 
- I decided to download GPicView 0.1.9 from GetDeb.net to take a deeper look at the problem.
- ( http://www.getdeb.net/search.php?keywords=GPicView )
- 
- It is said at the GetDeb.net website: "GPicView is a simple and fast image viewer with low memory usage. This little program is not aimed to be powerful or feature-rich. It's aimed to replace the default image viewer of current desktop systems. Fast-startup, low memory usage, and simple user interface make it a good choice for default viewer. " In addition this image browser has minimal lib dependency: only pure GTK+ is used
- (have a look at: http://www.gnomefiles.org/app.php/GPicView ).
- 
- While browsing the same folder of photos with GPicView the average
- memory usage was about 21.4 MB (started from 19 MB and sometimes reached
- 36 MB). How can you compare 111,5 MB with 36 MB?
- 
- I think these bugs should be fixed BEFORE the final Hardy LTS (!)
- release.
- 
- Thanks.
+ TEST:
+ 1. Install Xubuntu vanilla. 
+ 2. Login
+ 3. Determine that /etc/xdg/xfce4/xinitrc did not execute on login (a good indicator would be that gnome-screensaver is not running)
+ 4. Install updated package 
+ 5. Login again, /etc/xdg/xfce4/xinitrc should have executed on login (or at least for new users)

-- 
[Hardy] Xfce4 xinitrc script not executed on login
https://bugs.launchpad.net/bugs/220899
You received this bug notification because you are a member of Ubuntu
Package Archive Administrators, which is a direct subscriber.



More information about the ubuntu-archive mailing list