LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   startx vs startx -- :2 (font dimension is different!!) (https://www.linuxquestions.org/questions/linux-general-1/startx-vs-startx-2-font-dimension-is-different-92942/)

moly82 09-15-2003 05:48 AM

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! :D


Regards from Italy! :)

quatsch 09-15-2003 09:32 AM

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.

moly82 09-15-2003 11:16 AM

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

quatsch 09-15-2003 11:23 AM

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.

moly82 09-15-2003 11:31 AM

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 !:cry: :D


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

byeeeee

moly82 09-15-2003 11:38 AM

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

quatsch 09-15-2003 11:56 AM

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).

moly82 09-15-2003 12:11 PM

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


All times are GMT -5. The time now is 07:52 PM.