How to distribute `.desktop` files and icons for a Python package in Gnome (with distutils or setuptools)?

Currently I'm using the auto-tools to build/install and package a project of mine, but I would really like to move to something that feels more "pythonic". My project consists of two scripts, one...

re-initialize / reconnect a terminal after network interruption

I have what is probably a very simple terminal related question. I'm running Ubuntu 8.10 Intrepid Ibex, using Gnome, and I often open a terminal-based ssh session only to have it dropped at...

GTK dropdown calendar widget?

I've been having trouble with creating a dropdown GTK calendar widget in an app of mine. Objectives: Basically I wanted to have a text combo-box where you can type in the date such as 2011/02/01...

How to block a linux program from being print screened?

I need to prevent my users from print screening the data that my program displays. Right now the idea I have is to make it a full screen program, where probably calling any other linux shortcuts...

Do Microsoft Access backup files have a proprietary format?

A client of mine somehow had his site lost/hacked/destroyed by gnomes and I have the "fun" job of restoring it for him from a backup. It uses a combination of ColdFusion and Microsoft Access...

Can Cron Jobs Use Gnome-Open?

I am running Ubuntu 11.10 (Unity interface) and I created a Bash script that uses 'gnome-open' to open a series of web pages I use every morning. When I manually execute the script in the...

Opensource data mine tools, searching for a good option (GNU data mining apps)

I want to test some apps for data mining in GNU/Linux Debian, I downloaded "Gnome Data Mine Tools" from http://www.togaware.com/datamining/gdatamine/; I followed the instructions, I installed the...

How to simultaneously run multiple window managers (esp. xmonad) for VNC

I'll start with a little background. A small project of mine has been to try to use my Android tablet as an external monitor for my laptop using a VNC client (vnc4server). There are two main...

C memcpy behaves differently on Linux and Windows

Okay, first of all a description of my problem. I have a sample program, only one file. The only included headers are part of the standard library. For training and testing I wrote my own malloc...

Frozen pygobject application and theming

I have almost finished porting an application of mine from py27 & pyGTK to py33 & pyGObject I am also using cx_freeze to ... "freeze" the application for portability. The problem I am now facing...

Strange locale issue on arch

Recently my gnome-terminal stopped working. After starting it using xterm I saw the following: (process:3975): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C'...

Eclipse Luna : losing hotkeys and getting back with focus change

I have seen some questions about eclipse hotkeys, but not exactly like mine : I have very weird behaviour with eclipse Luna : I am typing some text in the editor window, and suddenly, all the...

Can't connect to local (running) mongo using 'meteor mongo'

I'm playing with meteor, Installed it on Ubuntu 14.10 & followed the todos tutorial. The Meteor run log: $ meteor run [[[[[ ~/bckd/homedir/learn/meteor/mycoolapp ]]]]] => Started proxy. ...

Why does gettext Automake macros include deprecated AM_PROG_MKDIR_P macro?

I'm trying to build a project of mine I haven't revisited in a while. I uses the GNU autotools in the fashion typical for GNOME application. Now, when running autogen.sh (which, in turn uses...

Angstrom kernel - Stuck at "Starting kernel ..."

I have been trying to compile kernel for BeagleBone Black using Angstrom build system. Have tried lot of different things which came to my mind but will describe one of them which i think should...

Unable to install Google App Engine for Php in Ubuntu 15.04

I downloaded the [Google App Engine SDK for PHP][1] but I am having problems with the installation of the PHP interpreter. I downloaded the source code from the link given but when I try to...

How to FIX Chromium HiDPI Scaling:

Tested On: Ubuntu Gnome 16.04 LTS I had an issues with getting my HiDPI display, 3200x1800, working correctly with Chromium. By default, Chromium supports high resolutions but does not adapt...

Shell script to setup Xubuntu 16.04

I wanted to create a file I could run every time I installed Xubuntu so I could have my setup ready easier. So I created a python file with the following text to install software, I then set up...

Slow meteor.js on Ubuntu 16.04

I'm working on a meteor project and I'm the only dev using a linux machine. The project runs fine on all other devs (OSX) but on mine it's extremely slow. I'm talking minutes. I've tried upgrading...

Using gdal_merge.py to merge three jpeg2000 files results in an ImportError: libgeos-3.5.0.so

I am pretty new to python and Linux so my knowledge is still rather small. I work on a virtual machine via vncviewer on GNOME 64bit. I try to use the gdal_merge.py script on three colour bands of...

Memory usage in MiB/KiB by PID

I need command to get process memory usage in MiB or KiB by PID. I prefer the number I see in gnome-system-monitor in "Memory" column. I tried a lot of different commands but all of them give me...

Interactively run multiple commands from input() with subprocess

I am looking for a way to create some sort of terminal "clone" in Python 3.6 using subprocess. The clone should behave just like the real terminal. The goal is to have a python script simulating a...

How to bundle Java App to associated .desktop file in Gnome/Ubuntu?

Sorry, bu I didn't find any solution yet. I have an executable jar file (JavaFx based app) which I can easy start from bash: java -jar myapp.jar I want this app to start from a side panel in...