Formatting a new extFAT USB on Fedora

I have a new 64GB USB and it was not show up at first time:

Thanks to this video I typed fdisk -l, then I was able to see 58.2 GB

After trying to install the exfat package with dnf -y install fuse-exfat, I failed

What I did after many failings was, setting the partition using the GUI:

Then you can see the new format as Ext4:

It is OK to have a little FreeSpace with no extension. It is time to write into the USB:

Now we can see the USB device in the list of devices 😀

Screenshot from 2017-05-24 13:33:06

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , , , , | 5 Comments

GIMP rocks!

One problem that I used to have is to hide two main windows such as Toolbox-Tool Options Layer Brushes, that make my GIMP seems with no accessible icons on it.

Go to Windows -> Dockable Dialogs to have them back:

After cutting the edges of the original picture using sicssors select tools:

I added another layer with a full black rectangle Edit – Fill FGBlack Color

As well as another horizontal rectangle and I used Text tool to add words:

To set in black and white, Colors – Components – Channel Mixer

Check the Monochrome option. To color, I selected Color – Colorize

Blur the edge of my hair gave a nice look at the end.

Last and not least, I added another layer to the GNOME logo to put it inside my eye 😉

* Zoom out was done with SHIFT + and ESC in case CTRL Z is not working.

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , | 1 Comment

Setting GNOME Pomodoro, a time limit app

Having a discipline to manage workshops includes controlling time, besides the organization of the topics, among other factors. One extension that GNOME offers is called GNOME Pomodoro. It is an easy sofware that let you set your breaks, focusing in a specific task to accomplish your goals

  1. Installing GNOME Pomodoro

Some dependences are required as follow:

… et voilà

2. Configuring GNOME Pomodoro

Now you can see the setting chart where you can set the Pomodoro duration as well as the break time. Click on an upright screen to handle it.

On first attempt, I have tested the Pomodoro duration and the short break duration in 1 minute. I have also changed the appearance to have a less stressful clock on my screen, and set the ticking sound with birds on the background. Finally click ON on top to the GNOME Pomodoro to have ready the alarm!

From now on, during my training Python 8 hour classes, I am going to set 25 hours to accomplish 3 pythons exercises with 5 minutes for break 🙂

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , | 1 Comment

GNOME Release Party – Lima, Peru

Yesterday, we have celebrated the GNOME Release Party 3.24.1 by sharing a breakfast at Real Plaza – Centro Cívico. We were in total 18 people who knows GNOME by own experiences and previous talks I did in different universities located in Lima, Peru.

We have the honour to count with Jose and Fabian who have a strong knowledge of GNOME. Jose Quiñones (graduated from UNI) who have shared his user experience since 2003 with GNOME 1.x, and Fabian Orccon (PUCP) have shared his developer experience with GNOME since he was 14.

During this celebration I felt myself closer to all the attendances, among newcomers, GNOME lovers and a local group that is finally engaged with GNOME Peru. Before the kickoff, I spoke up about the sacrifice that this new initiative involves, then I asked to each one about their expectations and we set up a chart to contribute with the GNOME project in a long term.

This is our chart and if it is needed to be improved or you think something is missing please let us know about it

Our impressions stated in a chart and commitments :

I feel more confident now since I have the support of this local group conformed by Martin Vuelta (UNMSM), who has more than five years of hacking in a wide range of programming languages, Sheyla Breña (UTP), who was one of the winners of Laboratoria 2016. Raul Mucha (UPN), who is preparing himself to do a sysadmin and follow his studies in Brasil, Toto (UNTELS), who is a leader in his university and programmer in a community, Solanch and Lizbeth (UPIG) who are also IT leaders in the university, they usually participate and help in all the events I am involved. Mario (UTP), who had participated in a Robotic winner project in 2016. He is planning to run new projects using Fedora technologies by programming. Leyla (UPN), she is involve in designing for our events for several months, and Alexander (SENATI) who is an entrepreneur and helpful Linux lover that wants to improve his programming skills and be a future GSoC Peru 2017.

After sharing a good GNOME time we tried to do a little parade and picnic…

Some people on streets (a mother of family and a vendor) dared to ask what GNOME is 🙂

Posted in GNOME | Tagged , , , , , , , , | 6 Comments

First app in Django

After the configuration of Django, there is basic poll application that is explained in the official Documentation. Activate the project and run it!

In a separate window start the poll app:

Then, write vim to start :NERDTree. Type the message into the views.py

Create a polls/urls.py file with ‘m’ and ‘a’ inside NERDTree

To link them with the main site, by typing the code in urls.py in your side

To check your changes in the local server 127.0.0.1/polls, see your browser

Now we are going to create a question and choice classes into models.py

Let’s add polls apps into the  mysite/settings.py

After this change, it is important to do the migration

In order to have data into the polls, lets migrate tables from sql

To refresh the changes, let’s migrate again to refresh the database

Now, we will code with the python shell to show the objects we created

To import the library of datetime and make compatible python 2 and 3:

Save these changes and start a new Python interactive shell by running python manage.py shell again. This time we are going to check q1 and q2:

In this case we have a problem with q2 since it was not declared as q1 was

Posted in τεχνολογια :: Technology | Tagged , , , , , | Leave a comment

Running Your First Programs in C

One of my duties at National University of Engineering is to teach C to first year stdudents.  I have talk about paradigms od programming and some history regarded to C language, starting with the year of creation 1969 – 1973 at AT&T Bell Labs and highlighting that the Linux kernel was written in C because of its power that let manage resources of the computer.

My first hello world!

Then, to compile the program we run the command gcc, to finally execute it

Working with numbers and operations

  1. Checking if the number is even or odd

The output for 13:

2. Check if a number is divisible by 9

The output for 27:

3. Determine the largest of three numbers

The output of 9.25 9.5 and 9

4. Enter three numbers and sort them in decreasing order

The output for the three numbers are:

5. Having an angle in degrees, determine to which quadrant belongs

the output for the 190 degrees is:

6. Determine if a year higher than 1600, is a leaf-year or not

The output for years higher than 1600 and less than it

7. Calculating the amount to pay the telephone bill

the output for the basic plan and additional minutes and megabytes:

Posted in τεχνολογια :: Technology | Tagged , , , , , , , | Leave a comment

About the Fedora and GNOME workshop at Flisol Lima Norte 2017

Yesterday we have celebrated the Flisol 2017 at UPN Lima Norte, as it was announced here

Thanks to the organisers that invited us to do a workshop of GNU/Linux commands

It has started around 9:00 o’clock and we were surprised that the attendees were earlier than 9 to get a sit in the workshop. I did a review of the History of GNU/Linux and then introduction to Fedora and GNOME applications. I also noticed that people that have been in previously events such as Install Fest were there to learn more about the projects and of course, commands on terminal ( as  was published in the Flisol ad).

I must thanks to the volunteers that helped with the attendees to complete the tasks in terminal. Newbies sometimes fail in the basic principles such as indentation, use of VIM, spaces, case sensitive and if you miss one step, it can let to files.swap among other issues. Students from different universities where GNU/Linux is not so popular were eager to learn and the three hours of the workshop were not enough. There were very talent people that easily got the commands and respond the questions and basic exercises .

I understan that each one has her or his pace, so I invited the audience to complete the Backtrackacademy course of Introduction to GNU/Linux using Fedora+ GNOME for free. As it is usual, I gave gifts to all the participants when they respond correctly my questions.

This is the final photo of the group after the workshop at Flisol Lima Norte 2017!

I also had the chance to wave Fabio Duran from GNOME Chile who did an online talk ❤

Even his face it is not clear at all in the picture, he is always supporting the Peruvian work!

At the end, we have shared a mini buffet thanks to the organisers again for this great experience at UPN and we hope that the Linux UPN community will grow up!

Nuritzi, the President of the GNOME board was also online to have nice greetings to Peru

and… some more pictures in the bellow mini gallery… enjoy it!

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , , , , | 3 Comments