LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2013, 11:53 PM   #1
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Rep: Reputation: Disabled
impossible to transfer file from laptop to MP3 player


Hi,
when I want to transfer my MP3 files to my MP3 player, I click the right button of the mouse and the option "paste" does not appear .

Any idea?
 
Old 05-19-2013, 12:29 AM   #2
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
try keyboard shortcut :
Ctrl+V

some time for me in ubuntu 12.04 this happens but keyboard shortcut works .
 
1 members found this post helpful.
Old 05-19-2013, 01:57 AM   #3
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Where you are trying to paste the file is 'read-only'
 
Old 05-19-2013, 03:19 AM   #4
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Original Poster
Rep: Reputation: Disabled
Correct, the file is "read only" but how can I change the "properties" and be able to "write "?
 
Old 05-19-2013, 04:33 AM   #5
era31415
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
It is not the file but the directory ceyx was talking about.

How are you locating the mp3 file ?

If you are browsing and trying to save from it, often web sites do not want you to download and save the files and will sometimes write javascript to disable right-click functions.

You might have better luck at the shell prompt using 'wget URL.mp3' to fetch from the web site into the current directory.

More specific advise could be given if we knew what you are trying to do in greater detail. Perhaps you might even tell what URL.

If it is attempting to copy a CD that requires specialised software. http://www.cyberciti.biz/faq/linux-r...g-audio-files/ Google 'rip CD linux' to find more pointers.

Ed Allen
era31415
 
Old 05-19-2013, 06:18 AM   #6
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Original Poster
Rep: Reputation: Disabled
@Ed Allen:


cdparanoia is too complicated for me, it sucks.

Moreover, I just to convert my ogg files into mp3 format.
 
Old 05-19-2013, 06:24 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Just to summarize: You want to copy MP3 files to your MP3 player, which is, I assume, formatted with FAT32 (most MP3 players are)? If not, please correct me.
Usually when the Paste entry in the menu is greyed out you have not the permissions to write at that directory. For FAT32 disks this usually means that you have not specified an UID/GID when mounting the disk, so that only root has privileges to write to it.
 
Old 05-19-2013, 10:32 AM   #8
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Original Poster
Rep: Reputation: Disabled
@ TOBISGD:

correct: how can I mount my player in order to be able to copy-paste the files?

Thanx
 
Old 05-19-2013, 11:15 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Assuming that your UID and GID are both 1000 (they are on many Linux distributions for the first user) try it with
Code:
mount -t vfat -o uid=1000,gid=1000 /dev/sdX /your-mount-point
where you have to replace /dev/sdX with the actual device and /your-mount-point with the directory where you want to mount the device.
 
Old 05-19-2013, 12:01 PM   #10
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Original Poster
Rep: Reputation: Disabled
[root@localhost ~]# mount -t vfat -o uid=1000,gid=1000 /dev/sdX /ho
mount: le périphérique spécial /dev/sdX n'existe pas
[root@localhost ~]#

I don't know how to find "/dev/sdX"
 
Old 05-19-2013, 12:10 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As I stated, you have to replace /dev/sdX with the actual device. Launch as root the command
Code:
fdisk -l
It will show all your storage devices, just choose the one that is your MP3 player. This is how it looks on my laptop when I attach my MP3 player to it:
Code:
root ~ ☺ # fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
32 heads, 32 sectors/track, 76333 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x48dde035

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              32     8000511     4000240   82  Linux swap
/dev/sda2   *     8000512    78165359    35082424   83  Linux

Disk /dev/sdb: 4043 MB, 4043309056 bytes
8 heads, 32 sectors/track, 30848 cylinders, total 7897088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x221e5780

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          32     7897087     3948528    b  W95 FAT32
As you can see I have one internal disk (40GB,/dev/sda) with two partitions and an external device (4GB, /dev/sdb) which contains one partition /dev/sdb1. This is the name you have to use for the mount-command.
 
Old 05-19-2013, 12:37 PM   #12
wuthering
Member
 
Registered: Mar 2013
Location: planet earth
Distribution: Fedora 17
Posts: 44

Original Poster
Rep: Reputation: Disabled
[root@localhost ~]# mount -t vfat -o uid=1000, gid=1000 /dev/sdb1 /home

Utilisation*:
mount [-lhV]
mount -a [options]
mount [options] <source> | <répertoire>
mount [options] <source> <répertoire>
mount <opération> <pointdemontage> [<cible>]

Options*:
-a, --all monter tous les systèmes de fichiers indiqués dans fstab
-c, --no-canonicalize ne pas canoniser les chemins
-f, --fake répétition, sauter l'appel système mount(2)
-F, --fork bifurquer pour chaque périphérique (utiliser avec -a)
-T, --fstab <chemin> autre fichier pour /etc/fstab
-h, --help afficher cette aide et quitter
-i, --internal-only ne pas appeler les assistants mount.<type>
-l, --show-labels afficher la liste de tous les montages avec les étiquettes
-n, --no-mtab ne pas écrire dans /etc/mtab
-o, --options <liste> liste séparée par des virgules d'options de montage
-O, --test-opts <liste> limiter l'ensemble de systèmes de fichiers (utiliser avec -a)
-p, --pass-fd <num> lire le mot de passe depuis le descripteur de fichier
-r, --read-only monter le système de fichiers en lecture seule (comme -o ro)
-t, --types <liste> limiter l'ensemble de types de système de fichiers
-v, --verbose expliquer les actions en cours
-V, --version afficher les informations de version et quitter
-w, --read-write monter le système de fichiers en lecture/écriture (par défaut)

-h, --help display this help and exit
-V, --version output version information and exit

Source*:
-L, --label <étiquette> synonyme de LABEL=<étiquette>
-U, --uuid <uuid> synonyme de UUID=<uuid>
LABEL=<étiquette> indiquer le périphérique par étiquette de système de fichiers
UUID=<uuid> indiquer le périphérique par UUID de système de fichiers
<périphérique> indiquer le périphérique par chemin
<répertoire> point de montage pour remontages (consultez --bind/rbind)
<fichier> fichier régulier pour configuration de périphérique boucle

Opérations*:
-B, --bind monter un sous-répertoire ailleurs (comme -o bind)
-M, --move déplacer un sous-répertoire ailleurs
-R, --rbind monter un sous-répertoire et tous les sous-montages ailleurs
--make-shared marquer un sous-répertoire comme partagé
--make-slave marquer un sous-répertoire comme esclave
--make-private marquer un sous-répertoire comme privé
--make-unbindable marquer un sous-répertoire comme non remontable
--make-rshared marquer récursivement un sous-répertoire complet comme partagé
--make-rslave marquer récursivement un sous-répertoire complet comme esclave
--make-rprivate marquer récursivement un sous-répertoire complet comme privé
--make-runbindable marquer récursivement un sous-répertoire complet comme non remontable

For more details see mount(8).
[root@localhost ~]#
who the fuck is the prick that corrupts my OS to print man page instead of the answer?when will they stop bugging me?
 
Old 05-19-2013, 12:42 PM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please watch your language.
Nobody is corrupting your OS, if someone gives you a command you have to use it in the exactly the same way as is written down, in this case you have caused the error by adding a space after the comma in -o uid=1000,gid=1000.
Also, mounting to /home is not a good idea, it will hide your users' home-directories, so that any files in it are inaccessible.
 
  


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
MP3 player file transfer Quads Linux - Newbie 1 02-10-2009 11:19 PM
USB Mass storage MP3 player has songs cut in half using Konqueror to transfer MonctonJohn Linux - Hardware 11 02-29-2008 06:29 AM
Very slow data transfer to USB MP3 player JamesHall Linux - Hardware 7 08-21-2006 11:38 PM
transfer to my mp3 player in suse 9.1 coolgy768 Linux - Hardware 1 08-02-2004 01:28 PM
is there anyway that I can transfer to my portable MP3 player in linux? onelung02 Linux - Newbie 7 12-14-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 PM.

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