[SOLVED] How I can Lock or prevent shelf to be deleted?
BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Last edited by dokie80; 07-26-2019 at 11:22 PM.
Reason: add answer/conclusion
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...
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
Last edited by the_waiter; 07-25-2019 at 07:26 AM.
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
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.
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.
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.
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
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):
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.