This image is the top of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.
Go Back   MisticRiver :: For iriver Enthusiasts > All things Rockbox > ROCKbox Forums > ROCKbox for H10 Series
Home Forums Register FAQ Search Today's Posts Mark Forums Read


Welcome to the misticriver forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags: , ,

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 27th, 2007, 04:42 PM
Mistic Surveyor
 
Join Date: Oct 2006
Posts: 141
Angry unhiding music folder in linux

I booted to the original firmware the other day, which caused my music folder to become hidden. Normally this isn't a problem but I recently switched to linux and I don't know how to make the folder unhidden for rockbox. (i know about the show files all option, but I like having some folders hidden)

anyone know how I can change the status of the folder without conecting to a windows computer?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old November 28th, 2007, 10:41 AM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
chmod -h /folder/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old November 29th, 2007, 10:01 AM
Im Getting Tired Of Hanging Around
 
Join Date: Mar 2005
Location: Only In Your Head
Posts: 2,784
Send a message via MSN to caramelsoul
Im a n00b at Linux but does Ctrl+H not show all hidden folders?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old November 29th, 2007, 01:34 PM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
On his comp, sure, but it won't make any difference on his player.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old November 30th, 2007, 07:14 AM
Im Getting Tired Of Hanging Around
 
Join Date: Mar 2005
Location: Only In Your Head
Posts: 2,784
Send a message via MSN to caramelsoul
Ah, i see. I didnt fully understand the problem.

Weird though as my H320 and H140 didnt have any problems with that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old November 30th, 2007, 07:20 AM
Born Again Mistic
 
Join Date: Feb 2006
Posts: 1,509
I believe it is because your earlier players do not automatically hide the system folders when booted into the OF. H10, for some reason known only to the developers, does.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old November 30th, 2007, 07:48 AM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
To make life slightly harder, of course .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old November 30th, 2007, 11:47 AM
Mistic Surveyor
 
Join Date: Oct 2006
Posts: 141
So the chmod will not work for me on my girlfriends mac, I haven't had the time to try it on my comp at home yet.

But yes the problem is not the folder being hidden on my computer, I just want to unhide to to the H10

edit: the chmod -h says invalid command in ubuntu
__________________

Last edited by blackthunder : November 30th, 2007 at 06:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old November 30th, 2007, 06:39 PM
Mistical Abstract
 
Join Date: Aug 2006
Posts: 674
Quote:
defaults write com.apple.Finder AppleShowAllFiles TRUE
Will show the hidden files on Mac... Set TRUE to FALSE wo hide them again

Quote:
ls -a
Will temporarily show the hidden files in the shell
__________________
www.handmadematters. tk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old November 30th, 2007, 07:06 PM
Mistic Surveyor
 
Join Date: Oct 2006
Posts: 141
the problem is not that I can't see the files, they are not hidden to me on the cpu.

The problem is that rockbox can not see the folder unless i select view all files. I want to be able to set it to view supported files and it will still see the music folder.

In windows I could right click and unselect the hidden box. Linux/Ubuntu doesn't see the file as hidden, but rockbox does.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old December 1st, 2007, 06:03 AM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
Open Terminal
type cd /media/H10/Media (Or wherever your H10 is mounted)
type chmod -h ./Music


Not sure if it needs a root priveledge or not, but try it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old December 4th, 2007, 05:22 AM
Newbie Floating Down The Mistic River
 
Join Date: Nov 2006
Posts: 16
in short, you cannot unhide the .rockbox folder in linux.

In linux, any file with a "." in front of it is treated as hidden. If you rename the folder rockbox, then the system will not work, because it is looking for .rockbox. So, here is the solution. In your file manager simply select view hidden files (its under view for konqueror/dolphin, im not sure where it is for nautalus). Also, if your file manager allows you to manually enter a location, you can do that, "device_name/.rockbox should be it.

Hope this helps.

oh, you said your music folder was hidden...um, there are two ways to do this, one is show hidden files, and rename it (the easy way). The other way is in the terminal, using the rename command, which I think is rn ( i dont have my linux command cheat sheet on me, so do not use that command, google first to make sure)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old December 4th, 2007, 08:09 AM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
Naegling, not entirely true information. Any file with a . preceding it is hidden, yes, however anything with a hidden attribute is also classed as hidden.

His problem isn't the inability to see hidden files on his computer, but that Rockbox will not show a hidden folder whilst in 'Supported Files' mode. The reason it is hidden in the first place, is that the OF gives the music folder the Hidden attribute when booted. Renaming (Which, by the way, is the mv command) won't help, as the music folder isn't preceded by a ., rather granted a hidden attribute.

My method above your post removes the hidden attribute from a file or folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old December 4th, 2007, 09:42 PM
Mistic Surveyor
 
Join Date: Oct 2006
Posts: 141
on my ubuntu system the chmod command did not work, I don't remember the error it gave me. On the mac I've been using it gave me a different error. I solved the problem by just making a new folder. But it seems odd that you can't change that windows hidden attribute using linux based system.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old December 5th, 2007, 12:26 PM
Eager Mistic Beaver
 
Join Date: Nov 2005
Posts: 249
You can, and chmod would be the tool to do it. It may have needed sudo privileges, I'm not on my linux box at the moment. Ah well, it's solved now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:58 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
This image is the bottom of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.