Suse12.2 / 64 xfce autostart and update

Recently I switched from 12.1/64 LXDE to 12.2/64 XFCE. Generally I like it better because it is easy to handle and really fast.

However two items need to be changed and I definitely could use a little help:

  1. During boot up the GUI starts a nautilus window that I always close manually right away. I looked up all places I can think of the autostart might be hidden. But this one seems to be deeply buried somewhere - I did not find it.

  2. During update (which generally works perfect) there are attempts to access my 3.5" floppy drive (yes, I still have one). It does not stop the update but the noise makes me nervous and it did not happen with 12.1.

Could anybody out there tell me how I can tweak these items?

Thanks for your help

Warp2

  1. During boot up the GUI starts a nautilus window

Is that realy during boot? I would guess that such an end-user tool will only be started (intentionaly or not) after a log-in in a desktop session.

Edit: It is generaly not very clever to have two problems in one thread. You will possibly get answers to one of the problems where you do not know for which one. Or one problem may get no attention at all while the discussion is very lively about the other problem. Also people might hesitate to answer into a thread where chaos might start.

On 2012-10-09 11:26, warp2 wrote:

> 1. During boot up the GUI starts a nautilus window that I always close
> manually right away. I looked up all places I can think of the autostart
> might be hidden. But this one seems to be deeply buried somewhere - I
> did not find it.

Nautilus is not completely removed by closing it.

> 2. During update (which generally works perfect) there are attempts to
> access my 3.5" floppy drive (yes, I still have one). It does not stop
> the update but the noise makes me nervous and it did not happen with
> 12.1.

You probably have a repository pointing to the floppy.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

We might know more “places” to look for autostarters, but we don’t know which ones you tried.

Thank you all for coming back - here is some additional information:

Item 1

First of all is the autostart list in the settings manager. My e-mail starts here and it comes right next to the nautilus window during boot up. The user account starts as default and w/o password, so I do not really know if nautilus comes up before or after the account. The e-mail definitely starts after the account is up.

Other places:

/etc/lightdm
/etc/SUSEconfig
/etc/sysconfig
/home/…/config/autostart

and certainly many more that I do not remember.

Item 2:

Yes, it certainly has to do with the new repository. I used the Suse .iso that was on the servers 2 or 3 days after the 12.2 came out.
Somebody might know where to turn it off the correct way. Certainly I could do it the dirty way in BIOS. And I sure would like to know what the hack update wants the floppy for???

Then you can be sure that it has nothing to do with the boot. Normaly, at the end of booting, you get a login screen. Not a user tool. When you have the bad habit of loging in automaticaly after a boot, then that Nautilus is of the user session, like your e-mail program. Please, try to understand the difference between booting (to start the system) and loging in (can be done several times between boot and shutdown, can be done by several people at the same time, etc).
When you understyand that, then you would not have searched for this Nautilus start in system files in /etc, but somewhere in your home directory.

What Carlos is pointing to, is that you check your repositories for such an entry. Not that you lament about “what the hack”. Show us

zypper lr -d

(and of course between CODE tags: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html )

IMO, your nautilus is probably restarted with the session and not autostarted. Don’t save session on exit! (uncheck “Automatically save session on logout” in Session and Startup -> General or set this boolean to ‘false’ in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml:

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

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="empty"/>
    <property name="SessionName" type="string" value="Default"/>
    <property name="SaveOnExit" type="bool" value="**false**"/>
  </property>
...

No.

Yes, except that it sould be ‘.config’.

/etc/xdg/autostart (for all users)
and /usr/share/gnome/autostart if you enable Gnome services

Success - Item 1 solved!

There was an entry that started nautilus here. Thanks a lot for your help.
All of your other suggestions were OK and it should be .config of course.

For Item 2 I will come back after reading about the code tag… that is tomorrow.

This is correct. Normally it shouldn’t concern xfce, but if you’re running Gnome services, it might. In this case, adding “Hidden=true” will prevent it from autostarting in Xfce. But you should copy nautilus-autostart.desktop to your ~/.config/autostart and make this change at user level.

Here’s the one I’m using:

[Desktop Entry]
X-SuSE-translate=true
Type=Application
Name=Files
Exec=nautilus -n
**Hidden=true**
OnlyShowIn=GNOME;Unity;
AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons

Also notice the value of the key “OnlyShowIn”.

On 2012-10-09 18:26, warp2 wrote:

> Carlos Wrote:
>> You probably have a repository pointing to the floppy.
>
> Yes, it certainly has to do with the new repository. I used the Suse
> .iso that was on the servers 2 or 3 days after the 12.2 came out.
> Somebody might know where to turn it off the correct way. Certainly I
> could do it the dirty way in BIOS. And I sure would like to know what
> the hack update wants the floppy for???

Just get a list of repos (zypper lr --details) or use yast repository manager. See which repo
uses the floppy and remove it.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Too bad - Not really successful…

I found a starter in /etc/xdg/autostart and decided to delete it. After deletion I still got my nautilus autostarted .
I usually use Thunar but I want to keep any file manager available to open non standard CDs/DVDs which make some FMs go absolutely mad.
.

I found several more files that might be involved:

/usr/share/applications/Autorun Prompt /usr/share/applications/File
/usr/bin/nautilus-autorun-software and of course /usr/bin/nautilus

To take them out of the line of suspects I renamed them, one after the other. None but the nautilus executable showed the desired result.
Of course I modified the files according to your example code.
Further I verified that my changes were not overwritten during reboot.
I hope you have some good idea how to proceed…

Here is the screen you asked for:

                                     | Alias| Name| Aktiv| Aktu| Typ| URI|
|---|---|---|---|---|---|
| download.opensuse.org-Apps| openSUSE BuildService – GNOME| Ja| Ja| rpm-md| [Index of /repositories/GNOME:/Apps/openSUSE_12.2](http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_12.2/)|
| download.opensuse.org-lxde| openSUSE BuildService - LXDE| Ja| Ja| rpm-md| [Index of /repositories/X11:/lxde/openSUSE_12.2](http://download.opensuse.org/repositories/X11:/lxde/openSUSE_12.2/)|
| download.opensuse.org-mozilla| openSUSE BuildService - Mozilla| Ja| Ja| rpm-md| [Index of /repositories/mozilla/openSUSE_12.2](http://download.opensuse.org/repositories/mozilla/openSUSE_12.2/)|
| download.opensuse.org-packages| openSUSE BuildService – Java| Ja| Ja| rpm-md| [Index of /repositories/Java:/packages/openSUSE_12.2](http://download.opensuse.org/repositories/Java:/packages/openSUSE_12.2/)|
| openSUSE-12.2-1.6| openSUSE-12.2-1.6| Nein| Nein| yast2| cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H62N_,/dev/sr0|
| packman.inode.at-suse| Packman Repository| Ja| Ja| rpm-md| [Index of /suse/12.2/](http://packman.inode.at/suse/12.2/)|
| repo-debug| openSUSE-12.2-Debug| Nein| Ja| NONE| [Index of /debug/distribution/12.2/repo/oss](http://download.opensuse.org/debug/distribution/12.2/repo/oss/)|
| repo-debug-update| openSUSE-12.2-Update-Debug| Nein| Ja| NONE| [Index of /debug/update/12.2](http://download.opensuse.org/debug/update/12.2/)|
| repo-debug-update-non-oss| openSUSE-12.2-Update-Debug-Non-Oss| Nein| Ja| NONE| [Index of /debug/update/12.2-non-oss](http://download.opensuse.org/debug/update/12.2-non-oss/)|
| repo-non-oss| openSUSE-12.2-Non-Oss| Ja| Ja| yast2| [Index of /distribution/12.2/repo/non-oss](http://download.opensuse.org/distribution/12.2/repo/non-oss/)|
| repo-oss| openSUSE-12.2-Oss| Ja| Ja| yast2| [Index of /distribution/12.2/repo/oss](http://download.opensuse.org/distribution/12.2/repo/oss/)|
| repo-source| openSUSE-12.2-Source| Nein| Ja| NONE| [Index of /source/distribution/12.2/repo/oss](http://download.opensuse.org/source/distribution/12.2/repo/oss/)|
| repo-update| openSUSE-12.2-Update| Ja| Ja| rpm-md| [Index of /update/12.2](http://download.opensuse.org/update/12.2/)|
| repo-update-non-oss| openSUSE-12.2-Update-Non-Oss| Ja| Ja| rpm-md| [Index of /update/12.2-non-oss](http://download.opensuse.org/update/12.2-non-oss/)|


    

The output has been edited a bit to make it fit into the window.

Carlos, the floppy access is tried after download of an update during the process of installation. I have no chance to identify what pieces of the download are being installed when I hear the noise of the floppy. And, of course I do not know which part of the update program causes it. Most of all I do not see any sense to access the floppy at all.

copy/paste this and save as /etc/xdg/autostart/nautilus-autostart.desktop owned by root:root and mode 644


[Desktop Entry]
X-SuSE-translate=true
Type=Application
Name=Files
Exec=nautilus -n
OnlyShowIn=GNOME;Unity;
AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons

$ su -l
# chown root:root   /etc/xdg/autostart/nautilus-autostart.desktop
# chmod 644  /etc/xdg/autostart/nautilus-autostart.desktop

copy/paste this and save as ~/.config/autostart/nautilus-autostart.desktop owned by you and mode 644


[Desktop Entry]
X-SuSE-translate=true
Type=Application
Name=Files
Exec=nautilus -n
Hidden=true
OnlyShowIn=GNOME;Unity;
AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons

Stop looking for files and deleting them!

On 2012-10-10 21:56, warp2 wrote:
>
> Here is the screen you asked for:

No, it is not. It should have looked like this:


> Telcontar:~ # zypper lr --details
> #  | Alias                   | Name                             | Enabled | Refresh | Priority | Type   | URI                                                                     | Service
> ---+-------------------------+----------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------+--------
>  1 | OBS_KDE3                | openSUSE BuildService - KDE:KDE3 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.1/      |
>  2 | OBS_Science             | OBS: Science                     | Yes     | Yes     |  105     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_12.1         |
>  3 | OBS_Server_proxy        | OBS: Server: proxy               | Yes     | Yes     |  107     | rpm-md | http://download.opensuse.org/repositories/server:/proxy/openSUSE_12.1/  |
....

and no editing was wanted. Anyway, I only see the dvd.

> Code:
> --------------------
> openSUSE-12.2-1.6
> openSUSE-12.2-1.6
> Nein
> Nein
> yast2
> cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H62N_,/dev/sr0
> --------------------
>
>
> The output has been edited a bit to make it fit into the window.
>
> Carlos, the floppy access is tried after download of an update during
> the process of installation. I have no chance to identify what pieces of
> the download are being installed when I hear the noise of the floppy.
> And, of course I do not know which part of the update program causes it.
> Most of all I do not see any sense to access the floppy at all.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

DONE

copy/paste this and save as ~/.config/autostart/nautilus-autostart.desktop owned by you and mode 644

DONE

There is one remark: “nautilus-autostart.desktop” showed up as “Files” in the file manager (not in a terminal, not in the editor) I renamed Files to nautilus-autostart.desktop and then set owner and 644 to follow your procedure.

Stop looking for files and deleting them!

I just renamed them (deleted just one which is now replaced), they are all back to what they were.

… and nautilus autostarts as before.

My editing did not remove any valuable information. I removed " priority " (all 99) an fragments of meaningless text such as a long model number of my dvd drive.
The screen is like yours - just localized for Germany.

You expect to see other local entries - there are none. Installation was from an .iso (dvd). No floppy has ever been used with Linux. I just might use it once in while to run a particular old windows software for GAL programming.

Under Xfce? But not from this file. Create a new user, copy ~/.config/autostart/nautilus-autostart.desktop (the one with “Hidden=true”) to its ~/config/autostart directory, change ownership to that user and log in in Xfce. Does nautilus start?

It did not start in the new account and it does not start in my standard account any more. I do not think it was supposed to work this way but strangely it did … and that makes me happy. I tried it out several times, always OK. I hope it lasts at least until 12.3 rolls out.

Thank you for helping me so much.

It seems that you fail to understand one of the main cases for using CODE tags. We use the CODE tags to make that we see EXACTLY what you see on the screen. So that we can make our own interpretation on what is important and what isn’t. We are not sitting together with you at your system. CODE tags is the only way we realy can see what you see, No malformed white space, no smileys innterpreted from important data, no URL’s translated into intelligent links, no interpretation from the person has the problem (and who might misunderstand completley what is inportant and what is not). See mine:

boven:~ # zypper lr -d
#  | Alias                            | Name                             | Enabled | Refresh | Priority | Type   | URI                                                                       | Service
---+----------------------------------+----------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------+--------
 1 | Application:Geo                  | Application:Geo                  | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.4/ |        
 2 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                 |        
 3 | download.nvidia.com-opensuse     | nVidia Graphics Drivers          | No      | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/11.4/                                  |        
 4 | google-earth                     | google-earth                     | No      | Yes     |   99     | rpm-md | http://dl.google.com/linux/earth/rpm/stable/i386                          |        
 5 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorpCD_DVDW_TS-H653L,/dev/sr0      |        
 6 | packman.inode.at-suse            | Packman Repository               | Yes     | Yes     |   99     | rpm-md | http://packman.mirrors.skynet.be/pub/packman/suse/11.4/                   |        
 7 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/            |        
 8 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/11.4/                           |        
 9 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/              |        
10 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                  |        
11 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/           |        
boven:~ #

It includes the prompt from the shell and thus shows that I am root and what my working directory is. It shows the complete and unabridged output. It shows that it is complete until the new prompt. And all of this without any further explication needed.

Please consider this next time.