10 More Discussions You Might Find Interesting
1. Ubuntu
Hello,
I installed ubuntu desktop just recently in aim to create a RAID1 configuration using software RAID MDADM.
I have the following configuration as fdisk -l reports:
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size... (5 Replies)
Discussion started by: Reol
5 Replies
2. Ubuntu
I wish to install the latest ubuntu on my desktop. How do I go about doing this ?
Also how do I create the superuser or admin once the installation is done ? (3 Replies)
Discussion started by: sundaresh
3 Replies
3. Ubuntu
Hello Everyone,
I have been using RHEL from quite a while now on server system, but now i also want to use Linux as my Desktop/Laptop OS on my personal computer. So i downloaded the Ubuntu 12.04 yeserday as i have read alot about it being the most popular Linux Desktop OS. So guys could you... (1 Reply)
Discussion started by: Rohit Bhanot
1 Replies
4. Windows & DOS: Issues & Discussions
Hello,
How can I please have a program automatically upload some files from a ubuntu server to my machine desktop that is running windows XP? I would like to be able to do that from the windows machine itself.
Thanks, (3 Replies)
Discussion started by: Pouchie1
3 Replies
5. UNIX for Dummies Questions & Answers
In my company ,there is a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000 users access their email via a Unix mail reader. Recently users have complained about speed of disk access, so a new 10 gigabyte
disk has... (1 Reply)
Discussion started by: lemon_06
1 Replies
6. Ubuntu
Hi,
I am using Ubuntu 8.04 32-bit x86 m/c. I am using the following command to create an user.
useradd -d /home/new_user -m new_user -s /bin/bash
But, I am not get to see the "Desktop" directory automatically created.
May I know how to create it by default? (1 Reply)
Discussion started by: royalibrahim
1 Replies
7. Solaris
This is my first time working with ZFS on Solaris 10. I am trying to set up /var in a separate partition from /.
During the installation, I came across the ZFS settings where I selected disks 0 and 1 to be mirrored with ZFS. Next was the option to have /var and / on separate datasets.
Is... (3 Replies)
Discussion started by: 6L71
3 Replies
8. Windows & DOS: Issues & Discussions
Hi ,
I hav a laptop with Vista, i need to install Ubuntu along with vista on it. But the problem is tht i donot hav a hard drive partition. though i have abt 70 gb of free space. the only other partition is "recovery" one, so i cnt play with it
how shld i perform the installation ?? (4 Replies)
Discussion started by: akshay61286
4 Replies
9. UNIX for Dummies Questions & Answers
My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to install Solaris 10 along with Ubuntu (dual-boot system)
The problem is, GParted partition manager (Ubuntu) didn't recognize the FAT file system used to install the Solaris. It said that the block size is unknown file system..
What's the correct file system to install Solaris so... (6 Replies)
Discussion started by: frankoko
6 Replies
get_desktop_resolution(3alleg4) Allegro manual get_desktop_resolution(3alleg4)
NAME
get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_desktop_resolution(int *width, int *height);
DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu-
tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is
a pointer to an integer where one dimension of the screen will be stored.
Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call
this function before setting any graphics mode in order to retrieve the real desktop resolution. Example:
int width, height;
allegro_init();
...
if (get_desktop_resolution(&width, &height) == 0) {
/* Got the resolution correctly */
}
RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in
the variables you provided for `width' and `height' are undefined.
SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4)
Allegro version 4.4.2 get_desktop_resolution(3alleg4)