LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-15-2003, 05:48 AM   #1
moly82
Member
 
Registered: May 2003
Location: Genoa - ITALY
Distribution: Debian SID
Posts: 84

Rep: Reputation: 15
Question startx vs startx -- :2 (font dimension is different!!)


Hi all!
Here I am with a question for you! I hope you can help me!

The problem is that when I launch the X server running:
startx -- :2
...all the system fonts are smaller than running X with just "startx". I prefer the dimensions of the fonts running startx -- :2, how can I do to have this font dimension also running startx? I think I should copy some configuration files, but I don't know which files and where to get them!

Did you experience this fact? I notice it using XFce, Kde, Gnome, Fluxbox etc etc so with all the desktop/window managers...

Sorry for my english, I hope you can understand my question!


Regards from Italy!
 
Old 09-15-2003, 09:32 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
weird... what happens with
startx -- :0
You could just make an alias, I guess,
alias startx='startx -- :2'
Don't know if this is good enough for you.
 
Old 09-15-2003, 11:16 AM   #3
moly82
Member
 
Registered: May 2003
Location: Genoa - ITALY
Distribution: Debian SID
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by quatsch
weird... what happens with
startx -- :0
You could just make an alias, I guess,
alias startx='startx -- :2'
Don't know if this is good enough for you.
yes, also if I run
startx -- :0

the fonts are smaller, and I'd like to get this dimension also with the first X server..
I tried using the alias command, but it doesn't work!

don't you know if copying some XFree configuration files is enough?

byeeee
 
Old 09-15-2003, 11:23 AM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
hmmm. See, startx -- :0 does start the first X server, i.e. the -- :0 are simply the default options. That's why I find it really strange that it would make any difference whether you do just startx or something else like startx -- :1. And no, I don't know whether there is anything in the X config files that could explain this. Maybe someone else does.
 
Old 09-15-2003, 11:31 AM   #5
moly82
Member
 
Registered: May 2003
Location: Genoa - ITALY
Distribution: Debian SID
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by quatsch
hmmm. See, startx -- :0 does start the first X server, i.e. the -- :0 are simply the default options. That's why I find it really strange that it would make any difference whether you do just startx or something else like startx -- :1. And no, I don't know whether there is anything in the X config files that could explain this. Maybe someone else does.
really? running:

startx -- :0

has got exactly the same effect of running just:

startx

???

In this case is really strange! If I run startx -- :0 the font dimension is smaller... mhh... I don't know how is it possible !


and do you know why the alias command don't work with me?

byeeeee
 
Old 09-15-2003, 11:38 AM   #6
moly82
Member
 
Registered: May 2003
Location: Genoa - ITALY
Distribution: Debian SID
Posts: 84

Original Poster
Rep: Reputation: 15
yes I checked again: wiht startx -- :0 the font dimension is reduced! I like it a lot!

i tried again the alias command: if I write

alias startx="startx -- :0"

and then I write

alias

..I can see that the command was accepted (i can see: alias startx= startx -- :00), but if I restart XFree or if I restart the whole PC, the command is erased, why does it happen? is possible to save this command in an other way?

maybe I can put this command in a boot script, I'll trying doing so!

byee
 
Old 09-15-2003, 11:56 AM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
Oh, sorry. The alias command is only through a given shell session unless you put it in the ~/.bashrc. I put aliases I want up front of the .bashrc. I.e. you would put the line
alias start='startx -- :0'
as your first uncommented line.

And, yeah, my understanding is that 'startx' and 'startx -- :0' have exactly the same effect (unless, you somehow have different default options for startx from what is normal but I don't see why that would be so and I also don't really know how to change the defaults).
 
Old 09-15-2003, 12:11 PM   #8
moly82
Member
 
Registered: May 2003
Location: Genoa - ITALY
Distribution: Debian SID
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by quatsch
Oh, sorry. The alias command is only through a given shell session unless you put it in the ~/.bashrc. I put aliases I want up front of the .bashrc. I.e. you would put the line
alias start='startx -- :0'
as your first uncommented line.

And, yeah, my understanding is that 'startx' and 'startx -- :0' have exactly the same effect (unless, you somehow have different default options for startx from what is normal but I don't see why that would be so and I also don't really know how to change the defaults).
thanxs a lot for your help!

byeee
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't startx garyozzy Debian 9 11-06-2005 04:21 PM
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
is startx not for me? dksk8 Linux - General 4 08-05-2002 09:43 PM


All times are GMT -5. The time now is 05:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration