Open a Terminal and type:
sudo apt-get install python-opengl python-gtkglext1
Then open/restart glChess.
Open a Terminal and type:
sudo apt-get install python-opengl python-gtkglext1
Then open/restart glChess.
To switch between tabs, press Ctrl+Alt+PgUp or Ctrl+Alt+PgDn. To close a tab, hit Ctrl+w.
To shutdown ubuntu, type:
sudo shutdown -h 0
This command can be used for other purposes such as rebooting the system (-r). The 0 indicates the amount of time before the systems starts to shutdown which can be an integer or the string now.
see man 8 shutdown
To convert any char string to an integer, include stdlib.h and use the function:
int atoi(const char *nptr);
see man 3 atoi
/*example*/
#include <stdlib.h>
int main(int argc, char **argv){
return(atoi(argv[1]));
}
/*check the return status (for linux/bash: echo $? )*/
Open a Terminal and type:
sudo apt-get install sun-java6-plugin
To install Java fonts (optional):
sudo apt-get install sun-java6-fonts
To send messages to your desktop (which appear as simple notifications), use notify-send (ubuntu users: sudo apt-get install libnotify-bin).
To send a message, run the following:
notify-send "message"
Example: you can use notify-send to script a little timer:
sleep 5m; while [ 1 ]; do notify-send "Time's up"; sleep 1; done
This script will wait 5 minutes, then display up to seven notice bubbles (at a time) on your screen indicating that “Time’s up”
This has been tested with gnome and might work with other desktop environments.
sudo chown [user] [path to file];
sudo -R chown [user] [path to directory];
| هذه الخطوات مبنية على الإصدار 2.4. ويمكن تطبيقها على 3.1 |
لتمكين أوبن أوفس من التعامل مع اللغة العربية بالطريقة الصحيحة (إتجاه الكتابة من اليمين إلى اليسار)، قم بالخطوات التالية: أضغط على قائمة “Tools” ثم إضغط على “Options”. سيظهر لك نافذة تشبه تلك الموجودة في هذه الصورة:

أضغط على علامة الموجب(+) المجاورة ل”Language Settings” ثم إضغط على Languages. الان قم بتغير الإعدادات المبينة في الصورة التالية حتى تتطابق إعداداتك مع تلك الموجودة في الصورة.

إضغط على OK و ستظهر لديك زرين جديدين على الشريط العلوي من خلالهما ستستطيع تحديد إتجاه الكتابة!
To change the owner of a specific file, open the terminal and type:
sudo chown [username] [filepath]
This can also be applied to directories, as in:
sudo -R chown [username] [directory]
Usually, you’d want to change the files and directories bellow the directory as well hence the “-R” option (to enable recursive behavior).