Tiny Core Base > TCB Q&A Forum

[Solved] How to restart Xvesa with different resolution

<< < (4/5) > >>

curaga:
You can have a menu item, icon, or launch that script some other way. This is linux we're talking about :)

Actkbd isn't needed if you don't want a key/key-combo.

saravanan:
i opt for an icon rather, how do i do that if i don need actkbd otherwise?

curaga:
See http://tinycorelinux.com/wiki/tiki-index.php?page=iconmenuinfo
http://tinycorelinux.com/wiki/tiki-index.php?page=Creating+Extensions

The recommended way is to create an extension with the icon. Note that for the icon to show a menu item should also be there.

saravanan:
yes curaga, i learnt about editing the wbar config file, but what is the command that is required to be executed in case of clicking that icon.

ie. for tat icon info as in wbar conf :

i:/usr/local/tce.icons/something.png
t:restartX
c:/usr/local/bin/restartx.sh

In the above case, what should the restartx.sh contain,
if i add, killall Xvesa; wont this kill the child(restartx.sh) also??, so that it may fail to start X again???
If i am wrong, please guide me.

curaga:
I think that since it's not a X process itself, it should continue to run. If not, you can use "nohup" to protect it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version