LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 07-24-2019, 06:24 PM   #1
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Rep: Reputation: 0
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.

Last edited by dokie80; 07-26-2019 at 11:22 PM. Reason: add answer/conclusion
 
Old 07-24-2019, 07:24 PM   #2
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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.
 
1 members found this post helpful.
Old 07-24-2019, 11:00 PM   #3
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by dokie80 View Post
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...
 
1 members found this post helpful.
Old 07-25-2019, 03:38 AM   #4
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
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.
 
1 members found this post helpful.
Old 07-25-2019, 12:09 PM   #5
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by enigma9o7 View Post
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

thanks
 
Old 07-25-2019, 12:13 PM   #6
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by the_waiter View Post
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.
 
Old 07-25-2019, 12:46 PM   #7
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
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

Last edited by the_waiter; 07-25-2019 at 12:54 PM.
 
1 members found this post helpful.
Old 07-25-2019, 05:46 PM   #8
anon242
Member
 
Registered: Oct 2018
Posts: 69

Rep: Reputation: Disabled
My dad has deleted the shelf a few times, was not hard to bring back as it was.
 
Old 07-25-2019, 05:54 PM   #9
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
Quote:
Originally Posted by dokie80 View Post
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.
 
2 members found this post helpful.
Old 07-25-2019, 06:24 PM   #10
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
i agree with robert.
 
Old 07-26-2019, 12:13 AM   #11
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rbtylee View Post
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):
Attached Thumbnails
Click image for larger version

Name:	Selection_015.jpg
Views:	20
Size:	202.8 KB
ID:	30953  
 
Old 07-26-2019, 02:15 AM   #12
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
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
 
1 members found this post helpful.
Old 07-26-2019, 09:37 PM   #13
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
Old 07-26-2019, 11:16 PM   #14
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by the_waiter View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM
Anyone know of a good off-the-shelf NAS that supports NFS? netboy_541 Linux - Hardware 1 11-12-2008 10:41 AM
rsync to an off-the-shelf NAS JacekZ Linux - Networking 3 08-21-2006 08:32 PM
Is there any off the shelf wlan cards for FC5? tds2000_us Linux - Wireless Networking 1 07-30-2006 01:55 PM
Off the Shelf Desktop and Laptop PC's fieldyweb Linux - Hardware 6 02-18-2006 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration