<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Thais Palmer on Medium]]></title>
        <description><![CDATA[Stories by Thais Palmer on Medium]]></description>
        <link>https://medium.com/@thaispalmer?source=rss-a9580ec0be8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AHh0cQHYhGXPFSlduimdVQ.jpeg</url>
            <title>Stories by Thais Palmer on Medium</title>
            <link>https://medium.com/@thaispalmer?source=rss-a9580ec0be8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:48:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thaispalmer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My journey playing a text-based adventure game on ChatGPT]]></title>
            <link>https://medium.com/@thaispalmer/my-journey-playing-a-text-based-adventure-game-on-chatgpt-645032e54a2?source=rss-a9580ec0be8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/645032e54a2</guid>
            <category><![CDATA[experimental]]></category>
            <category><![CDATA[dall-e-2]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Thais Palmer]]></dc:creator>
            <pubDate>Fri, 10 Feb 2023 23:21:07 GMT</pubDate>
            <atom:updated>2023-02-10T23:21:07.373Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fEvaRlzi73-x9Arz3yRSLQ.png" /></figure><p>These days I was wondering with my work colleague <a href="https://medium.com/u/12e59a601581">Guilherme Telles</a> the possibility of building a text-based adventure game powered by AI, where each play may be unique with a lot of narrative going on.</p><p>The premises were to build some constraints to the AI, such as the ambience setting, character details, which kind of choices can be made, and so on.</p><p>Also, we could use the OpenAI’s tools to generate our needs: <a href="https://chat.openai.com/"><strong>ChatGPT</strong></a> for the texts, and the <a href="https://labs.openai.com/"><strong>DALL-E</strong></a> for eventual images to ocasionally illustrate something interesting.</p><p><strong>Keep in mind that this post will be me playing this game entirely inside ChatGPT.</strong></p><p>As a kind-of “proof of concept”, I went to ChatGPT to see if I can sketch something up.</p><p><strong>I simply started it by giving this prompt:</strong></p><blockquote>Tell me an interactive story in format of a text-adventure game. The main character of this story is controlled by me, through the options you provide to me in order to advance through the story. The story has a fantasy medieval setting. Offer me 4 characters in order to begin</blockquote><p>And to my surprise, it gave me more than I expected, with a pretty nice structure:</p><figure><img alt="“Welcome to the world of medieval fantasy! You are about to embark on a journey filled with adventure, magic and danger. You can choose from 4 characters to play as, each with their own unique skills and abilities: A warrior, a wizard, a rogue, and a cleric. Which character would you like to play as?” (Unfortunately, the characters descriptions didn’t fit on the alt-text limit, but the description for the selected character can be read on the next image)" src="https://cdn-images-1.medium.com/max/727/1*LPxuuFBPw8hx5vyOdjTYRg.png" /><figcaption>Nice intro!</figcaption></figure><p>The AI brought some interesting characters and their descriptions, so I decided to experiment on DALL-E to generate the character portrait in a pixel art style, just like we would see in a character selection screen.</p><figure><img alt="Screenshot of the DALL-E generation output for the following prompt: “Portrait of A rogue — a sneaky and agile thief, skilled in pickpocketing and lockpicking. Digital art. Fantasy medieval setting. Pixel art”. It shows four distinct portraits of the bust of characters with light clothes, similar to rogues uses in fantasy games. One of them is also holding a treasure chest, while other has a scarf around the neck." src="https://cdn-images-1.medium.com/max/1024/1*F2xolOFiacNBXexuitRVkQ.png" /><figcaption>All four images generated by DALL-E with the description of the rogue character</figcaption></figure><p>After choosing the rogue by just typing “3” on the chat, it proceeded to the beginning of our story, with a typical entry plot. But the interesting thing is that it also gave some options that may allow the story to follow in a different way that was “originally intended” to.</p><figure><img alt="“Excellent choice! You are now a rogue, sneaking your way through the shadows and using your cunning to get by. You find yourself in the center of a bustling medieval town, with vendors selling their wares and people going about their daily business. You overhear rumors of a hidden treasure hidden in a nearby cave, guarded by a fearsome dragon.” It also gave 4 options: Investigate the rumors; Go directly to the cave; Pickpocket easy targets; Go to the tavern to see if anyone is hiring." src="https://cdn-images-1.medium.com/max/724/1*VWXRKe1hWzp_epXqrmQ67Q.png" /><figcaption>Note that the options are also very related to our chosen character</figcaption></figure><p>Since now we have a clear description of the current sight and ambience, I asked Dall-E to generate another image, using the description as a base.</p><figure><img alt="Screenshot of the DALL-E generation output for the following prompt: “The center of a bustling medieval town, with vendors selling their wares and people going about their daily business. Fantasy medieval setting. Pixel art”. It shows four distinct images of cities in fantasy medieval aesthetic, with its citizen with their clothes matching the setting. All the images are very colorful and have a detailed pixel art style just like some 1990’s videogames, with one of them having isometrical view." src="https://cdn-images-1.medium.com/max/1024/1*e5YUG8cRg5YiouzA-Is-kw.png" /><figcaption>All four images generated by DALL-E with the description of the city view</figcaption></figure><p>Getting back to the game, I decided to look for the rumors, by typing “1”.</p><figure><img alt="“You decide to look into the rumors further and gather more information about the treasure. You ask around town, and a few people seem to have heard similar rumors. You eventually come across a scholar who tells you that the treasure is said to be cursed, and whoever tries to take it will face the wrath of the dragon guarding it.” It gave 4 options: Try your luck and go after the treasure; Look for other way to earn gold; Find a way to lift the curse first; Ask scholar for other easier treasures" src="https://cdn-images-1.medium.com/max/719/1*5UBk4XETK7fk4NN4vnhpzg.png" /><figcaption>Oh! The treasure is cursed, we must be cautious 👀</figcaption></figure><p>Well, let’s try our luck and go right after the treasure! Typed “1” for the win!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F9d9TQO1zPO4Le%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F9d9TQO1zPO4Le%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F9d9TQO1zPO4Le%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="241" frameborder="0" scrolling="no"><a href="https://medium.com/media/18278940414f834169e07339a83bc8ab/href">https://medium.com/media/18278940414f834169e07339a83bc8ab/href</a></iframe><figure><img alt="“You’re feeling bold and decide to take your chances with the cursed treasure. You make your way to the cave and come face to face with the dragon. It’s a fearsome sight, with scales as black as night and eyes that glow with an inner fire.” It gave 4 options: Attempt to sneak past the dragon; Try to negotiate a deal with the dragon for the treasure; Pull out your weapons and engage the dragon in combat; Turn back and find another way to earn some gold, as the dragon is too powerful to defeat." src="https://cdn-images-1.medium.com/max/718/1*zcgZTvMiTOlreBhzdGvlOg.png" /></figure><p>I really wanted to see this scene, and since we’re already dealing with an AI, why not ask them for the image prompt? So I sent this message, instead of choosing one of the story paths:</p><blockquote>I would like to change the structure of your response. Please inform me a prompt to use to generate an image of the sight, and then continue the structure as is.</blockquote><figure><img alt="“Sure thing! To generate an image of the dragon, use the prompt: The dragon guarding the treasure has scales as black as night and eyes that glow with an inner fire.”" src="https://cdn-images-1.medium.com/max/713/1*B6GT8DDfsXSiAiq6Y7BuTw.png" /><figcaption>It gave me a propt for DALL-E and it continued with the same message from the story as before</figcaption></figure><p>And so, I did put this prompt on DALL-E, but maintaining the “Pixel Art” on the end to keep up with the art style.</p><figure><img alt="Screenshot of the DALL-E generation output for the following prompt: “The dragon guarding the treasure has scales as black as night and eyes that glow with an inner fire. Pixel Art”. It returned 4 generated images of the dragon, but in a aesthetic similar to 8-bit RPG games from the NES." src="https://cdn-images-1.medium.com/max/1024/1*N0Y-EGi1stfqccLuJFQS_g.png" /><figcaption>Looks like a boss fight from some Final Fantasy II from NES, or SMS’s Phantasy Star</figcaption></figure><p>I wanted to see how far my character would go into the story in a peaceful mood, by avoid battles and solving problems through dialogue. (Not so “YOLO”, right? haha)</p><p>So I’ve chosen option “2”: Try to talk to the dragon and see if you can negotiate a deal to take the treasure.</p><figure><img alt="“You approach the dragon, hoping to negotiate a deal. The dragon, surprisingly, is open to hearing you out. After some discussion, you learn that the dragon has been wrongly accused of guarding the treasure and is actually there to protect it from falling into the wrong hands. The dragon agrees to let you take the treasure, but warns you of the curse still being in effect.” Choices: Take the treasure anyway; Refuse the deal and leave; Ask the dragon for help; Negotiate to lift the curse together" src="https://cdn-images-1.medium.com/max/721/1*ILl7l6Q3V1Gnq4odQb0O2A.png" /><figcaption>Whoa! That was surprising 😅</figcaption></figure><p>Well, since the dragon seems so willing to contribute, why not ask for help removing the curse? Let’s see what option “3” has for us…</p><figure><img alt="“The dragon agrees and explains that the curse can only be lifted by finding and destroying the source of the curse. The dragon gives you a map and some info on the location of the source of the curse and wishes you luck. You set off on your journey, facing various challenges and obstacles along the way. After what seems like an eternity, you finally come across the source of the curse: an evil sorcerer who had placed the curse on the treasure” Options: Confront; Sneak; Dialogue; Turn back" src="https://cdn-images-1.medium.com/max/716/1*iHtPhUSuVTxDMI1DuWTBEA.png" /></figure><p>Okay, we got a significantly time skip there… The AI seemed to want us to stick on this path instead of offering an adventure in-between, specially when the sorcerer’s location seemed to be so far from our initial location.</p><p>Probably if we asked them to offer a story between the dragon’s cave and the sorcerer, it would provide. But I wanted to keep things without intervention to see their original intent for this adventure.</p><p>With that in mind, lets continue our journey and try the same approach with the dragon: let’s dialogue with them. Option “3”, here we go:</p><figure><img alt="“You decide to try and reason with the sorcerer, hoping to avoid a battle. You approach the sorcerer and explain the situation, hoping to appeal to their sense of justice. The sorcerer is unmoved by your words, and it becomes clear that they have no intention of lifting the curse.” Choices: Engage the sorcerer in battle; Try to sneak and destroy the source of the curse without being noticed; Find a different way to lift the curse; Try to bribe the sorcerer into lifting the curse." src="https://cdn-images-1.medium.com/max/721/1*-gELbt8MaEzCxB0tnZpXSw.png" /></figure><p>So we finally get into our first point of tension in the story where things haven’t gone totally in our favour. But it’s that so? Let’s try option “4”</p><figure><img alt="“You decide to try bribing the sorcerer, hoping to obtain the lift of the curse with minimal conflict. You offer the sorcerer a large sum of gold, hoping that they’ll be tempted by the riches. The sorcerer seems interested in your offer, but demands an even larger sum of gold before they’ll lift the curse.” Choices: Agree and pay the additional gold; Refuse and engage in battle; Find another way to lift the curse; Try to negotiate and find a middle ground on the amount of gold to be paid." src="https://cdn-images-1.medium.com/max/720/1*eYn6UQXv5hTYAPrGRlCvCg.png" /><figcaption>It seems that the situation is getting worse 😬</figcaption></figure><p>Although I don’t want to give up on the treasure, and I don’t know the amount of gold that I have, and I don’t want to engage in battle. Let’s continue talking and negotiate once more on option “4”.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3K7EK3iHAdzJoXwaGY%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3K7EK3iHAdzJoXwaGY%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3K7EK3iHAdzJoXwaGY%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="243" frameborder="0" scrolling="no"><a href="https://medium.com/media/4cdbc9512c59841cb0ae76ae8845ec9a/href">https://medium.com/media/4cdbc9512c59841cb0ae76ae8845ec9a/href</a></iframe><figure><img alt="“Through some haggling, you’re able to come to an agreement and the sorcerer lifts the curse. You’re able to claim the treasure and return it to the dragon. The dragon thanks your efforts and rewards you with a share of the treasure. You return home a rich person, and become known as the hero who lifted the curse from the dragon’s treasure. You live a long and prosperous life, always remembered as a brave adventurer who never hesitated to face danger. Congrats, you have completed the adventure!”" src="https://cdn-images-1.medium.com/max/725/1*3WiVPo_t6EwVwLCEuuFeWg.png" /><figcaption>Everything went well!</figcaption></figure><p>And that’s it! Our adventure came to an end, without any battles and with a good ending as well.</p><p>The most awesome thing about this journey is that went through the entire story without any weird prompts or getting out of the initial mechanics proposed.</p><h4><strong>What can be learned from all of this?</strong></h4><p>ChatGPT works with top-notch perfection if we give them the most accurate prompt that we can. Maybe if we suggest to follow a certain structure with the image prompt, the scene description with the options below, and maybe even defining stats for the character — such as health points, strenght and so on — we can achieve a more complex experience.</p><p>OpenAI also provides API for their language models and also image models. So it could be totally possible to mix them into a game, like an text-based adventure game with some images to enrich the context, or in a visual-novel format, or even in a roguelike scenario with an AI generated map for the generated story plot and scenario.</p><p>I totally suggest you <a href="https://chat.openai.com/chat">to go on and try it yourself too</a> 😉 (It’s currently free to use, but since it has a high demand due to its popularity, it can take a while to begin.)</p><p><em>Feature image generated by DALL-E with the following prompt: “The center of a bustling medieval town, with vendors selling their wares and people going about their daily business. Fantasy medieval setting. Pixel art”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=645032e54a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Como realizar manutenções de sistemas em uso 24h por dia?]]></title>
            <link>https://medium.com/@thaispalmer/como-realizar-manuten%C3%A7%C3%B5es-de-sistemas-em-uso-24h-por-dia-c03c8ac4219a?source=rss-a9580ec0be8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c03c8ac4219a</guid>
            <category><![CDATA[server-side]]></category>
            <category><![CDATA[maintenance]]></category>
            <category><![CDATA[brasil]]></category>
            <category><![CDATA[client-side]]></category>
            <dc:creator><![CDATA[Thais Palmer]]></dc:creator>
            <pubDate>Mon, 08 May 2017 02:23:41 GMT</pubDate>
            <atom:updated>2023-02-09T21:59:51.847Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mjs6Z127B4f4JOrXpA50ng.jpeg" /></figure><h4>E evitando que hajam incompatibilidades momentâneas entre API e Client</h4><p>Um dia desses no Slack lá do trabalho, surgiu um questionamento bem interessante pelo meu amigo <a href="https://medium.com/u/66ba59ccffb6">Victor Nogueira</a>:</p><blockquote>Se existe um determinado cliente cujo sistema tem atividade durante 24h por dia. <strong>Qual o melhor momento para aplicar uma atualização na qual por um minuto ou dois pode-se haver uma incompatibilidade ‘api x client’?</strong><br>Teria alguma outra forma de fazer o patch, sem precisar correr esse risco?</blockquote><p>Sempre quando havia alguma atualização importante em algum sistema, normalmente nós fazemos após o expediente do cliente já que ele não seria afetado por isso. <strong>Mas ainda não havíamos nos deparado com este caso em que o sistema está em atividade constante 24x7.</strong></p><p>Curiosamente a resposta me veio rapidamente a cabeça, apenas lembrei dos <strong>servidores de jogos online</strong>, que operam 24x7 com milhares de clientes simultâneos.</p><p>Como eles lidam com isso? Simples: <em>Manutenção agendada</em>. (dã)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3ohzdKQKZU3jEJoPg4%2Ftwitter%2Fiframe&amp;src_secure=1&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3ohzdKQKZU3jEJoPg4%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3ohzdKQKZU3jEJoPg4%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="480" height="210" frameborder="0" scrolling="no"><a href="https://medium.com/media/7fe2157a788d53f30c607c0a3e8f2fbc/href">https://medium.com/media/7fe2157a788d53f30c607c0a3e8f2fbc/href</a></iframe><p>Parece meio óbvio, mas é basicamente como fazem em alguns jogos online: avisa, avisa, avisa, desconecta todo mundo, impede de entrar, faz o trabalho sob o capô e restaura o serviço.</p><p>Citando o Victor novamente:</p><blockquote>isso! E qual o melhor jeito de fazer isso? <em>😛</em><br>.htaccess temporário?<br>e quem já está com o client carregado?</blockquote><p>O exemplo abaixo é baseado nas tecnologias que utilizamos em nossos projetos. Front-end se comunicando com API RESTful, ambas sendo servidas por um servidor Apache. Mas isso pode ser aplicado em qualquer outra tecnologia com pequenas adaptações.</p><ul><li>Antes de tudo, devemos criar uma página para informar que o sistema está em manutenção. (<a href="http://www.wpbeginner.com/showcase/six-types-of-maintenance-pages-which-one-works-for-you/">Páginas criativas</a>, por favor)</li><li>Deixar de prontidão um <em>.htaccess_maintenance</em> para a API, que ignora qualquer requisição recebida e retorna o status HTTP 503 (Servidor em manutenção)</li></ul><pre>RewriteEngine On<br>RewriteRule ^(.*)/ - [L,R=503]</pre><ul><li>Podemos preparar no Client, um componente de aviso; Tanto para avisar na view de que irá acontecer uma manutenção durante o período X — com essa informação vinda de um <em>.json</em> ou pela própria API — quanto um interceptor para tratar um eventual status HTTP 503 vindo da API, redirecionando o usuário para a página de manutenção.</li><li>E também para o Client, um <em>.htaccess_maintenance</em> para redirecionar qualquer de página para a página de manutenção.</li></ul><pre>RewriteEngine On<br>RewriteBase /<br>RewriteCond %{REQUEST_URI} !^/maintenance\.html$<br>RewriteRule ^(.*)$ https://application-domain.com/maintenance.html [R=307,L]</pre><p>Com tudo isto preparado, pra iniciar o processo de manutenção seria necessário mexer só em 3 arquivos/locais:</p><ul><li>Alterar o <em>.json</em> (ou API) para informar a programação da manutenção.</li><li>Renomear o <em>.htaccess</em> da API.</li><li>Renomear o <em>.htaccess</em> do Client.</li></ul><p>Então mesmo que o Client esteja carregado e que o usuário ignore o aviso do nosso componente, <strong>ao fazer alguma requisição ele será jogado para a página de manutenção</strong>, pois o Client saberá pela resposta da API que o servidor está em manutenção. <strong>E se alguém entrar pela primeira vez, irá direto para a página de manutenção.</strong></p><p>E isso, resolve o nosso problema de realizar manutenções em sistemas de uso contínuo utilizando uma abordagem prática e rápida.</p><p>Como sou uma escritora iniciante aqui no Medium, adoraria receber o seu feedback! <strong>Obrigada pela leitura e até a próxima.</strong></p><p><em>Foto de capa por Luca Braco (</em><a href="https://unsplash.com/photos/XJXWbfSo2f0"><em>via Unsplash</em></a><em>)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c03c8ac4219a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configurando pastas de aplicativos no Gnome Shell]]></title>
            <link>https://medium.com/@thaispalmer/configurando-pastas-de-aplicativos-no-gnome-shell-963b0e097529?source=rss-a9580ec0be8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/963b0e097529</guid>
            <category><![CDATA[fedora-linux]]></category>
            <category><![CDATA[brasil]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[gnome]]></category>
            <dc:creator><![CDATA[Thais Palmer]]></dc:creator>
            <pubDate>Thu, 20 Apr 2017 23:06:06 GMT</pubDate>
            <atom:updated>2017-04-21T01:41:53.041Z</atom:updated>
            <content:encoded><![CDATA[<p>Depois de muito tempo quebrando a cabeça pra habilitar os grupos no Gnome 3.18.5, indo atrás do dconf e afins, descobri que era muito mais prático do que eu imaginava. E melhor, customizável de uma maneira bem fácil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*XbOspa9mSXBr5NmxaUZnEQ.png" /><figcaption><em>Bagunça no launcher</em></figcaption></figure><p>O que precisamos fazer é abrir a aplicação <em>Programas</em> e então ir na aba <em>Instalados.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*r_sqxj41tNtzc0rPUJwgxw.png" /><figcaption><em>Aqui temos quase todos os programas que aparecem no shell</em></figcaption></figure><p>Clique no botão de seleção múltipla (✓) ao lado do botão de fechar, para selecionar seus aplicativos…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*atx8-co7x3cZBVPyXuK_ow.png" /><figcaption><em>Você pode selecionar qualquer aplicativo e montar a sua lista</em></figcaption></figure><p>…e então clique em <em>Adicionar à pasta.</em> Para criar um novo grupo, basta clicar no ➕ e adicionar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*-bfgdeRaXJVYH_jIfZkC8A.png" /><figcaption><em>Você pode selecionar um grupo existente ou criar um novo</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*4b-8X3tsP5y4xli3RtQCWQ.png" /><figcaption><em>Note que o nome do grupo agora aparece em cada ícone</em></figcaption></figure><p>E então, após terminar de agrupar os aplicativos, finalmente temos o shell mais organizado e apresentável:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*5QlGnZzKrYkQg-_Gu67nvw.png" /><figcaption><em>Agora sim! Ou quase…</em></figcaption></figure><p>Só falta descobrir como agrupar os itens do Wine e os aplicativos do Chrome…</p><p><em>Originalmente publicado </em><a href="http://thoso.kaat.work/2016/05/27/configurando-pastas-de-aplicativos-no-gnome-shell/"><em>no meu blog pessoal</em></a><em> em 27 de Maio de 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=963b0e097529" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Movendo itens para lixeira numa unidade NTFS montada automaticamente]]></title>
            <link>https://medium.com/@thaispalmer/movendo-itens-para-lixeira-numa-unidade-ntfs-montada-automaticamente-af17ca067ba8?source=rss-a9580ec0be8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/af17ca067ba8</guid>
            <category><![CDATA[linux-mint]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[brasil]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Thais Palmer]]></dc:creator>
            <pubDate>Sun, 02 Apr 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-04-26T02:16:39.270Z</atom:updated>
            <content:encoded><![CDATA[<p>Eu utilizo uma partição NTFS no meu disco tanto no Windows quanto no Linux onde ficam os meus downloads, jogos, arquivos pessoais e afins. O problema era que quando eu queria apagar algum arquivo nesta unidade pelo Linux, o sistema só apagava diretamente sem ir para a lixeira (o que pode ser bem perigoso).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*Rx1wK4ToGFr406WEDUFbcw.png" /><figcaption><em>Muita calma nessa hora!</em></figcaption></figure><p>Esta é a minha entrada atual no /etc/fstab para a montagem automática:</p><pre>/dev/sda5 /media/ntfs ntfs rw,nosuid,nodev,noatime,allow_other 0 0</pre><p>Para resolver este problema, basta adicionarmos a opção uid=1000, assumindo que o uid do nosso usuário é 1000. Podemos utilizar o comando id para conferir o nosso número uid:</p><pre>$ id<br>uid=1000(thoso) gid=1000(thoso) grupos=1000(thoso),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),130(sambashare)</pre><p>Então o nosso /etc/fstab ficará assim no final:</p><pre>/dev/sda5 /media/ntfs ntfs rw,nosuid,nodev,noatime,allow_other,<strong>uid=1000</strong> 0 0</pre><p>Isto fará com que o nosso usuário seja o dono desta unidade, assim criando uma pasta <em>.Trash-1000</em> que guardará os arquivos deletados (e aparecendo na nossa lixeira).</p><p>Após salvar o fstab, basta desmontar a unidade e montá-la novamente.</p><pre>sudo umount /dev/sda3 &amp;&amp; sudo mount -a</pre><p><em>Originalmente publicado </em><a href="http://thoso.kaat.work/2017/02/02/movendo-itens-para-lixeira-numa-unidade-ntfs-montada-automaticamente/"><em>no meu blog pessoal</em></a><em> em </em>2 de Fevereiro de 2017<em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af17ca067ba8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>