LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   How I can Lock or prevent shelf to be deleted? (https://www.linuxquestions.org/questions/bodhi-92/how-i-can-lock-or-prevent-shelf-to-be-deleted-4175657988/)

dokie80 07-24-2019 06:24 PM

How I can Lock or prevent shelf to be deleted?
 
Hi all. I'm considered new in Linux and recently just switch to bodhi Linux from lubuntu.
Is there anyway to lock the shelf?
I accidentally delete the shelf. I do know how to make a new one, but it seems too easy to accidentally delete it.

Thanks

answer/conclusion:
- can not lock shelf
+ there is a confirmation box before it actually delete the shelf
+ another preventive step is to make a profile, using profile manager, create new profile... all settings are saved in ~/.e/e/config/, in there, there are a folder for each profile. for me, i make a new profile, and copy the default profile (bodhi) to the new created profile. make a backup of it, and restore if necessary.

hemlocktree 07-24-2019 07:24 PM

menu- settings - - - extensions--- shelves. you can add it there - hope this helps...

also right click on an empty spot on panel if you get it and got to settings and snoop around there.

enigma9o7 07-24-2019 11:00 PM

Quote:

Originally Posted by dokie80 (Post 6018318)
Hi all. I'm considered new in Linux and recently just switch to bodhi Linux from lubuntu.
Is there anyway to lock the shelf?
I accidentally delete the shelf. I do know how to make a new one, but it seems too easy to accidentally delete it.

Thanks

You can lock the 'ibar' so that icons dont move around or change... but not sure how you accidentally deleted a whole shelf! Maybe easy for you, maybe you're super amazing. I don't think you can lock a shelf. When you right click you can select the ability to move objects around, but then you can turn that off the same way...

the_waiter 07-25-2019 03:38 AM

No, as far as I know this is not possible. I know this happens to new users on their way to learn Moksha features. It happened me as well in the past. What to do?

1. erase .e folder under /home dir and your profile will be in default. Unfortunatelly you need to set up your desktop from the scratch
2. add a new shelf on the screen and add all the modules on its top
3. add (I mean code) the shelf lock as a new feature to moksha. We need to rethink this idea if needed or not.

Stefan

dokie80 07-25-2019 12:09 PM

Quote:

Originally Posted by enigma9o7 (Post 6018377)
You can lock the 'ibar' so that icons dont move around or change... but not sure how you accidentally deleted a whole shelf! Maybe easy for you, maybe you're super amazing. I don't think you can lock a shelf. When you right click you can select the ability to move objects around, but then you can turn that off the same way...

since you seems to imply that it's not that easy to delete the shelf, i did try to delete it again. I didnt realize there is a confirmation box to delete afterward, that's good.
I remember that i wanted to close an app from the taskbar, must have click an empty space though, and choosed delete option, must be because of my amazingness that I click ok on the confirmation box too without reading it properly :D

thanks

dokie80 07-25-2019 12:13 PM

Quote:

Originally Posted by the_waiter (Post 6018419)
No, as far as I know this is not possible. I know this happens to new users on their way to learn Moksha features. It happened me as well in the past. What to do?

1. erase .e folder under /home dir and your profile will be in default. Unfortunatelly you need to set up your desktop from the scratch
2. add a new shelf on the screen and add all the modules on its top
3. add (I mean code) the shelf lock as a new feature to moksha. We need to rethink this idea if needed or not.

Stefan

thanks for the reply... noted on the option 1. good to know if i want to reset all my settings.
I do think its better to make it more harder to delete the shelf. i think everyone use shelf as a permanent thing on a desktop, shouldnt be able to delete with only 3 clicks :(

anyway thanks for all the helps. marking as solved.

the_waiter 07-25-2019 12:46 PM

OK, if I explained some stuff to you

Anyway, this is a popup info in case you wanna delete a shelf. You are warned sufficiently me think. After some time of distro using I was aware this could happen and I was careful. This is everything I can say to this.

https://i.imgur.com/FdCM7E3.jpg

Stefan

anon242 07-25-2019 05:46 PM

My dad has deleted the shelf a few times, was not hard to bring back as it was.

rbtylee 07-25-2019 05:54 PM

Quote:

Originally Posted by dokie80 (Post 6018318)
Hi all. I'm considered new in Linux and recently just switch to bodhi Linux from lubuntu.
Is there anyway to lock the shelf?
I accidentally delete the shelf. I do know how to make a new one, but it seems too easy to accidentally delete it.

Thanks

This has been answered but since I have an active role in maintaining Moksha here is my take on this. As noted by Stefan, when you delete a shelf you have to click a popup confirmation before it is deleted. Adding another layer, such as a lock on deletion for the shelf or other gadgets, seems like an unnecessary complication. If you are click happy and delete the shelf by accident then perhaps you should consider in the future the importance of backing up important files and folders. And/Or at least creating a profile for your Moksha customizations. You should also consider calming down on the click happy thing.

While I appreciate all feedback users have on moksha and ideas on improving it, I can't see adding a lock on deletion as much of an improvement at all. That is unlikely to ever make its way into Bodhi. However, since Moksha is open source you are free to do what you want and that surely includes custom patches. Wouldn't take much to add a 'deletion lock' for a specific gadget such as the shelf.

hemlocktree 07-25-2019 06:24 PM

i agree with robert.

dokie80 07-26-2019 12:13 AM

1 Attachment(s)
Quote:

Originally Posted by rbtylee (Post 6018640)
This has been answered but since I have an active role in maintaining Moksha here is my take on this. As noted by Stefan, when you delete a shelf you have to click a popup confirmation before it is deleted. Adding another layer, such as a lock on deletion for the shelf or other gadgets, seems like an unnecessary complication. If you are click happy and delete the shelf by accident then perhaps you should consider in the future the importance of backing up important files and folders. And/Or at least creating a profile for your Moksha customizations. You should also consider calming down on the click happy thing.

While I appreciate all feedback users have on moksha and ideas on improving it, I can't see adding a lock on deletion as much of an improvement at all. That is unlikely to ever make its way into Bodhi. However, since Moksha is open source you are free to do what you want and that surely includes custom patches. Wouldn't take much to add a 'deletion lock' for a specific gadget such as the shelf.

thanks for the reply. to @the_waiter, @wimc too
I dont know about the profile, will look into it now, thanks.

I dont mean to complain about this thing, I know that it was my mistake. I just want to know if it possible, to prevent it to happen again.
I agree that popup confirmation should be enough. but consider this, instead of locking, why not just remove the delete option from taskbar menu (when we right click an empty space on taskbar). If necessary, we can delete the shelf from shelves setting. By adding a delete option from right click menu, It's making user easier to "accidentally" delete it. For some, maybe it's a convenience, for me it's a risk :D

Again, no offense, take it as an idea, for a user like me. I believe it will never happen again for me (lesson learned). But I'm afraid that my wife and kids will.

anyway, I'm quite happy with bodhi linux, compared to lubuntu, so far i find it way better. I'm glad I finally try it. I read about bodhi linux several times, I dont know why most writers recommend lubuntu or lxde in general instead of bodhi.

regards,

here is me, showing of my bodhi dekstop (remote from my laptop):

the_waiter 07-26-2019 02:15 AM

You can also consider using engage module. It looks like MacOS icon bar with nice animation. I think there is not such an easy way to delete. Install moksha-module-engage and load in module section.
https://www.deviantart.com/toenda/ar...ngage-15596594

As Linux distro writers is concerned, yes, I understand why they do not praise E or Moksha dekstop. E was long time developed and still seemed to be unfinished for some eyes. Also, E is not aimed for new users who switch to Linux from MS Windows. Also, except for bloat Bodhi Linux with preinstalled apps, the default release is too naked and lack all the stuff the other distros offer. We do not force anybody using SW which we like. No, user is a master of his decisions and only he knows what to install and why.

Anyway, thanx for kind words. Good for motivation :)

Stefan

enigma9o7 07-26-2019 09:37 PM

If developers did want to make a chance to avoid this mistake, you could just remove the 'delete' option from the right-click menu. If someone wants to remove a shelf, do it from settings/shelves. I hadn't even ever noticed that delete choice was there.

dokie80 07-26-2019 11:16 PM

Quote:

Originally Posted by the_waiter (Post 6018710)
You can also consider using engage module. It looks like MacOS icon bar with nice animation. I think there is not such an easy way to delete. Install moksha-module-engage and load in module section.
https://www.deviantart.com/toenda/ar...ngage-15596594

As Linux distro writers is concerned, yes, I understand why they do not praise E or Moksha dekstop. E was long time developed and still seemed to be unfinished for some eyes. Also, E is not aimed for new users who switch to Linux from MS Windows. Also, except for bloat Bodhi Linux with preinstalled apps, the default release is too naked and lack all the stuff the other distros offer. We do not force anybody using SW which we like. No, user is a master of his decisions and only he knows what to install and why.

Anyway, thanx for kind words. Good for motivation :)

Stefan

that looks good... i ll try it out, thanks :)


All times are GMT -5. The time now is 06:21 PM.