Support Requests - CLICK TO READ BEFORE POSTING



Posted by: hhbuur
04-14-2015, 11:16 AM
Forum: Coding
- Replies (7)

hi i am trying to learn to program in c. and is using this guide. C Programming in Linux © David Haskins 2008
now at chapter2_1.c i got in to a problem the compelling will not run and I can not see what's wrong, is there som help to get?

Code:
#include <stdio.h> #DEFINE STRINGSIZE 256 int main(int argc, char*argv[]) { char town[STRINGSIZE]="Guildford"; char county[STRINGSIZE]="Surrey"; char country[STRINGSIZE]="Great Britain"; int population=66773; float latitude=51.238599; float longitude=-0.566257; printf("Town name:%s population:%d\n",town,population);     printf("County:%s\n",county); printf("Country:%s\n",country); printf("Location latitude:%f longitude: % f\n",latitude,longitude);       printf("char=%d byte int=%d bytes float=%d bytes\n", sizeof(char),sizeof(int),sizeof(float)); printf("memory used:%d bytes\n", ((STRINGSIZE*3) * sizeof(char)) + sizeof (int) + (2 * sizeof(float)));           return 0;

Code:
Programming_In_Linux$ gcc -o data1 chapter2_1.c -lc chapter2_1.c:7:2: error: invalid preprocessing directive #DEFINE #DEFINE STRINGSIZE 256   ^ chapter2_1.c: In function ‘main’: chapter2_1.c:11:12: error: ‘STRINGSIZE’ undeclared (first use in this function)   char town[STRINGSIZE]="Guildford";             ^ chapter2_1.c:11:12: note: each undeclared identifier is reported only once for each function it appears in chapter2_1.c:22:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]   sizeof(char),sizeof(int),sizeof(float));   ^ chapter2_1.c:22:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] chapter2_1.c:22:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]



Posted by: ohjrson
04-13-2015, 07:52 PM
Forum: Other
- Replies (3)

Ok Peeps,
I know that this is a feature that windows has where you can insert a USB stick and it will ask you if you want to use it to speed up your computer or if you want to import pics etc... I am wondering if Beryl (Linux Lite) can do that too.


Reason I am asking is that I have this Dell Optiplex that only has 1 gig of memory installed and it is sorta slow, Yes I know I can put in an additional 7 gigs of memory and it would fly then, but I cannot afford that and was wondering if there is a way to increase that or whatever. Any additional suggestions would be great. Thanks.


Comp specs- Optiplex 755 Dual processors @ 2.0 Gig with 972 mb of mem available after display usage.



Posted by: Golffinn
04-13-2015, 07:28 PM
Forum: Introductions
- Replies (6)

This is my first post. I have only recently been introduced to Linux and have a lot to learn. Being a silver surfer also means I am sometimes slow on the uptake but that is another story
I have a meeting to attend tonight and I need to find a number of documents that contain similar themes. For instance say I have a hundred poems and 9 of them contain the word "dream". How can I out sort those 9 documents.

It is a forlorn hope that this will be read and answered prior to the meeting but I have nothing to lose. :-[



Posted by: galen
04-12-2015, 08:32 PM
Forum: Other
- Replies (4)


x-terminal-emulator --geometry=95x25 -t "Create System Report" -e /usr/scripts/info

but
/usr/scripts/info
is not found
Did I delete it, but how?
What package does it belong in?



Posted by: Spillen
04-12-2015, 01:10 PM
Forum: Network
- Replies (3)

Hi
I am after help with mapping a drive at a university please.  VPN connection has been established however the instructions to map the drive are for Windows, using 'NET USE' command.

The instructions that we have been given are:

Access to SHFC Department Folders (The N Drive)
1. Press the windows start button (located bottom left).
2. Select the Run command, a dialogue box will open entitled “Run”.
3. Type the following :
NET USE N: \\nfc456gh\squid$
4. Press the enter button.
5. A window will open asking for your username (use the username and
password you use for accessing email or outweb), type the following:
Enterprise\your username
Example : enter\addv606
6. You will now be prompted for a password; enter your current password.
7. The N Drive will now be mapped.
domain = aavpn.london.ac.uk

The terminal command I have been messing about with, based on these instructions is:
sudo mount.cifs //aavpn.london.ac.uk/nfc456ghi/squid$ ~/drive-N -o username=enter\addv606,password=orange

The error I get is:
mount error(115):  Operation now in progress. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

What on gods earth am I doing wrong.  Help will be hugely appreciated.
Spillen





Posted by: Kirkx
04-12-2015, 09:20 AM
Forum: Suggestions and Feedback
- Replies (7)

There is a new feature in LL 2.4: Whiskermenu pops up when you hit the left Windows key (Super key). It can not be turned off neither from Keyboard nor from Window Manager settings and to get rid of it you need to dig deep into Xfce configuration files, as described in this thread:

https://www.linuxliteos.com/forums/insta...p/msg13735

Personally, I find this new feature rather annoying. If anyone wants to start the Whiskermenu with the Super key alone then it can be easily done using the standard Keyboard settings with the command:

Code:
xfce4-popup-whiskermenu

I always assign Ctrl+Esc to start the Whiskermenu, that's how it worked with Start menu in Windows XP. Here is a sample of my hotkeys that use the left Super key:

Super+I gimp
Super+L xscreensaver-command -lock
Super+U alacarte
Super+P synaptic-pkexec



Posted by: Deadheadjoe
04-12-2015, 01:12 AM
Forum: Introductions
- Replies (8)

Hello every one I am Joe, I am new to using linuxlite but not to linux I have been using linux mint for the last year or so. Ubuntu prior to that. I am still not very good at running linux but love to explore new linux OS that I have not tried yet.  I hope that I will be able to share some that  I have picked up along the way but have found this site very helpful and insightful.



Posted by: newtusmaximus
04-11-2015, 10:23 PM
Forum: Installing Linux Lite
- Replies (15)

On the HP DC7700  Desktop intel 82q963/q965 Vid Card-( spec in profile below) I lose control of the pointer whilst/after viewing Youtube videos. The Mouse "ghosts" so I can activate areas/controls but the actual visible pointer stays locked in place. i.e I have to guess where the pointer actually is and watch for change in activation point when "ghost" is over it. - I hope that this makes sense.  Only way to overcome this is to reboot.  Full mouse control is then returned.  This appears to happen no matter which browser I use.  Running 32 bit LL 2.4 ( and same previously on LL2.0 32 bit). Mouse is HP PS/2 plugin as supplied with desktop.

I have not had this problem, so far, when viewing standard web pages , I player etc,

Very annoying.

BTW this does not happen on the two laptops listed in my profile below.

Any ideas welcomed.  Thanks



Posted by: Kirkx
04-11-2015, 02:08 PM
Forum: Installing Linux Lite
- Replies (4)

I want to restore the following two settings as they were originally in v2.2:

- un-link Super key from the Menu (I always assign Ctrl+Esc to open the Menu and use Super key for all kinds of other shortcuts)
- restore original Terminal theme

I know that the backup files:

Code:
xfce4-keyboard-shortcuts.xml lxterminal.conf

are saved in:

Code:
/home/username/.llupgradebackup/2.4 /etc/skel/.llupgradebackup/2.4

but I don't know which directory they should be restored to.



Posted by: wishy77
04-11-2015, 03:18 AM
Forum: Introductions
- Replies (7)

Hi
Great distro- congratulations and thanks to the developers. Smile
I have been using Linux for many years and have tried many distros, usually dual or tri-boot with Windows.
Over the years many distros, including Windows, have not catered very well for 64 bit, and the dropping of gnome type desktop (without having to download alternatives) meant I used Ubuntu and Mint less and less and often reverted to Windows 7.

Linux lite was easy to install and update, and intuitive.
Thanks
Wishy77