LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Want Shutdown Icon on Desktop
#11
Glad you found a solution that worked for you.  Smile
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
Reply
#12
i just click the power button on laptop to turn it off
Life on earth is expensive but it does include a free trip around the sun.
Reply
#13
@TMG1961

Using the power switch to power down the system, is a matter of personal preference. In my opinion using the power switch for this puts twice the wear and tear on the power switch as is normally necessary. However on your hardware it's your call. Smile
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
Reply
#14
On Debian stable I have a .desktop launcher
Code:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=Shut Down
Comment=Shut off this machine
Categories=System;
Exec=sudo halt
Icon=/home/ducky/icons/96/shutdown.png
Terminal=false
StartupNotify=true
I've also added a file to /etc/sudoers.d, (thank you AustenTexas)
Code:
user     ALL=NOPASSWD: /usr/sbin/gparted
user     ALL=NOPASSWD: /usr/sbin/synaptic
user   ALL=NOPASSWD: /usr/bin/thunar
user ALL=(ALL) NOPASSWD: ALL

I could click on the 26x26 pixel icons at the bottom of my panel below the whisker icon but I find it a tad easier to click on a 96x96 pixel icon on my ducky screenform.

[Image: FrrgJlcm.png]

Unfortunately the shutdown button don't work correctly with the Ubuntu 14.04 based distros because of systemd but I would think it just needs a change to
Code:
Exec=sudo halt

My database guru friend who wrote my office app in the 90's  is bored with his work maintaining 20 YO legacy windows code for local authorities and has expressed an interest in doing a html5 desktop based on debian like deepin have done for Ubuntu but the database should also be able to churn out a new desktop for windows, so something I've been thinking around since the late 90's looks like taking shape, not bad progress for a none coder.

@avj
My reboot and halt buttons still don't look the same to me the halt has a more "glassy" look to my old eyes.

Reply
#15
The above solutions do not appear to work on Linux Light 3.6 -> for desktop shutdown shortcut (launcher).

Typing - turn - results in [blank].
Typing - tur - results in -> Create Launcher a) Picture b) System c) System d) VLC me....
typing - log - is not a direct shutdown but a number of log options which includes shutdown.

The below is working on my 3.6 install.

1a.  Open a Terminal and enter the following command:

sudo chmod u+s /sbin/shutdown

You will be prompted for your root password. After that, you're done and can type "exit" to exit out of the Terminal.

1b.  Next, on your Desktop, right-click on empty space somewhere and select Create a Launcher.... For the Command:, enter the following:

shutdown -Ph now

1c. Fill remaining fields as required and select an icon.

2a. For reboot launcher fill Command:

shutdown -r now

2b. Fill remaining fields as required and select an icon.

I could not find the metallic power off and reboot icons and used a cross and apposing arrows from Emblems icon selection:

KB shortcuts can be found here: https://askubuntu.com/questions/53263/sh...m-keyboard

Comment: typing - power - automatically fills in a power management launcher. typing - lib - presents various options for Libra Office. Typing - fil - presents various option.

To admin: Where would be found a list of automatic launcher fills ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)