Keyboard broken + HDMI
- Inicie sesión ou rexístrese para enviar comentarios
Hi guys, my keyboard is broken and i can't access my hdmi tv without specials keys. Is there a combination with a usb keyboard? I have one and is very simple, what can i do?
What kind of special keys?
On my laptop's keyboard has a combination fn + f8. But don't is there the key "fn" at my usb keyboard. Is there a combination? For exemple ctrl + alt + del?
When i plug the cable on TV shows the same image of laptop. The TV is mirrored at notebook on resolution 1024 x 768. I wish only see the tv-monitor.
I don't know such combo but try this. First install xdotool and then run
xdotool key XF86Display
(Letter case is meaningful, like usually.) You might need to do that a few times perhaps.
You can find more such funny stuff at http://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h
Now, if this works, you can then of course bind it to a key combo. :)
Well, i'm look for something more simple. For example, i open the keyboard (shortcuts option) and i want add some shortcut for change from notebook for TV.
I want do something very simple, but without this keyboard key is very hard. It is possible do it in some option inside of trisquel?
If you have a command that does the job, you only need to write it in an executable file and you got your shortcut.
But how can i do that? Someone can help me? I have a new problem too. I changed some shortcuts and i want reset them to default, how can i do that?
I love free software but i think that simple problems has a hard solution.
Have you tried lembas' solution? Has it worked?
I guess my solution is here. look -
#define XF86XK_Next_VMode 0x1008FE22 /* next video mode available */
#define XF86XK_Prev_VMode 0x1008FE23 /* prev. video mode available */
But i don't know how can i use this information. I try paste on terminal but nothing happens. I'm not sure how can i use this aplication. Anyway is there some software than changes my screen output?
The lembas' solution seems to work but to me is very complex. I didn't know that was so hard change the screen.
: /
And i solved my problem with shortcuts (the second problem) rsrs.
:) So the solution works. Goto system settings > keyboard or something like that where you get to define shortcuts. Then define a custom shortcut. Hit the plus. Give it a name and input the command. Then the name you gave it will appear in the list. Click the word disabled after it and hit the key combo you want.
Alternatively, you can write the command in a file (for instance on your desktop) that you render executable (you can do that from the "Permissions" tab of the "Properties" window you get from the menu that pops-up when you right-click on the file).
A double-click on the file and the command runs.
Usually this is what needs to be done if there are more than one command you wish to bind.
The #define's are C preprocessor macros and will do nothing in the terminal because they will be interpreted as comments.
- Inicie sesión ou rexístrese para enviar comentarios