Semferon
February 17th, 2011, 08:32 AM
Hello.
I have a relatively simple question yet i can't find
answer to it.
I am serching the web for 3 hours straight and still no luck.
My question is how to start .desktop files from command line?
As far as i can see desktop managers use <sessionname>.desktop
files located in /usr/share/xsessions
and the only difference between gnome.desktop and une.dsektop
is one little annoying key:
for gnome.desktop
X-Ubuntu-Gettext-Domain=gnome-session-2.0
(which is default i guess)
for une.desktop
X-Ubuntu-Gettext-Domain=une-session
when i initiate Xserver and running
xxxx@xxxx:~$ gnome-session
obviously standard gnome evironment starts
So i need to either communicate
X-Ubuntu-Gettext-Domain=une-session
to gnome-session which i dont know how to do
or somehow start une.desktop from commandline
which i do not know how to do either...
(Just a remark: i want to start it straight from command line
without GDM)
Does anybody have any suggestions?
ps: i also tried using
xxxx@xxxx:~$ xdg-open /usr/share/xsessions/une.desktop
which decided to open file as text in lynx...
I have a relatively simple question yet i can't find
answer to it.
I am serching the web for 3 hours straight and still no luck.
My question is how to start .desktop files from command line?
As far as i can see desktop managers use <sessionname>.desktop
files located in /usr/share/xsessions
and the only difference between gnome.desktop and une.dsektop
is one little annoying key:
for gnome.desktop
X-Ubuntu-Gettext-Domain=gnome-session-2.0
(which is default i guess)
for une.desktop
X-Ubuntu-Gettext-Domain=une-session
when i initiate Xserver and running
xxxx@xxxx:~$ gnome-session
obviously standard gnome evironment starts
So i need to either communicate
X-Ubuntu-Gettext-Domain=une-session
to gnome-session which i dont know how to do
or somehow start une.desktop from commandline
which i do not know how to do either...
(Just a remark: i want to start it straight from command line
without GDM)
Does anybody have any suggestions?
ps: i also tried using
xxxx@xxxx:~$ xdg-open /usr/share/xsessions/une.desktop
which decided to open file as text in lynx...