drudox |
12-22-2017 11:28 AM |
I3-WM rofi doesn't run with keyboard short cut
Hi everybody ! as from the title I'm not able to run rofi from keyboard short-cut
but if in a teminal I write it runs correctly ! i don't know what's happened ... in other distribution it works ... my .Xresources is :
Code:
rofi.color-enabled: true
rofi.color-window: #9915262c, #9915262c, #38acd6
rofi.color-normal: #FF15262c, #2CB2B2, #FF15262c, #2CB2B2, #182e3e
rofi.color-active: #FF15262c, #38acd6, #FF15262c, #38acd6, #15262c
rofi.color-urgent: #FF15262c, #dc322f, #FF15262c, #dc322f, #15262c
!
!
rofi.hide-scrollbar: true
rofi.font: Meslo LG S DZ 13
rofi.separator-style: solid
rofi.fullscreen: false
rofi.fixed-num-lines: true
!
rofi.bw: 0
!
rofi.width: 1920
rofi.lines: 10
!
rofi.line-margin: 0
!
rofi.eh: 1
!
rofi.location: 2
!
rofi.columns: 3
!
rofi.sidebar-mode: true
!
rofi.padding: 426
!
!xterm*VT100.geometry: 80x25
!xterm*faceName: Terminus:style=Regular:size=11
!xterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
!xterm*dynamicColors: true
!xterm*utf8: 2
!xterm*eightBitInput: true
!xterm*saveLines: 7777
!xterm*scrollKey: true
!xterm*scrollTtyOutput: false
!xterm*scrollBar: true
!xterm*rightScrollBar: true
!xterm*jumpScroll: true
!xterm*multiScroll: true
!xterm*toolBar: false
!xterm*background: grey13
!XTerm*foreground: white
!Xterm*Color: darkorange1
!xterm*cursorBlink: true
!xterm*transparent: true
!
Xft.autohint: true
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
XTerm*faceName: Meslo LG S DZ
xterm*faceSize: 10
xterm*vt100*geometry: 80x60
xterm*saveLines: 16384
xterm*loginShell: true
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
xterm*termName: xterm-color
xterm*eightBitInput: false
!BLK Cursor
#define _color0 #0B151A
#define _color8 #0B151A
!RED Tag
#define _color1 #F77CC3
#define _color9 #F77CC3
!GRN SpecialKey
#define _color2 #7CF8C4
#define _color10 #7CF8C4
!YEL Keyword
#define _color3 #F2CC91
#define _color11 #F2CC91
!BLU Number
#define _color4 #45BBE6
#define _color12 #45BBE6
!MAG Precondit
#define _color5 #AA2FD4
#define _color13 #AA2FD4
!CYN Float
#define _color6 #50CAE6
#define _color14 #50CAE6
!WHT Search
#define _color7 #F2F2F2
#define _color15 #F2F2F2
!FMT Include, StatusLine, ErrorMsg
#define _colorBD #ffcfaf
#define _colorUL #ccdc90
#define _colorIT #80d4aa
!TXT Normal, Normal, Cursor
#define _foreground #dcdccc
#define _background #203E4A
#define _cursorColor #5CCEC1
XTerm*color0 : _color0
XTerm*color1 : _color1
XTerm*color2 : _color2
XTerm*color3 : _color3
XTerm*color4 : _color4
XTerm*color5 : _color5
XTerm*color6 : _color6
XTerm*color7 : _color7
XTerm*color8 : _color8
XTerm*color9 : _color9
XTerm*color10 : _color10
XTerm*color11 : _color11
XTerm*color12 : _color12
XTerm*color13 : _color13
XTerm*color14 : _color14
XTerm*color15 : _color15
XTerm*colorBD : _colorBD
XTerm*colorIT : _colorIT
XTerm*colorUL : _colorUL
XTerm*foreground : _foreground
XTerm*background : _background
XTerm*cursorColor : _cursorColor
!aterm settings-------------------------------------------------------------
!
aterm*background: black
aterm*foreground: white
aterm*transparent: true
aterm*shading: 10
aterm*cursorColor: gray
aterm*saveLines: 2000
aterm*tinting: gray
aterm*scrollBar: false
aterm*scrollBar_right: true
aterm*transpscrollbar: true
aterm*borderwidth: 0
aterm*faceName: Terminus:style=Regular:size=10
aterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
!aterm*geometry: 80x25
!aterm*fading: 70
urxvt*depth:32
!urxvt*foreground:
urxvt*background: rgba:2000/2000/2000/cccc
!URxvt.font: xft:monospace:size=10
!Urxvt*faceName: Monospace:style=Regular:size=12
!URxvt.font: xft:DejavuSansMono:size=11
URxvt.font: xft:Hack:size=11
URxvt.scrollBar_right: true
URxvt.cursorBlink: true
!URxvt*transparent: true
URxvt*.shading: 20
!URxvt*background: #494949
URxvt*foreground: white
URxvg*cursorColor: white
URxvt*saveLines: 7777
URxvt*scrollColor: #d1d4e0
URxvt*highlightColor: #252936
URxvt*highlightTextColor: #C0C5CE
!URxvt.iso14755: false
!URxvt.iso14755_52: false
!URxvt.scrollstyle: plain
!
URxvt*fading: 40
URxvt.perl-lib: /usr/lib64/urxvt/perl/
!URxvt.perl-ext: default,url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.launcher: /usr/bin/xdg-open
URxvt.url-select.underline: true
!URxvt.perl-ext-common: ...,resize-font,fullscreen,...
URxvt.keysym.F11: perl:fullscreen:switch
URxvt.resize-font.smaller: C-Down
URxvt.resize-font.bigger: C-Up
URxvt.letterSpace: -1.5
!
!URxvt*color0: black
!URxvt*color1: red3
!URxvt*color2: green3
!URxvt*color3: yellow3
!URxvt*color4: blue2
!URxvt*color5: magenta3
!URxvt*color6: cyan3
!URxvt*color7: gray90
!URxvt*color8: grey50
!URxvt*color9: red
!URxvt*color10: green
!URxvt*color11: yellow
!URxvt*color12: blue
!URxvt*color13: magenta
!URxvt*color14: cyan
!URxvt*color15: white
URxvt*color0: #101218
URxvt*color1: #ee829f
URxvt*color2: #a5ffe1
URxvt*color3: #ffefcc
URxvt*color4: #97bbf7
URxvt*color5: #c0b7f9
URxvt*color6: #97e0ff
URxvt*color7: #d1d4e0
URxvt*color8: #7780a1
URxvt*color9: #ee829f
URxvt*color10: #a5ffe1
URxvt*color11: #ffefcc
URxvt*color12: #97bbf7
URxvt*color13: #c0b7f9
URxvt*color14: #97e0ff
URxvt*color15: #ffffff
!!
URxvt*color16: #f99170
URxvt*color17: #fcc09e
URxvt*color18: #1f222d
URxvt*color19: #252936
URxvt*color20: #C0C5CE
URxvt*color21: #C9CCDB
!URxvt*scrollBar:false
!URxvt*geometry:124x44
!URxvt*borderLess:true
!URxvt*foreground:White
!URxvt*font : 9x15
!URxvt*shading:83
!URxvt.cursorColor: #ffffff
!URxvt.cursorColor2: #000000
URxvt.keysym.S-Up : \033[1;2A
URxvt.keysym.S-Down : \033[1;2B
URxvt.keysym.S-Right : \033[1;2C
URxvt.keysym.S-Left : \033[1;2D
!URxvt.keysym.S-Page_Up : captured by terminal for scrolling
! !URxvt.keysym.S-Page_Down : captured by terminal for scrolling
URxvt.keysym.S-Home : \033[1;2H
URxvt.keysym.S-End : \033[1;2F
URxvt.keysym.M-Up : \033[1;3A
URxvt.keysym.M-Down : \033[1;3B
URxvt.keysym.M-Right : \033[1;3C
URxvt.keysym.M-Left : \033[1;3D
URxvt.keysym.M-Page_Up : \033[5;3~
URxvt.keysym.M-Page_Down : \033[6;3~
URxvt.keysym.M-Home : \033[1;3H
URxvt.keysym.M-End : \033[1;3F
URxvt.keysym.M-S-Up : \033[1;4A
URxvt.keysym.M-S-Down : \033[1;4B
URxvt.keysym.M-S-Right : \033[1;4C
URxvt.keysym.M-S-Left : \033[1;4D
!URxvt.keysym.M-S-Page_Up : seen as Rxvt.keysym.S-Page_Up
!URxvt.keysym.M-S-Page_Down : seen as Rxvt.keysym.S-Page_Down
URxvt.keysym.M-S-Home : \033[1;4H
URxvt.keysym.M-S-End : \033[1;4F
URxvt.keysym.C-Up : \033[1;5A
URxvt.keysym.C-Down : \033[1;5B
URxvt.keysym.C-Right : \033[1;5C
URxvt.keysym.C-Left : \033[1;5D
URxvt.keysym.C-Page_Up : \033[5;5~
URxvt.keysym.C-Page_Down : \033[6;5~
URxvt.keysym.C-Home : \033[1;5H
URxvt.keysym.C-End : \033[1;5F
URxvt.keysym.C-S-Up : \033[1;6A
URxvt.keysym.C-S-Down : \033[1;6B
URxvt.keysym.C-S-Right : \033[1;6C
URxvt.keysym.C-S-Left : \033[1;6D
!URxvt.keysym.C-S-Page_Up : seen as Rxvt.keysym.S-Page_Up
!URxvt.keysym.C-S-Page_Down : seen as Rxvt.keysym.S-Page_Down
URxvt.keysym.C-S-Home : \033[1;6H
URxvt.keysym.C-S-End : \033[1;6F
URxvt.keysym.M-C-Up : \033[1;7A
URxvt.keysym.M-C-Down : \033[1;7B
URxvt.keysym.M-C-Right : \033[1;7C
URxvt.keysym.M-C-Left : \033[1;7D
URxvt.keysym.M-C-Page_Up : \033[5;7~
URxvt.keysym.M-C-Page_Down : \033[6;7~
URxvt.keysym.M-C-Home : \033[1;7H
URxvt.keysym.M-C-End : \033[1;7F
URxvt.keysym.M-C-S-Up : \033[1;8A
URxvt.keysym.M-C-S-Down : \033[1;8B
URxvt.keysym.M-C-S-Right : \033[1;8C
URxvt.keysym.M-C-S-Left : \033[1;8D
and my i3/config is :
Code:
set $mod Mod1
#set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
#font pango:monospace 12
font pango:System San Francisco Display 12
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesnât scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
#floating_modifier Mod4
#
#new_window 1pixel
#new_float 1pixel
# gaps
smart_gaps on
gaps inner 10
gaps outer 10
for_window [class="^.*"] border pixel 4
mouse_warping none
focus_follows_mouse no
#set $terminal mate-terminal
#set $terminal xterm
set $terminal urxvt
#set $terminal xfce4-terminal
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec $terminal
# Program-Related Bindings
bindsym $mod+Shift+f exec google-chrome-stable
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -fn -bitstream-*-*-r-*-*-*-120-*-*-*-*-*-*
#bindsym $mod+g exec rofi -show run -font "System San Francisco Display 14" -fg "#C4C4C4" -bg "$base01" -opacity "85" -hlfg "#1CA4FF" -hlbg "#000000" -o 85
#bindsym $mod+g exec rofi -show run
#bindsym $mod+g exec --no-startup-id rofi -show run
bindsym $mod+g exec rofi -show run
#bindsys $mod+h exec rofi -show run
#
#-font "System San Francisco Display 14" -fg "#C4C4C4" -bg "$base01" -opacity "85" -hlfg "#1CA4FF" -hlbg "#000000" -o 85
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
floating_modifier Mod4
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
set $workspace1 "1: ï*"
set $workspace2 "2: ï¨"
set $workspace3 "3: ï©"
set $workspace4 "4: ï"
set $workspace5 "5: ï¼"
set $workspace6 "6: ï¼"
set $workspace7 "7: ï* "
set $workspace8 "8: ï¼"
set $workspace9 "9: ï¾"
set $workspace10 "10:ï¥"
#set $workspace11 "11: ï¼"
#set $workspace12 "12: ï¼"
#set $workspace13 "13: ï¼"
#
#
force_xinerama yes
workspace $workspace1 output xinerama-0
#workspace $workspace11 output xinerama-0
#workspace $workspace12 output xinerama-0
#workspace $workspace13 output xinerama-0
workspace $workspace2 output xinerama-1
workspace $workspace3 output xinerama-1
workspace $workspace4 output xinerama-0
workspace $workspace5 output xinerama-0
workspace $workspace6 output xinerama-0
workspace $workspace7 output xinerama-1
workspace $workspace8 output xinerama-1
workspace $workspace9 output xinerama-1
workspace $workspace10 output xinerama-1
#
#
#
# switch to workspace
bindsym $mod+1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+4 workspace $workspace4
bindsym $mod+5 workspace $workspace5
bindsym $mod+6 workspace $workspace6
bindsym $mod+7 workspace $workspace7
bindsym $mod+8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+0 workspace $workspace10
#bindsym $mod+i workspace $workspace11
#bindsym $mod+o workspace $workspace12
#bindsym $mod+p workspace $workspace13
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
bindsym $mod+Shift+4 move container to workspace $workspace4
bindsym $mod+Shift+5 move container to workspace $workspace5
bindsym $mod+Shift+6 move container to workspace $workspace6
bindsym $mod+Shift+7 move container to workspace $workspace7
bindsym $mod+Shift+8 move container to workspace $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10
#bindsym $mod+Shift+p move container to workspace $workspace11
#bindsym $mod+Shift+i move container to workspace $workspace12
#bindsym $mod+Shift+; move container to workspace $workspace13
assign [class="Google-chrome"] $workspace2
assign [class="Thunderbird"] $workspace7
assign [class="Skype"] $workspace9
assign [class="Firefox"] $workspace3
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+r mode "ï¥ Resize"
# resize window (you can also use the mouse for that)
mode "ï¥ Resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windowâs width.
# Pressing right will grow the windowâs width.
# Pressing up will shrink the windowâs height.
# Pressing down will grow the windowâs height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
#set $base02 #252936
set $base00 #101218
set $base01 #1f222d
set $base02 #2F343F
set $base03 #7780a1
set $base04 #C0C5CE
set $base05 #d1d4e0
set $base06 #C9CCDB
set $base07 #ffffff
set $base08 #ee829f
set $base09 #f99170
set $base0A #ffefcc
set $base0B #a5ffe1
set $base0C #97e0ff
set $base0D #97bbf7
set $base0E #c0b7f9
set $base0F #fcc09e
# #285577
# #639987 #5294E2
# Widow Colours
# border background text indicator
client.focused $base01 #00FFFF #FFFFFF $base0F
client.focused_inactive $base02 $base02 $base03 $base0F
client.unfocused $base02 $base02 $base03 $base0F
client.urgent $base02 $base08 $base00 $base0F
#
hide_edge_borders both
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
font pango: System SanFrancisco Display 12, font-linux 12 , FontAwesome 12
# status_command i3status
status_command i3blocks -c ~/.config/i3/i3blocks.conf
tray_output primary
strip_workspace_numbers no
colors {
separator $base03
background $base01
statusline $base05
# border background text
focused_workspace $base01 $base01 #00FFFF # $base07
active_workspace $base01 $base02 $base03
inactive_workspace $base01 $base01 $base03
urgent_workspace $base01 $base01 $base08
}
}
bindsym $mod+shift+x exec i3lock --color "$base01"
# change colour to match root window
#client.background #342826
# # changed these colours for readability
# # class border backgr. text
#client.focused #4c7899 #3300FF #ffffff
#client.unfocused #333333 #747170 #ffffff
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
# bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
#
# # Sreen brightness controls
# bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
# bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
#
# # Touchpad controls
#bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
#exec rhythmbox
exec_always --no-startup-id compton
exec_always --no-startup-id xrdb ~/.Xresources
exec --no-startup-id google-chrome-stable
exec --no-startup-id thunderbird
exec --no-startup-id i3-msg 'workspace $workspace1; exec urxvt'
exec --no-startup-id i3-msg 'workspace $workspace1; exec urxvt -e 'htop''
#exec urxvt -e 'htop'
#exec urxvt
#exec_always feh --bg-scale /home/marco/Pictures/MoreBlue.jpg
exec_always feh --bg-scale /home/mghiani/Pictures/arch_neon_wall.jpg
#exec_always feh --bg-scale /home/marco/Pictures/space_bg.png
I hope in your help .. I have not idea about it
|