Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread franparpe

What is that bar on the bottom?


Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread greatgnu

Yo!



Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread onpon4
I don't see a particular problem here. It's not typical for people to browse  
PyPI for new software to install; rather, it's used as a centralized way to  
handle installing Python packages (usually libraries) in an easy way. Any  
recommendation for proprietary software would come either from the developer  
of such a proprietary program, or a program that depends on such a  
proprietary program.


I'm not sure if pip is capable of browsing PyPI, but it's not a typical use  
case.


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread mampir
Yes, I forgot that this package repository is hosted on python.org, and it  
really is a problem.  I thought it was hosted by someone else.


 I don't think the fact that some software in PyPI is proprietary is a  
danger of Python, specifically. Proprietary libraries exist for C, too.


The problem isn't that non-free Python libraries exist, like with C, but that  
they are hosted and maintained on python.org.  People who like Python may  
also think it's a good idea to install those non-free libraries.  It's  
similar to the Debian problem - although Python doesn't install non-free  
software by default, they are still distributing it and in a way recommending  
it.


Maybe I should look more into GNU Guile. :)


[Trisquel-users] Switch user on lock screen missing

2015-05-24 Thread jason . d . emerson
I recently replaced Ubuntu on my families shared computer with Trisquel, and  
everything is great except there is no option to switch users from the lock  
screen. After searching the forum, all I can find is one post mentioning that  
this feature is in fact missing, but no reason why, or a way to add it back.  
I really like this distro so far, and would hate to have to switch because of  
something so trivial, but on a computer shared by six people this may be a  
dealbreaker. So hopefully I am just missing something, and there is an easy  
fix. 


Re: [Trisquel-users] Few problems in Trisquel 7

2015-05-24 Thread mikokiko89

Thank you for the answer!

While I've managed to partition the HDD as I want during the pre-installation  
of Trisquel I still cannot write in Bulgarian. I've chosen English for both  
the system and writhing. In the freshly installed OS I tried to add BG  
language support. All I get is BG translation after restart. I've opted out  
the IBus. In Region and Language section input devices/methods I have both  
EN-US and BG (in that order) and in System the setting are as follows:


Your settings

Menus: BG
Input: EN-US,
BG
Format: BG

System settings

Menus: EN (US)
Input: EN-US
Format: BG


So during the installation I chose BG format. Maybe thats the problem.  
However, I guess that the input languages are OK but for whatever reason I  
cannot switch them. Is the possible and how to add input language applet in  
the GNOME Panel (Flashback) in Trisquel 7 or not? 


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread onpon4
I don't think the fact that some software in PyPI is proprietary is a danger  
of Python, specifically. Proprietary libraries exist for C, too. No matter  
what language you use, as a developer, you have to check the licenses of all  
libraries you use, not only to protect yourself, but also to protect your  
users.


Re: [Trisquel-users] New install for new Trisquel user

2015-05-24 Thread mampir

That makes sense. :)

When I what to accept only localhost connections on my HTTP port, I prefer to  
configure nginx instead of iptables. I set nginx to listen only to localhost.


Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread gramex
What version of XFCE is that, and is that a custom icon theme? I'm drooling.  
;-)


Re: [Trisquel-users] Few problems in Trisquel 7

2015-05-24 Thread martin
The problem isn't with the Bulgarian localization or anything like that, but  
only with switching of keyboard layouts.  In fact, I installed Trisquel 7  
mini with a Bulgarian layout several weeks ago, and I use Trisquel 7  
(non-mini) with a Bulgarian layout on my computer. :)


We already had a discussion about this issue here:
https://trisquel.info/en/forum/trisquel-7-keyboard-indicator#comment-55540

* Trisquel 7 (default)

On my computer, I wasn't able to do set it properly no matter what I tried.   
The system settings for layouts and the setting for a layout switching  
shortcuts didn't do anything.  Ultimately I dealt with all the issues by  
installing GNOME Shell.


But in the default installation, you can use 'ibus-setup' (from a terminal)  
to set a layout switch keys and to add a layout applet on the panel.  But the  
layout applet doesn't show the current layout, just a keyboard icon.  Also,  
the 'ibus-setup' program has a very awkward interface.


The reason for all those problems is that when GNOME officially switched to  
GNOME Shell, the older stuff were badly maintained.  Maybe things are better  
in newer version.


* Trisquel 7 mini

Trisquel mini has similar issues.  I wasn't able to set a shortcut key for  
switching the layout, but at least the switcher did show the current layout.   
Maybe 'ibus-setup' could work for setting a keyboard switch shortcut, but I  
forgot how to work with the awkward interface.


The person who is using the computer didn't care about using a shortcut key,  
so I left it like this.


* Installing GNOME Shell

You can install GNOME Shell with:

sudo aptitude -R install gnome-shell


At first I had problems with logging in the GNOME session, so I installing  
GDM.  Later I found I had to use System Defaults session rather than GNOME  
session, otherwise it would only load a blank desktop and a lone mouse  
cursor.


May you don't need GDM, but if you do, you can install it with:

sudo aptitude install gdm



Re: [Trisquel-users] Switch user on lock screen missing

2015-05-24 Thread martin
One way to fix this is to install GNOME Shell and use that, as it's able to  
switch users from the locked screen.  You can wait for other suggestions, if  
you prefer to not use GNOME Shell.


You can install GNOME Shell with:

sudo aptitude -R install gnome-shell


At first I had problems with logging in the GNOME session, so I installing  
GDM.  Later I found I had to use System Defaults session rather than GNOME  
session, otherwise it would only load a blank desktop and a lone mouse  
cursor.


May you don't need GDM, but if you do, you can install it with:

sudo aptitude install gdm



Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread noordinaryspider
It's the wallpaper from my old dsl install circa 2003 on JWM and a bunch of  
old familiar retro software right out of the Trisquel reps. It's got the same  
look and feel, but it's all libre, modern, and safe.







Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread franparpe

You have good taste Mr SuperTramp83 :)


Re: [Trisquel-users] Few problems in Trisquel 7

2015-05-24 Thread martin
PS: mokavey, if you are from Sofia you may want to come to some of the events  
I'm doing here.  I'm preparing tod do a 3-day course about GNU/Linux in  
several weeks.  It will include how install and use Trisquel (and why).  See  
http://bg.libtec.org/ and you can follow the news there (keeping in mind I'm  
still preparing the site for the events). :)




Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread viko . bartero
onpon4, to me the problem with PyPI is equivalent to the problem with  
non-free packages in the repositories used by a distribution. I fail to see  
any difference. In Trisquel repository you can find libraries, application,  
data, etc. While PyPI is more commonly used for libraries, it is also used to  
distribute applications and data.


Let's say you are an average GNU/Linux user and need a graphical program for  
doing Z. You search on the web and find one called DOZ In the installation  
instructions for GNU/Linux users you find:


1. Install python-pip
2. Install DOZ by running the following command:

$ sudo pip install doz

You follow the instructions on Trisquel, and now DOZ is installed, and listed  
in your applications list. Since everything worked flawlessly, you assume DOZ  
is fine, because you just installed it using Trisquel. But what if DOZ is one  
of those non-free packages available in PyPI, which is the default repository  
used by pip?


Is that different from installing something with apt? In both cases you don't  
need to browse any repository directly, you just need instructions in a blog  
telling you how to install the package.


[Trisquel-users] Re : Switch user on lock screen missing

2015-05-24 Thread lcerf
I am actually sure that GDM is needed here... and it may be that GNOME Shell  
is not (I am not sure because I use it too).


Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread mail

What GTK theme are you using? 'Tis nice!
Aidwata's getting dull. :p


Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread re_eed
The one on the left is a standard xfce panel with application launchers and  
infomation panel in the middle is a conky script :)


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread onpon4
Your example just goes to show the absurdity of comparing PyPI to Trisquel's  
repo. What you're talking about is a third party, the author of DOZ in your  
hypothetical example, giving instructions for installing a proprietary  
program. Surely you've seen proprietary programs being distributed with  
instructions before, without ever having a need to reference pip! I can  
easily think of several examples off the top of my head, like Google Chrome  
(which distributes a deb file as one option, and that's much easier to  
install than something from PyPI; no need to install any new software).


All kinds of reductions to absurdity can result from your argument, but here  
is the most troubling: if the fact that proprietary software developers can  
make it super easy to install a proprietary program is a problem, and it's  
possible for them to do this regardless of whether or not PyPI is there to  
help them, does it not follow that Trisquel must become a jail which forbids  
installation and execution of proprietary software?


I don't see any problem with PyPI as such. pip is not recommending  
proprietary software; it's just offering the same convenient way to install  
proprietary programs as with libre programs. It might be the case that PyPI  
could put pressure on proprietary software developers by only allowing libre  
software on it, but that's a matter of strategy, not ethics.


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread onpon4
C comes from a system that was entirely proprietary (UNIX). What's your  
point?


How is PyPI's policy of allowing any software any worse than any other  
software hosting website, like SourceForge or GitHub? If anything, all of the  
others are much worse than PyPI, because they have things like proprietary  
JavaScript requirements.


Re: [Trisquel-users] Switch user on lock screen missing

2015-05-24 Thread jason . d . emerson
Not a big fan of gnome-shell or gdm , but I did manage to find another  
solution.


I came across a program called light-locker in the repo that seems to work  
perfectly. It just takes you back to the lightdm login screen when the screen  
locks due to timeout or screensaver coming on. If someone intentionally locks  
the screen from the Lock screen option on the main menu, it will still go  
to the old lock screen with no option to switch users, but in my case that  
should not be too big of a problem. 


[Trisquel-users] Re : Few problems in Trisquel 7

2015-05-24 Thread lcerf
In Region and Language section input devices/methods I have both EN-US and BG  
(in that order)


Change that order (with the two arrow buttons). The first one is the  
default layout.


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread viko . bartero
onpon4, I'm not suggesting that Trisquel or any other free distro must  
become a jail which forbids installation and execution of proprietary  
software. That would be horrible. Also, free distros cannot control what's  
distributed by third-party websites like PyPI. It seems I'm not making myself  
clear.


What I say is that PyPI is a source of packages used by pip, in the same way  
a repository is a source of packages used by apt. In the latter case, free  
distros don't allow (by default) their package managers to look for software  
in repositories that contain non-free packages, so they remove such  
repositories from sources-list or whatever config file is used by package  
managers for that. However, users are given the right to add any repository  
they want to the list of sources, even repositories with non-free packages.  
Shouldn't this be done as well in the case of pip? Really, I fail to see why  
not. To me, this is a bug in free distros.


Also, no one is saying that Python, Ruby, or Java are bad tools because they  
are commonly defined as open source. They are perfectly fine free software  
tools. I'm just pointing out that it is easier to find freedom issues in  
projects that define themselves as such, so I prefer tools that are started  
or maintained with freedom in mind.


Note that I'm not trolling here, it's a honest question I have.


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread martin
I think I made my point clear.  Be more specific with your questions, if you  
want answers.


Re: [Trisquel-users] Questions about Java programming

2015-05-24 Thread onpon4
I don't think you did. Unless all you're saying is, Python's developers are  
open source proponents, so we shouldn't use Python. In that case, you're  
propagating a destructive and senseless attitude. Destructive because it  
causes rejection of perfectly good, libre programs like Python, and senseless  
because there is no benefit to it.


Re: [Trisquel-users] New install for new Trisquel user

2015-05-24 Thread g . smyli
I have another family member on the LAN with his Losedows7 hardcore game  
machine. I want to set up a household wiki so we can communicate without  
having to walk to opposite ends of the house or happen to run into each other  
with our varied schedules. So I'll want a port that is open to local devices  
only. When I'm ready I can add an iptables rule to allow that.
Do you recommend any documentation for Nginx that's relatively easy to  
comprehend? I know it has a different process for configuration than apache.  
I got it working with php capability but configuration was kind of an uphill  
struggle.  


Re: [Trisquel-users] New install for new Trisquel user

2015-05-24 Thread martin
I learned by starting from a basic config file and figured things from there.  
 You should use http://nginx.org/en/docs/ to help you with this.  Most things  
are explained in http://nginx.org/en/docs/http/ngx_http_core_module.html.


Your main config file is /etc/nginx/nginx.conf and you don't really need any  
other config files except for organizational purposes.  Trisquel's nginx  
installation comes with several predefined config files and directories in  
/etc/nginx - I just remove them all and start from scratch.


When doing changes you can reload nginx with:

sudo nginx -s reload


Here's a very basic config file:


user www-data www-data;

events {
}

http {
  default_type application/octet-stream;
  autoindex on;
  index index.html;

  types {
text/html; charset=utf-8 html;
text/css; charset=utf-8 css;
application/javascript; charset=utf-8 js;
application/json; charset=utf-8 json;

image/png png;
image/jpeg jpg jpeg;
image/gif gif;
video/ogg ogv;
  }

  server {
server_name localhost;
root /srv/geshmy/www;
  }
}


Here is what I pretty much use on my server:


user www-data www-data;

events {
}

http {
  default_type application/octet-stream;
  autoindex on;
  index index.txt index.html;

  types {
text/html; charset=utf-8 html;
text/css; charset=utf-8 css;
application/javascript; charset=utf-8 js;
application/json; charset=utf-8 json;

image/png png;
image/jpeg jpg jpeg;
image/gif gif;
video/ogg ogv
  }

  server {
# Lines used only if you want HTTPS:
listen 80;
listen 443 ssl;
server_name libtec.org www.libtec.org;
ssl_certificate /etc/ssl/private/libtec-cert.pem;
ssl_certificate_key /etc/ssl/private/libtec-key.pem;

root /home/mampir/web/libtec/www;
index index.html index.py;

# This is used if you want to work with Python CGI scripts.
# Similar blocks can be used for PHP, Ruby and etc. - see other
# example files on the web:
location ~ /index\.py$ {
  include fastcgi_params;
  fastcgi_param LANG en_US.UTF-8;
  fastcgi_param PYTHONPATH /srv/libtec/lib;
  fastcgi_pass unix:/var/run/fcgiwrap.socket;
}

# This redirects http/https://www.libtec.org/bg/2013/gnu30/ to
# http/https://bg.libtec.org/2013/gnu30/.
location = /bg/2013/gnu30/ {
  return 301 $scheme://bg.libtec.org/2013/gnu30/;
}
  }

  server {
listen 80;
listen 443 ssl;
server_name bg.libtec.org;
ssl_certificate /etc/ssl/private/libtec-cert.pem;
ssl_certificate_key /etc/ssl/private/libtec-key.pem;
root /home/mmp/web/libtec/bg/www;

# All lines bellow are used for FastCGI:
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REMOTE_ADDR $remote_addr;

location / {
  # Use FastCGI when the requested URL does't lead to a file:
  if (!-f $request_filename) {
fastcgi_pass unix:/tmp/fcgi-libtec.socket;
  }
}
  }
}



Re: [Trisquel-users] New install for new Trisquel user

2015-05-24 Thread g . smyli
Wow, that's very helpful Mampir, I will install nginx for sure once I get my  
screen resolution problem figured out. Don't want to install any more  
packages in case I decide to start over with a fresh install. Once I get that  
fixed and install nginx your post will give me a great starting point. Muy  
cool. ;)


Re: [Trisquel-users] Share your Desktop!

2015-05-24 Thread davesamcdxv

The picture's named dslclone, though, so I doubt that's actually DSL.