Announcement

Collapse
No announcement yet.

KDE logout script [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KDE logout script [SOLVED]

    Hi all:
    I'm interested in where to place some bash commands or scripts to umount some SMB/CIFS shares when the user logs out the system.

    KDE 3.5.9

    Thanks in advance


    #2
    Re: KDE logout script

    Maybe ~/.kde/shutdown ?

    > FAQ: How to start programs when KDE starts or stops



    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: KDE logout script

      Precisely!
      Actually, to be more verbose, ~/.kde/shutdown/ is a directory, so you just drop your script there or create a symbolic link to it.
      I use to write my scripts on ~/bin/ and sym link'em properly, that way editing files on ~/bin/ would "automatically" update them to KDE

      Comment


        #4
        Re: KDE logout script [SOLVED]

        That's true!!

        Thanks to all, the issue was that I forgot to give execution rigths to the script (chmod 700 script.sh).

        Thanks again to all!

        Comment

        Working...
        X