Choose style:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - kendall

Pages: [1] 2
Development / New version of Ice for testing.
« on: April 07, 2014, 04:41:34 pm »
Hello all,

Ice as it has been for the past few years was written in Python 2 with GTK+2 as the gui framework. Anyway, today I went ahead and ported it to Python 3 and GTK+3. It tests well as far as I can see, but there are probably a few things I'm missing here and there so I'm posting the package here for any brave souls who dare install it. There are no new or different features at this point, rather it's just a straight port to the new Python and GTK+ versions. In fact probably 85% of the code is just copied and pasted from the old version.

Anyway, here it is. Standard disclaimers apply:

Development / Anyone do any Wordpress plugin development?
« on: March 28, 2014, 04:25:30 pm »
Just curious if anyone here does any Wordpress theme or plugin development. I do a bit of custom plugin work when I need to for clients and I've just decided to start pushing a couple of them to Github for the rest of the world to see/use should they care to. If anyone is interested: -- Custom Contact Fields does exactly what it sounds like: it adds custom contact fields to user profiles and optionally requires them during registration. -- Restrict Backend Content restricts less privileged users to only be able to see their own content and uploads in the admin dashboard (why this option doesn't exist by default will eternally baffle me).

Artwork, Themes, and Icons / I need an artist ( repost )
« on: March 25, 2014, 03:26:13 pm »
Sure. Post it here and let me know exactly what dimensions you want.

Also, for new questions, please start a new topic so it doesn't get super confusing.  ;)

General Discussion / Forum look and feel.
« on: March 24, 2014, 10:29:29 am »
Per a few requests I've started messing with the forum CSS ("cascading style sheets" for those who don't know) in order to make it less harsh on the eyes. It was previously quite bright so I've tried to tone it down a notch. Please give me some feedback and let me know if there are any elements that need fixing. For example, some of the buttons don't show up as well right now so I'm going to work on those next.

Development / What is everyone working on right now?
« on: March 23, 2014, 02:37:23 am »
Just thought I'd ask to see what everyone is working on at the moment.

Personally, I'm re-exploring Django, but this time with Twitter's Bootstrap framework for the frontend just to see what I can put together. I made a relatively simple blogging platform tonight just to see what it would look like. I think I'm going to keep on experimenting for a while as I quite enjoy Django development and I'm loving Bootstrap's short design time and quick deployment.

EDIT: Yes I'm using Ubuntu right now. I tend to always use it the last couple of months before a Peppermint release just to see if there are any particularly good ideas lurking around anywhwere.

GNU/Linux Gaming / Minecraft
« on: March 17, 2014, 11:11:08 am »
I know we're just getting started with the new forum but I'll leave this thread here for future use. Anyone else here spend countless hours of their life mining, building, farming, and otherwise adventuring in Minecraft? If so, cool. Let's talk about it. I've been dabbling in and out of it a bit for the past couple of years.

I typically play with no mods in survival mode and almost inevitably end up building an obsidian tower on top of a mountain somewhere (I use the trick with redstone adjacent to water with a single lava bucket to farm obsidian otherwise it would take forever... actually it still takes forever, but whatever). I also really like building with sandstone, but I can't stand deserts. As a result, pretty much any desert near where I set up shop ends up as a giant strip mine until I decide it's too ugly and use my mining waste to fill it back in. This is a bigger problem for me that I really like to admit.

Anyway, please use this thread to talk about all things Minecraft. Mods, texture packs, mining strategies, awesome maps or geographic formations, good building techniques, etc, etc, etc. All is welcome.

New Users / Reminder to mark solved problems as (SOLVED).
« on: March 13, 2014, 10:16:27 am »
Hello all.

Just a quick reminder to everyone that when you have a resolution to your issue, please edit the post title to mark the problem as (SOLVED). We ask that you do this for a few reasons.

  • People volunteering support can skip over a solved problem in order to focus on unresolved issues.
  • Users looking for a solution to the same problem or a similar one can know to look in your post.
  • When someone performs a web search for the problem, they'll know which posts they can go to for accurate information.
  • Forum mods and admins can more easily archive and/or catalog properly labeled posts.

We're here to help so please help us to better help you by keeping things clean and organized.

Thanks a bunch.

In any UNIX-like operating system, including Linux, there are several different types of users with different permissions for different things. A regular user can only write to files in their home directory while they may be able to read and execute from other directories depending upon the specific permissions of those directories. Typically in most UNIX-like operating systems, there is a "root" user or "superuser" who has permission to read, write, and execute everything in the entire system. While this is certainly convenient for getting things done, it's also incredibly dangerous as any processes executed by the root user also have permission to read, write, and execute everything.

Part of what makes Linux and many other UNIX-like operating systems secure is that regular users do not have root user access and therefore can not severely damage any part of the system except for their home directory. There are, however, times when certain users may need to temporarily gain the privileges of a root user or another user for the sake of installing/removing things, updating things, or perhaps just general system maintenance.

Installed in Peppermint and most other modern UNIX-like operating systems is a program called sudo, which stands for Substitute User DO. The sudo program allows any user specified in its configuration to gain specific privileges of other users including the root user in most instances. Take for instance the following command:

Code: [Select]
apt-get upgrade

When the root user runs this command it runs with no problems and installs any available package updates from the software repositories. When a regular user runs this command it fails as it requires root access given that the command can affect the way the entire system works, rather than just the user's home directory. If a regular user with sudo permissions then tries to run the following:

Code: [Select]
sudo apt-get upgrade

The command will then prompt for the password associated with that user's sudo permissions and will then run as if the root user ran the command instead. It does this by substituting the user's privileges with those of the root user, hence the aforementioned name "substitute user do". The sudo command also allows you to substitute the privileges of other non-root users in order to access files and directories owned by them. As such simply putting "sudo" before a command implies that it's the root user you're trying to substitute privileges from and actually performs the same action as if you explicitly state the root user like in the following:

Code: [Select]
sudo -u root apt-get upgrade

So let's say for instance you're running an Apache web server and need to create a directory in the web root. The regular user doesn't have permission to create the directory and creating it with the root user will not give Apache's user (www-data) access to it either because something created by the root user can only be adjusted by the root user until specified otherwise. We can use sudo to assume the permissions of www-data to create the directory:

Code: [Select]
sudo -u www-data mkdir /var/www/testdirectory

Similarly a user with sudo permissions can often access any other user's privileges provided the appropriate sudo command and their sudo password.

Hello and welcome,

This board is for users to post or link to various tutorials, instructions, references, API documents, etc, that could be of potential use to developers. Whether it's for beginners or for veteran coders, any valid reference is good. We do ask a couple of things in order to keep things clear:

  • Please list the programming language and technology in the post title as well as what the resource is. If your reference is for a Django API, then please be sure to include both "Python" and "Django" in the title as well as what the API is for.
  • Please don't be vague with your post titles. The more specific you can be, the better. If your title is "Check out this great Java link!" then we'll delete your post. Rather go for as much relevant information as possible. For instance: "Tutorial: Beginning GUI development in Java using Swing." or "Reference: Linux command line basics for beginners."
  • Try to make sure that what you're linking is for reasonably current technology. Don't link anything for things like PHP4, Java 2, MySQL Server 5.3, etc. It shouldn't be hard to find out what versions of each language/technology are currently in widespread use.

Also, I have to include the standard disclaimer that Peppermint is not responsible for the contents of any resources posted here and that you should use them at your risk. Typically people are good and will point out issues, so if you're a little wary of a resource, then ask an experienced user to check it out for you.


When posting to this board, please include a complete description of the hardware configuration of the machine you're listing. In addition, please include the output from the following command in order for us to better see what's going on under the hood:
Code: [Select]
inxi -Fz
along with a description of any problems encountered, or special steps taken to get the hardware working.
(eg. "required the installation of rt2870sta wireless drivers")

The "inxi" script is always installed in Peppermint by default. For more information regarding it or installing it in other distros, please see

[EDIT - by PCNetSpec]

Please bear in mind this topic isn't just about saying "hey look what I've put Peppermint on", it's a useful topic for the development team to get a handle on which hardware works out-of-the-box, but more importantly which hardware might be causing problems. The "inxi -Fz"output and a quick mention of whether Peppermint installed with or without issue(s), a description of the issue(s), and any fixes/workarounds discovered (if any) is invaluable information to us.

Thanks for taking the time to help improve Peppermint for everyone :)

Frequently Asked Questions / What is Peppermint based on?
« on: March 12, 2014, 04:50:59 pm »
Peppermint is a derivative of Ubuntu, specifically the *.04 versions which release every April. Peppermint is not, nor has ever been based on Linux Mint, though it does make use of some of Linux Mint's open source tools. Originally, The Peppermint ISO files typically use Lubuntu ISO files as a starting point as they share the highest number of packages of any official Ubuntu release. Peppermint is not affiliated with Ubuntu, Lubuntu, Canonical, or Linux Mint in any capacity, but does make use of the Ubuntu official package repositories. Peppermint also houses its own repositories on Canonical's development service called Launchpad.

At Peppermint, we don't adhere to a strict release schedule as many other distros do. Rather we adopt a policy of "it's ready when it's ready." Of course we don't try to delay the release any longer than is absolutely necessary, but sometimes it comes a little faster and sometimes it comes a little slower. Being that Peppermint is based on the April release of Ubuntu each year, we typically release during May or June.

Hello and welcome!

The purpose of this board is for users of Peppermint to post tutorials related to the operation of Peppermint and other Linux distributions. Tutorials can range in topic and complexity from how to better use this forum, to how to compile a kernel, to how to deploy a particular web application on a remote server. We do, however, have a few guidelines that we'd like for everyone to follow in order to maintain some general level of standardization.

  • Please indicate a target system for your tutorial in the title. If it's for Peppermint Four 32 bit, then specify as much. If it's for CentOS 6 64 bit, then specify as much. If it's for any system running GNOME 3, then specify as much. For example if I'm writing a tutorial for installing Wordpress in Peppermint Four, then I'll title it as "How to Locally Install Wordpress in Peppermint Four 32/64." or "Installing Wordpress Locally in Peppermint Four, both architectures." Just please specify your target in the title, not in the post.
  • As the first thing in the post body, please list required skills for each tutorial. If a tutorial requires knowledge of the command line and manually editing configuration files, then say as much. If it requires an intimate understanding of C and C++ code, then say as much. If it requires no skills other than being able to open a window and click a button, then say as much. For instance in my theoretical Wordpress installation tutorial my first line would probably read: "Requires knowledge of the command line, basic MySQL, and basic Apache configuration." or something similar.
  • Please be clear and verbose regarding the steps necessary for the tutorial. Numbering the steps is certainly helpful in most cases (but not all) but make sure that the steps are neatly organized. For instance don't say "download and extract the archive", rather break it down into a download step and an extraction step as not all downloads are performed the same way and not all archive extractions are performed the same way. As a general rule, if there is room for potential confusion, then break things down.
  • We expect code to be posted and/or linked in good faith. If we find that any user posts or links to malicious code, then we will not hesitate in taking action against that user.

To those perusing this board in search of tutorials on how to accomplish something, do note that Peppermint offers no guarantee whatsoever that the tutorials posted here are fit for a particular use and offer no express or implied warranty. We will occasionally go through some of these tutorials and move/repost some of them in the Official Tutorials board should they meet our qualifications.

Thank you.

Pages: [1] 2