How to change background color of gedit embedded terminal
2012-10-29 17:17
351 查看
coming from http://askubuntu.com/questions/35109/how-to-change-background-color-of-gedit-embedded-terminal
Q:
I am using gcc to compile c code that I am writing in gedit. My problem is that while my .c file is open in gedit, any command I type into my terminal just hangs until gedit is closed. Obviously it is quite cumbersome editing, saving, closing, running, reopening etc. I was wondering how I can have gedit open while compiling so I don't have to close it every time?
A:
This is for gedit 3
Same problem here white on light gray.
I manually edited
Search for:
I replace with
Info:
Q:
I am using gcc to compile c code that I am writing in gedit. My problem is that while my .c file is open in gedit, any command I type into my terminal just hangs until gedit is closed. Obviously it is quite cumbersome editing, saving, closing, running, reopening etc. I was wondering how I can have gedit open while compiling so I don't have to close it every time?
A:
This is for gedit 3
Same problem here white on light gray.
I manually edited
/usr/lib/gedit/plugins/terminal.py. Terminal used is xterm.
Search for:
fg = context.get_color(Gtk.StateFlags.NORMAL) bg = context.get_background_color(Gtk.StateFlags.NORMAL)
I replace with
fg = Gdk.RGBA(0, 0, 0, 1) bg = Gdk.RGBA(1, 1, 1, 1)
Info:
fg= black text,
bg= white background本文出自 “左罗CTO” 博客,请务必保留此出处http://zorro.blog.51cto.com/2139862/1040712
相关文章推荐
- qt 之 How to Change the Background Color of QWidget
- How To Change the Background Color of a Tab Control
- How to change the background color of an Edit Box
- How to change the background color of form using C++ - 如何用C++改变窗体的颜色
- how to change the background color of actionbar
- How to change tintColor of UIBarButtonItem? [SWIFT]
- How to change the output color of echo in Linux
- how to change the background of actionbar.tab
- How to customize the background color of a UITableViewCell?
- How to change tooltip background color in Unity?
- How to customize the background color of a UITableViewCell? 修改UITableViewCell背景色
- How to change the Text color of Menu item in Android?
- How to change the color of a CEikLabel
- How to change the text color of the selected property sheet tab in Visual C++
- how to change text color of CEikEdwin
- How to change password of Thunderbird
- How to change height of RadMenu (Sprite Image)
- How to change the status of Prepayment invoice
- How to change text of CBA buttons?
- HOW TO: Change the Owner of a User-Defined Data Type That Is in Use in SQL Server 2000