Outils pour utilisateurs

Outils du site


issue101:q._et_r

Q I messed up my ~/.bashrc file, how do I get a new standard one? A (Thanks to steeldriver in the Ubuntu Forums) You can copy it from the /etc/skel/ directory.

Q J'ai semé la zizanie dans mon fichier ~/.bashrc, comment puis-je le retrouver dans son état standard ?

R (Merci à steeldriver des forums Ubuntu.) Vous pouvez le copier depuis le répertoire /etc/skel/

Q Can I use one of the recent Nvidia cards with Ubuntu? A Yes, see this thread: http://ubuntuforums.org/showthread.php?t=2263316 (Thanks to jempa333 in the Ubuntu Forums).

Q Puis-je utiliser une carte nVidia récente avec Ubuntu ?

R Oui, voir ce sujet : http://ubuntuforums.org/showthread.php?t=2263316 (merci à jempa333 des forums Ubuntu).

Q I use the USB serial port to connect to routers, but every time it reboots I have to change permission for /dev/ttyUSB0 and /dev/ttyS0. How can I change this permanently so it has chmod 777 on reboot? A (Thanks to SeijiSensei in the Ubuntu Forums) Add the command to the file /etc/rc.local, a script that runs after everything else that starts at boot. rc.local runs with root privileges, so you don't need sudo, just: chmod 777 /dev/ttyS0 chmod 777 /dev/tty/USB0

Q J'utilise le port série USB pour me connecter à des routeurs, mais chaque fois que je redémarre, je dois changer les permissions pour /dev/ttyUSB0 et /dec/ttyS0. Comment changer cela de manière permanente pour avoir l'équivalent de chmod777 au démarrage ?

R (Merci à SeijiSensei des forums Ubuntu.) Ajoutez les commandes au fichier /etc/rc.local, un script qui s'exécute après tous les autres au démarrage. rc.local fonctionnant avec les droits root, vous n'avez donc pas besoin de sudo, simplement :

chmod 777 /dev/ttyS0

chmod 777 /dev/ttyUSB0

Q Netflix used to work perfectly in Chrome, but I haven't been able to get it to play movies for about the past month. When I go to the Netflix website, it loads normally – I can browse through programs etc – but if I attempt to play any video, I just see a still from the video (without the spinning red circle that shows it's loading) and, after a minute, a black screen appears that says “Whoops–something went wrong” with error code M7083-1013. A (Thanks to monkeybrain20122 in the Ubuntu Forums) Probably your profile is corrupted. Close Chrome. Open the file manager at your home. Choose ‘show hidden files’ from the menu or press ctrl + h. Then locate the hidden directory .config (note the '.'), open it and rename the subfolder google-chrome to something like google-chrome-bak. Now start Chrome and see if it works.

Q Jusqu'ici, Netflix fonctionnait parfaitement avec Chrome mais, depuis environ un mois, je suis incapable de lui faire lire un film. Quand je me rends sur le site de Netflix, il se charge normalement – je peux naviguer parmi les programmes, etc. – mais si j'essaye de lire une vidéo, je n'obtiens qu'une image fixe du film (sans le cercle rouge qui tourne pour indiquer que le chargement est en cours). Après une minute, un écran noir apparaît avec le message : « Whoops–something went wrong » et le code d'erreur M7083-1013.

R (Merci à monkeybrain20122 des forums Ubuntu.) Votre profil est probablement corrompu. Fermez Chrome et ouvrez votre répertoire personnel. Choisissez « Afficher les fichiers cachés » dans le menu ou tapez Ctrl + h. Trouvez le répertoire caché .config (notez le point initial), ouvrez-le et renommez le sous-répertoire google-chrome en quelque chose comme google-chrome-bak. Redémarrez Chrome et voyez si ça marche.

Top questions at Askubuntu * Can someone explain tilde usage? http://goo.gl/PUudGJ * Is there any Ubuntu 14.04 theme to make it look like Windows 10? http://goo.gl/t82dtg * Alert when terminal program finishes running? [on hold] http://goo.gl/OMN25E * Which command should I use to open an mp3 file? http://goo.gl/1L8p1d * Why do I need the x permission to cd into a directory? http://goo.gl/ihnMWI * How to get a full size of directory without listing the files/dir within? http://goo.gl/KuRczJ * Shell script If syntax error http://goo.gl/ynHh61 * What version is this Live CD / Live USB? http://goo.gl/xzOqJQ * How to make it so that a file can only be executed by root, but not as root? http://goo.gl/rtm60i

Top des questions sur Askubuntu

* Quelqu'un peut-il m'expliquer l'utilisation du tilde ? http://goo.gl/PUudGJ

* Existe-t-il un thème pour faire ressembler Ubuntu 14.04 à Windows 10 ? http://goo.gl/t82dtg

* Être alerté quand un programme se termine ? [en attente] http://goo.gl/OMN25E

* Quelle commande utiliser pour ouvrir un fichier mp3 ? http://goo.gl/1L8p1d

* Pourquoi ai-je besoin de la permission x pour faire cd vers un répertoire ? http://goo.gl/ihnMWI

* Comment afficher la taille d'un répertoire sans afficher la liste des fichiers et sous-répertoires qu'il contient ? http://goo.gl/KuRczJ

* Script shell : erreur de syntaxe avec If ? http://goo.gl/ynHh61

* Connaître la version d'un live CD ou d'un live USB ? http://goo.gl/xzOqJQ

* Comment faire en sorte qu'une application puisse être exécutée uniquement par des utilisateurs root mais sans avoir elle-même les privilèges root ? http://goo.gl/rtm60i

Tips and Techniques Private folder sharing When I try a new distro or version of Linux, I always set up a folder which is shared over the network, and access existing shared folders on other computers. I always make it wide-open, with no security, and it always works without any command-line effort, or editing configuration files. The network has computers running several Ubuntu variants and some Windows. Then the real world came calling. I needed to set up a production-environment server with about 20 private shared folders, to be used for personal backups. So Sally, Rebecca and John would each have a folder where they could back up their systems, and they could not see each other's backups.

Trucs et astuces

Partage d'un répertoire privé

Quand j'essaye une distribution Linux, je crée toujours un répertoire que je mets en partage sur le réseau, et j'accède à des répertoires partagés sur d'autres ordinateurs. Ils sont ouverts à tous les vents, sans sécurité, et cela fonctionne toujours sans le recours à la ligne de commande ou l'édition de fichiers de configuration. Le réseau comporte des machines fonctionnant sous diverses versions d'Ubuntu et de Windows. Un beau jour, le monde réel s'est rappelé à mon bon souvenir.

J'avais besoin de créer un serveur en environnement de production, avec environ 20 répertoires privés en partage destinés aux sauvegardes personnelles. Ainsi Sally, Rebecca et John disposeraient chacun d'un espace où sauvegarder leurs systèmes sans être capables d'accéder aux sauvegardes des autres.

The chosen operating system is Xubuntu 15.04, and I got it to the point where it kind of works. From other Xubuntu or Linux Mint systems, everything just worked. From Windows, not so much. The server didn't even appear in Windows' Network file manager, although it was always accessible by IP address. Then, with nothing changing, the server appeared, and I could set up the shared folder as a drive in Windows. However, when I tried to run a lengthy backup, the drive would disappear again, and the backup would fail. I'm still working on it, and I hope to give a more positive report next month.

Le système d'exploitation que j'ai choisi est Xubuntu 15.04 et je suis parvenu à un point où cela fonctionne à peu près. Depuis les autres machines Xubuntu ou Linuxmint, tout était parfait. Depuis les machines Windows, un peu moins. Le serveur n'apparaissait pas dans le gestionnaire de fichiers Réseau Windows, bien qu'il soit accessible par son adresse IP. Ensuite, sans toucher à rien, le serveur est apparu et j'ai pu configurer le répertoire partagé en tant que lecteur dans Windows. Toutefois en essayant des sauvegardes volumineuses, le lecteur disparaît à nouveau et la sauvegarde échoue.

J'y travaille encore et j'espère revenir avec de bonnes nouvelles le mois prochain.

issue101/q._et_r.txt · Dernière modification : 2015/10/11 12:40 de andre_domenech