Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

When you’re building applications that need terminal-like functionality, embedding a full terminal emulator can feel like overkill. Enter Ptyxis—a lightweight, versatile tool for integrating terminal emulation directly within your application. Here’s a breakdown of why Ptyxis might be the perfect fit for developers looking to add a terminal without the bloat.

What is Ptyxis?

Ptyxis is designed for embedding terminal emulation into applications, especially those built on GNOME or GTK. Rather than a one-size-fits-all terminal emulator, Ptyxis focuses on the essentials, delivering streamlined, customizable terminal functionality.

Continue reading

PID File for squid in Fedora – 21 ( Fedora.next)

2015-03-24 1 min read Fedora GNOME

So, the other day, I wanted to have squid store its pid in the regular ‘var/run’ directory. Good simple enough – just add the following to “/etc/squid/squid.conf” :

pid_filename /var/run/squid/squid.pid

and create the /var/run/squid directory. Simple, hold on not so fast. Reboot and psssst.. ‘/var/run/squid’ is gone. Finally found that /var/run is handled by systemd-tmpfiles and thus you need to do this as well:

cat <>/lib/tmpfiles.d/squid.conf
d /run/squid 700 squid squid
EOF

So, basically you need to tell tmpfiles to create the squid directory as well.. How complicated things are becoming 🙂

Continue reading

geary mail – gnome mail client

2014-05-30 1 min read GNOME

A new mail client is coming in town.

Gnome is working on new mail client called geary. Currently only supports imap accounts.

Description:

              Geary is a new email reader for GNOME designed to let you read your
email quickly and effortlessly. Its interface is based on
conversations, so you can easily read an entire discussion without
having to click from message to message. Geary is still in early
development and has limited features today, but we’re planning to add
drag-and-drop attachments, lightning-fast searching, multiple account
support and much more. Eventually we’d like Geary to have an
extensible plugin architecture so that developers will be able to add
all kinds of nifty features in a modular way.

Continue reading

nautilis fork ( File manager ) with tree view in sidebar.

2014-02-09 1 min read Fedora GNOME

Was searching for this for sometime now, finally found it.

sudo yum install nemo
sudo yum list nemo*

First just install nemo. Configure nemo not to interfere with default desktop and also make it default handler. So, here are the settings that would do it.

gconftool-2 --set  /desktop/gnome/applications/component_viewer/exec --type 'string' 'nemo "%s"'
gconftool-2 --set  /desktop/gnome/url-handlers/trash/command --type 'string' 'nemo "%s"'
gsettings set org.nemo.desktop show-desktop-icons false

Now, if you need more functionality in file manager then check the list of nemo packages from the output of second command of yum. It has plugins like file preview and so on. Install and enjoy.

Continue reading

conky transparent window on Fedora with Gnome.

2013-07-22 1 min read Fedora GNOME

On Fedora with Gnome-shell 3, its been long time that I was not able to get transparent window. So, finally I thought to spend some time to try to fix that. Finally got that fixed with all the configurations below in the conkyrc.  Here the default color is set to  LightSkyBlue but feel free to change that.

I hope this helps fedora community who is struggling to get transparent window. And here is the code :

Continue reading

Display X applications from virtual terminals

2012-05-03 1 min read Fedora GNOME
GNOME Session plugin
GNOME Session plugin (Photo credit: David Siegel)

Here is a script that can help you set the proper envirionment to start a gnome-shell from one of the terminals.

#!/bin/bash - 
#===============================================================================
#
# FILE: xenv.sh
# 
# USAGE: ./xenv.sh 
# 
# DESCRIPTION: http://live.gnome.org/GnomeShell/Debugging
#
# 
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com
# CREATED: 09/14/2011 04:45:31 PM IST
# Last modified: Wed Sep 14, 2011 04:45PM
# REVISION: ---
#===============================================================================

gnome_session=$(pgrep -u $USER gnome-session)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep DISPLAY)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep XAUTHORITY)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep DBUS_SESSION_BUS_ADDRESS)

So, once you have done that you have the correct environment to use the X display and thus you can start the gnome-shell as well or do any other fancy thing that you want 🙂

Continue reading
Older posts