You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



[SOLVED] Want Shutdown Icon on Desktop

Author (Read 21964 times)

0 Members and 2 Guests are viewing this topic.

Re: [SOLVED] Want Shutdown Icon on Desktop
« Reply #15 on: January 07, 2018, 12:37:31 AM »
 

phylo

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
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/shut-down-computer-from-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 ?
« Last Edit: January 07, 2018, 05:39:51 AM by phylo »
 

Re: [SOLVED] Want Shutdown Icon on Desktop
« Reply #14 on: February 26, 2015, 03:54:53 AM »
 

ukbrian

  • Old Fool
  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 22
  • Linux Lite Member
    • View Profile
On Debian stable I have a .desktop launcher
Code: [Select]
[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: [Select]
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.



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: [Select]
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.

 

Re: Want Shutdown Icon on Desktop
« Reply #13 on: February 25, 2015, 05:14:18 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
@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. :)
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Want Shutdown Icon on Desktop
« Reply #12 on: February 25, 2015, 04:43:09 PM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
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.
 

Re: Want Shutdown Icon on Desktop
« Reply #11 on: February 25, 2015, 03:27:05 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Glad you found a solution that worked for you.  :)
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Want Shutdown Icon on Desktop
« Reply #10 on: February 25, 2015, 03:22:59 PM »
 

PeterB

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Hi avj...I finally sorted it out after a little blundering around - on my installation, it's the word 'log' not 'turn' that does it.
 

Re: Want Shutdown Icon on Desktop
« Reply #9 on: February 25, 2015, 11:13:28 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
I just tested the method in the reply about creating a desktop launcher, and it seems to work. Once the launcher is created right click on it and click "make file executable", and it should then work.

When you try to create the launcher only type in the word "turn" and a drop down list should appear with the "Turn off computer" as one of the items that can be selected.
« Last Edit: February 25, 2015, 11:21:04 AM by avj »
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Want Shutdown Icon on desktop
« Reply #8 on: February 25, 2015, 10:13:19 AM »
 

PeterB

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Apologies for reawakening an old thread, but I can't find a more recent mention of this topic.

Neither of the 2 suggested solutions seems to work with version 2.2.

In 'Create Launcher', the 'turn off' option isn't listed.
In the 'Menu, All' suggestion, there isn't a 'Turn off Computer' option to right-click.

Is there still a way to achieve this, please?
 

Re: Want Shutdown Icon on desktop
« Reply #7 on: October 17, 2014, 10:43:23 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
@N4RPS
Great pics! I was too lazy to post them myself.

@Tony
Thanks for taking the time to post. Glad you were able to fix the issue.  :)

@JmaCWQ
100 points for you. Great solution. Can't get easier than that.
 

Re: Want Shutdown Icon on desktop
« Reply #6 on: October 17, 2014, 08:51:55 AM »
 

Tony Gamble

  • New to Forums
  • *
  • 17
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
Thanks again.

Tony
 

Re: Want Shutdown Icon on desktop
« Reply #5 on: October 17, 2014, 07:24:31 AM »
 

JmaCWQ

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 44
    • View Profile
Hey All,

Another way:

Click on Menu, scroll to All, scroll to Turn Off Computer, right click on Turn Off Computer - Add to Desktop.

Cheers
 

Re: Want Shutdown Icon on desktop
« Reply #4 on: October 17, 2014, 03:54:26 AM »
 

Tony Gamble

  • New to Forums
  • *
  • 17
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
Thanks guys.

It works a treat.

Tony
 

Re: Want Shutdown Icon on desktop
« Reply #3 on: October 17, 2014, 02:26:51 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

As they say, great minds think alike; Scott and I answered at the same time. His answer is better, so here it is, in pictures:

                                            

Hope this helps...

73 DE N4RPS
Rob


« Last Edit: October 17, 2014, 03:01:58 AM by N4RPS »


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Want Shutdown Icon on desktop
« Reply #2 on: October 17, 2014, 02:08:31 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Tony,

Give this a try:

Create a launcher on the desktop
1. RT click the desktop > Create Launcher
2. Create Launcher window opens
3. Name field: start typing the word "Turn" and you should be offered the choice of "Turn Off Computer." Accept this and all necessary info will autofill.
4. Click the create button.
5. A new icon is now on the desktop.
6. Rt click the new icon > Properties
7. Icon properties window opens
8. Choose the Permissions Tab
9. Tick box - Allow this file to run as a program
10. Close button
11. Double click new icon to test
12. The end

Did that do it?

~Scott
 

[SOLVED] Want Shutdown Icon on Desktop
« Reply #1 on: October 17, 2014, 01:24:56 AM »
 

Tony Gamble

  • New to Forums
  • *
  • 17
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
I'm setting up a Sony Vaio with Linux Lite for my wife.

The shutdown icon on the menu, and the new one on the taskbar, are both small and hidden.

I have two icons on the desktop - browser and email.

I'd like a third - to turn the laptop off.

What do you wizards suggest, please?

Tony
« Last Edit: February 26, 2015, 01:05:34 AM by Scott(0) »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section