Introduction

MintUpload is the little tool which pops up when you right-click on a file and select “upload”. Until now mintUpload was mostly used as a way to share files by uploading them to a public place somewhere on one of Linux Mint’s servers and by sending the corresponding URL to friends and family members (or to anybody really..). Some people also bought Mint-Space accounts and were able to set up mintUpload to add an additional upload service to it. These people could then share files in a similar manner but instead of using a public storage space and being limited to 2 days, they could use their 1GB of Web space and have their files kept there indefinitely.

Some people mentioned that mintUpload was great at sharing files with others but not so much at actually “uploading” them and we got a lot of requests to add FTP support to that tool.

Initially mintUpload was designed with novice users in mind, people who wanted to share large files with each others and who didn’t know what FTP meant or where to get free web space to store them. After gathering some feedback, we’ve come to realize that mintUpload also got popular with experienced users, people who even had their own FTP accounts and wanted a quick way to upload files to it without launching an FTP client. So we added FTP support to MintUpload by defining another type of service and letting the user define his own FTP services.

Installation

To install MintUpload you need the Romeo repositories. Perform an “apt update” and an “apt install mintupload” in a terminal.

If you don’t have Romeo set up, you can grab the packages from here:

Configuration

MintUpload lets you define “upload services” by adding files in /etc/linuxmint/mintUpload/services/

Here’s an example of an FTP upload service:

type=FTP
name=My own FTP service
host=myhost.com
user=myusername
pass=mypassword
path=myuploads

The “path” is optional, it lets you define where within your FTP service you want the files to be uploaded. In this example we’re not uploading them in the root folder, but within a directory called “myuploads”.

MintUpload will use any service defined with that format and saved as a file within /etc/linuxmint/mintUpload/services/.

Translations

MintUpload 2 will be one of the featured improvements coming with Linux Mint 6 Felicia. We’re actively trying to get the community to translate this tool. If you happen to speak another language than English, please help us translate mintUpload 2 by participating to this forum thread:

http://www.linuxmint.com/forum/viewtopic.php?f=43&t=17551

Bug reports and feedback

Tell us what you think by posting a comment on this blog post. Report bugs here as well.

Note: Some people also asked for SFTP support. This won’t be in the scope for Mint 6 but we’ll work on it for future releases.

Spread the word

We’re trying to raise people’s awareness about the Mint project and we’ve added a Digg plugin to this blog. If you find this blog post interesting, please help us spread the word by submitting it as a Digg story or by digging it if it’s already submitted.

Introduction

One of the features Mint has been lacking as a family desktop is the ability for parents to prevent their children from accessing certain websites. Parental control is easy to set up in Microsoft Windows and we got a lot of feedback from people who migrated to Linux and who missed this feature. Of course one could install DansGuardian and a few other packages but it’s not easy, it usually requires the use of a proxy and it’s also quite complex to configure. For Linux Mint 6 we came with a compromise and we decided to implement a minimal set of features but to make it as trivial to use as possible. So here comes mintNanny.

MintNanny is a small graphical interface which lets you “block” domain names. You can’t block domains for particular users or particular programs, the block is for everyone on the computer and for any protocol. When you “block” a domain in mintNanny it basically adds an entry to your /etc/hosts file and defines that domain’s IP address as being 0.0.0.0. This results in your computer not being able to communicate with the domain anymore. So if there are domains you really don’t want your children to have anything to do with, put them in mintNanny.

Remember that mintNanny blocks domain names, not IP addresses so if your children are smart enough to ping the domain from another computer they’ll be able to access it via its IP address.

Certain domains use subdomains and redirect to them so you might have to block them to. For instance if you want to block somewebsite.com you might also have to block www.somewebsite.com. As a rule of thumb try to access the website after you block it to see if your block was efficient enough.

Firefox caches DNS resolutions to speed things up. This means that it remembers where a website is until you close it. In other words, after you block a website, you’ll have to restart Firefox.

Installation

To install MintNanny you need the Romeo repositories. Perform an “apt update” and an “apt install mintnanny-gnome” in a terminal (or “apt install mintnanny-kde” if you run KDE).

If you don’t have Romeo set up, you can grab the packages from here:

Translations

MintNanny will be one of the featured improvements coming with Linux Mint 6 Felicia. We’re actively trying to get the community to translate this tool. If you happen to speak another language than English, please help us translate mintNanny by participating to this forum thread:

http://www.linuxmint.com/forum/viewtopic.php?f=43&t=17552

Bug reports and feedback

Tell us what you think by posting a comment on this blog post. Report bugs here as well.

 

Three new commands made their way into Romeo last night: search, apt contains and apt content. All three of them are provided by mintSystem 5.5.

If you have Romeo set up as a repository simply type “apt update” and “apt install mintsystem”. Otherwise you can get the deb from here:

http://packages.linuxmint.com/pool/romeo/m/mintsystem/mintsystem_5.5_all.deb

apt content package

“apt content” shows the content of package, it’s a shortcut for “dpkg -L”. For instance, if you type “apt content mintsystem” you should see the following:

clem@mars ~/Desktop $ apt content mintsystem
/.
/usr
/usr/local
/usr/local/bin
/usr/local/bin/apt
/usr/lib
/usr/lib/linuxmint
/usr/lib/linuxmint/mintSystem
/usr/lib/linuxmint/mintSystem/icon.png
/usr/lib/linuxmint/mintSystem/python
/usr/lib/linuxmint/mintSystem/python/configobj.py
/usr/lib/linuxmint/mintSystem/templates
/usr/lib/linuxmint/mintSystem/templates/apt.conf
/usr/lib/linuxmint/mintSystem/templates/preferences
/usr/lib/linuxmint/mintSystem/GPL.txt
/usr/lib/linuxmint/mintSystem/version
/usr/lib/linuxmint/mintSystem/version/mintInstall
/usr/lib/linuxmint/mintSystem/version/mintInstall/portals.list
/usr/lib/linuxmint/mintSystem/version/mintInstall/release.id
/usr/lib/linuxmint/mintSystem/version/mintInstall/sources.list
/usr/share
/usr/share/doc
/usr/share/doc/mintsystem
/usr/share/doc/mintsystem/copyright
/usr/share/doc/mintsystem/changelog.gz

apt contains filename

“apt contains” tells you which package contains a particular file. It’s a shortcut for “dpkg -S”. For instance if you type “apt contains /usr/lib/linuxmint/mintSystem/GPL.txt” you should see the following:

clem@mars ~/Desktop $ apt contains /usr/lib/linuxmint/mintSystem/GPL.txt
mintsystem: /usr/lib/linuxmint/mintSystem/GPL.txt

search for keyword in directory

“search” lets you search for files containing a particular keyword. You can get a list of options by typing “search –help”:

clem@mars ~/Desktop $ search help

usage: search [arguments] [options]
arguments:
for text
in directory
options:
-c | –case-sensitive
-s | –show-filenames-only

“search” is easy to use. Let’s take an example and search for “workgroup” in /etc/samba. We type “search for workgroup in /etc/samba” and we see the following:

clem@mars ~/Desktop $ search for workgroup in /etc/samba
/etc/samba/smb.conf.ucf-old:26:# Change this to the workgroup/NT-domain name your Samba server will part of
/etc/samba/smb.conf.ucf-old:27:   workgroup = MSHOME
/etc/samba/smb.conf:26:# Change this to the workgroup/NT-domain name your Samba server will part of
/etc/samba/smb.conf:27:   workgroup = MSHOME

We can refine the search by adding “–case-sensitive” or only show filenames by adding “–show-filenames-only”. For instance:

clem@mars ~/Desktop $ search in /etc/samba for workgroup –case-sensitive –show-filenames-only
/etc/samba/smb.conf.ucf-old
/etc/samba/smb.conf

Let us know what you think and if you find any bugs. These will eventually be backported into Elyssa and will be featured as some of Mint 6’s improvements.