Embed Terminal in Tkinter.
location: ubuntuforums.com - date: October 30, 2010
Hello. I have created my own APT GUI so I don't have to open synaptic or type in terminal. Now when I open my program, it depends on a terminal to give the password for sudo and display output. What I want to do is to embed this terminal into a separate frame. I use Tkinter as my toolkit. I searched the internet but did not found anything that helped me.
I hope you will give me some hints.
Here is my code.
Code:
from Tkinter import * #the GUI toolkit.
import tkMessageBox #coming soon.
import os #used to call system.
import os.path #used to check the system path.
import time #used to put the program to sleep.
import datetime #used to get the current time.
import readline #enables user to have inline editing and history.
top = Tk()
def gui():
global mainFrame
mainFrame = Frame(top,relief="sunken", border=1)
mainFrame.pack(fill="x")
Description = Label(mainFrame,text="APT-Mangager Menu:"
HOW TO Embed terminal on Desktop using Compiz Fusion
location: ubuntuforums.com - date: December 28, 2010
I was able to get an embedded terminal on desktop (terminal as wallpaper) by doing the following:
go to terminal:
Edit->Profiles->New
name it "desktopconsole_1"
Under General tab, uncheck "Show menubar by default in new terminals".
Under Background tab, choose "Transparent background". The scroll is set to "None".
Under Scrolling tab, select "Disabled".
Under Title and Command tab, set "Initial title" to "desktopconsole_1" and set "When terminal commands set their own titles" to "keep initial title"
Then go to CompizConfig Settings Manager(Make sure you have it installed if you don't):
Under Window Decoration, add "!title=desktopconsole_1" to the Decoration Windows field
Under Window Rules, add "title=desktopconsole_1" to the fields:
Skip taskbar
Skip pager
Below, Sticky
Non resizable windows
Non minimizable windows
Non maximizable windows
Non closable window
HOWTO: Embed a Terminal into the Desktop
location: ubuntuforums.com - date: May 21, 2008
I've seen a few other guides on how to do this, but I thought I'd post my method for it as I haven't seen it anywhere. This guide assumes you have already installed compizconfig-settings-manager.
First thing you'll want to do is open gnome-terminal. Go to Edit > Profiles. Make a new profile, and name it transparent. Under the General tab, deselect the box that says “Show menubar by default.” Also, if you want to use a custom font, go ahead and do that. Look under the effects tab, and click the box that says “Transparent background. Slide the bar all the way to none. Finally, go to the Scrolling tab and disable scrolling.
After you have the profile setup, you'll need to go into Compiz Settings. Select Window Rules, and make sure it's turned on. Copy the following line:
name=gnome-terminal
Paste the line into the following boxes: Skip taskbar, Skip pager, Below, Sticky, Non movable windows, Non minimizable windows, Non maximizable windows, and Non closable wind
debian terminal vs ubuntu
location: ubuntuforums.com - date: February 27, 2013
I'm trying to run an install script in Debian that works fine in Ubuntu. When it asks me to enter the hostname for the install it errors out saying it needs to be alphanumeric, which it is. Is there a difference in the way the keyboard is interpreted between Ubuntu and Debian?
Terminal Linux
location: linux.com - date: March 26, 2012
Is there a linux that is completely based off of terminal (no desktop). I want to be able to completely get into a computer without dealing with a desktop or any of that.
Thanks,
Jake
[SOLVED] Set terminal as Desktop Background in Backtrack 5
location: linuxquestions.com - date: January 16, 2012
hello , i recently installed backtrack 5 and just wanted to set and fix terminal as desktop background . means i want to directly use terminal on desktop .
i dont want to open terminal as a application . fix it in place of desktop wallpaper .
hope u understand !
waiting .
Using a gui vs bash or terminal
location: ubuntuforums.com - date: July 26, 2010
I'm not against using command line to do what you have but I think gui would be faster than learning asl these scripts. What is the advantage?
Gnome Terminal vs. Crunchbang's Terminator
location: ubuntuforums.com - date: October 2, 2009
So - I've been experimenting with Crunchbang Linux and I'm wondering: What does Gnome Terminal do that Terminator doesn't do? Terminator, in addition to tabbed windows, allows you to split windows horizontally, vertically, or both (like tiled windows).
The tint2 panel is pretty nice too... Might sound crazy- but I may try it out on my Ubuntu machine instead of my AWN dock... Launching apps could be done w/ key-bindings and the super+space main menu....
BM
Linux Terminal Server
location: linux.com - date: May 21, 2010
hi! to all Linux user i want to ask what the best and easy setup of a Linux Terminal Server? how about Ubuntu they have a own Distro for this? i hope you help me about this.. THANK YOU
want to change appearance of terminal in genome ubuntu 9.10
location: linuxquestions.com - date: April 17, 2010
i want to change appearance for terminal in genome in ubuntu 9.10 permanently..like i want to add this line in white space each time when the terminal get started..
**********************************************************
Welcome to you
**********************************************************
how can i do this permanently
please wait...
Page: 1 2 3 4 5 6 7 8 9 10