logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 07-06-2019 06:44:55

lagrenouille
CA Debian-Facile
Lieu : Toulouse
Distrib. : bookworm
Noyau : d'olive
(G)UI : xfce4 et awesome
Inscription : 28-03-2012
Site Web

résolu i3

bonjour

j'ai un problème avec ma config de i3, que je mets en bas du message

i3 s'ouvre et ouvre bien les 5 applis que je lui demarde, mais il m'en mets 4 dans la même fenêtre et le 5éme à sa place, en effet firefox s'ouvre dans la fenêtre 5
mais les 4 autres dans la même, et je les redirige donc moi même ailleurs' j'ouvre avec alt+2 alt+3  etc.. et je les mets dedans

je vois pas ce qui merdouille dans ma conf, donc je post ..

cat -n  .i3/config
     1   
     2    #this file has been auto-generated by i3-config-wizard(1).
     3    # It will not be overwritten, so edit it as you like.
     4    #
     5    # quitter i3 (met fin à votre session X):
     6    bindsym $mod+Shift+P exit
     7    #bindsym $mod+ E exit
     8    #
     9    # Should you change your keyboard layout some time, delete
    10    # this file and re-run i3-config-wizard(1).
    11    #
    12    exec feh --bg-center '/home/lagrenouille/Images/fonds-ecrans/anonymous.jpg'
    13    #
    14    #pour la barre ds menus applications en haut
    15    bindsym $mod+x exec --no-startup-id i3-dmenu-desktop
    16    #
    17    #ouvrir la barre des menus en bas
    18    exec tint2
    19   
    20    #ouvrir thunar(pcmanfm) avec alt + m
    21    bindsym $mod+m exec /usr/bin/pcmanfm
    22   
    23    # i3 config file (v4)
    24    #
    25    # Please see http://i3wm.org/docs/userguide.html for a complete reference!
    26   
    27    set $mod Mod1
    28   
    29   
    30    #essais de Bindsym Mod1 + w onglet de mise en page
    31    bindsym Mod1+w layout tabbed
    32   
    33    # Font for window titles. Will also be used by the bar unless a different font
    34    # is used in the bar {} block below.
    35    font pango:monospace 8
    36   
    37    # This font is widely installed, provides lots of unicode glyphs, right-to-left
    38    # text rendering and scalability on retina/hidpi displays (thanks to pango).
    39    #font pango:DejaVu Sans Mono 8
    40   
    41    # Before i3 v4.8, we used to recommend this one as the default:
    42    # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    43    # The font above is very space-efficient, that is, it looks good, sharp and
    44    # clear in small sizes. However, its unicode glyph coverage is limited, the old
    45    # X core fonts rendering does not support right-to-left and this being a bitmap
    46    # font, it doesn’t scale on retina/hidpi displays.
    47    # Use Mouse+$mod to drag floating windows to their wanted position
    48    floating_modifier $mod
    49    # start a terrminal
    50    bindsym $mod+Return exec i3-sensible-terminal 
    51   
    52    # kill focused window
    53    bindsym $mod+Shift+b kill
    54   
    55    # start dmenu (a program launcher)
    56    bindsym $mod+i exec dmenu_run
    57   
    58    # There also is the (new) i3-dmenu-desktop which only displays applications
    59    # shipping a .desktop file. It is a wrapper around dmenu, so you need that
    60    # installed.
    61    # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
    62   
    63    # change focus
    64    bindsym $mod+t focus left
    65    bindsym $mod+s focus down
    66    bindsym $mod+r focus up
    67    bindsym $mod+n focus right
    68   
    69    # alternatively, you can use the cursor keys:
    70    bindsym $mod+Left focus left
    71    bindsym $mod+Down focus down
    72    bindsym $mod+Up focus up
    73    bindsym $mod+Right focus right
    74   
    75    # alternatively, you can use the cursor keys:
    76    bindsym $mod+Shift+Left move left
    77    bindsym $mod+Shift+Down move down
    78    bindsym $mod+Shift+Up move up
    79    bindsym $mod+Shift+Right move right
    80   
    81    # split in horizontal orientation (comprends pas marche pas)
    82    bindsym $mod+c split h
    83   
    84    # split in vertical orientation  (comprends pas marche pas)
    85    bindsym $mod+period split v
    86   
    87    # enter fullscreen mode for the focused container
    88    bindsym $mod+e fullscreen toggle
    89   
    90    # change container layout (stacked, tabbed, toggle split)
    91    #(toggle=basculer split=se_scinder layout=agencement stacking=empillage)
    92    bindsym $mod+u layout stacking
    93    bindsym $mod+eacute layout tabbed
    94    bindsym $mod+p layout toggle split
    95   
    96    # toggle tiling / floating
    97    bindsym $mod+Shift+space floating
    98   
    99    # change focus between tiling / floating windows
   100    bindsym $mod+space focus mode_toggle
   101   
   102    # focus the parent container
   103    bindsym $mod+a focus parent
   104   
   105    # focus the child container
   106    bindsym $mod+d focus child
   107   
   108    # switch to workspace 
   109     bindsym $mod+quotedbl workspace 1
   110     bindsym $mod+guillemotleft workspace 2
   111     bindsym $mod+guillemotright workspace 3
   112     bindsym $mod+parenleft workspace 4
   113     bindsym $mod+parenright workspace 5
   114     bindsym $mod+at workspace 6
   115     bindsym $mod+plus workspace 7
   116     bindsym $mod+minus workspace 8
   117     bindsym $mod+slash workspace 9
   118     bindsym $mod+asterisk workspace 10
   119   
   120    # move focused container to workspace
   121     bindsym $mod+Shift+quotedbl move container to workspace 1
   122     bindsym $mod+Shift+guillemotleft move container to workspace 2
   123     bindsym $mod+Shift+guillemotright move container to workspace 3
   124     bindsym $mod+Shift+4 move container to workspace 4
   125     bindsym $mod+Shift+5 move container to workspace 5
   126     bindsym $mod+Shift+at move container to workspace 6
   127     bindsym $mod+Shift+plus move container to workspace 7
   128     bindsym $mod+Shift+minus move container to workspace 8
   129     bindsym $mod+Shift+slash move container to workspace 9
   130     bindsym $mod+Shift+asterisk move container to workspace 10
   131   
   132    # reload the configuration file
   133    bindsym $mod+Shift+x reload
   134    #
   135    # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
   136    bindsym $mod+Shift+o restart
   137    #
   138    # exit i3 (logs you out of your X session)
   139    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'"
   140    #
   141    # resize window (you can also use the mouse for that)
   142    mode "resize" {
   143            # These bindings trigger as soon as you enter the resize mode
   144   
   145            # Pressing left will shrink the window’s width.
   146            # Pressing right will grow the window’s width.
   147            # Pressing up will shrink the window’s height.
   148            # Pressing down will grow the window’s height.
   149            bindsym t resize shrink width 10 px or 10 ppt
   150            bindsym s resize grow height 10 px or 10 ppt
   151            bindsym r resize shrink height 10 px or 10 ppt
   152            bindsym n resize grow width 10 px or 10 ppt
   153   
   154            # same bindings, but for the arrow keys
   155            bindsym Left resize shrink width 10 px or 10 ppt
   156            bindsym Down resize grow height 10 px or 10 ppt
   157            bindsym Up resize shrink height 10 px or 10 ppt
   158            bindsym Right resize grow width 10 px or 10 ppt
   159   
   160            # back to normal: Enter or Escape
   161            bindsym Return mode "default"
   162            bindsym Escape mode "default"
   163    }
   164   
   165    bindsym $mod+o mode "resize"
   166   
   167    # Start i3bar to display a workspace bar (plus the system information i3status
   168    # finds out, if available)
   169    bar {
   170            status_command i3status
   171    }
   172   
   173    ##############################################################
   174    # bureaux virtuels
   175    ##############################################################
   176    set $ws1 "1"
   177    set $ws2 "2"
   178    set $ws3 "3"
   179    set $ws4 "4"
   180    set $ws5 "5"
   181    set $ws6 "6"
   182    set $ws7 "7"
   183    set $ws8 "8"
   184    set $ws9 "9"
   185    set $ws0 "0"
   186    #################################################################
   187    #      APPLIS DEMARRAGE       #
   188    #################################################################
   189    # applications au démarrage :
   190    exec --no-startup-id terminator
   191    exec --no-startup-id gedit
   192    exec --no-startup-id thunderbird
   193    exec --no-startup-id pcmanfm
   194    exec --no-startup-id firefox-esr
   195    exec --no-startup-id keepassx
   196   
   197    ####################################
   198    # applications dans les bureaux virtuels
   199    assign [class="terminator" ] $ws1
   200    assign [class="gedit"] $ws2
   201    assign [class="thunderbird"] $ws3
   202    assign [class="pcmanfm"] $ws4
   203    assign [class="Firefox-esr"] $ws5
   204    assign [class="keepassx"] $ws8
   205

Dernière modification par lagrenouille (07-06-2019 07:16:40)


Ce à quoi l'on a pas accès par l'expérience vécue, on a pas d'oreilles pour l'entendre ..Nietzsche
Cela dit, bien que toute notre connaissance s’amorce avec l’expérience, il n’en résulte pas pour autant qu’elle découle dans sa totalité de l’expérience.  E.Kant
une compréhension insane est elle forcément irrationnel ? ..lagrenouille

Hors ligne

#2 07-06-2019 07:06:13

SuShY
CA Debian-Facile
Lieu : Chartres
Distrib. : Debian Sid x86_64
Noyau : Linux > 6.0.0-2-amd64
(G)UI : i3WM - 4.21-1
Inscription : 06-01-2018
Site Web

Re : résolu i3

Voici comment ca fonctionne chez moi :

Attention il faut respecter les majuscules et les minuscules !

# FR_SuShY : nommer les bureaux virtuels
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $ws0 0
set $monitorLeft   DP-0
set $monitorRight  HDMI-0



# FR_SuShY : lancer des applications au démarrage :
exec --no-startup-id compton
exec --no-startup-id polybar
exec --no-startup-id feh --bg-scale Images/wallhaven-749779.jpg
exec --no-startup-id urxvt
exec --no-startup-id hexchat
exec --no-startup-id chromium
exec --no-startup-id thunderbird
exec --no-startup-id firefox



# FR_SuShY : definition des applications dans les bureaux virtuels
assign [class="Hexchat"] $ws1
assign [class="URxvt"] $ws2
assign [class="Chromium"] $ws3
assign [class="Chrome"] $ws3
assign [class="Thunderbird"] $ws4
assign [class="Code"] $ws2
assign [class="Thunar"] $ws6
assign [class="Firefox"] $ws7
assign [class="Filezilla"] $ws8
assign [class="Keepass"] $ws8
assign [class="Cherrytree"] $ws8

Hors ligne

#3 07-06-2019 07:16:02

lagrenouille
CA Debian-Facile
Lieu : Toulouse
Distrib. : bookworm
Noyau : d'olive
(G)UI : xfce4 et awesome
Inscription : 28-03-2012
Site Web

Re : résolu i3

effectivement, en mettant des majuscules aux applis, ça fonctionne smile

Ce à quoi l'on a pas accès par l'expérience vécue, on a pas d'oreilles pour l'entendre ..Nietzsche
Cela dit, bien que toute notre connaissance s’amorce avec l’expérience, il n’en résulte pas pour autant qu’elle découle dans sa totalité de l’expérience.  E.Kant
une compréhension insane est elle forcément irrationnel ? ..lagrenouille

Hors ligne

Pied de page des forums