Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181628

Setting up power-off icon

From Lisi Reisz <lisi.reisz@gmail.com>
Newsgroups linux.debian.user
Subject Setting up power-off icon
Date 2017-06-01 01:20 +0200
Message-ID <tNl4d-34b-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I want to set up a large power-off icon on the desktop for a user with very 
poor sight.  I have found a suitable icon and am now struggling with setting 
up the icon on the desktop.

Debian Jessie 8.8 with TDE 14.0.5.

This is what I have so far:

[Desktop Entry]
Name=Shut_down
Comment=Log out and power off
Icon=/usr/share/pixmaps/power-button-off_318-42222.jpg
Exec=sudo /sbin/poweroff
Type=Application
Encoding=UTF-8
Terminal=false
Categories=None;

saved in /home/$USER/Desktop/

I get an icon (the wrong one!) on the desktop on which I can click and it 
launches the application launcher and asks for an application or URL.  If I 
delete the word sudo I get the menu opened up and get asked which application 
I want.

I asked on the TDE list and was told to set up an con to execute the sudo 
command, then googled, and got the idea for this from:
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/desktop-shortcuts
but am now completely at sea and am probably asking the wrong questions. 

I have never been a lover of icons and am not very hot on their creation and 
use.

The user got badly scammed, so I am doing this instead of just reinstalling 
Windows 7 and letting him get on with it.  If I can succeed, this will be 
much easier for him and MUCH less insecure.

Lisi

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Setting up power-off icon Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-01 01:20 +0200
  Re: Setting up power-off icon Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-01 01:50 +0200
    Re: Setting up power-off icon Ben Caradoc-Davies <ben@transient.nz> - 2017-06-01 02:00 +0200
      Re: Setting up power-off icon Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-01 02:40 +0200

csiph-web