15
votes
Gedit bottom panel terminal plugin missing
Another student, in whose appliance the gedit-plugins package was missing, found that the following two commands solved the problem:
sudo apt-get install -o Dpkg::Options::="--force-overwrite" gedit-...
8
votes
How do I open a Terminal window in gEdit?
The terminal in the bottom of the gedit window is termed as Embedded Terminal. To get it in gedit,
Open gedit, click View, enable Bottom Panel.
Now click Edit, go to Preferences, then Plugins.
...
4
votes
Accepted
Error: Gedit not opening on VirtualBox Ubuntu 14.04
The VirtualBox version of the appliance currently has an issue with the gedit install. Staff are aware of it and are working on a fix.
In the meantime, run this:
sudo apt-get update
sudo apt-get ...
3
votes
Small issues with the CS50 IDE text editor
Please read this, it may be the answer to your problems.
3
votes
Accepted
Gedit is not working on CS50 Appliance
Try executing the following commands in the terminal
sudo apt-get update
sudo apt-get install --reinstall gedit
the password is "crimson" if you are asked for one.
3
votes
Accepted
How to show line numbers in gedit
In gedit:
Edit>Preferences>View Tab
Ensure "Display line numbers" is checked.
2
votes
Programs will run but can't be edited
It sounds like you are trying to open greedy in gedit. greedy is the executable file. If you want to edit the code, you must open greedy.c, make your changes, and then run make greedy to create the ...
2
votes
Where can I get G-Edit?
All of the instructions for the appliance and other files are the first "assignment" in Problem Set 1 (which is found in Week 2).
2
votes
where is the Debugger in Gedit for C
Well, a debugger, as its name suggests, helps you debug your program (i.e., figure out the problems in your code so that you can fix it). The debugger we use for debugging our C programs is named gdb.
...
2
votes
What does this mean?
Your main declaration has curly braces around void. Those should be parentheses.
2
votes
Accepted
How to make variable's value display on screen using printf?
That depends on the type of the variable:
As a example forn an integer (int):
int n = 25;
printf("n is equal to %d\n", n);
The %d is a placeholder for an integer, when the message inside the ...
1
vote
Why does this happen?
The command "make" seems to be lacking some flags, try compiling it on your own with the "-lcs50" flag to link the library, i.e.
clang credit.c -o credit -lcs50
If you want "make" to behave like it ...
1
vote
Accepted
same code works fine on codeblock but having problem on gedit
I don't know why it works in Codeblock, but the correct condition would be:
i <= x && j >= 0
not
i <= x, j >= 0
as you have.
So your for loop should be:
for (i = 0, j = x; i &...
1
vote
Accepted
how do i get rid of number lines in the compiler in week 4 like Davids walk throughs?
The line number display is a gedit preference. In the gedit menu, choose File > Preferences and then un-tick the first box that says:Display line numbers.
1
vote
Accepted
gedit does not start
Restart the appliance and when it turns on, run
sudo apt-get remove gedit
and then
sudo apt-get update
sudo apt-get install gedit
then do an
update50
1
vote
gedit does not work on cs50 appliance
I had the same problem, I resolved it by reinstalling gedit... be sure to update your appliance before reinstall
1
vote
gedit not working?
I got mine working using these commands
sudo apt-get update
and
sudo apt-get install --reinstall gedit
1
vote
Accepted
Memory leaks found in system programs
Is this a serious problem whenever I use these programs? Why might the
programmers who wrote these programs ignore the advice about
preventing memory leaks?
Check out the top Google result for ...
1
vote
Using \t to make spaces in Mario
The "tab size" option in gedit only changes how tabs are displayed in the editor window. It has no effect on how the tab character \t gets displayed in the terminal window when you run the program.
...
1
vote
How do I open a Terminal window in gEdit?
Kellen - if you are downloading GEdit to use in conjuction with taking the course, you would be better off following the instructions for downloading and setting up the virtual appliance. David & ...
1
vote
Am I Likely to Get Compilation Errors If I used Applications Other than gedit?
You can still use gedit outside of the appliance. You can download it from here. If gedit is a bit too technical, another popular code editor to try is Sublime Text.
If you really must choose between ...
1
vote
Am I Likely to Get Compilation Errors If I used Applications Other than gedit?
Well, Microsoft Word and Notepad are two different kinds of applications. Microsoft Word is a word processor while Notepad is a text editor as well as gedit.
Yes, you can write programs using the ...
1
vote
I get the error message "undefined reference to 'GetInt'" but I already put #include <cs50.h> at the beginning of my program
I run update50 on the terminal and the problem was resolved :D
1
vote
Accepted
I get the error message "undefined reference to 'GetInt'" but I already put #include <cs50.h> at the beginning of my program
If you haven't already, run update50. There's a bug in the built-in-terminal in gedit that this fixes. Alternatively, use the standalone Terminal app rather than the one in gedit, as that works fine....
1
vote
Accepted
What is the first bottom-right dropdown list in Gedit for, and how can I scroll down it?
Yes, the dropdown list in the lower-right corner of the Gedit interface displays and allows for changing the currently selected syntax highlighting option. The purpose of syntax highlighting is to ...
1
vote
How can I access Gedit?
If using the CS50 appliance, you will see a shortcut is already added for gedit on the taskbar.
If you directly want to open a code file, say example.c, open the terminal, navigate to its folder and ...
1
vote
sudo gedit /etc/hosts ERROR
You may want to read carefully instructions posted here, but only apply those "patches" if you feel confident messing around with config files.
And always create backups first (as in cp file1 file1....
1
vote
Accepted
sudo gedit /etc/hosts ERROR
Per the pset, the GTK warning is a known bug in Linux fedora. Prof. Malan instructs students encountering this error to try restarting their appliance and try the sudo command again. I had the same ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gedit × 34appliance × 7
pset1 × 6
terminal × 5
pset7 × 2
c × 2
make × 2
installation × 2
pset2 × 1
mario × 1
error × 1
cs50-ide × 1
valgrind × 1
memory-leak × 1
compilation-error × 1
vmware × 1
update50 × 1
virtualbox × 1
mac × 1
ubuntu × 1
linux × 1
appliance-2014 × 1
text × 1
plugin × 1