LinuxPlanet Blogs

By Linux Geeks, For Linux Geeks.

Faac – play CD-DA audio files

without comments

You might need faac when playing audio cd in your computer with Foresight Linux 3. And from scratch, it’s not possible. You need to install a codec called faac. Now it’s possible to install it. Also you will be able to play audio files that are located in ipad, iphone and alot more devices.

Installation information is available at: http://wiki.foresightlinux.se/index.php?title=Faac

Written by Tomas Forsman

September 15th, 2014 at 12:25 pm

Posted in blog

Updated – How to install Foresight 3

without comments

We noticed that netinstall will fetch latest packages and cause issues when it’s time to install conary and convert packages to conary instead of fedora.

So we updated the installation in wiki: http://wiki.foresightlinux.se/index.php?title=Installation

 

Written by Tomas Forsman

September 15th, 2014 at 10:13 am

Posted in blog,News

How to install rar

without comments

As rar is a non free package, we don’t have it in default repository. You can easily install it from FLR (foresighters, foresight linux learning) repository.

All information is located here: http://wiki.foresightlinux.se/index.php?title=Unrar

We will continue make useful packages available for users.

Written by Tomas Forsman

September 15th, 2014 at 8:54 am

MySQL: Drop all tables from Database using Script / Linux

without comments

Hello, Few days back, I got a task to do, Task was Keep the database as it is, So that we do not have to add database users, privileges and everything again and again, Just Drop all the databases tables inside the database. If there are only few tables like 5 or 10 than it […]

How to launch .jar files using nautilus or nemo

without comments

This is not nautilus specific issue and will work in more tools (like other file manager, xdg-open in cli etc)

Create a run-jar.desktop in your ~/.local/share/applications/ directory with the following content:

[DesktopEntry]
Encoding=UTF-8
Type=Application

Exec=java -jar %f
Icon=java

Name=run-jar
Name[zh_CN]=run-jar
Comment=Run the jar file
Comment[zh_CN]=运行 JAR 文件

Now when you open the file’s property dialog and go to open with tab, you can see run-jar mentioned in ‘show more app’.

To make run-jar the default action, use nautilus ‘set default’ button or the type the following command in a terminal:

xdg-mime query default application/x-java-archive

The mime type can be found with the command:

xdg-mime query filetype my_shiny_app.jar

 

There is other ways to do it too, like creating a nautilus script. But this feels like a better way though.

Written by Tomas Forsman

September 14th, 2014 at 9:33 am

Posted in blog

How To Create Application Folders in GNOME

without comments

You might want to add some more folders into GNOME, but seems impossible from a default system. So let’s show you how to do it.

1 – Open Terminal / Install ‘dconf’

 

sudo conary install dconf-editor

2 – Open ‘dconf’ and edit

Open dconf and navigate to org >> gnome >> shell. You’ll see a text box say “app-folder-categories.” You’ll see only two things listed there, maybe one. Double-click it and paste the following:

['Utilities', 'Games', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'wine-wine', 'Crossover', 'Crossover Games', 'Science', 'Education', 'Universal Access', 'chrome-apps', 'Other']

Now you have alot more folders.

gnome-folders

 

Written by Tomas Forsman

September 14th, 2014 at 4:51 am

Posted in blog,Linux,Various

Help 5150 – Only 3 Days To Go

without comments

Help 5150 - Only 3 Days To Go We are a podcast community looking to help out a friend in need. Recently, our friend, 5150, lost his home that he shares with is father to a house fire. Both were able to make it out ok, but he is in the hospital with 2nd degree burns. His father is elderly and has been moved to assisted care while he is recovering. We are looking to help 5150 get back on his

Written by Bill (monsterb)

September 12th, 2014 at 11:48 am

Posted in Uncategorized

error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)

without comments

While writing a kernel module using the spin locks in linux, we might hit the error



This might happen if we are trying to compile the module for kernel version below 3.0 Because before kernel version 3.0 SPIN_LOCK_UNLOCKED was defined in spinlock.h



But this definition is no longer available, and is replaced by DEFINE_SPINLOCK in spinlock_types.h



Thus in the module remove the initialization with SPIN_LOCK_UNLOCKED and add the macro DEFINE_SPINLOCK to get around the error.

Written by Tux Think

September 12th, 2014 at 8:26 am

Posted in Linux,Trouble Shoot

Google-chrome-stable updated

without comments

Iv’e updated google-chrome-stable, if you are using it, you can update it even updateall doesn’t work at the moment.

How to install google-chrome-stable

If you install it now, you get the latest. If you already have it installed, you can run this in terminal:

sudo conary update google-chrome-stable --ignore-model

Why do you need to do this?

If you installed it earlier and run sync command, it will only check if it’s installed and not to try to update it. If you use ignore-model it will check if there is a newer version available and install it. As it’s not in “main” repository, that’s why we can use update command and –ignore-model parameter.

This won’t be needed later, but for now we want you to use the latest browser and get rid of bugs in it.

Written by Tomas Forsman

September 12th, 2014 at 12:39 am

Posted in blog

Understanding Conservancy Through the GSoC Lens

without comments

[ A version of this post originally appeared on the Google Open Source Blog, and was cross-posted on Conservancy's blog. ]

Software Freedom Conservancy, Inc. is a 501(c)(3) non-profit charity that serves as a home to Open Source and Free Software projects. Such is easily said, but in this post I'd like to discuss what that means in practice for an Open Source and Free Software project and why such projects need a non-profit home. In short, a non-profit home makes the lives of Free Software developers easier, because they have less work to do outside of their area of focus (i.e., software development and documentation).

As the summer of 2014 ends, Google Summer of Code (GSoC) coordnation work exemplifies the value a non-profit home brings its Free Software projects. GSoC is likely the largest philanthropic program in the Open Source and Free Software community today. However, one of the most difficult things for organizations that seek to take advantage of such programs is the administrative overhead necessary to take full advantage of the program. Google invests heavily in making it easy for organizations to participate in the program — such as by handling the details of stipend payments to students directly. However, to take full advantage of any philanthropic program, the benefiting organization has some work to do. For its member projects, Conservancy is the organization that gets that logistical work done.

For example, Google kindly donates $500 to the mentoring organization for every student it mentors. However, these funds need to go “somewhere”. If the funds go to an individual, there are two inherent problems. First, that individual is responsible for taxes on that income. Second, funds that belong to an organization as a whole are now in the bank account of a single project leader. Conservancy solves both those problems: as a tax-exempt charity, the mentor payments are available for organizational use under its tax exemption. Furthermore, Conservancy maintains earmarked funds for each of its projects. Thus, Conservancy keeps the mentor funds for the Free Software project, and the project leaders can later vote to make use of the funds in a manner that helps the project and Conservancy's charitable mission. Often, projects in Conservancy use their mentor funds to send developers to important conferences to speak about the project and recruit new developers and users.

Meanwhile, Google also offers to pay travel expenses for two mentors from each mentoring organization to attend the annual GSoC Mentor Summit (and, this year, it's an even bigger Reunion conference!). Conservancy handles this work on behalf of its member projects in two directions. First, for developers who don't have a credit card or otherwise are unable to pay for their own flight and receive reimbursement later, Conservancy staff book the flights on Conservancy's credit card. For the other travelers, Conservancy handles the reimbursement details. On the back end of all of this, Conservancy handles all the overhead annoyances and issues in requesting the POs from Google, invoicing for the funds, and tracking to ensure payment is made. While the Google staff is incredibly responsive and helpful on these issues, the Googlers need someone on the project's side to take care of the details. That's what Conservancy does.

GSoC coordination is just one of the many things that Conservancy does every day for its member projects. If there's anything other than software development and documentation that you can imagine a project needs, Conservancy does that job for its member projects. This includes not only mundane items such as travel coordination, but also issues as complex as trademark filings and defense, copyright licensing advice and enforcement, governance coordination and mentoring, and fundraising for the projects. Some of Conservancy's member projects have been so successful in Conservancy that they've been able to fund developer salaries — often part-time but occasionally full-time — for years on end to allow them to focus on improving the project's software for the public benefit.

Finally, if your project seeks help with regard to handling its GSoC funds and travel, or anything else mentioned on Conservancy's list of services to member projects, Conservancy is welcoming new applications for membership. Your project could join Conservancy's more than thirty other member projects and receive these wonderful services to help your community grow and focus on its core mission of building software for the public good.

Written by Bradley M. Kuhn

September 11th, 2014 at 4:20 pm

Posted in Uncategorized