# Home directory divider

**URL:** <https://discourse.openondemand.org/t/home-directory-divider/818>\
**Category:** Feature Requests and Roadmap Discussion\
**Created:** [April 3, 2020, 1:02pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818 "2020-04-03T13:02:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotaugenlaubfrosch](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rotaugenlaubfrosch/32/314_2.png) [@rotaugenlaubfrosch](https://discourse.openondemand.org/u/rotaugenlaubfrosch)\
**Post date:** [April 3, 2020, 1:02pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818/1 "2020-04-03T13:02:41Z")

</div>

Hi All,  
How is it possible to graphically divide the “Home Directory” entry with other entries of the “Files” dropdown menu as shown below?  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/766ef87afa00803136f7e6e131332dfbb7f9597f.jpeg)  
When adding additional entries to that dropdown, “Home Directory” won’t be separated.

![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/02d599b4a46e2f10e3e1073d219f14dc1b747f19.png)  
**/var/www/ood/apps/sys/dashboard/config/initializers/ood.rb**

```
OodFilesApp.candidate_favorite_paths.tap do |paths|
  # add project space directories
  projects = User.new.groups.map(&:name).grep(/^P./)
  paths.concat projects.map { |p| Pathname.new("/fs/project/#{p}") }

  # add scratch space directories
  paths << Pathname.new("/work")
  paths << Pathname.new("/scratch")
end 

```

Thanks and best regards

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 3, 2020, 2:24pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818/2 "2020-04-03T14:24:52Z")

</div>

First you want to move that file `ood.rb` to `/etc/ood/config/apps/dashboard/initializers/ood.rb`. This will persist it through upgrades (what’s in `/var/www/ood` is overwritten).

Secondly, it’s not immediately apparent if this feature still exists. This is what it looks like for me too. Interactive apps have separator and titles, based off of subcategory. I don’t know how to inject that into the files app off hand because it’s considered 1 app, there’s nothing to separate it from.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/8ea1d79119360da633023b297f7efb0814b16fca.png)

That said, I think you’re right in that’s a cleaner look.

---

<div class="post-metadata">

**Author:** ![efranz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/efranz/32/27_2.png) [@efranz](https://discourse.openondemand.org/u/efranz)\
**Post date:** [April 3, 2020, 2:54pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818/3 "2020-04-03T14:54:39Z")

</div>

Right now there isn’t a way to add the line to separate home directory from the others. That originally existed when we had hard-coded links for the home directory and other hard coded links, which made the code inflexible and more difficult to maintain. We can add that as a feature request to track in GitHub though.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [September 24, 2020, 1:58pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818/4 "2020-09-24T13:58:27Z")

</div>

I just created [the corresponding github ticket for this request](https://github.com/OSC/ondemand/issues/678).

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 4:11pm UTC](https://discourse.openondemand.org/t/home-directory-divider/818/5 "2022-05-26T16:11:36Z")

</div>


