[SOLVED]How to add shutdown widget?

Get help with LXQt specific problems
Post Reply
arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

[SOLVED]How to add shutdown widget?

Post#1 by arcull » 03 Jan 2015, 14:12

Hi,

Maybe someone knows how to add the shutdown/reboot widget? I did add new user via adduser command, but when I log in to lxqt desktop I can't find a way to add the shutdown widget to the bottom pannel, like the guest login has. Besides, how to I add a shortcut of for instace firefox to desktop? Thanks a ton in advance.
Last edited by arcull on 04 Jan 2015, 10:04, edited 1 time in total.

arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

Re: How to add shutdown widget?

Post#2 by arcull » 03 Jan 2015, 20:01

Ok, I've figured out the second part, how to make the shortcut. I can't add it to desktop, but to the bottom bar, by right clicking and adding widget named "quick launch" and then, a reserved space apperas in the bottom bar near the start button, and you just drag and drop the apps from the menu there.

The mistery of how to add a shutdown widget still remains :(

User avatar
francois
Contributor
Contributor
Posts: 5073
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to add shutdown widget?

Post#3 by francois » 04 Jan 2015, 06:58

1.0 So you found how to add a panel widget. For posterity you could have explained how to do it:
- right click on the panel menu > add panel widget.

2.0 Now you want to be able to poweroff your computer directly. So you need to provide a .desktop file associating a command to a nice icon that will represent your poweroff command different than the logout button at the extreme right of the panel:
- the syntax for the .desktop file
http://askubuntu.com/questions/99635/ho ... ell-script
- nice poweroff icon
- you can make a bakup of the logout.desktop file and modify it to save it as1.0 poweroff.desktop file. The path is:
/usr/share/applications/logout
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 964
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: How to add shutdown widget?

Post#4 by ncmprhnsbl » 04 Jan 2015, 07:26

to get logout icon on taskbar:
add a "quicklaunch" , just as you have already done for firefox( you can have many)
open main menu /System Tools, drag "Logout" to that quicklaunch, and there you have it.
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

Re: How to add shutdown widget?

Post#5 by arcull » 04 Jan 2015, 07:37

2.0 Now you want to be able to poweroff your computer directly. So you need to provide a .desktop file associating a command to a nice icon that will represent your poweroff command different than the logout button at the extreme right of the panel:
- the syntax for the .desktop file
http://askubuntu.com/questions/99635/ho ... ell-script
- nice poweroff icon
- you can make a bakup of the logout.desktop file and modify it to save it as1.0 poweroff.desktop file. The path is:
/usr/share/applications/logout
thanks francois, but I think you didn't get what I mean. It is not that I want a desktop shortcut icon to instantly power off pc, even though this is some kind of solution....the problem is that when I created a new user by "adduser" and loged in to lxqt, the bottom app bar by default was almost empty, well it had the start button to get the menu on the left side, and I think the usb devices button on the right side. So it was missing the default logout/restart/shutdown widget in the bottom right corner and that is what I would like to get back for my new login. It is true, that I didn't care much about the user groups when adding user by "adduser" I did enter the username and then enter,enter,...with the default options. Now it makes me think, that I should have taken more care about the user groups, hmmm...

arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

Re: How to add shutdown widget?

Post#6 by arcull » 04 Jan 2015, 07:38

to get logout icon on taskbar:
add a "quicklaunch" , just as you have already done for firefox( you can have many)
open main menu /System Tools, drag "Logout" to that quicklaunch, and there you have it.
thanks ncmprhnsbl, I thought that too, but I just can't, or don't know how to drag it there :(

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 964
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: How to add shutdown widget?

Post#7 by ncmprhnsbl » 04 Jan 2015, 07:48

main menu /System Tools not the "Leave" menu .... ;)

edit/ while i'm at it, heres how to put an application icon on the desktop:
pcmanfm, left hand side, 'Applications' , find the app you want, rclick copy, then rclick paste on the desktop.

edit/edit heres the default groups for guest

Code: Select all

guest disk lp floppy dialout audio video cdrom games power netdev scanner vboxusers users
not sure if adding a new user account is fully supported in porteus....
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

Re: How to add shutdown widget?

Post#8 by arcull » 04 Jan 2015, 10:04

pcmanfm, left hand side, 'Applications' , find the app you want, rclick copy, then rclick paste on the desktop.
Ok, it is an acceptable solution, then I just move the desktop icon near the botom right corner and it's ok for me. Thanks ncmprhnsbl :good:

User avatar
francois
Contributor
Contributor
Posts: 5073
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: [SOLVED]How to add shutdown widget?

Post#9 by francois » 04 Jan 2015, 14:46

You could also open the panel menu, in system select the shutdown icon with the left click held down and drag it to the available place in the panel.
Voltaire: Le mieux est l'ennemi du bien.

arcull
White ninja
White ninja
Posts: 16
Joined: 30 Dec 2014, 16:24
Distribution: Porteus,Ubuntu
Location: Slovenia

Re: [SOLVED]How to add shutdown widget?

Post#10 by arcull » 06 Jan 2015, 07:26

You could also open the panel menu, in system select the shutdown icon with the left click held down and drag it to the available place in the panel.
Thanks but I really can't do that, or I'm doing it completely wrong :fool: , that icon just isnt "dragable". However the solution from ncmprhnsbl is just Ok, I think I'll stick to it.

User avatar
francois
Contributor
Contributor
Posts: 5073
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: [SOLVED]How to add shutdown widget?

Post#11 by francois » 06 Jan 2015, 17:31

It is not possible with the icons from the leave menu, you are right. However, you can do it from the system tool menu where there is an additional logout button. 8)
Voltaire: Le mieux est l'ennemi du bien.

Post Reply