Results 1 to 2 of 2

Thread: idesk problems, help wanted/needed

  1. #1
    Join Date
    Apr 2008
    Location
    Ghent, Belgium
    Beans
    37
    Distro
    Kubuntu 14.04 Trusty Tahr

    Exclamation howto create idesk powerdown desktop icon and fluxbox menu entry

    Ok, a summary of what I've been doing so far. To start with, I made a 2nd partition to tinker around with. I did a minimal alternate Hardy install on it,just the basics, and added fluxbox and idesk amongst others. I then wanted to create some desktop icons to direct me to some applications and to shutdown. The shutdown thingies proved to be the major obstacle, so here's a mini howto on how I worked things out. My aim was to get desktop icons to double-click on so the shutdown or reboot sequence would start. The following procedure workd for me ...

    To add a reboot menu shortcut in the standard .fluxbox/menu, add this:

    [exec] (Reboot) {xterm -e sudo /sbin/shutdown -r now}
    -r will reboot whereas -P will powerdown.

    The following part would be to create the .lnk file that has to be placed in the .idesktop folder:

    table Icon
    Caption: Reboot
    ToolTip.Caption: opnieuw opstarten
    Command: sudo /sbin/shutdown -r now
    Icon: /usr/share/icons/logoff/logoff-oranje.png
    Width: 60
    Height: 60
    X: 170
    Y: 1110
    end
    Then add the bold lines to your sudoers file using
    Code:
    sudo visudo
    wim is my username and Desktop-Wim my hostname

    # /etc/sudoers
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # See the man page for details on how to write a sudoers file.
    #

    Defaults env_reset
    Defaults editor=/usr/bin/leafpad

    # Host alias specification

    # User alias specification

    # Cmnd alias specification

    # User privilege specification
    root ALL=(ALL) ALL
    wim ALL=(ALL) ALL

    # Uncomment to allow members of group sudo to not need a password
    # (Note that later entries override this, so you might need to move
    # it further down)
    # %sudo ALL=NOPASSWD: ALL

    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL
    wim Desktop-Wim = NOPASSWD: /sbin/shutdown
    A big thanks to everyone at the Google Fluxbox Group
    Last edited by Wim De Winter; May 28th, 2009 at 11:52 PM. Reason: problem fixed, now here's an howto?
    "And so, the newb, explores its new environment. Hesitant at first, but by learning from its mistakes, more confident with each step it takes."

  2. #2
    Join Date
    Jul 2007
    Location
    WA State, US
    Beans
    67
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: idesk problems, help wanted/needed

    Hopefully, you read this. I made a simple utility to configure iDesk. It is available for download from http://sourceforge.net/projects/ideskconfig/files/

    Just click the link that says ideskconfig-(something).tar.gz

    Extract the tarball and double click idesk_config.py and choose run.

    The latest version as of right now is 0.9, and will be updated frequently.

    Good luck!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •