Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox crtl unfocusses the window / ctrl issue
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SpiderPigLoki
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2008
Posts: 90

PostPosted: Sun Sep 01, 2013 3:11 pm    Post subject: fluxbox crtl unfocusses the window / ctrl issue Reply with quote

Hello everybody,

as the title says I have a problem with the crtl-key and flxubox.

Example:
When I run gnome 2.6.32 and I start a ping in the terminal i jsu have to press Ctrl+C to cancel it.
Under fluxbox I always have to press Ctrl+C twice.
Both run gnome-terminal.

When I run "xev" and press Ctrl I get
Quote:
KeyPress event, serial 37, synthetic NO, window 0x3400001,
root 0x96, subw 0x0, time 5311082, (-536,277), root:(134,324),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x3400001,
root 0x96, subw 0x0, time 5311200, (-536,277), root:(134,324),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
for Gnome
and
Quote:
FocusOut event, serial 33, synthetic NO, window 0x1800001,
mode NotifyGrab, detail NotifyAncestor
for fluxbox

I always have to press Ctrl+V twice in Firefox to paste a text (eg. the texts above).

I hope you understand what my problem is and that you can help me solve this issue.

Kind regards
SPL
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1555
Location: Adelaide/Australia

PostPosted: Tue Sep 17, 2013 7:02 am    Post subject: Reply with quote

I admit I don't use gnome-terminal - I use xterm. After all, you are going to the trouble of using a lightweight window manager, why not use a lightweight terminal!

I am only guessing but it may be an issue with your ~/.fluxbox/keys file.

FYI: My keys file contains the following :-

Code:
! fluxbox-update_configs added '(workspace=[current])' to (Next|Prev)(Window|Group)
! check lines marked by 'FBCV13' if they are correctly updated
!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}
!mouse actions added by fluxbox-update_configs
OnTitlebar Move1 :StartMoving
OnLeftGrip Move1 :StartResizing bottomleft
OnRightGrip Move1 :StartResizing bottomright
OnWindowBorder Move1 :StartMoving

!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse2 :StartTabbing

!mouse actions added by fluxbox-update_configs
OnTitlebar Double Mouse1 :Shade
OnTitlebar Mouse3 :WindowMenu

!mouse actions added by fluxbox-update_configs
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}

OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
OnDesktop Menu   :RootMenu

None XF86MonBrightnessDown :ExecCommand sudo /usr/local/bin/BrightnessControl.sh -D
None XF86MonBrightnessUp   :ExecCommand sudo /usr/local/bin/BrightnessControl.sh -B
None XF86AudioMute      :ExecCommand /usr/bin/amixer set Master toggle
None XF86AudioRaiseVolume  :ExecCommand /usr/bin/aumix -v +10%
None XF86AudioLowerVolume  :ExecCommand /usr/bin/aumix -v -10%

None XF86Calculator      :ExecCommand /usr/bin/kcalc
None XF86Mail         :ExecCommand /usr/bin/thunderbird
#None XF86Mail         :Deiconify All Origin
None XF86Display      :ExecCommand /usr/local/bin/AdjustDisplayForDockingState.sh || /usr/bin/nvidia-settings || xmessage "/usr/local/bin/AdjustDisplayForDockingState.sh failed and nvidia-settings is missing"

# None XF86Sleep         :ExecCommand sudo -i -A -p 'Hibernate %h by %u' /usr/sbin/hibernate || xmessage -buttons "Ok" "Hibernation Cancelled"
None XF86Sleep         :ExecCommand xmessage -nearmouse -buttons "Ok":0,"Cancel":1 "Hibernate?" && sudo /usr/sbin/hibernate || xmessage -nearmouse -buttons "Ok" "Hibernation Cancelled"
None XF86Standby      :ExecCommand xmessage -nearmouse -buttons "Ok":0,"Cancel":1 "Hibernate?" && sudo /usr/sbin/hibernate || xmessage -nearmouse -buttons "Ok" "Hibernation Cancelled"
None XF86Battery      :ExecCommand /usr/bin/batterymon || /usr/bin/wmbattery

! Roll mousewheel forward/backward
OnDesktop Mouse4 :NextWorkspace
OnDesktop Mouse5 :PrevWorkspace

! push mousewheel left/right
OnDesktop Mouse7 :NextWorkspace
OnDesktop Mouse6 :PrevWorkspace

Mod1 Tab :NextWindow (workspace=[current]) !! FBCV13 !!
Mod1 Shift Tab :PrevWindow (workspace=[current]) !! FBCV13 !!
Mod1 F1 :Workspace 1
Mod1 F2 :Workspace 2
Mod1 F3 :Workspace 3
Mod1 F4 :Workspace 4
Mod1 F5 :Workspace 5
Mod1 F6 :Workspace 6
Mod1 F7 :Workspace 7
Mod1 F8 :Workspace 8
Mod1 F9 :Workspace 9
Mod1 F10 :Workspace 10
Mod1 F11 :Workspace 11
Mod1 F12 :Workspace 12
None Print :ExecCommand SFN="$HOME/Screenshot-$(date '+%Y%m%d%k%M%S').png" && import "${SFN}" && gimp --no-splash "${SFN}"
Mod4 e :ExecCommand /usr/bin/emacs
Mod4 t :ExecCommand /usr/bin/xterm
Mod4 r :ExecCommand /usr/bin/fbrun -nearmouse -title 'Execute program:'
Mod4 m :RootMenu
Mod4 l :ExecCommand /usr/bin/xscreensaver-command -lock
Shift KP_Left    :MoveLeft  80
Shift KP_Right   :MoveRight 80
Shift KP_Up    :MoveUp    80
Shift KP_Down    :MoveDown  80
Shift KP_Next    :Lower
Shift KP_Prior    :Raise
Mod1 KP_Left    :ResizeHorizontal -8
Mod1 KP_Right    :ResizeHorizontal +8
Mod1 KP_Up    :ResizeVertical   -8
Mod1 KP_Down    :ResizeVertical   +8
Mod1 KP_Add    :Maximize
Mod1 KP_Subtract :ShadeWindow
Mod4 KP_Begin    :ArrangeWindows

!   Keypad
!   +-----------+-----------+-----------+-----------+
!   | Num Lock  |     /     |    *      |     -     |  Key name
!   |           |           |           |  Shrink * |  Shift   
!   |           |           |           |Toggl Shade|  Alt     
!   +-----------+-----------+-----------+-----------+
!   |     7     |     8     |    9      |     +     |  Key name
!   |           |   Mv Up   |           |  Expand * |  Shift   
!   |           | Shrink Up | Push Back |Toggle Full|  Alt     
!   +-----------+-----------+-----------+           |
!   |     4     |     5     |    6      |           |  Key name
!   |  Mv Left  |           |  Mv Right |           |  Shift   
!   |  Smaller  |           |  Bigger   |           |  Alt     
!   +-----------+-----------+-----------+-----------+
!   |     1     |     2     |    3      |  Enter    |  Key name
!   |           |  Mv Down  |           |           |  Shift   
!   |           |Shrink Down| Pull Front|           |  Alt     
!   +-----------+-----------+-----------+           |
!   |           0           |    .      |           |  Key name
!   |                       |           |           |  Shift   
!   |                       |           |           |  Alt     
!   +-----------------------+-----------+-----------+
!   
!   * - xterm only

_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum